Skip to content

Commit

Permalink
need new Keycloak ctr (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
xgp authored Jul 4, 2024
1 parent ac51efe commit 35e75fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/keycloak.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Keycloak from "keycloak-js";

// Setup Keycloak instance as needed
const keycloak = Keycloak("./keycloak.json");
const keycloak = new Keycloak("./keycloak.json");

setInterval(async () => {
if (keycloak.isTokenExpired(10)) {
Expand Down

0 comments on commit 35e75fa

Please sign in to comment.