How to read auth0 state parameter

My problem is I need to retain the state for signup not login. signup involve verification hence we loose the original state. I need to retain that state with my verificaiton link so I can redirect my user properly.