adobe-to-docusign-migrator/src
Paul Huliganga 9c6c01d619 fix: correct Adobe Sign token refresh endpoint and add auth error handling
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>
2026-04-16 10:10:12 -04:00
..
adobe_api.py fix: correct Adobe Sign token refresh endpoint and add auth error handling 2026-04-16 10:10:12 -04:00
adobe_auth.py refactor: rename auth_adobe.py to adobe_auth.py for naming consistency 2026-04-16 10:10:05 -04:00
compose_docusign_template.py feat: core migration — Adobe Sign to DocuSign field mapping and composition 2026-04-15 19:45:13 -04:00
create_adobe_template.py feat: end-to-end migration runner and test template utilities 2026-04-15 19:45:31 -04:00
docusign_auth.py feat: DocuSign JWT auth and pure-Python template upload client 2026-04-15 19:45:23 -04:00
download_templates.py feat: Adobe Sign template download pipeline 2026-04-15 19:44:52 -04:00
generate_pdfs.py feat: end-to-end migration runner and test template utilities 2026-04-15 19:45:31 -04:00
migrate_template.py feat: end-to-end migration runner and test template utilities 2026-04-15 19:45:31 -04:00
test_mapping.py feat: core migration — Adobe Sign to DocuSign field mapping and composition 2026-04-15 19:45:13 -04:00
upload_docusign_template.py feat: DocuSign JWT auth and pure-Python template upload client 2026-04-15 19:45:23 -04:00