'org.keycloak.common.VerificationException: SigAlg was null with SkySpark

I'm trying to set up SAML integration between Skyspark as service provider and keycloak as Identity Provider. I have done below,

  1. Copy Skyspark SAML metadata xml and created a client in keyclaok with the xml file
  2. Get the metdata URL from keycloak and added into the Skyspark SAML SSO

When I access skyspark it redirects to keycloak login page and showing an error Invalid requester. The backend has below errors,

 ERROR [org.keycloak.protocol.saml.SamlService] (default task-4) request validation failed: org.keycloak.common.VerificationException: SigAlg was null

I tried with disabling Client Signature Required, It shows me the login page, But after successful authentication skyspark shows up SAML Authentication Failed. I see there is SAML response in the browser network tab.

Is there any signature validation issue at both ends? Should I do any other config apart from above ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source