Closed AllinProgram closed 1 month ago
Have you whitelisted the email scope in the third-party application you created?
Oh my goodness, that's it!
I'm sorry I missed this config, and thank you for your patience, I think I should be able to handle these issues.
By the way, have you considered adding this hint to the configuration page? I think it would be easier for new users to use.
Describe the bug
I'm using the Discourse OIDC plugin, combined with Logto. Whenever I set the openid connect authorize scope, I can never pass in a scope other than "openid".
Log like:
I have checked that the "Scope" reported in the error exists in "scopes_supported" (/oidc/.well-known/openid-configuration)
I confirmed that I had set it up correctly. At first, I suspected that it was my own problem and searched for a long time.
Until I suddenly remembered that it might be a problem with logto, and then I tried using three other IdPs, such as Auth0. They all work well with Discourse and can handle Scope correctly.
Expected behavior
Set Scope, then IdP return Scope data.
How to reproduce?
Context