In order to get Nuxt Auth to work with Mirage, we need to define three endpoints:
- POST sessions,
- POST users, and
- GET sessions/user.
The thing that sets these endpoints apart from others is how they interact with the auth token - we create it in one, read it from a header in another, and return it in the last.