From eca72035f8ec8927f800fdf5b8244dc98b8e978b Mon Sep 17 00:00:00 2001 From: gromdimon Date: Wed, 21 Feb 2024 12:01:30 +0100 Subject: [PATCH 1/2] Revert "feat: Allow users to link their account with more login sources (#185) (#535)" This reverts commit a0156ee8a30290cc1e5721d505df2b508275d2ab. --- backend/app/api/api_v1/api.py | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/app/api/api_v1/api.py b/backend/app/api/api_v1/api.py index 80f63ab0..af6694ba 100644 --- a/backend/app/api/api_v1/api.py +++ b/backend/app/api/api_v1/api.py @@ -155,7 +155,6 @@ async def get_id_email(self, token: str) -> Tuple[str, Optional[str]]: # pragma oauth_client=oauth_client, user_schema=UserRead, state_secret=settings.SECRET_KEY, - redirect_url=f"{settings.SERVER_HOST}/profile", ) api_router.include_router( oauth_associate_router, From 75ae31f3c106b2970640d406c8097be7a9893456 Mon Sep 17 00:00:00 2001 From: gromdimon Date: Wed, 21 Feb 2024 12:04:09 +0100 Subject: [PATCH 2/2] chore: comment changes --- backend/app/api/api_v1/api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/app/api/api_v1/api.py b/backend/app/api/api_v1/api.py index af6694ba..f26a90a8 100644 --- a/backend/app/api/api_v1/api.py +++ b/backend/app/api/api_v1/api.py @@ -155,6 +155,7 @@ async def get_id_email(self, token: str) -> Tuple[str, Optional[str]]: # pragma oauth_client=oauth_client, user_schema=UserRead, state_secret=settings.SECRET_KEY, + # redirect_url=f"{settings.SERVER_HOST}/profile", ) api_router.include_router( oauth_associate_router,