How can I use pac4j-saml
only for validating the SAMLResponse
that I get back. Ultimately need the user profile.
Steps done so far.
val saml2Client = new SAML2Client()
val samlResponse = "..."
saml2Client.getUserProfile(// How to get the call context and credentials to be passes in to this)
I have been digging around but no much luck.
We use akka-http
for the requests and scala
.
Any pointers would be helpful.
Unable to find much documentation around how to use this library just for getting the user profile using the saml assertion.