Lets try Hapi A Node server to learn Hapi API Authentication The Basic authentication is used. Authorization The authorization is based on scopes at the user lever. Example: user_write, user_read Endpoints GET /users GET /users/{username} POST /users