hapi — Show „Insufficient Scope“ View for Routes With Restricted Access

Access control to individual routes in hapi can be easily implemented using scopes. If you’re new to the concept of scopes, please head over to the introductory tutorial on how to restrict access with scopes in hapi.

In this tutorial you’ll change the response for insufficient scopes from the default JSON to rendering a custom view.

hapi Series Overview

Continue reading

University Enrollment Required

Future Students benefit from value packed videos and tutorials.

Enroll to receive exclusive content or sign in if you’re already a Future Student.

Enroll me for $15/mo

Explore the Library

Find interesting tutorials and solutions for your problems.