updated config
This commit is contained in:
parent
6a9e457f92
commit
63c80cc9a1
4 changed files with 12 additions and 12 deletions
|
|
@ -5,12 +5,12 @@ import Keycloak from 'keycloak-js'
|
|||
|
||||
//option keycloak ที่จะ connect
|
||||
const initOptions = {
|
||||
// realm: import.meta.env.VITE_REALM_KEYCLOAK,
|
||||
// clientId: import.meta.env.VITE_CLIENTID_KEYCLOAK,
|
||||
// url: import.meta.env.VITE_URL_KEYCLOAK
|
||||
realm: 'bma-ehr',
|
||||
clientId: 'bma-ehr-exam-vue3',
|
||||
url: 'https://id.frappet.synology.me/'
|
||||
realm: import.meta.env.KC_REALM,
|
||||
clientId: import.meta.env.VITE_CLIENTID_KEYCLOAK,
|
||||
url: import.meta.env.KC_URL
|
||||
// realm: 'bma-ehr',
|
||||
// clientId: 'bma-ehr-exam-vue3',
|
||||
// url: 'https://id.frappet.synology.me/'
|
||||
}
|
||||
|
||||
const keycloak = Keycloak(initOptions)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue