google signIn roles

am i using 'scopes' right? it's not behaving as i'd expect...

const result = await signIn.social({
  provider: "google",
  scopes: [
    'email',
    'profile',
    'https://www.googleapis.com/auth/gmail.modify      
  ],
});


im trying to have a signup flow that asks for scope.. not have a signIn(), then ask again to linkSocial()

simply just logging me in, no scopes being passed into the oauth url

And if i write my own oauth redirect endpoint, hoping to just redirect back into a better auth endpoint i get this "state not found"
image.png
Was this page helpful?