From 9918d5242c9cb45ade09f9bb4553e0697b327708 Mon Sep 17 00:00:00 2001 From: Nikhil <118773738+pablohashescobar@users.noreply.github.com> Date: Mon, 11 Dec 2023 16:17:11 +0530 Subject: [PATCH] dev: fix oauth configuration check (#3062) --- apiserver/plane/app/views/oauth.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/apiserver/plane/app/views/oauth.py b/apiserver/plane/app/views/oauth.py index a0eb4973e..de90e4337 100644 --- a/apiserver/plane/app/views/oauth.py +++ b/apiserver/plane/app/views/oauth.py @@ -167,12 +167,6 @@ class OauthEndpoint(BaseAPIView): ] ) - if not GOOGLE_CLIENT_ID or not GITHUB_CLIENT_ID: - return Response( - {"error": "Github or Google login is not configured"}, - status=status.HTTP_400_BAD_REQUEST, - ) - if not medium or not id_token: return Response( {