[英]Login to Microsoft Graph JavaScript SDK using federated credential instead of client secret or certificate (application user)
How can we authenticate to Microsoft Graph using federated credentials and GitHub workflows?我们如何使用联合凭据和 GitHub 工作流向 Microsoft Graph 进行身份验证?
I have registered an app in Azure Active Directory under 'App Registrations'.我已在 Azure Active Directory 中的“应用注册”下注册了一个应用。 And I'm planning to use federated credentials (not client secret or certificate) in Azure App Registration to make Microsoft Graph API calls from GitHub Actions workflows.我计划在 Azure 应用注册中使用联合凭据(不是客户端密码或证书)从 GitHub 操作工作流进行 Microsoft Graph API 调用。 But in Microsoft documentation, I found only about how to authenticate using a client secret.但在 Microsoft 文档中,我只发现了如何使用客户端密码进行身份验证。
https://docs.microsoft.com/en-us/graph/sdks/choose-authentication-providers?tabs=Javascript https://docs.microsoft.com/en-us/graph/sdks/choose-authentication-providers?tabs=Javascript
Thanks for reaching out FederatedIdentityCredentialRequest is available for beta API, could you please check out - https://github.com/microsoftgraph/msgraph-beta-sdk-java/blob/c116f3062b6ea19bd86cd947fd1981a62654227b/src/main/java/com/microsoft/graph/requests/FederatedIdentityCredentialRequest.java感谢您联系 FederatedIdentityCredentialRequest 可用于 beta API,请查看 - https://github.com/microsoftgraph/msgraph-beta-sdk-java/blob/c116f3062b6ea19bd86cd947fd1981a62654227b/src/main/java/com/microsoft/graph /requests/FederatedIdentityCredentialRequest.java
hope this will help you.希望这会帮助你。
Thanks.谢谢。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.