3
0

Fixing codebase after JWT lib switch

This commit is contained in:
Denis Arh
2022-01-10 08:29:05 +01:00
parent 72999ca692
commit 3ffa0ef8be
16 changed files with 253 additions and 208 deletions
+2
View File
@@ -85,6 +85,8 @@ func (s server) Serve(ctx context.Context) {
r.Use(LogResponse)
}
println("using up DefaultJwtHandler", auth.DefaultJwtHandler != nil)
r.Use(
auth.DefaultJwtHandler.HttpVerifier(),
auth.DefaultJwtHandler.HttpAuthenticator(),