All endpoints that NextAuth.js supports are also supported by
/api/auth per default and can be configured in the
You can directly interact with these API endpoints if you wish to, it's probably a better idea to use
useAuth where possible though. See the full rest API documentation of NextAuth.js here.