This is a small pyview example project that demonstrates how to integrate authlib with pyview.
This project uses Poetry to manage dependencies and just as a comamnd runner.
The example is set up to use google sign in, you will need to create a google project and set up the credentials in the google developer console.
This example is expecting the following environment variables to be set:
GOOGLE_CLIENT_ID="your-google-client-id"
GOOGLE_CLIENT_SECRET="your-google-client-secret"
Or if you are using just, you can create a .env
file in the root of the project with the following content:
GOOGLE_CLIENT_ID="your-google-client-id"
GOOGLE_CLIENT_SECRET="your-google-client-secret"
poetry install
just
This will run the example pyview project using uvicorn with hot reloading.