Login or authentication attempts result in the following error for a SAML-enabled application when using the service provider's login page. The error occurs when the application's login page attempts to redirect to Okta.
404 - Page Not Found
- Secure Assertion Markup Language (SAML)-enabled applications
- SP-initiated Sign On
This video will show how to troubleshoot 404 errors when attempting to sign into applications.
-
In the Okta Admin console, navigate to Applications and click the affected application.
-
Click the Sign On tab.
-
Click the View Setup Instructions button.
-
Find the section that displays the Okta endpoint.
-
The name of this entry varies by application, but will look like the following:
https://{YourTenant}.okta.com/app/{ApplicationName}/exk1qu4k9hF3a61Hple7/sso/saml.
-
-
Log into the service provider's administrator console as directed in the View Setup Instructions and ensure that the Okta endpoint listed above is correctly entered in the appropriate field.
If the application's setup instructions do not display the endpoint:
-
Follow steps 1 and 2 above.
-
Click the Identity Provider metadata link.
-
The application's metadata should open in another browser tab or window. Search for sso/saml and then copy the entire URL that contains it (there may be more than one URL listed that contains sso/saml, but they will be identical to one another).
-
-
Log into the service provider's administrator console and ensure that the Okta endpoint listed above is correctly entered into the appropriate field.
