Root Page

This is a Payload + Next.js app using the App Router made explicitly for the Payload Auth Example. This example demonstrates how to implement Payload's Authentication strategies in both the REST and GraphQL APIs. To toggle between these APIs, see `_layout.tsx`.

Visit the login page to start the authentication flow. Once logged in, you will be redirected to the account page which is restricted to users only. To manage all users, login to the admin dashboard.