mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Fix default value for refresh and access token (#3954)
This commit is contained in:
@@ -40,8 +40,8 @@ database instance.
|
||||
| -------------------------------- | ------------------------------------------------------------------------------------------------ | ------------- |
|
||||
| `KEY` | Unique identifier for the project. | -- |
|
||||
| `SECRET` | Secret string for the project. | -- |
|
||||
| `ACCESS_TOKEN_TTL` | The duration that the access token is valid. | 7d |
|
||||
| `REFRESH_TOKEN_TTL` | The duration that the refresh token is valid, and also how long users stay logged-in to the App. | 15m |
|
||||
| `ACCESS_TOKEN_TTL` | The duration that the access token is valid. | 15m |
|
||||
| `REFRESH_TOKEN_TTL` | The duration that the refresh token is valid, and also how long users stay logged-in to the App. | 7d |
|
||||
| `REFRESH_TOKEN_COOKIE_SECURE` | Whether or not to use a secure cookie for the refresh token in cookie mode. | `false` |
|
||||
| `REFRESH_TOKEN_COOKIE_SAME_SITE` | Value for `sameSite` in the refresh token cookie when in cookie mode. | `lax` |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user