react-netlify-identity
react-netlify-identity copied to clipboard
Getting OAuthID and Email Verified flags
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?
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
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