diff --git a/config/auth_azure_github_oidc.go b/config/auth_azure_github_oidc.go index 47a03630e..48109c08e 100644 --- a/config/auth_azure_github_oidc.go +++ b/config/auth_azure_github_oidc.go @@ -72,7 +72,7 @@ func requestIDToken(ctx context.Context, cfg *Config) (string, error) { }), ) if err != nil { - return "", err + return "", fmt.Errorf("failed to request ID token from %s: %w", tokenRequestURL, err) } return resp.Value, nil