Skip to content

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

Add example to auth.signUp() method (#3720)

Vic Shóstak732d6454650d
diff --git a/web/spec/supabase.yml b/web/spec/supabase.yml
index dc1d8deee81..33784f5d968 100644
--- a/web/spec/supabase.yml
+++ b/web/spec/supabase.yml
@@ -307,6 +307,23 @@ pages:
password: 'example-password',
})
```
+ - name: Sign up with additional user meta data.
+ isSpotlight: true
+ js: |
+ ```js
+ const { user, session, error } = await supabase.auth.signUp(
+ {
+ email: '[email protected]',
+ password: 'example-password',
+ },
+ {
+ data: {
+ first_name: 'John',
+ age: 27,
+ }
+ }
+ )
+ ```
- name: Sign up with third-party providers.
hideCodeBlock: true
description: |