I am working on developing my app using a company's web service API.
When registering for the API key, the company require me to submit a redirect URI.
It is easy to display a web page in my IOS app and send the user to authorization server and let them grant me the access, but I cannot figure out how to obtain an URI of my own Iphone + the port of my app so the authorization server can send back access token to my application.
Is there a different way to deal with OAuth 2.0 in mobile application without setting a web server and use its URI as a redirect URI ?
I could not find any related issue on Stack Overflow. Please send me some links if there exist a solution for this.
Thank you.