Login by auth0 redirect to current page

Hello,

I’m trying to put redirects according to the current page. For example, I am on an order page, I ask my users to register or log in before continuing. With the normal process, the user logs in or registers and is redirected to the home page.

The process I would like to have is the customer logs in or registers and is redirected to the page he was on previously (in my case, order page).

Could someone help me?

The links have been added in the url callback in the dashboard

I first tried to put the redirect_uri alone but the connection is not done right away;

I tried to add a redirect_to but it is not accepted in url callbacks.

Someone can help me ?
Thx for advance