mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 16:06:16 -04:00
chore: add docs how to obtain bearer token (#6328)
* chore: add docs how to obtain bearer token * Added configurable ttl to settings --------- Co-authored-by: SamTV12345 <40429738+samtv12345@users.noreply.github.com>
This commit is contained in:
parent
70a536cad1
commit
8a76d2c680
5 changed files with 39 additions and 9 deletions
|
@ -98,6 +98,16 @@ exports.title = 'Etherpad';
|
|||
*/
|
||||
exports.favicon = null;
|
||||
|
||||
exports.ttl = {
|
||||
AccessToken: 1 * 60 * 60, // 1 hour in seconds
|
||||
AuthorizationCode: 10 * 60, // 10 minutes in seconds
|
||||
ClientCredentials: 1 * 60 * 60, // 1 hour in seconds
|
||||
IdToken: 1 * 60 * 60, // 1 hour in seconds
|
||||
RefreshToken: 1 * 24 * 60 * 60, // 1 day in seconds
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Skin name.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue