Closed hillairet closed 2 years ago
As a first step towards redesigning the oauth #93, let's start by having the FastAPI specific code isolated such that:
from spylib.oauth.fastapi import init_oauth_router
All the framework agnostic code will be available using from spylib.oauth import ...
from spylib.oauth import ...
Only 2 files need to change in /oauth:
/oauth
redirects.py
router.py
fastapi.py
As a first step towards redesigning the oauth #93, let's start by having the FastAPI specific code isolated such that:
All the framework agnostic code will be available using
from spylib.oauth import ...
Only 2 files need to change in
/oauth
:redirects.py
should not be importing Starlette anymorerouter.py
should be renamedfastapi.py