Redirecting the user

In this section, you will find information on how to redirect a user in your applications within the by Unico experience


he userRedirectUrl field is used to direct the user. This field is received in the success response of the process creation when making the CreateProcess request.

Here you will find three ways to manage the user experience in web applications:

(1) Using Redirect:

It is recommended to follow these steps:

  • In your common flow (which includes the by Unico Registration), you will redirect the client to the link generated through the API;

  • After that, the client within the platform carries out the necessary procedures to continue the flow;

  • When completed, they are redirected to your page (using the redirectUrl provided during the process creation).

(2) Using window.open():

The window.open() option consists of opening a new tab in the user's browser so that they can complete the process. At the end, this tab is closed and redirected to your application.

For this, it is recommended to:

  • Follow the public documentation on this, which can be found here;

  • Monitorar se houve alteração de URL (para a redirectUrl) e então fechar a aba utilizando window.close().


Still need help?

Didn't find something or still need help? If you're already a client or partner, you can reach out through our Help Center.

Last updated

Was this helpful?