简体   繁体   English

如何使用身份服务器 3 和 Microsoft 团队应用程序使用 Azure AD 令牌进行身份验证

[英]How to authenticate using Azure AD token using identity server 3 and microsoft teams app

We use custom idp (identity server 3) to authenticate users on the system.我们使用自定义 idp(身份服务器 3)对系统上的用户进行身份验证。 Now I have a requirement to implement Azure AD authentication.现在我需要实现 Azure AD 身份验证。 I tried adding Azure AD as an external provider it is working fine on the browser, but on MS teams app, it is not working because the Microsoft teams app opens in an Iframe, on which azure Ad doesn't work.我尝试将 Azure AD 添加为外部提供程序,它在浏览器上运行良好,但在 MS 团队应用程序上,它无法正常工作,因为 Microsoft 团队应用程序在 Iframe 中打开,ZCF04A02E37B774FC311A48F605 无法正常工作。 I implemented Microsoft msal.js library to authenticate using Azure AD.我实现了 Microsoft msal.js 库以使用 Azure AD 进行身份验证。 I am able to authenticate and get the token on the frontend.我能够在前端进行身份验证并获取令牌。 But how can I pass that token to identity server 3 and authenticate user using my own identity server.但是如何将该令牌传递给身份服务器 3 并使用我自己的身份服务器对用户进行身份验证。

if I understand your requirement correctly then you can try out the below solution: User is authenticated using Azure Ad when he logs in to Teams App.如果我正确理解您的要求,那么您可以尝试以下解决方案:用户在登录 Teams 应用程序时使用 Azure 广告进行身份验证。 Now you can send the logged in user's AD information (User Principal Name preferably) to your IS3 and authenticate from your end.现在您可以将登录用户的 AD 信息(最好是用户主体名称)发送到您的 IS3 并从您的端进行身份验证。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 How client code using "Microsoft.Azure.KeyVault" SDK manages to get Azure AD token to authenticate itself with Azure keyvault to retrieve secret? - How client code using "Microsoft.Azure.KeyVault" SDK manages to get Azure AD token to authenticate itself with Azure keyvault to retrieve secret? azure 广告如何使用从另一个应用程序传递的令牌进行身份验证 - azure ad how to authenticate using token passed from another application 如何在 WPF 应用程序中使用 Z3A580F142203677F0BC30898 AZFZ 验证 web api - How to authenticate web api in WPF app using Azure AD 如何使用 AppAuth 从 iOS 应用程序向 Azure AD 进行身份验证? - How to authenticate with Azure AD from iOS app using AppAuth? 如何使用 Azure AD 向 web 服务验证移动应用程序? - How to authenticate mobile app to web service using Azure AD? 使用Identity Server 3作为Azure AD注册应用程序进行身份验证 - Authenticate with Identity Server 3 as an Azure AD registered application 在 ASP.NET Web 应用程序中使用应用程序的标识 (Azure AD) 调用 Microsoft Graph - Using app's identity (Azure AD) in ASP.NET web app to call Microsoft Graph 用身份服务器令牌交换 azure AD 令牌 - Exchanging azure AD token with Identity server token 如何使用Azure AD对应用程序进行身份验证 - How is it possible to authenticate an application using Azure AD 如何使用 Laravel 对来自 Microsoft Azure AD 的数据进行身份验证并将其重定向到 Home? - How to Authenticate the data from Microsoft Azure AD using Laravel and redirect it to Home?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM