horse-jwt
horse-jwt copied to clipboard
Middleware for JWT in HORSE
Estou implementando uma API com autenticação JWT, no entanto, não consigo configurar as rotas que não precisam de autenticação. Se eu comentar a linha: > .Use(HorseJWT('my-token', THorseJWTConfig.New.SkipRoutes(['Acesso']))); Consigo fazer o...
Seria possível buscar pelo Token de autenticação nos cookies? `if LToken.Trim.IsEmpty and not AHorseRequest.Query.TryGetValue( LConfig.Header, LToken) and not AHorseRequest.Query.TryGetValue( LHeaderNormalize, LToken) and not AHorseRequest.Cookie.TryGetValue( LConfig.Header, LToken) and not AHorseRequest.Cookie.TryGetValue( LHeaderNormalize,...
Hello! I had problems with SkipRoute in an API in NGINX Gateway using basic authentication, I modified in my projects for this code : ` if MatchRoute(LPathInfo, Config.SkipRoutes) then begin...