Continue refactor
This commit is contained in:
parent
496ce016e3
commit
e56be3c378
10 changed files with 38 additions and 34 deletions
|
@ -12,14 +12,16 @@ from fastapi.middleware.cors import CORSMiddleware
|
|||
# from authlib.integrations.starlette_client.apps import StarletteOAuth2App
|
||||
# from authlib.oauth2.rfc6749 import OAuth2Token
|
||||
|
||||
from .models import User
|
||||
from .auth_utils import (
|
||||
from .auth.provider import Provider
|
||||
from .auth.utils import (
|
||||
get_token_or_none,
|
||||
get_user_from_token,
|
||||
UserWithRole,
|
||||
)
|
||||
|
||||
from .auth_providers import providers
|
||||
from .settings import settings
|
||||
from .auth_provider import providers, Provider
|
||||
from .models import User
|
||||
|
||||
logger = logging.getLogger("oidc-test")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue