Skip to content

Commit

Permalink
Use API url as redirect_uri instead of 'script'
Browse files Browse the repository at this point in the history
  • Loading branch information
ceholden committed Jan 3, 2025
1 parent b3d3918 commit 13c04d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion csdap_bulk_download/csdap.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def get_auth_token(self, username: str, password: str):
# Get URL to EDL
response = requests.get(
f"{self.auth_endpoint}/",
params={"redirect_uri": "script"},
params={"redirect_uri": self.csdap_api_url},
allow_redirects=False,
)
if response.status_code not in (302, 307):
Expand Down

0 comments on commit 13c04d2

Please sign in to comment.