X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Flib%2Fauth.ts;h=dbd421a7b3d6e0b33c1ecbf5dc2286475cc36452;hb=095e2258043fcff8a79ab082d11edfbd8f13a8e2;hp=466c9bdd4b86461bce57f6d47d705ebe59a5cd33;hpb=2d53be0267acc49cda46707b885096193a1f4e9c;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/lib/auth.ts b/server/lib/auth.ts index 466c9bdd4..dbd421a7b 100644 --- a/server/lib/auth.ts +++ b/server/lib/auth.ts @@ -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') })