Skip to content

Commit

Permalink
Merge pull request #1457 from jefer94/feat/google-auth
Browse files Browse the repository at this point in the history
add prints
  • Loading branch information
jefer94 authored Sep 11, 2024
2 parents edffa12 + dbcfaa2 commit 8f6648f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions breathecode/authenticate/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -2008,6 +2008,10 @@ def get_google_token(request, token=None):
if token == None:
raise ValidationException("No session token has been specified", slug="no-session-token")

print("request.query_params", request.query_params)
print("request.GET", request.GET)
print('request.query_params.get("url", None)', request.query_params.get("url", None))

url = request.query_params.get("url", None)
if url == None:
raise ValidationException("No callback URL specified", slug="no-callback-url")
Expand Down

0 comments on commit 8f6648f

Please sign in to comment.