Skip to content

Align token error handling and tests with RFC 6749 section 5.2#119

Merged
patvice merged 1 commit intomainfrom
token-manager-raise-oauth-error-response
Feb 22, 2026
Merged

Align token error handling and tests with RFC 6749 section 5.2#119
patvice merged 1 commit intomainfrom
token-manager-raise-oauth-error-response

Conversation

@patvice
Copy link
Copy Markdown
Owner

@patvice patvice commented Feb 22, 2026

  • Parse OAuth error payloads in token refresh responses even on non-200 statuses
  • Preserve OAuth error details (error, description, uri) in TransportError paths
  • Keep explicit validation for missing access_token in token responses
  • Replace non-standard test error code with RFC core code and add invalid_client 401 coverage

Solves #118

- Parse OAuth error payloads in token refresh responses even on non-200 statuses\n- Preserve OAuth error details (error, description, uri) in TransportError paths\n- Keep explicit validation for missing access_token in token responses\n- Replace non-standard test error code with RFC core code and add invalid_client 401 coverage
@patvice patvice merged commit 67455a0 into main Feb 22, 2026
7 checks passed
@patvice patvice deleted the token-manager-raise-oauth-error-response branch February 22, 2026 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant