Create an auth endpoint on the route `api/auth` A simple auth endpoint to authorize access to the back-office. User NextAuth package for that.