eXist-db / existdb-saml

XQuery module that implements SAML v2 single sign-on
GNU Lesser General Public License v2.1
4 stars 3 forks source link

Not getting fake-idp to work #6

Closed kazGtHb closed 1 year ago

kazGtHb commented 1 year ago

Waiting for real IDP info after installing and configuring existdb-saml, so trying to see if fake-idp works, to be able to work on response to a valid token whike waiting for the real IDP data. However, I can't get fake-idp to work.

Instructions in config-exsaml.xml say about fake-idp: "Should be empty for production use. If this is non-empty AND idp/@ep above points to the local server, then a fake SAML assertion is generated without any user/password dialog."

However, whatever I put into idp/@endpoint, there is no SAML assertion being recieved (controller.xql keeps returning to the section where check-valid-saml-token() = false).

My SP is like this: sp entity="https://mysamlexist.nl" endpoint="https://mysamlexist/SAML2SP" fallback-relaystate="", so I would expect that idp@endpoint would have to be something like "https://mysamlexist.nl". But this doesn't seem to work.

kazGtHb commented 1 year ago

Found another solution.