netbox-plugin-auth-saml2 icon indicating copy to clipboard operation
netbox-plugin-auth-saml2 copied to clipboard

Question regarding Signature for Assertion

Open mchingotto opened this issue 3 years ago • 2 comments

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" }

mchingotto avatar Jan 21 '22 13:01 mchingotto

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

beezed1 avatar Feb 03 '22 13:02 beezed1

If relevant -> SAML Jackson

sama8 avatar Feb 16 '22 13:02 sama8