Cannot match source hash


I am using nextjs to implement SAML 2.0. When I click button login in nextjs, it will redirect to localhost:8080 ( keycloak) to login. But when the page redirect to keycloak, it shows me invalid request. I checked in keycloak user event and saw the problem below. Has anyone facing the same problem and how to resolved it? I using SAML Service Provider (SP) Metadata XML Builder | SAMLTool.com to generate metadata. The service provider entity Id and identical entity id i configured the same? Did it related to this error?

1 Like