dev: fix oauth configuration check (#3062)
This commit is contained in:
parent
dd87bd0ee2
commit
9918d5242c
1 changed files with 0 additions and 6 deletions
|
|
@ -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(
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue