-
-
Notifications
You must be signed in to change notification settings - Fork 926
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setup social login #12200
Comments
What's the type of external OAuth source you use? If it's a standard OpenID OAuth, there should be a |
@j-z10 the {"access_token": "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB", "refresh_token": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "token_type": "Bearer", "expires_in": 21600} From the What should I map to the Current property mapping is: return {
"sub": data.get("username"),
"exp": data.get("expires_in"),
"email_verified": True,
"uid": data.get("username"),
"username": data.get("username"),
"email": data.get("email"),
"name": data.get("name"),
"given_name": data.get("givenNames"),
"preferred_username": data.get("username"),
"nickname": data.get("givenNames"),
} And I still get the same error:
|
sorry it's my mistake, the OAuth source mapping only works after the source connection is successfully created. |
What I want
I'm trying to setup a login with an external oAuth source.
What I have done
default-authentication-identification
added that sourceWhat happens
When I first click the button I'm redirected and I perform the login
I get the error message from authentik:
Relevant info
I didn't create mappings since the JSON provided by the OAuth provider shares the same names as authentik:
Screenshots
Logs
Version and Deployment:
Additional context
AUTHENTIK_LOG_LEVEL=trace
The text was updated successfully, but these errors were encountered: