PeerTube/server/middlewares/oauth2.js

12 lines
244 B
JavaScript

'use strict'
const OAuthServer = require('express-oauth-server')
const oAuth2 = new OAuthServer({
model: require('../models/users')
})
// ---------------------------------------------------------------------------
module.exports = oAuth2