-
Notifications
You must be signed in to change notification settings - Fork 220
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
Unable to integrate Keycloack SSO in cortex #464
Comments
In the OAuth2 configuration the -scope: "read:user"
+scope: ["read:user"] |
Hello @To-om I adjusted the scope in the configuration file, however now I am getting the below error. For your convenience, the error message is provided below. {"type":"AuthenticationError","message":"Authentication failure"} Can you please help me with this? |
The scope seems to be incorrect. Check the documentation of your IdP and set the expected value. Have you tried the default value: |
@To-om Yes, I already tried the default value of scope but still getting the same error. Please find below conf details. oauth2 { |
@To-om Could you please assist me with this? |
Hello @To-om Could you please update on this issue? |
Hello Team,
When trying to use single sign-on for Cortex this error message appears in the logs:
Below is my configuration file.
oauth {
name: oauth2
clientId: "cortex"
clientSecret: "Secret"
redirectUri: "http://localhost:9001/api/ssoLogin"
responseType: "code"
grantType: "authorization_code"
authorizationUrl: "http://X.X.X.X:8080/realms/openid/protocol/openid-connect/auth"
authorizationHeader: "Bearer"
tokenUrl: "http://X.X.X.X::8080/realms/openid/protocol/openid-connect/token"
userUrl: "http://X.X.X.X::8080/realms/openid/protocol/openid-connect/userinfo"
#scope: ["openid", "email"]
scope: "read:user"
userIdField: "email"
}
}
Could you please point me in the right direction for configuration guidance?
Thanks in advance!
Work Environment
@To-om Can you please help me with this?
The text was updated successfully, but these errors were encountered: