react-netlify-identity icon indicating copy to clipboard operation
react-netlify-identity copied to clipboard

Getting OAuthID and Email Verified flags

Open YashGadle opened this issue 5 years ago • 2 comments

I am using react-netlify-identity with google provider to authenticate users. Getting the user data like - avatar_url, name etc. But I am not able to retrieve the emailVerified and oauthId fields from netlify redirect response. Only getting some uuid in the id field of the user. Is there a way to configure this or is this intended?

YashGadle avatar Nov 06 '19 08:11 YashGadle

react-netlify-identity and this module are not finished and should not be used. But this is a good example of how to use context with netliy's netlify-identity-widget

donaldboulton avatar Feb 04 '20 15:02 donaldboulton

i think you probably should be able to get emailVerified back. check your network tab in devtools and you can see all the data that comes back from netlify. this library should just reflect whatever the underlying https://github.com/netlify/gotrue-js returns. i'm not sure about oauthId, tbh never needed to use that one

swyxio avatar Feb 04 '20 17:02 swyxio