S
Supabase5mo ago
MZRDev

Do we have to ask for Email in Discord Login?

I am a discord bot developer. While developing a website for it, i wanted to use it in the login system while using Supabase as a ready database. However, when i remove the email request from the scopes, supabase always gives an error because there is no email. Is there any way to solve this problem? I don't want to ask my users for an email and i don't want them to have even the slightest suspicion. I also don't need it
15 Replies
MZRDev
MZRDevOP5mo ago
Please i would be very grateful if a knowledgeable person who will write an answer will tag me in his answer
garyaustin
garyaustin5mo ago
Supabase requires an email or phone # and for OAuth that is email.
MZRDev
MZRDevOP5mo ago
Oh :( I have another quesition Since i am a Discord bot developer, i also need guilds as scope. But can't i get this with Supabase?
garyaustin
garyaustin5mo ago
You should be able to request scopes. There is an OAuth option to list the scopes you want.
MZRDev
MZRDevOP5mo ago
There is no such feature in Supabase
MZRDev
MZRDevOP5mo ago
No description
garyaustin
garyaustin5mo ago
No description
MZRDev
MZRDevOP5mo ago
No description
MZRDev
MZRDevOP5mo ago
Yea
No description
MZRDev
MZRDevOP5mo ago
No description
garyaustin
garyaustin5mo ago
options, scopes like what I showed is what is documented
MZRDev
MZRDevOP5mo ago
I didn't see any information here, but I can't find any information about it
garyaustin
garyaustin5mo ago
I just showed the code from the JS reference. The example they happen to use is Github... https://supabase.com/docs/reference/javascript/auth-signinwithotp
JavaScript: Sign in a user through OTP | Supabase Docs
Supabase API reference for JavaScript: Sign in a user through OTP
No description
MZRDev
MZRDevOP5mo ago
But guilds does not support I am now pulling servers from discord by sending a request with the incoming Access token. It's done

Did you find this page helpful?