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

Missing cHash value after response from IdP #45

Open
doemedia opened this issue Sep 20, 2024 · 4 comments
Open

Missing cHash value after response from IdP #45

doemedia opened this issue Sep 20, 2024 · 4 comments

Comments

@doemedia
Copy link

I use SSO for the frontend login with EXT:fe_login.
As soon as I have successfully entered my access data in the mask of the IdP (NetIQ), I am redirected back to TYPO3 via POST.
However, I get a 404 page with the message that the cHash is empty.
In the middleware “AcsSaml” the cHash would have to be added to the query parameters.

Is the problem known and are you working on a solution?

I am using the current TYPO3 v12.4 with php 8.2 and EXT:md_saml v3.0.5

Translated with DeepL.com (free version)

@rr-it
Copy link

rr-it commented Oct 10, 2024

Configure [FE][cacheHash][excludedParameters] to include redirect_url,loginProvider,login-provider,login_status,logintype,acs.

@audef1
Copy link

audef1 commented Nov 1, 2024

rr-it, i have the same error, but excluding the parameters doesnt solve my problem. Is there another workaround?

@rr-it
Copy link

rr-it commented Nov 1, 2024

The list wasn't complete. Configure [FE][cacheHash][excludedParameters] to include:

redirect_url,loginProvider,login-provider,login_status,logintype,loginType,acs,mdsamlmetadata,sls,SAMLResponse,RelayState,SigAlg,Signature

Please give feedback if this solves the issue.

@audef1
Copy link

audef1 commented Nov 8, 2024

Thanks for the fast reply. Unfortunately this didnt solve our problem. We went for a workaround, using custom PageErrorHandler, that returns us to the login page instead of the 404 page.

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

3 participants