Skip to content

Deprecated library warning (AuthlibDeprecationWarning: authlib.jose module is deprecated) #92

Open

Description

@markwaddle

Checklist

  • I have looked into the Readme and Examples, and have not found a suitable solution or answer.
  • I have looked into the API documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Description

Warning emitted:

.venv/lib/python3.13/site-packages/auth0_api_python/api_client.py:7: AuthlibDeprecationWarning: authlib.jose module is deprecated, please use joserfc instead.
  It will be compatible before version 2.0.0.
    from authlib.jose import JsonWebKey, JsonWebToken

Reproduction

>>> from auth0_api_python.api_client import ApiClient
/Users/.../.venv/lib/python3.13/site-packages/auth0_api_python/api_client.py:7: AuthlibDeprecationWarning: authlib.jose module is deprecated, please use joserfc instead.
It will be compatible before version 2.0.0.
  from authlib.jose import JsonWebKey, JsonWebToken

Additional context

No response

auth0-api-python version

1.0.0b9

Python version

3.13

Activity

  1. added
    bug
    on May 13, 2026
  2. daveisagit commented on Jul 11, 2026

    @daveisagit

    Its very distracting from a logging perspective that the warning can not be suppressed using standard means, as the authors of authlib.jose have explicitly coded their deprecate function to make sure it always gets reported.

    It would be nice to know if this is likely to be addressed in the near future, how is this progressing @markwaddle?

  3. markwaddle commented on Jul 11, 2026

    @markwaddle
    Author

    I am not working on it. I merely reported it.

  4. added a commit that references this issue on Sep 29, 2026
  5. blochs commented on Sep 29, 2026

    @blochs

    PR is up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions