Skip to content

Commit

Permalink
fix: add new to the constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
MickaelMenet committed Jul 17, 2023
1 parent 4a0a494 commit 1237e72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/keycloak/keycloakOidcClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const createKeycloakOidcClient = async ({
urlPortail,
evtUserActivity,
}) => {
const keycloakInstance = Keycloak({ url, realm, clientId });
const keycloakInstance = new Keycloak({ url, realm, clientId });

const isAuthenticated = await keycloakInstance
.init({
Expand Down

0 comments on commit 1237e72

Please sign in to comment.