We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75c35e9 commit 1f1c039Copy full SHA for 1f1c039
1 file changed
oas/oas.go
@@ -104,7 +104,7 @@ func Authenticate(opts ...AuthenticatorOpt) openapi3filter.AuthenticationFunc {
104
options.Configure(opts...)
105
106
return func(ctx context.Context, input *openapi3filter.AuthenticationInput) error {
107
- auth, ok := options.Schemas[input.SecurityScheme.Type]
+ auth, ok := options.Schemas[input.SecurityScheme.Scheme]
108
if !ok {
109
return fiber.ErrForbidden
110
}
0 commit comments