diff --git a/middleware/key_auth.go b/middleware/key_auth.go index e14bd9e2e..2dcb98039 100644 --- a/middleware/key_auth.go +++ b/middleware/key_auth.go @@ -22,7 +22,7 @@ type KeyAuthConfig struct { // KeyLookup is a string in the form of ":" or ":,:" that is used // to extract key from the request. - // Optional. Default value "header:Authorization". + // Optional. Default value "header:Authorization:Bearer ". // Possible values: // - "header:" or "header::" // `` is argument value to cut/trim prefix of the extracted value. This is useful if header