init keycloak
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user