sources/oauth: fix wrong redirect URL being generated

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-12-14 09:34:47 +01:00
parent 9f53c359dd
commit 0131b1f6cc

View file

@ -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},
),
}
)