-
Notifications
You must be signed in to change notification settings - Fork 846
Invalid IDP metadata shouldn't generate a 5xx error #12559
Copy link
Copy link
Closed
Labels
#g-endpoint-opsEndpoint ops product groupEndpoint ops product group:releaseReady to write code. Scheduled in a release. See "Making changes" in handbook.Ready to write code. Scheduled in a release. See "Making changes" in handbook.bugSomething isn't working as documentedSomething isn't working as documented~backendBackend-related issue.Backend-related issue.~released bugThis bug was found in a stable release.This bug was found in a stable release.
Milestone
Metadata
Metadata
Assignees
Labels
#g-endpoint-opsEndpoint ops product groupEndpoint ops product group:releaseReady to write code. Scheduled in a release. See "Making changes" in handbook.Ready to write code. Scheduled in a release. See "Making changes" in handbook.bugSomething isn't working as documentedSomething isn't working as documented~backendBackend-related issue.Backend-related issue.~released bugThis bug was found in a stable release.This bug was found in a stable release.
See https://github.com/fleetdm/confidential/issues/2888 for context - basically if the Metadata returned by the IDP is invalid, we don't want to return a 500 status code.
(It should likely return 400 Bad Request)