Skip to content

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

docs: remove OAuth duplication

Harsh Karande9027a73af731
diff --git a/web/spec/supabase.yml b/web/spec/supabase.yml
index 20c45c7de9f..4668f801462 100644
--- a/web/spec/supabase.yml
+++ b/web/spec/supabase.yml
@@ -293,36 +293,6 @@ pages:
- name: Sign up with third-party providers.
description: |
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.signIn({
- provider: 'github'
- })
- ```
- - name: Sign up with redirect.
- 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).
- js: |
- ```js
- const { user, session, error } = await supabase.auth.signIn({
- provider: 'github'
- }, {
- redirectTo: 'https://example.com/welcome'
- })
- ```
- - name: Sign up with scopes.
- description: |
- You can provide additional scopes to OAuth providers using the [`signIn()`](/docs/reference/javascript/auth-signin#sign-in-with-scopes) method.
- js: |
- ```js
- const { user, session, error } = await supabase.auth.signIn({
- provider: 'github'
- }, {
- scopes: 'repo gist notifications'
- })
- const oAuthToken = session.provider_token // use to access provider API
- ```
auth.signIn():
$ref: '@supabase/gotrue-js."GoTrueClient".GoTrueClient.signIn'