Skip to content

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

chore: add details and link to pkce ssr guide

Joel Lee35523e0f582e
diff --git a/spec/supabase_js_v2.yml b/spec/supabase_js_v2.yml
index 4d9c6a4f52d..01e8f547f34 100644
--- a/spec/supabase_js_v2.yml
+++ b/spec/supabase_js_v2.yml
@@ -415,7 +415,7 @@ functions:
notes: |
- The `verifyOtp` method takes in different verification types. If a phone number is used, the type can either be `sms` or `phone_change`. If an email address is used, the type can be one of the following: `email`, `recovery`, `invite` or `email_change` (`signup` and `magiclink` types are deprecated).
- The verification type used should be determined based on the corresponding auth method called before `verifyOtp` to sign up / sign-in a user.
- - It is also possible to use the `TokenHash` found in the [email templates](/docs/guides/auth/auth-email-templates) as a sign in method
+ - The `TokenHash` is contained in the [email templates](/docs/guides/auth/auth-email-templates) and can be used to sign in. You may wish to use the hash with Magic Links for the PKCE flow for Server Side Auth. See [this guide](/docs/guides/auth/server-side/email-based-auth-with-pkce-flow-for-ssr) for more details.
examples:
- id: verify-sms-one-time-password(otp)
name: Verify Sms One-Time Password (OTP)