Microsoft 上的 Expo OAuth 登录
Expo OAuth Sign on Microsoft
我正在尝试使用 expo 通过 Microsoft 实现 OAuth 登录。我在登录后收到此错误:
AADSTS50020: User account 'xxxxxx@outlook.com' from identity provider 'live.com' does not exist in tenant 'Microsoft Services' and cannot access the application '36b16703-xxxxxx'(appname) in that tenant. The account needs to be added as an external user in the tenant first. Sign out and sign in again with a different Azure Active Directory user account.
我的 react-native OAuth 代码片段与 expo 文档中的代码片段相似 https://docs.expo.io/guides/authentication/#azure。 :
由于您的账号是个人账号,不在租户内,所以您需要绕过租户级登录。您只需要将 /tenant id
端点更改为 /common
端点。
我正在尝试使用 expo 通过 Microsoft 实现 OAuth 登录。我在登录后收到此错误:
AADSTS50020: User account 'xxxxxx@outlook.com' from identity provider 'live.com' does not exist in tenant 'Microsoft Services' and cannot access the application '36b16703-xxxxxx'(appname) in that tenant. The account needs to be added as an external user in the tenant first. Sign out and sign in again with a different Azure Active Directory user account.
我的 react-native OAuth 代码片段与 expo 文档中的代码片段相似 https://docs.expo.io/guides/authentication/#azure。 :
由于您的账号是个人账号,不在租户内,所以您需要绕过租户级登录。您只需要将 /tenant id
端点更改为 /common
端点。