The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: description text wasnt being persisted
awalias8edaa580bc5b
diff --git a/web/docs/client/reset-password-email.mdx b/web/docs/client/reset-password-email.mdxindex e585ccb0bd6..3c769bb37e4 100644--- a/web/docs/client/reset-password-email.mdx+++ b/web/docs/client/reset-password-email.mdx@@ -45,6 +45,30 @@ const { error, data } = await auth.api.updateUser(access_token, { password : new_password })```+<Tabs+ defaultValue="js"+ groupId="libraries"+ values={[{ label: 'JavaScript', value: 'js' },{ label: 'Python', value: 'py' }]}>++<TabItem value="js">++```js+const { data, error } = supabase.auth.api.resetPasswordForEmail('[email protected]')+```+++</TabItem>+<TabItem value="py">++```py+# Not yet implemented+```+++</TabItem>++</Tabs>+## Parametersdiff --git a/web/docs/gotrue/client/api-resetpasswordforemail.mdx b/web/docs/gotrue/client/api-resetpasswordforemail.mdxindex acc8b22c9ba..ff5955f7ed0 100644--- a/web/docs/gotrue/client/api-resetpasswordforemail.mdx+++ b/web/docs/gotrue/client/api-resetpasswordforemail.mdx@@ -7,8 +7,44 @@ slug: api-resetpasswordforemailimport Tabs from '@theme/Tabs';import TabItem from '@theme/TabItem';+<Tabs+ defaultValue="js"+ groupId="libraries"+ values={[{ label: 'JavaScript', value: 'js' },{ label: 'Python', value: 'py' }]}>++<TabItem value="js">++```js+const { data, error } = supabase.auth.api.resetPasswordForEmail('[email protected]')+```+++</TabItem>+<TabItem value="py">++```py+# Not yet implemented+```+++</TabItem>++</Tabs>+Sends a reset request to an email address.+When the user clicks the reset link in the email they will be forwarded to:+`<SITE_URL>#access_token=x&refresh_token=y&expires_in=z&token_type=bearer&type=recovery`++Your app must detect `type=recovery` in the fragment and display a password reset form to the user.++You should then use the access_token in the url and new password to update the user as follows:++```js+const { error, data } = await auth.api+ .updateUser(access_token, { password : new_password })+```+## Parametersdiff --git a/web/spec/combined.json b/web/spec/combined.jsonindex d1bc9a24b51..7953a85d1a0 100644--- a/web/spec/combined.json+++ b/web/spec/combined.json@@ -6673,7 +6673,7 @@"isExported": true},"comment": {- "shortText": "Sends a reset request to an email address."+ "shortText": "<Tabs\n defaultValue=\"js\"\n groupId=\"libraries\"\n values={[{ label: 'JavaScript', value: 'js' },{ label: 'Python', value: 'py' }]}>\n\n<TabItem value=\"js\">\n\n```js\nconst { data, error } = supabase.auth.api.resetPasswordForEmail('[email protected]')\n```\n\n\n</TabItem>\n<TabItem value=\"py\">\n\n```py\n# Not yet implemented\n```\n\n\n</TabItem>\n\n</Tabs>\n\nSends a reset request to an email address.\n\nWhen the user clicks the reset link in the email they will be forwarded to:\n`<SITE_URL>#access_token=x&refresh_token=y&expires_in=z&token_type=bearer&type=recovery`\n\nYour app must detect `type=recovery` in the fragment and display a password reset form to the user.\n\nYou should then use the access_token in the url and new password to update the user as follows:\n\n```js\nconst { error, data } = await auth.api\n .updateUser(access_token, { password : new_password })\n```"},"parameters": [{diff --git a/web/spec/gotrue.json b/web/spec/gotrue.jsonindex 23a175b6443..12121d13ebc 100644--- a/web/spec/gotrue.json+++ b/web/spec/gotrue.json@@ -872,7 +872,7 @@"isExported": true},"comment": {- "shortText": "Sends a reset request to an email address."+ "shortText": "<Tabs\n defaultValue=\"js\"\n groupId=\"libraries\"\n values={[{ label: 'JavaScript', value: 'js' },{ label: 'Python', value: 'py' }]}>\n\n<TabItem value=\"js\">\n\n```js\nconst { data, error } = supabase.auth.api.resetPasswordForEmail('[email protected]')\n```\n\n\n</TabItem>\n<TabItem value=\"py\">\n\n```py\n# Not yet implemented\n```\n\n\n</TabItem>\n\n</Tabs>\n\nSends a reset request to an email address.\n\nWhen the user clicks the reset link in the email they will be forwarded to:\n`<SITE_URL>#access_token=x&refresh_token=y&expires_in=z&token_type=bearer&type=recovery`\n\nYour app must detect `type=recovery` in the fragment and display a password reset form to the user.\n\nYou should then use the access_token in the url and new password to update the user as follows:\n\n```js\nconst { error, data } = await auth.api\n .updateUser(access_token, { password : new_password })\n```"},"parameters": [{