Skip to content

Commit

Permalink
[RR] Send auth backend in auth_code payload
Browse files Browse the repository at this point in the history
Signed-off-by: Rick Elrod <[email protected]>
  • Loading branch information
relrod committed Sep 8, 2024
1 parent 2af5f34 commit 6cb0d18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible_base/resource_registry/utils/auth_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ def get_user_auth_code(user, social_user=None, oidc_alt_key=None):
"sso_backend": None,
"sso_server": None,
"oidc_alt_key": oidc_alt_key,
"auth_backend": getattr(user, "backend", None),
}

if social_user is not None:

if isinstance(social_user.provider, str):
provider = social_user.provider
else:
Expand Down

0 comments on commit 6cb0d18

Please sign in to comment.