---
title: Redirect after Login
slug: experience/redirect-after-login
docTags: 
createdAt: 2026-01-05T09:35:22.571Z
---

To enable correct redirection after login when a fallback action is triggered, the original content URL or a unique content identifier must be provided. This allows PXP to resolve and open the intended content when the application is launched from the customer’s entitlement system.

## Configuration steps&#x20;

### 1. Configure a fallback for the content.&#x20;

![](https://api.archbee.com/api/optimize/ygR6KtT9QI_R0u3uKTJsm/4tTB69zLoDo7JPfcm2us--20260105-095050.png)

- The condition opens the content via openContentAction if content is purchased or triggers the fallback if it's not purchased.
- The fallback opens the login page
- The content ID is passed as a param to the login page (PXP developer may configure the param name according to project requirements)

### 2 . Configure an onSuccess action for the login component.&#x20;

![](https://api.archbee.com/api/optimize/ygR6KtT9QI_R0u3uKTJsm/3Tqxdaaao5n4rb9jcu0us-20260105-095349.png)

- The **onSuccess&#x20;**&#x61;ction is set per condition to only be used if the content ID parameter is available.
