-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Following the sciauth notebook demo at https://sciauth.org/notebook-demo, I get a 500 Internal Server Error when trying to access https://demo.scitokens.org/secret with the adjusted token (and a valid email address not provided below).
payload = {
"sub": "XXX",
"scope": "read:/secret"
}
token = getToken(payload)
headers = {'Authorization': "Bearer " + token}
query = requests.get("https://demo.scitokens.org/secret", headers=headers)
print(query.text)
yields:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>500 Internal Server Error</title>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>
Metadata
Metadata
Assignees
Labels
No labels