diff --git a/authentik/sources/oauth/types/reddit.py b/authentik/sources/oauth/types/reddit.py index 39018066a..1afd0ca06 100644 --- a/authentik/sources/oauth/types/reddit.py +++ b/authentik/sources/oauth/types/reddit.py @@ -14,7 +14,7 @@ class RedditOAuthRedirect(OAuthRedirect): def get_additional_parameters(self, source): # pragma: no cover return { - "scope": "identity", + "scope": ["identity"], "duration": "permanent", } @@ -37,7 +37,6 @@ class RedditOAuth2Callback(OAuthCallback): self, info: dict[str, Any], ) -> dict[str, Any]: - print(info) return { "username": info.get("name"), "email": None,