#3700 feat: Add a new `AuthenticationError` exception type and raise it when OAuth token requests fail
Pull request opened by
edgarrmondragon
Summary by Sourcery
Introduce a dedicated AuthenticationError exception for OAuth authentication failures and update OAuth authenticator behavior accordingly.
New Features:
• Add an AuthenticationError exception type for API authentication failures.
Bug Fixes:
• Ensure OAuth authentication failures raise AuthenticationError instead of a generic RuntimeError, including when JWT dependencies are missing.
Tests:
• Update OAuth authenticator tests to expect AuthenticationError on failed token requests and exhausted retries.
meltano/sdk