SAML SLO - How to sign a logout request using SP certificate?
We started using SAML authentication in our application. We have implemented SSO and it is working fine. In case of SLO, identity provider(OKTA) requires to sign logout request using SP certificate and i think will authenticate the message using public key of SP certificate.
But We are new to these certificates and don't have exact idea how to sign a request.
It will be great if we have some code/sample to sign a request as mentioned above.
Hi Mitesh, Are you writing your own SAML SP? Or using a library? We recommend using a library or an out of the box SAML SP. These should already have signing functions. Otherwise, there are code samples on the internet.