Update keycloak.ts

This commit is contained in:
AnandaTon 2023-03-21 15:48:21 +07:00
parent ae7b52e875
commit d5436f3cd9

View file

@ -8,11 +8,13 @@ import Keycloak from 'keycloak-js'
const initOptions = {
// url: "https://keycloak.frappet.synology.me/auth/",
// realm: "bma-ehr",
// clientId: "bma-ehr-vue3",
// realm: "bma-ehr",
// clientId: "bma-ehr-vue3",
url: 'https://identity.frappet.com/',
realm: 'exam_test',
clientId: 'exam_vue3'
// realm: 'exam_test',
// clientId: 'exam_vue3'
realm: 'bma-ehr',
clientId: 'bma-ehr-vue3'
} //option keycloak ที่จะ connect
const keycloak = Keycloak(initOptions)