Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why checkLoginIframe should be marked as false? #10

Open
carlosthe19916 opened this issue Jul 19, 2017 · 6 comments
Open

Why checkLoginIframe should be marked as false? #10

carlosthe19916 opened this issue Jul 19, 2017 · 6 comments

Comments

@carlosthe19916
Copy link

carlosthe19916 commented Jul 19, 2017

I was using this module but I don't know why checkLoginIframe should be marked as false. Is There a problem if I use checkLoginIframe as true?

I tried to mark checkLoginIframe as true and it seems that login don't work after that...

@ebondu
Copy link
Owner

ebondu commented Jul 20, 2017

When the checkLoginIframe is enabled, an iframe checks the session status. The behavior is supposed to be the same to the javascript adapter. I tested it successfully so maybe it is just a configuration issue ? Can you give me more details about your conf ?

@rraksi
Copy link

rraksi commented Aug 11, 2017

I tried enabling the checkLoginIframe flag in conjunction with onLoad: check-sso and I got a redirect loop between the app and keycloak. My keycloak server is on a different port then the app (58080 vs. 3000). Is it possible that this is an issue? From the logs below I see that the origins at the message send and recieve don't match:

login iframe LOADED
main.bundle.js:46213 KC_CORE: sending message to iframe frontend-app undefined origin :http://localhost:58080
main.bundle.js:46616 checking iframe message callback..[object Object] http://localhost:3000

Is there a way to solve this?

@elhay-av
Copy link

here they say that checkLoginIframe caused error after some refresh token intervals
https://stackoverflow.com/questions/38206033/aurelia-keycloak-integration

@ebondu
Copy link
Owner

ebondu commented Sep 21, 2017

Hi,
@rraksi, the port number should not be an issue for checkLoginIframe (I tested iframe + check-sso on different ports).

@manuFL
Copy link

manuFL commented Jun 17, 2020

redirect loop here to with login-required + checkLoginIframe and React, only on Safari browser (don't know if it is related)

@ebondu
Copy link
Owner

ebondu commented Jun 19, 2020

Hi,
which version of the server are you testing ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants