feat(auth): allow updating custom fields from oauth, update MojeID

This commit is contained in:
2025-10-11 20:34:36 +02:00
parent df0f2584ae
commit 32764ab1b0
3 changed files with 47 additions and 11 deletions

View File

@@ -47,10 +47,10 @@ fastApi.include_router(
fastApi.include_router(
fastapi_users.get_oauth_router(
app.services.user_service.mojeid_oauth_service,
app.services.user_service.get_oauth_provider("MojeID"),
auth_backend,
"SECRET",
associate_by_email=True
associate_by_email=True,
),
prefix="/auth/mojeid",
tags=["auth"],