Skip to content

Commit

Permalink
debugging "Timeout when waiting for 3rd party check iframe message." …
Browse files Browse the repository at this point in the history
…error when embedded in collab
  • Loading branch information
apdavison committed Jan 25, 2024
1 parent a066c4d commit 658f455
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const AUTH_MESSAGE = "clb.authenticated";
export default function initAuth(main) {
console.log("DOM content is loaded, initialising Keycloak client...");
keycloak
.init()
.init({ flow: "implicit" })
.then(() => checkAuth(main))
.catch(console.log);
}
Expand Down Expand Up @@ -87,7 +87,7 @@ function checkAuth(main) {
}

function verifyMessage(event) {
console.log("Message receveived, verifying it...");
console.log("Message received, verifying it...");

const receivedMessage = event.data;
const messageOrigin = event.origin;
Expand Down

0 comments on commit 658f455

Please sign in to comment.