# Login & Logout Redirect Settings

**Login Redirect Settings**

<figure><img src="/files/FKtLXnXNQ3m8GBpZNEL8" alt=""><figcaption></figcaption></figure>

* **Login Redirect:** Enable redirection for login from here.
* **Login Redirection for Specific Customer Groups:** Select customer groups for which you want to enable login redirection.
* **Login Redirection On:** Select either CMS Pages or Custom URL or Third party URL to redirect users after login. Here we have selected Third party URL for redirection after login.
* **Third Party Url:** Enter the third-party URL to redirect users.

**Logout Redirect Settings**

<figure><img src="/files/ErIMpPsXqAw3FwWsClHZ" alt=""><figcaption></figcaption></figure>

* **Logout Redirect:** Enable redirection to log out from here.
* **Logout Redirection for Specific Customer Groups:** Select customer groups for which you want to enable logout redirection.
* **Logout Redirection On:** Select either CMS Pages or Custom URL or Third party URL to redirect users after logout. Here we have selected CMS Pages for redirection after logout.
* **CMS Page:** Select the CMS page to redirect users.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.magecomp.com/magento-2-custom-redirect-extension/login-and-logout-redirect-settings.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
