Open vnamb opened 3 years ago
@vnamb - just checking in with you; did you find a solution to this issue?
Hey @jeremyschulman , Thanks for checking in. No, we haven't found a solution yet.
Hi @vnamb - OK. I was going through the setup of a new Netbox 2.11.9 system today, and hit a similar issue. The mistake was in my plugin configuraiton; where I forgot the "https://" in the ASSERTION_URL and ENTITY_ID.
It turns out that all of these values must be exactly the same between the netbox config and the SSO system. If not, the SAML2 decoding process does not process correctly and the resulting error is not all that insightful. A bit of trial and error.
Good luck with your efforts, and please keep me posted if you find a solution.
@vnamb - Checking in to see if this issue is still active. Please let me know. I will plan to close in +30 days if I have not heard back otherwise. Thank you!
We've been trying to use this plugin for SSO implementation with netbox-docker. The SSO BANNER_LOGIN button successfully redirects the user first to OKTA and then back to netbox upon successful authentication.
However, netbox throws a 500 Internal Server error:
{"error": "'NoneType' object has no attribute 'require_signature'", "exception": "AttributeError", "netbox_version": "2.11.7", "python_version": "3.8.10"}
Looks very similar to this issue: https://github.com/jeremyschulman/netbox-plugin-auth-saml2/issues/24
Some relevant info:
Snippet from env/netbox.env
Note: Ours is a containerized netbox setup similar to this: https://github.com/netbox-community/netbox-docker/blob/release/env/netbox.env
Snippet from configuration.py