On 2018/6/17 14:02, Baptiste wrote: > > > Le dim. 17 juin 2018 à 14:10, Patrick Gansterer <[email protected] > <mailto:[email protected]>> a écrit : > > > > On 17 Jun 2018, at 13:36, Baptiste <[email protected] > <mailto:[email protected]>> wrote: > > > > Can they be used to validate oauth tokens too? > > Depends on the implementation of the tokens, but if they are > HMACSHA256 signed JWT, it’s very easy to validate them in a lua > script now. > > > That's how I am doing it now. > Just wanted to know if a combination of http rules could do the job. > And be maybe faster. > > Baptiste
Any progress on this? I'd also be interested in seeing native HMAC functions added, as I'm doing something similar to a HMAC that I'd love to replace. -Patrick

