boundary icon indicating copy to clipboard operation
boundary copied to clipboard

Return HTTP 412 status for inactive OIDC auth methods

Open davidsbond opened this issue 1 year ago • 2 comments
trafficstars

This commit modifies the OIDC authentication start method to return a 412 (Precondition Failed) error if a client attempts to start the authentication flow against an OIDC auth method that is set to inactive. This is something we noticed in our error logs in HCP Boundary that is impacting our SLOs.

Previously this returned its own error code which is mapped to a 500 response. Tests have been updated to catch this new scenario.

davidsbond avatar Aug 27 '24 17:08 davidsbond