This repository has been archived by the owner on Jun 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 292
Stale bearer token results in 400 #645
Labels
Comments
dehora
added a commit
to dehora/nakadi-java
that referenced
this issue
May 15, 2017
The server doesn't return the correct response code or structure for some auth issue. This is hack to inspect the response returned by the server to allow auth errors to be retryable and provide usable diagnostics to end users.
dehora
added a commit
to dehora/nakadi-java
that referenced
this issue
May 15, 2017
The server doesn't return the correct response code or structure for some auth issues. This is hack to inspect the response returned by the server to allow auth errors to be retryable and provide usable diagnostics to end users.
dehora
added a commit
to dehora/nakadi-java
that referenced
this issue
May 15, 2017
The server doesn't return the correct response code or structure for some auth issues. This is hack to inspect the response returned by the server to allow auth errors to be retryable and provide usable diagnostics to end users.
dehora
added a commit
to dehora/nakadi-java
that referenced
this issue
May 16, 2017
The server doesn't return the correct response code or structure for some auth issues. This is hack to inspect the response returned by the server to allow auth errors to be retryable and provide usable diagnostics to end users.
Jira ticket ARUHA-602 |
dehora
added a commit
to dehora/nakadi-java
that referenced
this issue
Jun 3, 2017
dehora
added a commit
to dehora/nakadi-java
that referenced
this issue
Jun 3, 2017
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When making a request to an upstream authorization server, the API returns 400 instead of indicating an authorization issue.
The response structure is also incorrect - the API definition defines Problem structures for all errors.
One way to reproduce this is to call the server with a stale bearer token.
Example response:
The text was updated successfully, but these errors were encountered: