Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/content/en/schemes/oauth2.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ auth: {
token: {
property: 'access_token',
type: 'Bearer',
maxAge: 1800
maxAge: 60 * 30
},
refreshToken: {
property: 'refresh_token',
Expand Down Expand Up @@ -119,7 +119,7 @@ It will be used in `Authorization` header of axios requests.

#### `maxAge`

- Default: `1800`
- Default: `60 * 30`

Here you set the expiration time of the token, in **seconds**.
This time will be used if for some reason we couldn't decode the token to get the expiration date.
Expand Down
4 changes: 2 additions & 2 deletions docs/content/en/schemes/openIDConnect.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ It will be used in `Authorization` header of axios requests.

#### `maxAge`

- Default: `1800`
- Default: `60 * 30`

Here you set the expiration time of the token, in **seconds**.
This time will be used if for some reason we couldn't decode the token to get the expiration date.
Expand All @@ -129,7 +129,7 @@ The OpenIDConnect scheme will save both the access and ID token. This because to

#### `maxAge`

- Default: `1800`
- Default: `60 * 30`

Here you set the expiration time of the ID token, in **seconds**.
This time will be used if for some reason we couldn't decode the ID token to get the expiration date.
Expand Down