Skip to content

Commit

Permalink
another try
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixTJDietrich committed Oct 15, 2024
1 parent 0883a06 commit 75fcb08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion webapp/public/silent-check-sso.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<html>
<body>
<script>
parent.postMessage(location.href, location.origin);
parent.postMessage(location.href, '*');
</script>
</body>
</html>
4 changes: 2 additions & 2 deletions webapp/src/app/core/security/keycloak.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ export class KeycloakService {
async init() {
const authenticated = await this.keycloak.init({
onLoad: 'check-sso',
silentCheckSsoRedirectUri: environment.clientUrl + '/silent-check-sso.html',
silentCheckSsoFallback: false
silentCheckSsoRedirectUri: window.location.origin + '/silent-check-sso.html'
// silentCheckSsoFallback: false
});

if (!authenticated) {
Expand Down

0 comments on commit 75fcb08

Please sign in to comment.