Skip to content

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

fix: broken docusourous links

dshukertjrd480760d9955
diff --git a/apps/reference/docs/guides/auth/auth-email.mdx b/apps/reference/docs/guides/auth/auth-email.mdx
index 017eba28019..9131039e893 100644
--- a/apps/reference/docs/guides/auth/auth-email.mdx
+++ b/apps/reference/docs/guides/auth/auth-email.mdx
@@ -55,11 +55,11 @@ async function signInWithEmail() {
<TabItem value="dart">
-When your user signs in, call [signIn()](/docs/reference/dart/auth-signin) with their email address and password:
+When your user signs in, call [signInWithPassword()](/docs/reference/dart/auth-signinwithpassword) with their email address and password:
```dart
Future<void> signInWithEmail() async {
- await supabase.auth.signIn(
+ final AuthResponse res = await supabase.auth.signInWithPassword(
password: 'example-password'
);
diff --git a/apps/reference/docs/guides/auth/auth-magic-link.mdx b/apps/reference/docs/guides/auth/auth-magic-link.mdx
index f4519e43461..d09f5d92b52 100644
--- a/apps/reference/docs/guides/auth/auth-magic-link.mdx
+++ b/apps/reference/docs/guides/auth/auth-magic-link.mdx
@@ -50,11 +50,11 @@ async function signInWithEmail() {
<TabItem value="dart">
-When your user signs in, call [signIn()](/docs/reference/dart/auth-signin) with their email address:
+When your user signs in, call [signIn()](/docs/reference/dart/auth-signinwithotp) with their email address:
```dart
Future<void> signInWithEmail() async {
- await supabase.auth.signIn(email: '[email protected]');
+ final AuthResponse res = await supabase.auth.signinwithotp(email: '[email protected]');
}
```
diff --git a/spec/supabase_dart_v0.yml b/spec/supabase_dart_v0.yml
index c7cf24554ba..4bf41e87e88 100644
--- a/spec/supabase_dart_v0.yml
+++ b/spec/supabase_dart_v0.yml
@@ -90,7 +90,7 @@ pages:
- name: Sign up with third-party providers.
hideCodeBlock: true
description: |
- If you are using Flutter, you can sign up with OAuth providers using the [`signInWithProvider()`](/docs/reference/dart/auth-signinwithprovider) method available on `supabase_flutter`.
+ If you are using Flutter, you can sign up with OAuth providers using the [`signInWithProvider()`](/docs/reference/dart/v0/auth-signinwithprovider) method available on `supabase_flutter`.
auth.signIn():
description: |
@@ -100,7 +100,7 @@ pages:
- If you provide `email` without a `password`, the user will be sent a magic link.
- The magic link's destination URL is determined by the SITE_URL config variable. To change this, you can go to Authentication -> Settings on [app.supabase.com](https://app.supabase.com)
- Similarly, if you provide `phone` without a `password`, the user will be sent a one time password.
- - If you are looking to sign users in with OAuth in Flutter apps, go to [`signInWithProvider()`](/docs/reference/dart/auth-signinwithprovider).
+ - If you are looking to sign users in with OAuth in Flutter apps, go to [`signInWithProvider()`](/docs/reference/dart/v0/auth-signinwithprovider).
examples:
- name: Sign in with email.
isSpotlight: true
@@ -122,7 +122,7 @@ pages:
- name: Get OAuth sign in URL.
description: |
Passing provider parameter to `signIn()` will return a URL to sign your user in via OAuth.
- If you are looking to sign in a user via OAuth on Flutter app, go to [`signInWithProvider()`](/docs/reference/dart/auth-signinwithprovider).
+ If you are looking to sign in a user via OAuth on Flutter app, go to [`signInWithProvider()`](/docs/reference/dart/v0/auth-signinwithprovider).
dart: |
```dart
final res = await supabase.auth.signIn(provider: Provider.github);
diff --git a/spec/supabase_dart_v1.yml b/spec/supabase_dart_v1.yml
index 32d27032acf..c291b981372 100644
--- a/spec/supabase_dart_v1.yml
+++ b/spec/supabase_dart_v1.yml
@@ -44,7 +44,7 @@ pages:
- name: Sign up with third-party providers.
hideCodeBlock: true
description: |
- If you are using Flutter, you can sign up with OAuth providers using the [`signInWithProvider()`](/docs/reference/dart/auth-signinwithprovider) method available on `supabase_flutter`.
+ If you are using Flutter, you can sign up with OAuth providers using the [`signInWithOAuth()`](/docs/reference/dart/auth-signinwithoauth) method available on `supabase_flutter`.
auth.signInWithPassword():
title: 'signInWithPassword()'