Sorry, I'm probably just not seeing this in the docs... but when using a social login (for example Google), how can I get the user's name (or other data) as provided by Google?
r
rp_st
11/21/2022, 9:02 AM
hey @dleangen which recipe are you using?
rp_st
11/21/2022, 9:02 AM
there should be a section somewghere about getting the access token from google and then using that
d
dleangen
11/21/2022, 9:02 AM
Ok, I'll check it out, thanks!
dleangen
11/21/2022, 9:43 AM
I got the token, but this is looking like something too complex for the time I have available to address it:
→ https://connect2id.com/learn/openid-connect#claims
It would be really cool if there were some kind of hook to just be able to grab the OpenID user claims.
I have not read deeply enough, but are you sure that this is done with the access token?
Originally, I thought it would just be a JWT that I could decode, but it seems to be much more complex than that... 😢
r
rp_st
11/21/2022, 10:01 AM
> but are you sure that this is done with the access token?
Yes.
rp_st
11/21/2022, 10:01 AM
> Originally, I thought it would just be a JWT that I could decode, but it seems to be much more complex than that..
Coming in a new update
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).