Closed
Description
Issue Description
I want to be able to send jwt token from multiple sources. Example of ; I might be want send jwt token via header on curl or I might be want set via cookie in browser.
Checklist
- Dependencies installed
- No typos
- Searched existing issues and docs
Expected behaviour
I should be able to present TokenLookup this way
middleware.JWTConfig{
TokenLookup: "header:Authorization,query:token,cookie:jwt",
}
Actual behaviour
Currently TokenLookup system works by parsing one lookup source.
Steps to reproduce
Working code to debug
package main
func main() {
}
Version/commit
Metadata
Metadata
Assignees
Labels
No labels