shaj13 / go-guardian

Go-Guardian is a golang library that provides a simple, clean, and idiomatic way to create powerful modern API and web authentication.
MIT License
559 stars 56 forks source link

Union strategy: missing log for basic when authentication fails #74

Closed gczobel-f5 closed 3 years ago

gczobel-f5 commented 3 years ago

Scenario: Using Union strategy (basic+token)

When basic fails, and token fails too, the log shows "strategies/token: Invalid token" for the token, but only "Invalid credentials" for basic without the strategy name.

strategies/union: [strategies/token: Invalid token, Invalid credentials]

gczobel-f5 commented 3 years ago

ignore for now... need more tests...