We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1320222 commit ec5c4b0Copy full SHA for ec5c4b0
spec/supabase_js_v2.yml
@@ -174,6 +174,23 @@ functions:
174
}
175
)
176
```
177
+ - id: sign-up-with-redirect.
178
+ name: Sign up with a redirect
179
+ isSpotlight: false
180
+ description: |
181
+ - See [redirect URLs and wildcards](/docs/guides/auth/overview#redirect-urls-and-wildcards) to add additional redirect URLs to your project.
182
+ code: |
183
+ ```js
184
+ const { data, error } = await supabase.auth.signUp(
185
+ {
186
+ email: 'example@email.com',
187
+ password: 'example-password',
188
+ options: {
189
+ redirectTo: 'https://example.com/welcome'
190
+ }
191
192
+ )
193
+ ```
194
- id: sign-in-with-password
195
title: 'signInWithPassword()'
196
$ref: '@supabase/gotrue-js.GoTrueClient.signInWithPassword'
0 commit comments