mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
fix: hardcode azure instance identity intermediate certificates (#6402)
This was broken for an airgapped customer!
This commit is contained in:
@ -37,7 +37,7 @@ func (api *API) postWorkspaceAuthAzureInstanceIdentity(rw http.ResponseWriter, r
|
||||
if !httpapi.Read(ctx, rw, r, &req) {
|
||||
return
|
||||
}
|
||||
instanceID, err := azureidentity.Validate(ctx, req.Signature, api.AzureCertificates)
|
||||
instanceID, err := azureidentity.Validate(req.Signature, api.AzureCertificates)
|
||||
if err != nil {
|
||||
httpapi.Write(ctx, rw, http.StatusUnauthorized, codersdk.Response{
|
||||
Message: "Invalid Azure identity.",
|
||||
|
Reference in New Issue
Block a user