From d5436f3cd990af1898b7acf2775c4a0ed63b9394 Mon Sep 17 00:00:00 2001 From: AnandaTon <125332905+anandaAiemvong@users.noreply.github.com> Date: Tue, 21 Mar 2023 15:48:21 +0700 Subject: [PATCH] Update keycloak.ts --- src/plugins/keycloak.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/plugins/keycloak.ts b/src/plugins/keycloak.ts index 7aeee92..2525d50 100644 --- a/src/plugins/keycloak.ts +++ b/src/plugins/keycloak.ts @@ -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)