spring-projects / spring-projects/spring-security
Getting error as The response contained an InResponseTo attribute [] but no saved authentication request was found in saml2
@jzheaux is already working on this.
Since Nov 14, 2024.
- Dominant language
- Java
- Stars
- 9.6k
- Forks
- 6.3k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 52
Description
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.
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.