jeremyschulman / netbox-plugin-auth-saml2

Netbox plugin for SSO using SAML2
120 stars 21 forks source link

Documentation on how to provide SP cert/key #32

Closed mpalmer closed 2 years ago

mpalmer commented 3 years ago

I am using an IdP that (sensibly) wants a signed SAMLRequest, and hence needs the SP's certificate. I cannot find any way to specify the certificate and private key that I want Netbox's SAML to use. It would be appreciated if the documentation could be augmented to describe how to do that.

jeremyschulman commented 3 years ago

I think what you might be looking for is documented here: https://github.com/jeremyschulman/django3-auth-saml2

mpalmer commented 3 years ago

Neither of the words "key" or "certificate" appear in that repository's README -- nor, in fact, do they appear in that repository at all, except for a couple of mentions of KeyError (which are unrelated, as far as I can tell). There is support in pysaml2 for specifying certs and keys, but I cannot for the life of me figure out how to plumb that in through djange3-auth-saml2.

jbeimler commented 3 years ago

I'm currently having this issue as well, if anyone has figured it out I would appreciate it, I know I'm close, but if anyone has any pointers of where to configure the certificate I need to use to verify the signature I would appreciate it.

jeremyschulman commented 3 years ago

Not seeing any update/help from the community on this one. Not sure how best to proceed. Going to mark this as subject to close if there is no further activity in next 60 days.

cwtrex commented 2 years ago

Also having the same limitation of this plugin. I can't offer any coding assistance, but I can provide you with an example from another application: Repository: https://github.com/snok/django-auth-adfs Documentation: https://django-auth-adfs.readthedocs.io/en/latest/