We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents efa450b + 8e6e902 commit 6660c58Copy full SHA for 6660c58
forms-flow-service/src/keycloak/KeycloakService.ts
@@ -493,10 +493,6 @@ class KeycloakService {
493
callback(true);
494
} else {
495
console.warn("Not authenticated! Initiating login...");
496
- // Don't await the login as it will redirect the page
497
- // The callback should be called with false to indicate auth is needed
498
- callback(false);
499
- // Start the login process without waiting
500
this.login().catch(error => {
501
console.error("Login initiation failed:", error);
502
});
0 commit comments