Continue refactor
All checks were successful
/ build (push) Successful in 6s
/ test (push) Successful in 5s

This commit is contained in:
phil 2025-02-10 14:14:32 +01:00
parent 496ce016e3
commit e56be3c378
10 changed files with 38 additions and 34 deletions

View file

@ -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")