[Aerogear-users] iOS OAuth2 redirect URIs

Michael Doo michael at 410labs.com
Fri Dec 4 17:18:02 EST 2015


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.

Michael Doo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20151204/35c412d0/attachment.html 

More information about the Aerogear-users mailing list