You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/1.getting-started/2.authentication.md
+91Lines changed: 91 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -107,3 +107,94 @@ watch(user, () => {
107
107
::tip
108
108
If you want to manually set the redirect path, you can do so by disabling [`saveRedirectToCookie`](/getting-started/introduction#redirectoptions), and then set the value using the [`useSupabaseCookieRedirect`](/composables/usesupabasecookieredirect) composable directly.
109
109
::
110
+
111
+
## Reset Password
112
+
113
+
You can easily handle password reset request for the user. The flow consist of 2 steps:
114
+
115
+
::steps
116
+
117
+
#### Allow the user to login via the password reset link. When the user clicks the reset link in the email they are redirected back to your application.
You can also watch for the event `PASSWORD_RECOVERY` that will be emitted when the password recovery link is clicked. You can use `onAuthStateChange()` to listen and invoke a callback function on these events.
0 commit comments