Match PHP OAuth implementation:
- Added explicit Content-Type: application/x-www-form-urlencoded
- Added Accept: application/json header
- Disabled SSL verification (verify=False) like PHP CURLOPT_SSL_VERIFYPEER
- Suppress SSL warnings with urllib3.disable_warnings()
This should fix the HTTP 401 client_auth_failed error.
🤖 Generated with Claude Code
19 KiB
19 KiB