Skip to content

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

docs: fix sign up docs

Harsh Karandebb4a02539684
diff --git a/web/spec/supabase.yml b/web/spec/supabase.yml
index f3b329032a7..20c45c7de9f 100644
--- a/web/spec/supabase.yml
+++ b/web/spec/supabase.yml
@@ -290,25 +290,25 @@ pages:
password: 'example-password',
})
```
- - name: Sign up with redirect.
+ - name: Sign up with third-party providers.
description: |
- Sometimes you want to control where the user is redirected to after they are logged in. Supabase supports this for
- any URL path on your website (the base domain must be the same as the domain in your Auth settings).
+ You can sign up with OAuth providers using the [`signIn()`](/docs/reference/javascript/auth-signin#sign-in-using-third-party-providers) method.
js: |
```js
- const { user, session, error } = await supabase.auth.signUp({
+ const { user, session, error } = await supabase.auth.signIn({
provider: 'github'
- }, {
- redirectTo: 'https://example.com/welcome'
})
```
- - name: Sign up with third-party providers.
+ - name: Sign up with redirect.
description: |
- You can sign up with OAuth providers using the [`signIn()`](/docs/reference/javascript/auth-signin#sign-in-using-third-party-providers) method.
+ Sometimes you want to control where the user is redirected to after they are logged in. Supabase supports this for
+ any URL path on your website (the base domain must be the same as the domain in your Auth settings).
js: |
```js
const { user, session, error } = await supabase.auth.signIn({
provider: 'github'
+ }, {
+ redirectTo: 'https://example.com/welcome'
})
```
- name: Sign up with scopes.