Skip to content

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

chore: update title of reset email and regen

awaliascb8f3634a9fc
diff --git a/web/docs/client/reset-password-email.mdx b/web/docs/client/auth-resetpasswordforemail.mdx
similarity index 92%
rename from web/docs/client/reset-password-email.mdx
rename to web/docs/client/auth-resetpasswordforemail.mdx
index fca43a36403..4c12038ffac 100644
--- a/web/docs/client/reset-password-email.mdx
+++ b/web/docs/client/auth-resetpasswordforemail.mdx
@@ -1,7 +1,7 @@
---
-id: reset-password-email
-title: "Reset Password (Email)"
-slug: reset-password-email
+id: auth-resetpasswordforemail
+title: "auth.resetPasswordForEmail()"
+slug: auth-resetpasswordforemail
---
import Tabs from '@theme/Tabs';
diff --git a/web/docs/gotrue/client/api-getuser.mdx b/web/docs/gotrue/client/api-getuser.mdx
index 963a77afe82..07cbb8982b0 100644
--- a/web/docs/gotrue/client/api-getuser.mdx
+++ b/web/docs/gotrue/client/api-getuser.mdx
@@ -25,7 +25,7 @@ Gets the user details.
required
</span>
<span className="method-list-item-validation">
- string
+ <code>string</code>
</span>
</h4>
<div class="method-list-item-description">
diff --git a/web/docs/gotrue/client/api-inviteuserbyemail.mdx b/web/docs/gotrue/client/api-inviteuserbyemail.mdx
index d72cea44d90..950e3ef70ff 100644
--- a/web/docs/gotrue/client/api-inviteuserbyemail.mdx
+++ b/web/docs/gotrue/client/api-inviteuserbyemail.mdx
@@ -25,7 +25,7 @@ Sends an invite link to an email address.
required
</span>
<span className="method-list-item-validation">
- string
+ <code>string</code>
</span>
</h4>
<div class="method-list-item-description">
diff --git a/web/docs/gotrue/client/api-refreshaccesstoken.mdx b/web/docs/gotrue/client/api-refreshaccesstoken.mdx
index 3b68234d442..88cead7f477 100644
--- a/web/docs/gotrue/client/api-refreshaccesstoken.mdx
+++ b/web/docs/gotrue/client/api-refreshaccesstoken.mdx
@@ -25,7 +25,7 @@ Generates a new JWT.
required
</span>
<span className="method-list-item-validation">
- string
+ <code>string</code>
</span>
</h4>
<div class="method-list-item-description">
diff --git a/web/docs/gotrue/client/api-resetpasswordforemail.mdx b/web/docs/gotrue/client/api-resetpasswordforemail.mdx
index dcde2b3a4ce..829d92eeed0 100644
--- a/web/docs/gotrue/client/api-resetpasswordforemail.mdx
+++ b/web/docs/gotrue/client/api-resetpasswordforemail.mdx
@@ -25,7 +25,7 @@ Sends a reset request to an email address.
required
</span>
<span className="method-list-item-validation">
- string
+ <code>string</code>
</span>
</h4>
<div class="method-list-item-description">
diff --git a/web/docs/gotrue/client/api-sendmagiclinkemail.mdx b/web/docs/gotrue/client/api-sendmagiclinkemail.mdx
index 80739f44269..2eb33caf787 100644
--- a/web/docs/gotrue/client/api-sendmagiclinkemail.mdx
+++ b/web/docs/gotrue/client/api-sendmagiclinkemail.mdx
@@ -25,7 +25,7 @@ Sends a magic login link to an email address.
required
</span>
<span className="method-list-item-validation">
- string
+ <code>string</code>
</span>
</h4>
<div class="method-list-item-description">
diff --git a/web/docs/gotrue/client/api-signinwithemail.mdx b/web/docs/gotrue/client/api-signinwithemail.mdx
index 40a2a3bb7f9..095331ad655 100644
--- a/web/docs/gotrue/client/api-signinwithemail.mdx
+++ b/web/docs/gotrue/client/api-signinwithemail.mdx
@@ -25,7 +25,7 @@ Logs in an existing user using their email address.
required
</span>
<span className="method-list-item-validation">
- string
+ <code>string</code>
</span>
</h4>
<div class="method-list-item-description">
@@ -46,7 +46,7 @@ The email address of the user.
required
</span>
<span className="method-list-item-validation">
- string
+ <code>string</code>
</span>
</h4>
<div class="method-list-item-description">
@@ -102,4 +102,4 @@ Not yet implemented
</TabItem>
-</Tabs>
+</Tabs>
\ No newline at end of file
diff --git a/web/docs/gotrue/client/api-signout.mdx b/web/docs/gotrue/client/api-signout.mdx
index f27abf15321..0a149798953 100644
--- a/web/docs/gotrue/client/api-signout.mdx
+++ b/web/docs/gotrue/client/api-signout.mdx
@@ -25,7 +25,7 @@ Removes a logged-in session.
required
</span>
<span className="method-list-item-validation">
- string
+ <code>string</code>
</span>
</h4>
<div class="method-list-item-description">
diff --git a/web/docs/gotrue/client/api-signupwithemail.mdx b/web/docs/gotrue/client/api-signupwithemail.mdx
index 5f284488bc0..626c8078892 100644
--- a/web/docs/gotrue/client/api-signupwithemail.mdx
+++ b/web/docs/gotrue/client/api-signupwithemail.mdx
@@ -25,7 +25,7 @@ Creates a new user using their email address.
required
</span>
<span className="method-list-item-validation">
- string
+ <code>string</code>
</span>
</h4>
<div class="method-list-item-description">
@@ -46,7 +46,7 @@ The email address of the user.
required
</span>
<span className="method-list-item-validation">
- string
+ <code>string</code>
</span>
</h4>
<div class="method-list-item-description">
diff --git a/web/docs/gotrue/client/api-updateuser.mdx b/web/docs/gotrue/client/api-updateuser.mdx
index 0d03e6e8ceb..a3e4b578f60 100644
--- a/web/docs/gotrue/client/api-updateuser.mdx
+++ b/web/docs/gotrue/client/api-updateuser.mdx
@@ -25,7 +25,7 @@ Updates the user data.
required
</span>
<span className="method-list-item-validation">
- string
+ <code>string</code>
</span>
</h4>
<div class="method-list-item-description">
@@ -46,7 +46,7 @@ A valid, logged-in JWT.
required
</span>
<span className="method-list-item-validation">
- UserAttributes
+ <code>UserAttributes</code>
</span>
</h4>
<div class="method-list-item-description">
diff --git a/web/docs/gotrue/client/initializing.mdx b/web/docs/gotrue/client/initializing.mdx
index 7354025487a..cd07ce3bbc5 100644
--- a/web/docs/gotrue/client/initializing.mdx
+++ b/web/docs/gotrue/client/initializing.mdx
@@ -57,7 +57,7 @@ const auth = new GoTrueClient({
required
</span>
<span className="method-list-item-validation">
- object
+ <code>object</code>
</span>
</h4>
<div class="method-list-item-description">
@@ -78,7 +78,7 @@ No description provided.
optional
</span>
<span className="method-list-item-validation">
- | |
+ <code>undefined</code> | <code>false</code> | <code>true</code>
</span>
</h4>
<div class="method-list-item-description">
@@ -99,7 +99,7 @@ Set to "true" if you want to automatically refresh the token before expiring.
optional
</span>
<span className="method-list-item-validation">
- | |
+ <code>undefined</code> | <code>false</code> | <code>true</code>
</span>
</h4>
<div class="method-list-item-description">
@@ -120,7 +120,7 @@ Set to "true" if you want to automatically detects OAuth grants in the URL and s
optional
</span>
<span className="method-list-item-validation">
- |
+ <code>undefined</code> | <code>reflection</code>
</span>
</h4>
<div class="method-list-item-description">
@@ -141,7 +141,7 @@ Any additional headers to send to the GoTrue server.
optional
</span>
<span className="method-list-item-validation">
- Storage
+ <code>Storage</code>
</span>
</h4>
<div class="method-list-item-description">
@@ -162,7 +162,7 @@ No description provided.
optional
</span>
<span className="method-list-item-validation">
- | |
+ <code>undefined</code> | <code>false</code> | <code>true</code>
</span>
</h4>
<div class="method-list-item-description">
@@ -183,7 +183,7 @@ Set to "true" if you want to automatically save the user session into local stor
optional
</span>
<span className="method-list-item-validation">
- |
+ <code>undefined</code> | <code>string</code>
</span>
</h4>
<div class="method-list-item-description">
diff --git a/web/docs/gotrue/client/signin.mdx b/web/docs/gotrue/client/signin.mdx
index 6557ca5d09e..c787fb73681 100644
--- a/web/docs/gotrue/client/signin.mdx
+++ b/web/docs/gotrue/client/signin.mdx
@@ -56,7 +56,7 @@ const { user, error } = await auth.signIn({
required
</span>
<span className="method-list-item-validation">
- object
+ <code>object</code>
</span>
</h4>
<div class="method-list-item-description">
@@ -77,7 +77,7 @@ The user login details.
optional
</span>
<span className="method-list-item-validation">
- |
+ <code>undefined</code> | <code>string</code>
</span>
</h4>
<div class="method-list-item-description">
@@ -98,7 +98,7 @@ The user's email address.
optional
</span>
<span className="method-list-item-validation">
- |
+ <code>undefined</code> | <code>string</code>
</span>
</h4>
<div class="method-list-item-description">
@@ -119,7 +119,7 @@ The user's password.
optional
</span>
<span className="method-list-item-validation">
- Provider
+ <code>Provider</code>
</span>
</h4>
<div class="method-list-item-description">
diff --git a/web/docs/gotrue/client/signup.mdx b/web/docs/gotrue/client/signup.mdx
index 0df405d03b7..c6cd9b6fdb0 100644
--- a/web/docs/gotrue/client/signup.mdx
+++ b/web/docs/gotrue/client/signup.mdx
@@ -25,7 +25,7 @@ Creates a new user.
required
</span>
<span className="method-list-item-validation">
- object
+ <code>object</code>
</span>
</h4>
<div class="method-list-item-description">
@@ -46,7 +46,7 @@ The user login details.
required
</span>
<span className="method-list-item-validation">
- string
+ <code>string</code>
</span>
</h4>
<div class="method-list-item-description">
@@ -67,7 +67,7 @@ The user's password.
required
</span>
<span className="method-list-item-validation">
- string
+ <code>string</code>
</span>
</h4>
<div class="method-list-item-description">
diff --git a/web/docs/gotrue/client/update.mdx b/web/docs/gotrue/client/update.mdx
index 298d2cca5be..2768d8f8fbd 100644
--- a/web/docs/gotrue/client/update.mdx
+++ b/web/docs/gotrue/client/update.mdx
@@ -49,7 +49,7 @@ const { user, error } = await auth.update({
required
</span>
<span className="method-list-item-validation">
- UserAttributes
+ <code>UserAttributes</code>
</span>
</h4>
<div class="method-list-item-description">
diff --git a/web/docs/realtime/client/disconnect.mdx b/web/docs/realtime/client/disconnect.mdx
index 65a9de59a7a..37d8113bbd1 100644
--- a/web/docs/realtime/client/disconnect.mdx
+++ b/web/docs/realtime/client/disconnect.mdx
@@ -25,7 +25,7 @@ Disconnects the socket.
optional
</span>
<span className="method-list-item-validation">
- |
+ <code>undefined</code> | <code>number</code>
</span>
</h4>
<div class="method-list-item-description">
@@ -46,7 +46,7 @@ A numeric status code to send on disconnect.
optional
</span>
<span className="method-list-item-validation">
- |
+ <code>undefined</code> | <code>string</code>
</span>
</h4>
<div class="method-list-item-description">
diff --git a/web/docs/realtime/client/initializing.mdx b/web/docs/realtime/client/initializing.mdx
index 5ce80220a8a..8d82655a683 100644
--- a/web/docs/realtime/client/initializing.mdx
+++ b/web/docs/realtime/client/initializing.mdx
@@ -25,7 +25,7 @@ Initializes the Socket
required
</span>
<span className="method-list-item-validation">
- string
+ <code>string</code>
</span>
</h4>
<div class="method-list-item-description">
@@ -46,7 +46,7 @@ The string WebSocket endpoint, ie, "ws://example.com/socket", "wss://example.com
optional
</span>
<span className="method-list-item-validation">
- Options
+ <code>Options</code>
</span>
</h4>
<div class="method-list-item-description">
diff --git a/web/sidebar_spec_supabase.js b/web/sidebar_spec_supabase.js
index 6d72c6721ee..68f9470cc49 100644
--- a/web/sidebar_spec_supabase.js
+++ b/web/sidebar_spec_supabase.js
@@ -9,7 +9,7 @@ module.exports = {
{
type: 'category',
label: 'Auth',
- items: ['client/auth-signup', 'client/auth-signin', 'client/auth-signout', 'client/auth-session', 'client/auth-user', 'client/auth-update', 'client/auth-onauthstatechange', 'client/reset-password-email'],
+ items: ['client/auth-signup', 'client/auth-signin', 'client/auth-signout', 'client/auth-session', 'client/auth-user', 'client/auth-update', 'client/auth-onauthstatechange', 'client/auth-resetpasswordforemail'],
collapsed: false,
},
{
diff --git a/web/spec/supabase.yml b/web/spec/supabase.yml
index 1e57bca1e80..0698be8c052 100644
--- a/web/spec/supabase.yml
+++ b/web/spec/supabase.yml
@@ -42,7 +42,7 @@ info:
- auth.user()
- auth.update()
- auth.onAuthStateChange()
- - Reset Password (Email)
+ - auth.resetPasswordForEmail()
- name: 'Data'
items:
- select()
@@ -361,7 +361,7 @@ pages:
# Not yet implemented
```
- Reset Password (Email):
+ auth.resetPasswordForEmail():
$ref: '@supabase/gotrue-js."GoTrueApi".GoTrueApi.resetPasswordForEmail'
examples:
- name: Reset password