New Post
Harnessing the magic of Hapi scopes
The stored source link was a host-less path (/2015/06/16/harnessing-hapi-scopes/), so this archive
cannot point at the original page.
A fantastic, but often underused, feature of hapi is the ability to use scopes for authorization. In many frameworks in order to specify who has access to what resources, you have to perform manual checks within your route handlers. This can be a hassle since often these checks will be performed in many different routes. Sure, we can abstract them into a plugin or middleware, but with hapi we…
Excerpt only. The full article stays on the original site.