I am new to Oauth2,
I'm trying to make an api request for an authorization code from uber. As part of this authorization request, I need to send my user to an uber Oauth page with my client ID, scope and desired response type in params. When uber recieves this and the user authorizes, it redirects to the redirect url I specify on the app setup page on Uber. How do I pass a parameter from my page that will be sent back to the redirect page? say for example a page ID I would like to return the user to?
window.location = "https://login.uber.com/oauth/v2/authorize?response_type=code&client_id=h7bb35FsVvROsrlBO_BWPmKI9osk-7ra&scope=request&page_id=111"