providers/oauth2: fix inconsistency in event client_credentials created events
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
parent
3740b45e1a
commit
1240ed6c6d
|
@ -383,9 +383,11 @@ class TokenParams:
|
|||
method_args["jwk_id"] = parsed_key.key_id
|
||||
Event.new(
|
||||
action=EventAction.LOGIN,
|
||||
PLAN_CONTEXT_METHOD="jwt",
|
||||
PLAN_CONTEXT_METHOD_ARGS=method_args,
|
||||
PLAN_CONTEXT_APPLICATION=app,
|
||||
**{
|
||||
PLAN_CONTEXT_METHOD: "jwt",
|
||||
PLAN_CONTEXT_METHOD_ARGS: method_args,
|
||||
PLAN_CONTEXT_APPLICATION: app,
|
||||
},
|
||||
).from_http(request, user=self.user)
|
||||
|
||||
def __post_init_device_code(self, request: HttpRequest):
|
||||
|
|
Reference in New Issue