Skip to content

Google Auth Popup? #4487

Answered by j4w8n
dovenokan asked this question in Questions
Dec 14, 2021 · 11 comments · 18 replies
Discussion options

You must be logged in to vote

@MonsieurLazar would be something like this.

const { data, error } = await supabase.auth.signInWithOAuth({
  provider,
  options: {
    skipBrowserRedirect: true
  }
})

/* whatever your method of redirecting in a popup is */
redirectInPopup(data.url)

Replies: 11 comments 18 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@bangdragon
Comment options

@riodw
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
14 replies
@OlegGulevskyy
Comment options

@rizkianakbar
Comment options

@MonsieurLazar
Comment options

@j4w8n
Comment options

Answer selected by kangmingtay
@PatrykKuniczak
Comment options

@j4w8n
Comment options

@PatrykKuniczak
Comment options

@j4w8n
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@d5br5
Comment options

@thebrrt
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auth All thing Supabase Auth related