Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Update v1 signIn() links

dannykng22b14878bf2f
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({