How to read auth0 state parameter

Any luck implementing this? Can’t seem to get a straight answer from docs or this forum how to actually dynamically redirect users using the state paremeter?