-
Notifications
You must be signed in to change notification settings - Fork 0
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
Wellknown overriding supplied scopes given in config #1
Comments
Hi @DarkKlaw ! Thanks for your feedback. You're right. The "wellknow" URL gives us the supported scopes, but that does not mean that we should implement all of them in the client. It is correct that the library should not copy that parameter and overwrite the local configuration. We could do the following:
Any suggestions on this? |
I've implemented the new behaviour in v0.1.8 |
Sorry for the late reply. This was what I was thinking as well. |
Just tried EasyOIDC to add OIDC support for a nicegui app I am prototyping.
It was quite easy to get started. I however encountered a weird issue of receiving a bad scope error when I was supplying the right scopes in the config.
After digging, we noticed that this line (
EasyOIDC/EasyOIDC/config.py
Line 114 in bbe0d67
As a solution, I suggest using the wellknown to verify the config scopes are correct rather than using them to override the value. However, I could have misunderstood the use of supplying the wellknown endpoint in the config.
The text was updated successfully, but these errors were encountered: