Skip to content

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

Merge pull request #8961 from supabase/dng-ref-docs-auth-examples

dng66242529440e
diff --cc apps/reference/_supabase_js/generated/auth-admin-generatelink.mdx
index d41c0ecc3fa,d4908d5d41a..5c5a79e4721
--- a/apps/reference/_supabase_js/generated/auth-admin-generatelink.mdx
+++ b/apps/reference/_supabase_js/generated/auth-admin-generatelink.mdx
@@@ -8,16 -8,16 +8,16 @@@ custom_edit_url: https://github.com/sup
import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
- Generates email links and OTPs to be sent via a custom email provider.
+ Generates email links and OTPs to send via a custom email provider.
```js
-const { data, error } = await supabase.auth.admin.generateLink(
- 'signup',
- {
- 'password': 'secret'
- }
-)
+const { data, error } = await supabase.auth.admin.generateLink({
+ type: 'signup',
+ email: '[email protected]',
+ options: {
+ password: 'secret',
+ },
+})
```
## Parameters