Skip to content
masterclass Buddy

Auth.js · Function

signOut

signOut ends the current Auth.js session. It can redirect to the current page by default or to a relative path you provide.

Last updated

Syntax

signOut(options?)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • signIn
  • auth
  • handlers
  • AuthError
  • Session

Source: Auth.js | Nextjs. Checked 2026-11-03.