codimd icon indicating copy to clipboard operation
codimd copied to clipboard

SAML - Get the Service Provider Certificate

Open misilot opened this issue 1 year ago • 1 comments

Hello,

Is there a way to expose the SAML SP Certificate via the metadata? That way I can register it with our Shibboleth server?

Thanks!

misilot avatar Dec 04 '24 19:12 misilot

Yes, our CodiMD exposes the SAML SP certificate through the metadata endpoint. You can access it at ⁠https://[our-codimd-domain]/auth/saml/metadata and use this URL to register our service with your Shibboleth IdP server. The metadata XML contains all the necessary information, including our SP certificate.

https://github.com/hackmdio/codimd/blob/b4ec353fcd5cfdee333373087ea9ff386f2fbea7/lib/auth/saml/index.js#L93-L96

Yukaii avatar Mar 20 '25 06:03 Yukaii