sources/oauth: fix wrong redirect URL being generated
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
9f53c359dd
commit
0131b1f6cc
|
@ -49,7 +49,7 @@ class SourceType:
|
|||
"type": ChallengeTypes.REDIRECT.value,
|
||||
"to": reverse(
|
||||
"authentik_sources_oauth:oauth-client-login",
|
||||
kwargs={"source_slug": self.slug},
|
||||
kwargs={"source_slug": source.slug},
|
||||
),
|
||||
}
|
||||
)
|
||||
|
|
Reference in a new issue