updated config
This commit is contained in:
parent
e9287e8dd7
commit
ea5988ee82
3 changed files with 28 additions and 20 deletions
|
|
@ -1,6 +1,14 @@
|
|||
import Keycloak from 'keycloak-js'
|
||||
|
||||
const keycloak = new Keycloak('/keycloak.json')
|
||||
const keycloakConfig = {
|
||||
realm: import.meta.env.KC_REALMS,
|
||||
'auth-server-url': import.meta.env.KC_URL,
|
||||
'ssl-required': 'external',
|
||||
resource: 'edm',
|
||||
'public-client': true,
|
||||
'confidential-port': 0,
|
||||
}
|
||||
const keycloak = new Keycloak(keycloakConfig)
|
||||
|
||||
let init = false
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue