Wanted to override (not append) scopes of a discor...
# help
p
Wanted to override (not append) scopes of a discord login https://supabase.com/docs/reference/javascript/auth-signin#sign-in-with-scopes
Copy code
const { user, session, error } = await supabase.auth.signIn(
  {provider: 'discord'},
  {scopes: 'identify'})
but the it seems the scope is appended in the url
&scope=email+identify+identify
Looked through the code https://github.com/supabase/gotrue-js/blob/2f183f421096755d3ae2bd4f698503422a6b8eea/src/GoTrueClient.ts#L246 and it shouldnt be the case, am i missing something? Or is the
email
mandatory for supabase to work properly?
n
Hello @pocin! This thread has been automatically created from your message in #843999948717555735 a ``few seconds ago``. Pinging @User so that they see this as well! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ... menu) and select Leave Thread to unsubscribe from future updates. Want to change the title? Use the
/title
command! We have solved your problem? Click the button below to archive it.
g
Email is mandatory. It (or phone #) is used to see if user exists.
n
pocin (2022-03-30)
Thread was archived by @pocin. Anyone can send a message to unarchive it.