Skip to content

Commit

Permalink
Merge pull request #2311 from bcgov/fix-keycloak
Browse files Browse the repository at this point in the history
Fix keycloak
  • Loading branch information
fergmac authored Sep 19, 2024
2 parents 85b0da3 + 87c1446 commit dde92b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/frontend/src/common/authenticate.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default {
const keyCloakScript = document.createElement('script')
keyCloakScript.onload = () => {
// Construct the Keycloak object and resolve the promise.
Vue.prototype.$keycloak = window.Keycloak(response.data)
Vue.prototype.$keycloak = new Keycloak(response.data)
resolve(Vue.prototype.$keycloak)
}
keyCloakScript.onerror = (e) => {
Expand Down

0 comments on commit dde92b7

Please sign in to comment.