Closed adbenitez closed 1 year ago
Thanks for showing interest in aioauth!
There are examples for FastAPI, they are in a separate repository.
The storage example is here: https://github.com/aliev/aioauth-fastapi/blob/master/aioauth_fastapi_demo/oauth2/storage.py#L21
and authorization server example: https://github.com/aliev/aioauth-fastapi/blob/master/aioauth_fastapi_demo/oauth2/endpoints.py#L29
For aiohttp the code will be similar, you have to implement the following helper functions for aiohttp: https://github.com/aliev/aioauth-fastapi/blob/master/aioauth_fastapi/utils.py
I think this question was asking about making subsequent requests using aiohttp
after authenticating with aioauth
.
the aiohttp example is missing also the Server & Database configuration, I am looking into aioauth and still don't know how to use it :(