Okta start Oauth when Posting SAML to it

Hello,

this has always worked for me in the past, after a couple months of inactivity, I created a new Okta admin account and created SAML 2.0 app integration. Okta is the IdP, with a Spring Boot App as client.

This Spring App has been tested with another IdP using SAML integration, all work well.

But when the App points to Okta as IdP, I observed the following, App sends SAML AuthnRequest to Okta, Okta login page comes up, I enter credentials, login successful, but Okta, instead of posting SAML response back, it was running OAuth2 flow for the login, I end up in the Okta portal. What should have happened is that Okta post SAML response back to App’s SSO endpoint and App then takes over.

I am not sure why this is happening, the App integration in Okta is clearly SAML 2.0.

You can see the attached image, it shows SAML Post from App, but the rest of the flow has no SAML response from Okta. The SAML AuthnRequest seems correct.

Yan

It looks like an error occurred after user successfully auth’ed into Okta, seeming to show that there was some sort of issue trying to log the user into the target SAML app
Screenshot 2025-09-12 at 4.12.40 PM

I’m guessing based on the following calls, that the user wound up on the default application in your org, which is likely the Okta End-User Dashboard.

Is there anything logged in System Log for the target SAML application?

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