Deprecation warning when importing Auth0FastAPI

Open Beginner friendly
#109 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start by reproducing the warning with from fastapi_plugin import Auth0FastAPI on Python 3.13, then inspect auth0_api_python/api_client.py at line 7 and the import path used by fastapi_plugin. Check the existing tests around client imports and verify that importing Auth0FastAPI no longer emits the Authlib deprecation warning.

Written by the indexing model from the issue text.

Description

bug
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

Using v1.0.0b7

When importing
from fastapi_plugin import Auth0FastAPI

I get the following deprecation warning
auth0_api_python/api_client.py:7: AuthlibDeprecationWarning: authlib.jose module is deprecated, please use joserfc instead.

Reproduction

from fastapi_plugin import Auth0FastAPI

Additional context

No response

auth0-fastapi-api version

1.0.0b7

Python version

3.13

Dominant language
Python
Stars
11
Forks
8
Avg merge
9m
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

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 auth0/auth0-fastapi-api

All issues in auth0/auth0-fastapi-api

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.