projects
/
oweals
/
peertube.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
OAuth server: first draft
[oweals/peertube.git]
/
server
/
middlewares
/
oauth2.js
1
'use strict'
2
3
const OAuthServer = require('express-oauth-server')
4
5
const oAuth2 = new OAuthServer({
6
model: require('../models/users')
7
})
8
9
// ---------------------------------------------------------------------------
10
11
module.exports = oAuth2