Skip to content

Commit ef9d845

Browse files
committed
refactor: remove unused JWT imports from utils.py
1 parent 6fdda39 commit ef9d845

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

reana_server/utils.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -703,9 +703,6 @@ def _get_user_from_jwt(header: str) -> User:
703703
Raises:
704704
ValueError: If token is invalid or user not found
705705
"""
706-
from authlib.jose import jwt, JoseError
707-
from authlib.jose.rfc7517.jwk import JsonWebKey
708-
709706
try:
710707
if not header.startswith('Bearer '):
711708
raise ValueError("Invalid authorization header format")

0 commit comments

Comments
 (0)