Hello people!
How can we tell for a custom provider that its email should be marked as verified?
UserInfoMap is just string-mapping so we can't put a true in the emailVerified, so to speak.
r
rp_st
08/11/2023, 7:38 AM
hey @jam_nside - @sattvikc can help with he is available.
s
sattvikc
08/16/2023, 5:06 AM
@jam_nside sorry, I missed responding to this. just to understand, you would like to mark the email as verified always as opposed to fetching it from the third party provider ? Let me know which SDK (node, golang or python) you are using, I can help with the code snippet.
r
rp_st
08/16/2023, 5:06 AM
it's node
s
sattvikc
08/16/2023, 5:31 AM
this can be achieved by using the getUserInfo override in the custom provider like this:
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).