X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fmiddlewares%2Foauth.ts;h=749f5cccd9b3f56e59f75ca36ca175233914fe2f;hb=5fbd08be3749e08662b39b3ff74bbd5b458063ef;hp=bb90dac470db51df2e5b7f7fc4a7bb6b9a527bcb;hpb=eccf70f020cb8b0d9ceddc2561713ccfddb72095;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/middlewares/oauth.ts b/server/middlewares/oauth.ts index bb90dac47..749f5cccd 100644 --- a/server/middlewares/oauth.ts +++ b/server/middlewares/oauth.ts @@ -9,6 +9,7 @@ const oAuthServer = new OAuthServer({ useErrorHandler: true, accessTokenLifetime: OAUTH_LIFETIME.ACCESS_TOKEN, refreshTokenLifetime: OAUTH_LIFETIME.REFRESH_TOKEN, + continueMiddleware: true, model: require('../lib/oauth-model') })