You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Adds missing documentation for webhooks.
* Clarifies the unit.
* Extends JWS description for webhooks.
* Fixes typos.
* Typos are like bugs.
They don't disappear without changes.
Url of the webhook receiver endpoint. This will be called when events like `validate`, `signup` or `login` occur.
295
+
296
+
`WEBHOOK_SECRET` - `string`
297
+
298
+
Shared secret to authorize webhook requests. This secret signs the [JSON Web Signature](https://tools.ietf.org/html/draft-ietf-jose-json-web-signature-41) of the request. You *should* use this to verify the integrity of the request. Otherwise others can feed your webhook receiver with fake data.
299
+
300
+
`WEBHOOK_RETRIES` - `number`
301
+
302
+
How often GoTrue should try a failed hook.
303
+
304
+
`WEBHOOK_TIMEOUT_SEC` - `number`
305
+
306
+
Time between retries (in seconds).
307
+
308
+
`WEBHOOK_EVENTS` - `list`
309
+
310
+
Which events should trigger a webhook. You can provide a comma separated list.
311
+
For example to listen to all events, provide the values `validate,signup,login`.
312
+
292
313
## Endpoints
293
314
294
315
GoTrue exposes the following endpoints:
@@ -368,7 +389,7 @@ GoTrue exposes the following endpoints:
368
389
"password": "12345abcdef"
369
390
}
370
391
```
371
-
392
+
372
393
`password` is required for signup verification if no existing password exists.
0 commit comments