Redirection (After Authenticating at Keycloak) is not working in SimpleSAML


I am integrating ResourceSpace with Keycloak as Idp. I have configured everything with SAML2.0 protocol where authentication is happening successfully at Keycloak side and i am getting Auth token.

The redirection doesn’t happening successfully with ResourceSpace side. How to integrate users from keycloak, not duplicating in Resourcespace.

Can someone help me out in resolving this issue.