Skip to content
Discussion options

You must be logged in to vote

3. Solution

This is actually working. I just checked it while testing the latest release.
If you just need the email and email_verififed from the userinfo, there is an even easier way.
You should not do this in your pipeline, but I am using the

  1. allow the password flow for a client
  2. set at least email in the Allowed and Default Scopes

The default scopes is the important one here. Since you cannot provide the requested scope during the password flow, Rauthy will always use the set default. This will make the login a lot easier! This flow does not use the default login CSRF protection.
You can simply do a POST request only on the /token endpoint with Content-Type: application/x-www-form-ur…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by sebadob
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants