bcgov/common-forms-toolkit

View on GitHub
app/src/components/index.js

Summary

Maintainability
A
0 mins
Test Coverage
const config = require('config');

const KeycloakAdminService = require('./keycloakAdminService');

const baseUrl = config.get('server.keycloak.serverUrl');
const realm = config.get('server.keycloak.realm');
const adminClientId = config.get('server.keycloak.adminClientId');
const adminClientSecret = config.get('server.keycloak.adminClientSecret');

module.exports.keycloakAdminService = new KeycloakAdminService({baseUrl: baseUrl, realm: realm, clientId: adminClientId, clientSecret: adminClientSecret});