Skip to content
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

Problem when use with Keycloak 12, parameter is scope=User.Read instead of scope=openid #24

Open
kappa-wingman opened this issue May 31, 2021 · 2 comments

Comments

@kappa-wingman
Copy link

I am using Keycloak 12. When I click the login button, the parameter send to Keycloak has '&scope=User.Read'. I had already set this in Taiga main configuration file config.py
OPENID_ID_FIELD = "sub"
OPENID_USERNAME_FIELD = "preferred_username"
OPENID_FULLNAME_FIELD = "name"
OPENID_EMAIL_FIELD = "email"
OPENID_SCOPE="openid email"

I had to manually get the full URI and change it to &scope=openid and it works now.

@zamgreg
Copy link

zamgreg commented Jun 25, 2021

@kappa-wingman
Had the same problem. Changed "User.Read" to "openid" here:
taiga-contrib-openid-auth/front/dist/openid-auth.js
Worked just fine

@karezza
Copy link

karezza commented Jul 2, 2021

I also ran into this issue and noticed in openid-auth.js it is setting a default value if the variable isn't specified.

Adding the following to /usr/share/nginx/html/conf.json works:

"openidScope": "openid"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants