Skip to content

Commit

Permalink
Update connector.py
Browse files Browse the repository at this point in the history
fix os.getenv
  • Loading branch information
untitledds authored Dec 1, 2024
1 parent cb430e7 commit a2f2b1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion back/taiga_contrib_access_token_auth/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def get_user_info(access_token):
:param access_token: Токен доступа от OIDC-провайдера.
:returns: Информация о пользователе.
"""
userinfo_url = os.get("OIDC_USERINFO_ENDPOINT")
userinfo_url = os.getenv("OIDC_USERINFO_ENDPOINT")

userinfo_response = requests.get(
userinfo_url,
Expand Down

0 comments on commit a2f2b1c

Please sign in to comment.