The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
docs: add missing Dart examples (#39815)
Guilherme Souzac73296e54971
diff --git a/apps/docs/content/guides/auth/passwords.mdx b/apps/docs/content/guides/auth/passwords.mdxindex 363b86c6400..cfde4e71b7c 100644--- a/apps/docs/content/guides/auth/passwords.mdx+++ b/apps/docs/content/guides/auth/passwords.mdx@@ -643,6 +643,18 @@ client.auth.reset_password_email()```+</TabPanel>+</$Show>+<$Show if="sdk:dart">+<TabPanel id="dart" label="Dart">++```dart+await supabase.auth.resetPasswordForEmail(+ '[email protected]',+ redirectTo: 'http://example.com/account/update-password',+);+```+</TabPanel></$Show></Tabs>@@ -937,6 +949,15 @@ supabase.gotrue.sendRecoveryEmail(supabase.auth.reset_password_email('[email protected]')```+</TabPanel>+</$Show>+<$Show if="sdk:dart">+<TabPanel id="dart" label="Dart">++```dart+await supabase.auth.resetPasswordForEmail('[email protected]');+```+</TabPanel></$Show></Tabs>@@ -992,6 +1013,17 @@ supabase.auth.updateUser {supabase.auth.update_user({'password': 'new_password'})```+</TabPanel>+</$Show>+<$Show if="sdk:dart">+<TabPanel id="dart" label="Dart">++```dart+final UserResponse res = await supabase.auth.updateUser(+ UserAttributes(password: 'new_password'),+);+```+</TabPanel></$Show></Tabs>@@ -1098,6 +1130,18 @@ supabase.auth.sign_up({})```+</TabPanel>+</$Show>+<$Show if="sdk:dart">+<TabPanel id="dart" label="Dart">++```dart+final AuthResponse res = await supabase.auth.signUp(+ phone: '+13334445555',+ password: 'some-password',+);+```+</TabPanel></$Show><TabPanel id="http" label="HTTP">@@ -1187,6 +1231,21 @@ supabase.auth.verify_otp({})```+</TabPanel>+</$Show>+<$Show if="sdk:dart">+<TabPanel id="dart" label="Dart">++You should present a form to the user so they can input the 6 digit pin, then send it along with the phone number to `verifyOTP`:++```dart+final AuthResponse res = await supabase.auth.verifyOTP(+ phone: '+13334445555',+ token: '123456',+ type: OtpType.sms,+);+```+</TabPanel></$Show><TabPanel id="http" label="HTTP">@@ -1259,11 +1318,23 @@ supabase.auth.signInWith(Phone) {```pythonsupabase.auth.sign_in_with_password({- 'phone': "+13334445555"+ 'phone': "+13334445555",'password': "some-password"})```+</TabPanel>+</$Show>+<$Show if="sdk:dart">+<TabPanel id="dart" label="Dart">++```dart+final AuthResponse res = await supabase.auth.signInWithPassword(+ phone: '+13334445555',+ password: 'some-password',+);+```+</TabPanel></$Show><TabPanel id="http" label="HTTP">