FAQ
Where are login and logout api routes defined?
In contrary to next-firebase-auth (opens in a new tab) library, next-firebase-auth-edge
does not require user to define their own /api/login
or /api/logout
routes. Those routes are handled exclusively by authMiddleware. See explanation (opens in a new tab).