【发布时间】:2018-12-21 11:34:42
【问题描述】:
我在尝试使用 OpenID 从我的移动应用登录时遇到此错误。
我正在使用 React Native App Auth (https://github.com/FormidableLabs/react-native-app-auth#azure-active-directory) 向 AAD 验证我的应用程序。 Okta 和 Google OpenID 提供商已经使用了相同的设置。
这些是我在应用程序上使用的设置:
{
issuer: 'https://login.microsoftonline.com/{directory_id}/v2.0',
clientId: {my_client_id},
redirectUrl: 'com.krev.krev://oauth2redirect',
scopes: ['openid', 'profile', 'email']
}
这是 AAD 上应用清单中的相关信息:
"replyUrlsWithType": [
{
"url": "com.krev.krev://oauth2redirect",
"type": "InstalledClient"
}
],
我已经尝试将“oauth2AllowUrlPathMatching”更改为无效
【问题讨论】:
-
您是否 100% 确定完全正确应用设置中的内容?没有拼写错误或缺少字符?