yes, basing it off of my postman config, which is working. The ClientID and ClientSecret are the same as in Postman and the sp:scopes:all is being used.
When I include additional logic to print out the response content, I see the error that JWT is required.
else:
print(f"Request for sources failed with status code: {response.status_code}")
print("Response content:", response.text)
<Response [200]>
Request for sources failed with status code: 401
Response content: {“error”:“JWT is required”}