Enhance user experience in your apps by providing a tailored welcome page upon signing in or by guiding users to a designated page after signing out.  

For example, you can redirect users to a personalized welcome page or dashboard after a successful sign-in, displaying relevant information or features based on their user profile or preferences, or show a special promotional page or offer after users sign out, encouraging them to engage with new products, services, or discounts. 

Sign-in redirection

Sign-in redirection applies when app users access the login page directly through https://{accountid}.caspio.app/users/{directoryid}/login. This link is included in the user activation email. You can use custom URL redirection to show a personalized welcome page for the users who activate their accounts. 

However, if an app user requests access to a specific page protected by a directory, they are initially redirected to the directory’s login page for authentication and then forwarded to the requested page. In such cases, sign-in redirection does not take effect. 

To redirect users to a specific page after signing in to a DataPage, configure the Login redirection on success setting in the Authentication section for your app. 

Sign-out redirection 

Sign-out redirection applies when app users log out from the directory’s user portal. 

To redirect users to a specific page after logging out from a DataPage, adjust the Logout destination setting in the Authentication section for your app.

Steps to add custom URL redirections: 

  1. In a directory, click the Security tab. 
  2. From the left menu, select Sign-in and sign-out. 
  3. In the Sign-in redirection section, in the Redirect to list, select URL, and then enter the URL of the page that you want to display after a successful user logon. 
  4. In the Sign-out redirection section, in the Redirect to list, select URL, and then enter the URL of the page that you want to display after a successful user logout. 
    The Security tab for a directory showing settings for sign-in and sign-out redirection.
  5. Confirm your settings by clicking Save.