Skip to content

UPDB OIDC login returns wrong content type #3349

@andrewpmartinez

Description

@andrewpmartinez

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

  1. Deploy a controller w/ edge-oidc enabled as an API
  2. Attempt to use UPDB over OIDC authentication with bad credentials
  3. see a 401 w/ text/html response

Metadata

Metadata

Labels

controllerIssue related to the controlleredge

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions