Skip to content

Commit

Permalink
fix: removed jwt decode
Browse files Browse the repository at this point in the history
  • Loading branch information
sg-s committed Oct 3, 2024
1 parent afdff16 commit 99adff7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/utils/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,15 +162,15 @@ def _ensure_do_folder() -> Path:
return deeporigin_path


@beartype
def decode_access_token() -> dict:
"""decode token and extract info"""
# @beartype
# def decode_access_token() -> dict:
# """decode token and extract info"""

import jwt
# import jwt

tokens = read_cached_tokens()
# tokens = read_cached_tokens()

return jwt.decode(tokens["access"], options={"verify_signature": False})
# return jwt.decode(tokens["access"], options={"verify_signature": False})


@beartype
Expand Down

0 comments on commit 99adff7

Please sign in to comment.