Skip to content

Commit

Permalink
remove trailing /
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-XT committed Jun 12, 2024
1 parent 2c5fda5 commit af649c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/Auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ def google_sso_button():
client_secret = getenv("GOOGLE_CLIENT_SECRET")
auth_uri = getenv("MAGICALAUTH_SERVER")
magic_link_uri = getenv("MAGIC_LINK_URL")
if magic_link_uri.endswith("/"):
magic_link_uri = magic_link_uri[:-1]
logging.info(f"Client ID: {client_id}")
logging.info(f"Client Secret: {client_secret}")
logging.info(f"Auth URI: {auth_uri}")
Expand Down

0 comments on commit af649c3

Please sign in to comment.