Skip to content

Commit

Permalink
Merge pull request #335 from InseeFr/v2-fixKeycloack
Browse files Browse the repository at this point in the history
fix: add new to the constructor
  • Loading branch information
MickaelMenet authored Jul 17, 2023
2 parents 2838651 + 1237e72 commit 883535e
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 883535e

Please sign in to comment.