Box OAuth redirect uri can be empty only when creating a new App. If you try to edit the App, redirect_uri becomes mandatory. Can someone please tell me, how to make the redirect_uri dynamic?Meaning, redirect authentication code to a server whichever is making the request.
The steps,
Create an app in 'app.box.com/developers/services' (redirect_uri is blank).
Make a authorize request 'app.box.com/api/oauth2/authorize?response_type=code&client_id=XXX&redirect_uri=https://www.xyz.com'.
This properly redirects the code to 'https://www.xyz.com?code=XXXXXXX'
But, when i try to edit the App, say I want to add an image etc., then, redirect_uri is mandatory.
Now how to make redirect_uri dynamic? I am trying to make API call using box-sdk-java-v2.