Skip to content

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

Clarify passwort reset docs

Jan Tennertb411e72aded1
diff --git a/spec/supabase_kt_v0.yml b/spec/supabase_kt_v0.yml
index 7e1f6665408..bcac0e3b304 100644
--- a/spec/supabase_kt_v0.yml
+++ b/spec/supabase_kt_v0.yml
@@ -2571,9 +2571,7 @@ functions:
- The password reset flow consist of 2 broad steps: (i) Allow the user to login via the password reset link; (ii) Update the user's password.
- The `sendRecoveryEmail()` only sends a password reset link to the user's email.
To update the user's password, see [`modifyUser()`](/docs/reference/kotlin/auth-updateuser).
- - When the user clicks the reset link in the email they are redirected back to your application.
- You can configure the URL that the user is redirected to with the `redirectUrl` parameter.
- See [redirect URLs and wildcards](/docs/guides/auth#redirect-urls-and-wildcards) to add additional redirect URLs to your project.
+ - The user gets redirected back to your app, assuming you setup [OTP handling](/docs/reference/kotlin/initializing)
- After the user has been redirected successfully, prompt them for a new password and call `modifyUser()`:
```kotlin
client.gotrue.modifyUser(Email) {