> For the complete documentation index, see [llms.txt](https://docs.varbase.vardot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.varbase.vardot.com/developers/varbase-eca/auth-redirects.md).

# Authentication redirects

The **Authentication redirects** ECA workflow sends a user to the login page after they log out.

This model is provided by the **Drupal CMS Authentication** recipe (`drupal_cms_authentication`). The screenshot below shows the model open in the **Workflow Modeler**.

![The Authentication Redirects Model Open in the Workflow Modeler](https://410909369-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBcuWLZ87gvtX5vA2YGD%2Fuploads%2Fgit-blob-554b107c83fabd13f55c7fd751696fac0139baea%2FWorkflow%20Modeler%20-%20Authentication%20Redirects.png?alt=media)

## How It Works

The workflow has a single event and a single action:

* **Event, User logout**: Fires when a user logs out of the site.
* **Action, Back to login after logout**: Redirects the user to the login page (`/user/login`).

The result is that logging out returns the visitor to the login screen rather than to the front page, which keeps the sign-in and sign-out flow in one place.

## Viewing the Model

Go to **Administration** \ **Configuration** \ **Workflow** \ ***ECA***, find **Authentication redirects**, and open it in the **Workflow Modeler** to see the event and action laid out as connected nodes.
