Right now I'm doing a second call to the endpoint ...
# support-questions
d
Right now I'm doing a second call to the endpoint in the thirdPartySignInUpPOST section but really hate it. I'm looking to do the same thing with Apple "name" scope where I don't think I can go back to Apple as they only send it once (supposedly)
d
So you send the auth code to the third-party (Google) a second time (using their APIs) and get the info that way?
r
Sends the access token to third party to get info
We are reworking on this part of supertokens to provide you all the info upfront, including the name from apple.
d
@Davido I came up with an approach that doesn't require a second load. Let me know if you're interested in hearing about it. I use
id_token
in my backend, so I'm not sure if it applies to you, but maybe it's worth a shot?
d
Thanks, @dbottisti . I'm actually doing the id_token for google sign-in via js already but that's only one of my current paths.