mirror of
https://github.com/dat515-2025/Group-8.git
synced 2026-03-22 06:57:47 +01:00
feat(auth): allow updating custom fields from oauth, update MojeID
This commit is contained in:
@@ -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"],
|
||||
|
||||
Reference in New Issue
Block a user