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

SAML Request ID is reused #14

Open
Captain-P-Goldfish opened this issue Mar 15, 2024 · 0 comments
Open

SAML Request ID is reused #14

Captain-P-Goldfish opened this issue Mar 15, 2024 · 0 comments

Comments

@Captain-P-Goldfish
Copy link
Collaborator

A second transaction is rejected by the Panstar because the SAMLRequestID is being reused:

2024-03-15 20:43:12 15 Mar 2024 19:43:12,878 [https-jsse-nio-8443-exec-1] DEBUG [] [https-jsse-nio-8443-exec-1] de.governikus.autent.panstar.core.saml.SAMLRequestService (SAMLRequestService.java:187) - SAML request validity check failed
2024-03-15 20:43:12 de.governikus.panstar.sdk.utils.exception.ErrorCodeException: The request ID _ed5f5782-362d-48a6-9965-55cb73b1bebd has been used before.
2024-03-15 20:43:12     at de.governikus.autent.panstar.core.saml.SAMLRequestService.checkIfRequestIdIsAlreadyInUse(SAMLRequestService.java:336)
2024-03-15 20:43:12     at de.governikus.autent.panstar.core.saml.SAMLRequestService.handleSAMLRequest(SAMLRequestService.java:183)
2024-03-15 20:43:12     at de.governikus.autent.panstar.core.controller.SAMLController.saml(SAMLController.java:67)
2024-03-15 20:43:12     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2024-03-15 20:43:12     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2024-03-15 20:43:12     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2024-03-15 20:43:12     at java.base/java.lang.reflect.Method.invoke(Method.java:566)

this happens e.g. if the eid authentication is stopped in the middle of the process and a second try is started

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant