jeremyschulman / netbox-plugin-auth-saml2

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

Question regarding Signature for Assertion #52

Open mchingotto opened 2 years ago

mchingotto commented 2 years ago

Hello Jeremy and all,

Thank you for writing this library in the first place. I had to disable the certs in the SSO server because I did not find a way "yet" to include that in the plugin configuration. The problem I have now is that, after disabling signed in the SSO server-side, Netbox says is missing the signature for assertions.

Could you tell me some clue? Ideally, I would like to know where to write my cert location. If that is not possible, where I should turn off the signature for assertions? (but this approach does not like me too much).

I just configured parameters for that inside SAML_CONFIG, but it does not work. https://stackoverflow.com/questions/53668874/saml-response-signiture-missing

Thank you, I appreciate it M

The error I am having:

{ "error": "SAML2 error: Signature missing for assertion", "exception": "PermissionDenied", "netbox_version": "2.10.4", "python_version": "3.8.10" }

beezed1 commented 2 years ago

What Identity Provider are you using?

I'm using Okta. I got it working by saving the metadata in XML format from within Okta and saving this to a file as specified by the parameter "METADATA_LOCAL_FILE_PATH" in configuration.py.

So I didn't need to save the certificate on the NetBox server because all of the details were in the XML file.

Not sure if that would be of any help. Phil

sama8 commented 2 years ago

If relevant -> SAML Jackson