Hello,
I'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.,
https://login.live.com/oauth20_desktop.srf, 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
'\(bundleString)://oauth2Callback' or 'fb\(clientId)://authorize/', which
the OAuth2 library seems to need.
The documentation doesn'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.
Best,
Michael Doo