- 
                Notifications
    
You must be signed in to change notification settings  - Fork 217
 
Open
Labels
Description
Experienced
Using the incorrect credentials for UPDB logins on edge-oidc API returns a 401 correctly, but returns a content type of text/html instead of application/json when the Accept header only specifies application/json.
Expected
Correct content type negotiation to application/json
Reproduction
- Deploy a controller w/ 
edge-oidcenabled as an API - Attempt to use UPDB over OIDC authentication with bad credentials
 - see a 401 w/ 
text/htmlresponse