From 123d45bd54a4e16a34bd5dccdedaf6865c2d12b0 Mon Sep 17 00:00:00 2001 From: Mark Burggraf Date: Thu, 10 Jun 2021 11:13:25 -0700 Subject: [PATCH] fixed typos in bitbucket section --- web/docs/guides/auth/auth-bitbucket.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/docs/guides/auth/auth-bitbucket.mdx b/web/docs/guides/auth/auth-bitbucket.mdx index 46dc80b62cf..a4f51d81632 100644 --- a/web/docs/guides/auth/auth-bitbucket.mdx +++ b/web/docs/guides/auth/auth-bitbucket.mdx @@ -52,7 +52,7 @@ Once logged into *"Bitbucket"*: - In the left sidebar, click the "Authentication" icon (near the top) - Click "Settings" from the list to go to the "Authentication Settings" page - Enter the final (hosted) URL of your app under "Site URL" (this is important) -- Under "External OAuth Providers" turn "Github Enabled" to ON +- Under "External OAuth Providers" turn "Bitbucket Enabled" to ON - Enter your `client_id` and `client_secret` saved in the previous step - Click "Save" @@ -69,7 +69,7 @@ const { user, session, error } = await supabase.auth.signIn({ Just put this code in a function and create a button or a link or any other UI element to call the function. ```js -function signInWithGithub() { +function signInWithBitbucket() { const { user, session, error } = await supabase.auth.signIn({ provider: 'bitbucket' });