From 22b14878bf2f1851a520bce8cea71cec28f4ec19 Mon Sep 17 00:00:00 2001 From: dannykng Date: Wed, 5 Oct 2022 16:36:23 -0700 Subject: [PATCH] Update v1 signIn() links --- apps/www/_blog/2021-03-02-supabase-beta-february-2021.mdx | 2 +- apps/www/lib/redirects.js | 2 +- spec/supabase_js_v1.yml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/www/_blog/2021-03-02-supabase-beta-february-2021.mdx b/apps/www/_blog/2021-03-02-supabase-beta-february-2021.mdx index 429fb7939b5..63cc53838f8 100644 --- a/apps/www/_blog/2021-03-02-supabase-beta-february-2021.mdx +++ b/apps/www/_blog/2021-03-02-supabase-beta-february-2021.mdx @@ -44,7 +44,7 @@ Writing SQL just got 10x easier. We added autocomplete to the SQL editor, includ ### Auth Redirects -Redirect your users to specific route within your site on [`signIn()`](/docs/reference/javascript/auth-signin#sign-in-with-redirect) and [`signUp()`](/docs/reference/javascript/auth-signup#sign-up-with-redirect). +Redirect your users to specific route within your site on [`signIn()`](/docs/reference/javascript/v1/auth-signin#sign-in-with-redirect) and [`signUp()`](/docs/reference/javascript/auth-signup#sign-up-with-redirect). ![Redirect your users after sign up](/images/blog/feb/auth-redirect.png) diff --git a/apps/www/lib/redirects.js b/apps/www/lib/redirects.js index fb4a7f7b9b4..6fd0ea47f4b 100644 --- a/apps/www/lib/redirects.js +++ b/apps/www/lib/redirects.js @@ -255,7 +255,7 @@ module.exports = [ { permanent: false, source: '/docs/client/auth-signin', - destination: '/docs/reference/javascript/auth-signin', + destination: '/docs/reference/javascript/v1/auth-signin', }, { permanent: false, diff --git a/spec/supabase_js_v1.yml b/spec/supabase_js_v1.yml index 82644287122..cc798ad9daa 100644 --- a/spec/supabase_js_v1.yml +++ b/spec/supabase_js_v1.yml @@ -58,10 +58,10 @@ pages: - name: Sign up with third-party providers. hideCodeBlock: true description: | - You can sign up with OAuth providers using the [`signIn()`](/docs/reference/javascript/auth-signin#sign-in-using-third-party-providers) method. + You can sign up with OAuth providers using the [`signIn()`](/docs/reference/javascript/v1/auth-signin#sign-in-using-third-party-providers) method. - name: Sign up with Phone. description: | - Supabase supports Phone Auth. After a user has verified their number, they can use the [`signIn()`](/docs/reference/javascript/auth-signin#sign-in-using-phone) method. + Supabase supports Phone Auth. After a user has verified their number, they can use the [`signIn()`](/docs/reference/javascript/v1/auth-signin#sign-in-using-phone) method. js: | ```js const { user, session, error } = await supabase.auth.signUp({