> I have REMOTE_AUTH_DEFAULT_GROUPS=['SSO_USERS'] and i create the group with the initializers for groups but my users don't get put in the group.
As far as I understand, it just means that when a user is seen *for the first time*, and their user entry is created in the Netbox users table, then they will be added into group SSO_USERS (if a Netbox group called "SSO_USERS" exists)
To test this, you can delete an existing user from the users table, and then when they next login and their account is recreated, they should be added to that group.
> REMOTE_AUTH_DEFAULT_PERMISSIONS I just cant find a guide to possible valid values for.
Example:
REMOTE_AUTH_DEFAULT_PERMISSIONS={'dcim.add_site': None, 'dcim.change_site': None}
This gives access to add_site and change_site. If you want to add further constraints, change None to a constraint, as documented here:
> Interestingly there is no initializer for permissions or the possibility of assigning a user to staff or superuser.
If that was a default, then all new SSO users would become superusers. That rather defeats the point of authentication.