fix: error
This commit is contained in:
parent
41d52feca4
commit
0ed598cb6f
5 changed files with 14 additions and 145 deletions
|
|
@ -1,14 +1,10 @@
|
|||
import Keycloak from 'keycloak-js'
|
||||
|
||||
const keycloakConfig = {
|
||||
const keycloak = new Keycloak({
|
||||
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)
|
||||
url: import.meta.env.KC_URL,
|
||||
clientId: 'edm',
|
||||
})
|
||||
|
||||
let init = false
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue