Can't get session with the Widget or JS Auth SDK on IE11

I’m attempting to use the widget and even the javascript auth SDK. I am able to log in correctly, but when I attempt to SSO or need to get the session, it doesn’t seem to have been created in IE11. The session management piece works fine in other browsers (firefox / chrome / safari), but not in IE11.

Any ideas?

Hi Tom,

You would need to enable following settings in IE 11 for this to work…

  1. Enable active script under the Trust site zone -> Customer level-> Script

  2. Enable 3rd party cookies. Internet Options -> Privacy-> Advance Privacy Settings -> Third-party Cookies: “Accept” (Third-party Cookies) to “Always allow session cookies.”

Hope this helps.

Best,
Sohaib

1 Like

This is still an issue as of okta-auth-js version 2.2.0

If IE11 is supported, should this not work without expecting our users to tinker with their settings?

Is there a plan to fix this in an upcoming release?

For me this turned out to be caused by the app being in one domain, which was trusted in ie11 - and the auth server being in a different domain.

1 Like

From 2020, PLEASE fix this in a future release, we’re still struggling with it.

I am also having issues with IE11. Based on https://techcommunity.microsoft.com/t5/windows-it-pro-blog/the-perils-of-using-internet-explorer-as-your-default-browser/ba-p/331732, I wish you would just tell me IE isn’t supported anymore instead of giving me false hope. :sob:

It sounds like @mhein needed to add both their Org’s Custom URL Domain as well as the Okta URL Domain (such as https://{{org}}.okta.com) as Trusted Sites in IE, which addresses @sohaib.ajmal’s first point:

Enable active script under the Trust site zone → Customer level-> Script

Hi Team,

I am using Javascript Sdk for sigin method but getting exception .

Can anyone share the piece of code for IE
IE throw error \exception expected : in below syntax after username
Signin({username,password})

This solved it for me.

Had to add both the client and the SSO server as trusted.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.