Skip to content

Commit

Permalink
user_scopes add in response (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
grigoriev-semyon authored Apr 6, 2024
1 parent 0c9d483 commit 8b22195
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions auth_lib/aiomethods.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,7 @@ async def check_token(self, token: str) -> dict[str, Any] | None:
"GET",
urljoin(self.auth_url, "me"),
headers={"Authorization": token},
params={
"info": [
"indirect_groups",
"session_scopes",
]
},
params={"info": ["indirect_groups", "session_scopes", "user_scopes"]},
) as r:
user_session = await r.json()
if r.ok:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setup(
name="auth_lib_profcomff",
version="2023.08.06",
version="2024.04.06",
author="Semyon Grigoriev",
long_description=readme,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit 8b22195

Please sign in to comment.