You are viewing the docs for v0.6. This is not the latest version.
This page is only relevant to you, if you are using the authjs-provider.


All endpoints that NextAuth.js supports are also supported by nuxt-auth:

${basePath}/callback/:providerGET POST
${basePath}/signoutGET POST

The basePath is /api/auth per default and can be configured in the nuxt.config.ts.

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.