The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: remove try/catch block from some auth doc that still had it in dart docs
dshukertjr3beed37259b7
diff --git a/apps/reference/_supabase_dart/generated/auth-signin.mdx b/apps/reference/_supabase_dart/generated/auth-signin.mdxindex 428f2fc9a2f..a850641fefe 100644--- a/apps/reference/_supabase_dart/generated/auth-signin.mdx+++ b/apps/reference/_supabase_dart/generated/auth-signin.mdx@@ -11,13 +11,9 @@ import TabItem from '@theme/TabItem'Log in an existing user, or login via a third-party provider.```dart-try {- final res = await supabase.auth.signIn(email: '[email protected]', password: 'example-password');+final res = await supabase.auth.signIn(email: '[email protected]', password: 'example-password');- final user = res.user;-} catch (error) {- // handle error-}+final user = res.user;```## Notes@@ -33,13 +29,9 @@ try {### Sign in with email.```dart-try {- final res = await supabase.auth.signIn(email: '[email protected]', password: 'example-password');+final res = await supabase.auth.signIn(email: '[email protected]', password: 'example-password');- final user = res.user;-} catch (error) {- // handle error-}+final user = res.user;```### Sign in with magic link.diff --git a/apps/reference/_supabase_dart/generated/auth-signinwithprovider.mdx b/apps/reference/_supabase_dart/generated/auth-signinwithprovider.mdxindex 35a5a24b0aa..e47d2ec6058 100644--- a/apps/reference/_supabase_dart/generated/auth-signinwithprovider.mdx+++ b/apps/reference/_supabase_dart/generated/auth-signinwithprovider.mdx@@ -11,11 +11,7 @@ import TabItem from '@theme/TabItem'Signs the user in using third party OAuth providers.```dart-try {- await supabase.auth.signInWithProvider(Provider.github);-} catch (error) {- // handle error-}+await supabase.auth.signInWithProvider(Provider.github);```## Notes@@ -28,11 +24,7 @@ try {### Sign in with provider.```dart-try {- await supabase.auth.signInWithProvider(Provider.github);-} catch (error) {- // handle error-}+await supabase.auth.signInWithProvider(Provider.github);```### With `redirectTo`diff --git a/apps/reference/_supabase_dart/generated/auth-signup.mdx b/apps/reference/_supabase_dart/generated/auth-signup.mdxindex 68e0c2af969..430fc86bced 100644--- a/apps/reference/_supabase_dart/generated/auth-signup.mdx+++ b/apps/reference/_supabase_dart/generated/auth-signup.mdx@@ -11,13 +11,10 @@ import TabItem from '@theme/TabItem'Creates a new user.```dart-try {- final res = await supabase.auth.signUp('[email protected]', 'example-password');- final user = res.user;-} catch (error) {- // handle error-}+final res = await supabase.auth.signUp('[email protected]', 'example-password');++final user = res.user;```## Notesdiff --git a/apps/reference/_supabase_dart/generated/auth-update.mdx b/apps/reference/_supabase_dart/generated/auth-update.mdxindex 4f36026d598..1f18f74a6a9 100644--- a/apps/reference/_supabase_dart/generated/auth-update.mdx+++ b/apps/reference/_supabase_dart/generated/auth-update.mdx@@ -11,11 +11,7 @@ import TabItem from '@theme/TabItem'Updates user data, if there is a logged in user.```dart-try {- final res = await supabase.auth.update(UserAttributes(data: {'hello': 'world'}));-} catch (error) {- // handle error-}+final res = await supabase.auth.update(UserAttributes(data: {'hello': 'world'}));```## Notes