diff options
| author | Kaio Cesar <rasec.k0@proton.me> | 2025-03-21 22:50:23 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-22 01:50:23 +0000 |
| commit | 71fff38aef839a749ebde45f5cad096d94644b72 (patch) | |
| tree | 3d030554d7c02fab87325b4233f6108d19f3b1a3 /docs | |
| parent | bffbd43672ca9c3366b0e94c20fadb26d86dfdb9 (diff) | |
| download | karakeep-71fff38aef839a749ebde45f5cad096d94644b72.tar.zst | |
feat(auth): Added env variable for OAuth timeout (#1136)
* feat(auth): add configurable OAuth timeout option
* fix(config): change OAUTH_TIMEOUT to use z.coerce.number for better type handling
* docs: Added instructions for OAUTH_TIMEOUT flag
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/docs/03-configuration.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/docs/03-configuration.md b/docs/docs/03-configuration.md index 36de8295..6e11774e 100644 --- a/docs/docs/03-configuration.md +++ b/docs/docs/03-configuration.md @@ -35,6 +35,7 @@ When setting up OAuth, the allowed redirect URLs configured at the provider shou | OAUTH_SCOPE | No | "openid email profile" | "Full list of scopes to request (space delimited)" | | OAUTH_PROVIDER_NAME | No | "Custom Provider" | The name of your provider. Will be shown on the signup page as "Sign in with `<name>`" | | OAUTH_ALLOW_DANGEROUS_EMAIL_ACCOUNT_LINKING | No | false | Whether existing accounts in hoarder stored in the database should automatically be linked with your OAuth account. Only enable it if you trust the OAuth provider! | +| OAUTH_TIMEOUT | No | 3500 | The wait time in milliseconds for the OAuth provider response. Increase this if you are having `outgoing request timed out` errors | For more information on `OAUTH_ALLOW_DANGEROUS_EMAIL_ACCOUNT_LINKING`, check the [next-auth.js documentation](https://next-auth.js.org/configuration/providers/oauth#allowdangerousemailaccountlinking-option). |
