Skip to content

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

fix: #739

Paul Copplestone9aa9bccf3c14
diff --git a/web/spec/gotrue.yml b/web/spec/gotrue.yml
index 3bea39e143b..bdbe5430c4e 100644
--- a/web/spec/gotrue.yml
+++ b/web/spec/gotrue.yml
@@ -174,7 +174,20 @@ pages:
```
onAuthStateChange:
- # $ref: onAuthStateChange
+ $ref: '"GoTrueClient".GoTrueClient.onAuthStateChange'
+ examples:
+ - name: Listen to auth changes
+ isSpotlight: true
+ js: |
+ ```js
+ supabase.auth.onAuthStateChange((event, session) => {
+ console.log(event, session)
+ })
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
api.signUpWithEmail:
$ref: '"GoTrueApi".GoTrueApi.signUpWithEmail'