AuthlibDeprecationWarning: authlib.jose module is deprecated, please use joserfc instead.

Open Beginner friendly
#125 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Quiet
Tech stack
python

Research direction

Start with zitadel_client/auth/web_token_authenticator.py, especially the import from authlib.jose shown in the warning. Review the corresponding joserfc API and the surrounding token-authentication usage, then run the project's available tests or checks. Done means the SDK no longer uses the deprecated authlib.jose module and the warning is no longer generated.

Written by the indexing model from the issue text.

Description

Authlib 1.7 switched from authlib.jose to joserfc and now generates DeprecationWarnings like this:

zitadel_client-4.1.4-py3.13-macosx-26.4-arm64.egg/zitadel_client/auth/web_token_authenticator.py:6: AuthlibDeprecationWarning: authlib.jose module is deprecated, please use joserfc instead.
  It will be compatible before version 2.0.0.
    from authlib.jose import JoseError, jwt

The switch itself is pretty straight foreward. Should I come up with a pull request?

Dominant language
Python
Stars
16
Forks
3
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from zitadel/client-python

All issues in zitadel/client-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.