<div dir="ltr"><div><div><div><div>Hello,<br><br></div>I&#39;ve managed to integrate the Aerogear iOS OAuth2 library pretty well into my app for Google accounts. However, for Outlook, their OAuth2 API only allow two redirect URIs: urn:ietf:wg:oauth:2.0:oob and HTTPS schemes, e.g., <a href="https://login.live.com/oauth20_desktop.srf">https://login.live.com/oauth20_desktop.srf</a>, to which the authorization code will be attached. The important bit here is that they do not allow customization of the redirect URI to be something like &#39;\(bundleString)://oauth2Callback&#39; or &#39;fb\(clientId)://authorize/&#39;, which the OAuth2 library seems to need.<br><br></div>The documentation doesn&#39;t seem to clearly state how this should or could be addressed. Since not every OAuth2 provider has allowed iOS bundle names as valid redirect URIs, it seems to me there should be a way to handle this.<br><br></div>Best,<br></div>Michael Doo<br></div>