n1ru4l
08/29/2022, 10:54 AMsub
) for the google provider was google-oauth2|<ID>
.
Now with supertokens I am building this within createNewSession
, for mapping the accounts.
const externalUserId = user.thirdParty ? `${user.thirdParty.id}|${user.thirdParty.userId}` : null;
I noticed that user.thirdParty.id
, here is google
and not google-oauth2
. Is it safe for me to simply replace the google|
part with google-oauth2
, is the <ID>
part of the auth0 sub stable?rp_st
08/29/2022, 11:33 AMn1ru4l
08/29/2022, 12:11 PMn1ru4l
08/29/2022, 12:11 PMn1ru4l
08/29/2022, 12:11 PMrp_st
08/29/2022, 12:12 PMn1ru4l
08/29/2022, 12:17 PM