learn hapi — API Login With Username and Password to Generate a JWT
Building an API usually involves user accounts and personal data. Users should see their personalized dashboard or newsfeed. This requires API endpoints that identify the requesting user. The most straightforward approach: API endpoints that require authentication. The login with username and password is the first part of API authentication. The …
Continue Reading