mirror of
https://github.com/ets-cfuhrman-pfe/EvalueTonSavoir.git
synced 2025-08-11 21:23:54 -04:00
23 lines
No EOL
540 B
JavaScript
23 lines
No EOL
540 B
JavaScript
const authConfig = require('../config/auth.js');
|
|
|
|
class authController {
|
|
|
|
async getActive(req, res, next) {
|
|
try {
|
|
console.log(authConfig);
|
|
const authServices = {
|
|
simpleLoginActive: authConfig.simpleLoginActive,
|
|
oauthActive: authConfig.oauthActive,
|
|
oidcActive: authConfig.oidcActive
|
|
};
|
|
|
|
res.json(authServices);
|
|
}
|
|
catch (error) {
|
|
return next(error);
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
module.exports = new authController; |