Adobe Sign uses a non-standard separate endpoint for refresh: /oauth/v2/refresh (not /oauth/v2/token). Using the wrong endpoint returned a misleading "Invalid grant_type refresh_token" error. Also: - Remove redirect_uri from refresh requests (not required) - Add clear RuntimeError message directing user to re-authenticate - Validate access_token is non-empty before saving in adobe_auth.py - Log token lengths and exchange response keys on successful auth Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| adobe_api.py | ||
| adobe_auth.py | ||
| compose_docusign_template.py | ||
| create_adobe_template.py | ||
| docusign_auth.py | ||
| download_templates.py | ||
| generate_pdfs.py | ||
| migrate_template.py | ||
| test_mapping.py | ||
| upload_docusign_template.py | ||