Confluence Data Center integrated with OKTA via SAML SSO 2.0 redirects to 'Page Not Found'

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.

Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles for non-Data Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

The content on this page relates to platforms which are not supported. Consequently, Atlassian Support cannot guarantee providing any support for it. Please be aware that this material is provided for your information only and using it is done so at your own risk.

Problem

When attempting to login to Confluence, or sometimes even when already logged in for a while, you receive a Page Not Found.

The URL in the browser's address bar looks like this: https://confluence.mycompany.com/okta_acs.jsp

Diagnosis

Environment

  • OKTA integration is configured in Confluence using OKTA's provided .jar file and config files

  • The login authentication works after browsing to another Confluence page.

Cause

There is a file called okta_acs.jsp that manages the integration part between Confluence and Okta. The problem occurs when this file is not located in the appropriate folder.

Resolution

Reach out to Okta support team to confirm where the file should be placed. Usually, the correct location is under the $CONFLUENCE_INSTALL_HOME/confluence  folder (within Confluence Installation Directory)

<confluence-install>/confluence/okta_acs.jsp

As an alternative, you can follow these steps to integrate Confluence with Okta using Atlassian SSO plugin: 


Last modified on Sep 18, 2024

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.