Closed log1cb0mb closed 4 years ago
My bad! I figured out why that function was not being called because i was default utilities.auth_backends.RemoteUserBackend
instead of the plugin backend - sublass django3_saml2_nbplugin.backends.SAML2AttrUserBackend
.
Now the user profile parameters are working!
Python 3.6.8 django3-auth-saml2 0.2.0 netbox-plugin-auth-saml2 0.2 NetBox 2.8.6
Configurations in place:
User is able to authenticate and user login in NetBoX reflects to email/OKTA NAMEID but the function:
def configure_user(self, request: WSGIRequest, user: User) -> User:
does not seem to be doing anything. First, last Name and email fields in user profile are empty. Any ideas what is missing and how to troubleshoot this?