for heroku

This commit is contained in:
mattyl006 2022-10-21 12:56:34 +02:00
parent 68beedb4c8
commit 76162f842b

View File

@ -1,9 +1,9 @@
import Keycloak from 'keycloak-js'; import Keycloak from 'keycloak-js';
const _kc = new Keycloak({ const _kc = new Keycloak({
url: process.env.KC_URL, url: 'https://auth-dev.csi.wmi.amu.edu.pl/',
realm: process.env.KC_REALM, realm: 'gonito-dev',
clientId: process.env.KC_CLIENT_ID clientId: 'gonito-dev-heroku'
}); });
const initKeycloak = (onAuthenticatedCallback) => { const initKeycloak = (onAuthenticatedCallback) => {