You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was looking into why every account seemed to first log into the host app was automatically designated as a superuser.
In the code below, it looks like any user is made a superuser if they have existing OKTA groups and the hosting app has a value for ADMIN_GROUPS in the OKTA configuration.
I think the intended condition is if any of the OKTA ADMIN_GROUPS are inside the set of user OKTA groups.
I was looking into why every account seemed to first log into the host app was automatically designated as a
superuser
.In the code below, it looks like
any user
is made asuperuser
if they haveexisting OKTA groups
and the hosting app has a value forADMIN_GROUPS
in theOKTA configuration
.I think the intended condition is
if any of the OKTA ADMIN_GROUPS are inside the set of user OKTA groups
.django-okta-client/okta_client/auth_backends.py
Lines 95 to 96 in 3db96e1
The text was updated successfully, but these errors were encountered: