Action redirect doesn't allow to add a "state" parameter

Problem statement

When we redirect from an action, and we particularly would like to trigger an /authorize request and send a state, we find that the state parameter is overridden in the action by its action state. This doesn’t allow us to redirect the user property. Could we please have the state parameter customizable in the actions?

Solution

Sending an internal state with redirects from actions is by design, as the state parameter is used with the continue endpoint to find the active state for the user logging in, as documented here.
​​​​​​
As a workaround idea, instead of attempting to redirect to the login page directly, you could redirect to an application you own and pass the state with a custom parameter like “customstate”. Your app then can perform a second redirect to the Auth0’s login page with the state parameter the same as the “customstate” value.