mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 02:39:33 +02:00
Add refresh_token_expires_in to oauth res
This commit is contained in:
parent
031ea8efed
commit
e7812bf091
2 changed files with 11 additions and 2 deletions
|
@ -19,6 +19,7 @@ const oAuthServer = new OAuthServer({
|
|||
useErrorHandler: true,
|
||||
accessTokenLifetime: OAUTH_LIFETIME.ACCESS_TOKEN,
|
||||
refreshTokenLifetime: OAUTH_LIFETIME.REFRESH_TOKEN,
|
||||
allowExtendedTokenAttributes: true,
|
||||
continueMiddleware: true,
|
||||
model: require('./oauth-model')
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue