chore: external auth validate response "Forbidden" should return invalid, not an error (#13446)
* chore: add unit test to delete workspace from suspended user * chore: account for forbidden as well as unauthorized response codes (cherry picked from commit 27f26910)
Showing
- coderd/coderdtest/oidctest/idp.go 17 additions, 2 deletionscoderd/coderdtest/oidctest/idp.go
- coderd/externalauth/externalauth.go 1 addition, 1 deletioncoderd/externalauth/externalauth.go
- coderd/externalauth_test.go 6 additions, 6 deletionscoderd/externalauth_test.go
- coderd/workspacebuilds_test.go 74 additions, 0 deletionscoderd/workspacebuilds_test.go
Please register or sign in to comment