Hi,
We’re trying to add some data to the redirect url where the user gets sent after successful authentication using auth0 “post login” actions.
example:
in our spa app, we call:
loginWithRedirect({
screen_hint: "signUp",
redirectUri: `https://myapp.domain.com/#/signup-completed`,
});
in the auth0 action, I’d like to add a query param so that the user gets redirected to https://myapp.domain.com#/signup-completed?what=true after successful login.
The only thing I’ve found in actions is api.redirect.sendUserTo. However, this seems to be for use-cases where the action performs a temporary redirect that is expected to send the user back to auth0 to continue the workflow via onContinuePostLogin. My use case is to manipulate the final redirect where the user gets sent after the entire actions workflow chain completes. Is this possible?