使用图 api 对 Azure AD 用户进行身份验证
Authenticate Azure AD user using graph api
我正在尝试使用 Web 针对 Azure AD 对用户进行身份验证 API.We 正在尝试为 iOS 构建 SPA 和本机应用程序,我们正在尝试让 API 保重us.I 的身份验证查看了 this and 并了解到这是不可能的。
我只想了解是否有适合我的场景的解决方法。
此问题不重复
@juunas 是正确的。您想要使用 ADAL 之类的东西来允许用户针对 AAD 进行身份验证以访问图形 API,然后使用该身份验证令牌来访问图形。如果您搜索 ADAL、SPA 和 Graph API,Microsoft 有 an example which may be useful to you over here. It's written in objective C, but there are other SPA examples。
我正在尝试使用 Web 针对 Azure AD 对用户进行身份验证 API.We 正在尝试为 iOS 构建 SPA 和本机应用程序,我们正在尝试让 API 保重us.I 的身份验证查看了 this and
@juunas 是正确的。您想要使用 ADAL 之类的东西来允许用户针对 AAD 进行身份验证以访问图形 API,然后使用该身份验证令牌来访问图形。如果您搜索 ADAL、SPA 和 Graph API,Microsoft 有 an example which may be useful to you over here. It's written in objective C, but there are other SPA examples。