diff --git a/oidc/auth.py b/oidc/auth.py index aa433a925d3ac0e7c9d76f32fea4261d83ce64a5..07cea60a7ee8595ccd7f4ee2902823da600fde29 100644 --- a/oidc/auth.py +++ b/oidc/auth.py @@ -62,10 +62,6 @@ class RegistryOIDCAuthenticationBackend(PiratesOIDCAuthenticationBackend): user, decoded_access_token, user_groups=user_groups ) - from django_http_exceptions import HTTPExceptions - import json - raise HTTPExceptions.FORBIDDEN.with_content(json.dumps(decoded_access_token)) - user.update_group_based_admin() user.save(saved_by_auth=True)