diff --git a/docs/content/en/schemes/oauth2.md b/docs/content/en/schemes/oauth2.md index 556a96272..cef05f89d 100644 --- a/docs/content/en/schemes/oauth2.md +++ b/docs/content/en/schemes/oauth2.md @@ -54,7 +54,7 @@ auth: { token: { property: 'access_token', type: 'Bearer', - maxAge: 1800 + maxAge: 60 * 30 }, refreshToken: { property: 'refresh_token', @@ -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. diff --git a/docs/content/en/schemes/openIDConnect.md b/docs/content/en/schemes/openIDConnect.md index 463a2dcbd..23661bcbc 100644 --- a/docs/content/en/schemes/openIDConnect.md +++ b/docs/content/en/schemes/openIDConnect.md @@ -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. @@ -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.