I have been trying to set up an microsoft identity platform configuration and it works perfectly on Android but on iOS the request goes fine but when the Outlook server returns the response, the library is not picking it up. By that I mean, the authorize function keeps running/waiting even though the response had arrived. Android works fine. The config is as follows -
const MICROSOFT_CONFIG = {
issuer: 'https://login.microsoftonline.com/common/v2.0',
clientId: 'redacted,
redirectUrl: Platform.select({
ios: 'redacted_app_redirect_uri://msauth',
android: 'redacted_app_redirect_url://msauth',
}),
scopes: [
'openid',
'profile',
'email',
'offline_access',
],
serviceConfiguration: {
authorizationEndpoint:
'https://login.microsoftonline.com/common/oauth2/v2.0/authorize',
tokenEndpoint:
'https://login.microsoftonline.com/common/oauth2/v2.0/token',
},
};