Redirect to original state with rules or express-openid-connect

I have an Auth0 app setup with the Node SDK. When a user clicks on login from any page, I want it to redirect back to that page once the login is completed. I read all the docs but I didn’t understand where to pass the state from, and what to do with the rules either. Can I do this from the express SDK instead?