> 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](/files/i0dHRoAX4oJ2QMPEN4LG)

## 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.
