keycloak-demo/routes/oauth/index.js

9 lines
211 B
JavaScript
Raw Normal View History

2021-08-31 10:24:42 +00:00
const Router = require('@koa/router');
const oauthCtrl = require('src/controllers/oauth/index.js');
const r = new Router({ prefix: '/oauth' });
r.get('/redirect', oauthCtrl.verifyCode());
module.exports = r;