Skip to content

Proper way to configure OIDC with email verification? #1045

Answered by marcinkoziej
marcinkoziej asked this question in Q&A
Discussion options

You must be logged in to vote

@vinckr I have just grepped & stared at the kratos source code for 2 hours and I can see that this is not at all supported by Kratos at this moment.

Registration flow for Generic OIDC method

  1. The OIDC configuration works well in that it receives Claims properly from Google:
    The broken down Printf() of Claims struct looks like this:
mapper_jsonnet_url=file:///ory/kratos/google.jsonnet oidc_claims=&{https://accounts.google.com 
10625425596338xxxxxx600 
Marcin Ossowski Marcin Ossowski      
https://lh3.googleusercontent.com/a-/AOh14GXXXXXXXXXXXXXXv1f9RmaVNHpmwgv=s96-c  
[email protected] <-- my email here
 true        <- email_verified here
 en  
false 
0} oidc_provider=google service_name…

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@marcinkoziej
Comment options

Comment options

You must be logged in to vote
3 replies
@vinckr
Comment options

@zepatrik
Comment options

@zepatrik
Comment options

Answer selected by vinckr
Comment options

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