Skip to content

Commit

Permalink
fix(rest): correct jwt tokenLookups syntax in engine_test
Browse files Browse the repository at this point in the history
  • Loading branch information
ch3nnn committed Aug 29, 2024
1 parent 5fad085 commit 3e19023
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rest/engine_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ Verbose: true
{
priority: true,
jwt: jwtSetting{
enabled: true,
tokenKeys: []string{"Token", "X-Token"},
enabled: true,
tokenLookups: []string{"header:Token", "query:Token", "form:Token"},
},
signature: signatureSetting{},
routes: []Route{{
Expand Down

0 comments on commit 3e19023

Please sign in to comment.