Repository navigation
Keycloak IDP Initiated flow to launch java-saml-tookit-jspsample #17004
Unanswered
prashantmdesai
asked this question in
Q&A
Replies: 1 comment
|
possible reasons:
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I have configured the java-saml-tookit-jspsample application from below github repo to my tomcat server.
https://github.com/SAML-Toolkits/java-saml
I am trying to configure KeyCloak for IDP initiated flow. (the SP initiated flow is already working with successful login page visibility and http post after that to the ACS).
In case of IDP initiated flow, I am getting "Page not found" error when the user clicks on the application URL in the KeyCloak account/#/applications page: http://localhost:8082/realms/IDP_REALM/account/#/applications
That means, the IDP is not doing the HTTP post to the target URL. I already verified using saml-tracer that the request going to the target URL is not containing the SAML assertion.
What am I missing? Please help.
This is my ACS url: http://localhost:8080/java-saml-tookit-jspsample/acs.jsp
I also tried to access my target URL directly by browsing this URL: http://localhost:8082/realms/IDP_REALM/protocol/saml/clients/http://localhost:8080/java-saml-tookit-jspsample/acs.jsp
I get "Page not found" error for this as well.
Please let me know if anybody faced this.
Is my target IDP initiated SSO URL wrong? http://localhost:8082/realms/IDP_REALM/protocol/saml/clients/http://localhost:8080/java-saml-tookit-jspsample/acs.jsp
Attached is my onelogin.saml.properties file.
onelogin.saml.properties.txt
Below is my client config in kc
All reactions