Copprhead - When I load the SK server GUI in an...
When I load the SK server GUI in an iframe, I cannot log in when using Chrome or Chromium, but with Firefox and Safari it works fine.
11 Replies
The login request successfully returns a token, but subsequent requests don't use the token, so the response is always 401.
Admin ui works on session cookie, not by explicitly including the token in header
Yep, seen that. And Chrom* doesn't save the cookie. Some Same-Site security stuff? (https://stackoverflow.com/questions/63398679/sso-login-not-working-in-iframe-after-chrome-update#63470220)
Stack Overflow
SSO login not working in iframe after chrome update
I have an app that lists different in-house and third party apps. There are some apps that are opened in iframe within my app and some of them are SSO enabled. Recently after chrome update to versi...
It doesn't save the cookie it receives from login so it cannot send it with the following requests.
Is the page with iframe coming from the same or another server?
The difference in "site" is then my local html file that contains the iframe and the SK url.
I'm opening that as a file. Suppose if it were on the server it'd work?
Is there a place I can just put it for a quick check without having to make a plugin?
public
Yeah, that worked <sigh>
(it seems like the universe is trying to tell me: WRITE A PLUGIN! 😆 )
A webapp is very little work and easy packaging, file:// is practical only for quick pocs
Maybe you only need to set the iFrame sandbox parameters so it can access browser local storage and write cookies?
Interesting, will take a look.