This sample application demonstrates the use of the fastapi-oauth2 package and covers many topics from the documentation. It is mainly designed to help developers integrate and configure the package in their own applications. However, it can also be used as a template for a new application or testing purposes.
You got to have fastapi-oauth2
installed in your environment. To do so, run the following command in
the pyproject.toml
file's directory.
pip install fastapi-oauth2
pip install -e .
uvicorn main:app --reload