kfu-24-teacher/stubs/api/keycloak.js
2024-12-14 13:08:54 +03:00

13 lines
243 B
JavaScript

const Keycloak = require('keycloak-connect');
const kcConfig = {
clientId: 'kfu-m-24-1',
bearerOnly: true,
serverUrl: 'https://kc.bro-js.ru/',
realm: 'open'
};
const keycloak = new Keycloak({}, kcConfig);
module.exports = keycloak;