lively-scientist-17848
10/22/2024, 10:52 AMemail_verified
claim in the identity token they provide to do this.
Having done a basic PoC for this - it looks like ory doesn’t (at least with the default claims mapper). What is the best way of accomplishing this?.
I was thinking
• Storing the email_verified
claim from googles identity token in the admin metadata in the claims mapper
• Using an after registration webook to then read that and update the identity with a verified email address.
Or is there a way I can do this just in the claims mapper?lively-scientist-17848
10/22/2024, 11:00 AMverified_addresses: std.prune([
// Carry over verified status from Social Sign-In provider.
if 'email' in claims && claims.email_verified then { via: 'email', value: claims.email },
]),