Hi,
I am trying to get access token after Autharization.
So on button click I redirect user to
https://www.dropbox.com/oauth2/authorize?client_id=<APP_KEY>&response_type=code
So user goes through the steps and authorize the app but it goes to a page like this II

I use Window.open with redirect url.
window.open(url,redirectURL );
I have a feeling I am not constructing redirect url properly. Can you please provide me with an example of window.open with proper url?
What am I doing wrong here?