Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error as The response contained an InResponseTo attribute [] but no saved authentication request was found in saml2 #16091

Open
sasirekha98 opened this issue Nov 14, 2024 · 0 comments
Assignees
Labels
in: saml2 An issue in SAML2 modules status: waiting-for-triage An issue we've not yet triaged type: bug A general bug

Comments

@sasirekha98
Copy link

sasirekha98 commented Nov 14, 2024

As per the documentation, "the Spring Security uses an HttpSessionSaml2AuthenticationRequestRepository, which stores the AbstractSaml2AuthenticationRequest in the HttpSession" but when trying to use oauth0 as the IDP and trying to the controller after authentication getting error as The response contained an InResponseTo attribute [ARQ8c68bbb-2337-4bd2-98cf-d9d4d2b36024] but no saved authentication request was found, after authentication successful with the idp.
image

Reproducing:
Sample: https://github.com/sasirekha98/samlExample/tree/main
Accessing the https://mysamlexamplesp.com:8443/springSSO/samlPasswordLogin it redirects to the oauth0 page for username and password once logged in it shows the error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: saml2 An issue in SAML2 modules status: waiting-for-triage An issue we've not yet triaged type: bug A general bug
Projects
None yet
Development

No branches or pull requests

3 participants