We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a14d5b commit f099e92Copy full SHA for f099e92
pkg/kiali/kiali.go
@@ -69,9 +69,8 @@ func (k *Kiali) authorizationHeader() string {
69
if token == "" {
70
return ""
71
}
72
- lower := strings.ToLower(token)
73
- if strings.HasPrefix(lower, "bearer ") {
74
- return "Bearer " + strings.TrimSpace(token[7:])
+ if strings.HasPrefix(token, "Bearer ") {
+ return token
75
76
return "Bearer " + token
77
0 commit comments