Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport of Return HTTP 400 status for inactive OIDC auth methods into release/0.17.x #5061

Conversation

hc-github-team-secure-boundary
Copy link
Collaborator

Backport

This PR is auto-generated from #5048 to be assessed for backporting due to the inclusion of the label backport/0.17.x.

The below text is copied from the body of the original PR.


This commit modifies the OIDC authentication start method to return a 400 (Bad Request) 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.


Overview of commits

@hc-github-team-secure-boundary hc-github-team-secure-boundary merged commit 1e2f070 into release/0.17.x Aug 30, 2024
@hc-github-team-secure-boundary hc-github-team-secure-boundary deleted the backport/4xx-for-inactive-auth/usefully-hot-ostrich branch August 30, 2024 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants