The /api/v1/sessions/me endpoint encounters a 404 Not Found error in Internet Explorer 11, despite the user having authenticated into Okta.
- Internet Explorer 11 (IE 11)
- Okta API
Without this cookie set, requests to Okta that expect this cookie to be present will fail despite the user having logged in successfully.
If checking for the existence of a session using either the API endpoint /api/v1/sessions/me or one of our front-end SDKs or attempting to log out of a session in Internet Explorer, a 404 Not Found error will be encountered if the cookie was not set in the browser.
For /sessions/me to return information about the current user's session successfully in Internet Explorer 11, ensure the following:
-
Internet Explorer is set to allow third-party cookies.
-
The Okta domain, https://{{org}}.okta.com, and the Custom Domain (if using one) are added as Trusted Sites in Internet Explorer.
Related References
- We also highly recommend reviewing our FAQ about how to handle browsers that block third-party cookies for other mitigation strategies that do not require end-users to update their browser settings, as this is becoming a default feature for browsers, and users on other browsers may be similarly affected.
