https://supertokens.com/ logo
Title
b

blockexplorer

01/05/2023, 1:00 PM
In social login, it is possible that some github accounts are not registered with email ID. Is there a way to handle this by default in supertokens social login recipe? In my auth flow, I want the email ID to stay unique for every user and if the social auth doesn't provide any email ID for a user then I'm not sure I can handle it.
r

rp

01/05/2023, 1:02 PM
Hey @blockexplorer
Hey
@sattvikc can help here.
b

blockexplorer

01/05/2023, 1:04 PM
Sure
s

sattvikc

01/05/2023, 1:56 PM
hey @blockexplorer I can provide you the code snippet. may I know what's your backend language?
b

blockexplorer

01/05/2023, 2:51 PM
NodeJS. es 5 support
@sattvikc any update on this?
r

rp

01/05/2023, 4:12 PM
@blockexplorer @sattvikc will reply tomorrow
b

blockexplorer

01/05/2023, 4:12 PM
Ohk
s

sattvikc

01/06/2023, 4:45 AM
@blockexplorer this should help. let me know if you have any questions
b

blockexplorer

01/06/2023, 8:36 AM
Thanks. I'll check it out