Auth0 sign up page- passing Data

I currently have a marketplace where there are resources created for sale (pdf, images, or cvs. files). The workflow I am currently wanting to work with is that I want the user to be able to click add to cart but as they click on the button it will trigger them to sign up and afte they have sign up it takes them back to the resource page as a logged in user.

I need the worflow to take them back to the same resource they clicked after signing up