How to read auth0 state parameter

If you want to redirect user after login based on state then its easy. just send whatever value you need at the time of calling authorize and you will get it back in your own format (the way you send it).

My case was little different. I wanted to read its value and save it for later use which is not possible for good reasons.