gpt4 book ai didi

Azure 应用程序客户端 key

转载 作者:行者123 更新时间:2023-12-03 01:52:47 25 4
gpt4 key购买 nike

我在 https://apps.dev.microsoft.com/ 注册了我的应用程序。1-我正在尝试访问日历休息 API。要执行 oauth2,我需要客户端 key 。我似乎找不到客户的 secret 。可以选择密码或私钥,但同时使用这两个选项会引发错误。您能告诉我在哪里可以找到客户端 key 吗?

2- 有多个文档讨论了注册应用程序的多种方法。我应该在 https://apps.dev.microsoft.com/ 注册我的应用程序吗?它使用以下端点或授权: https://login.microsoftonline.com/common/oauth2/v2.0/authorize

或在 Azure AD 上创建帐户并使用以下端点: https://login.microsoftonline.com/common/oauth2/authorize

最佳答案

  • 看看 https://msdn.microsoft.com/office/office365/HowTo/authentication-v2-preview ,尤其是“应用注册限制”部分。
  • 根据您注册新应用程序的方式,会应用某些限制。

    At this time, all apps that want to integrate with the v2.0 app model must create a new app registration at apps.dev.microsoft.com. Any existing Azure AD or Microsoft Account applications will not be compatible with the v2.0 app model, nor will applications registered in any portal besides the new App Registration Portal. There is no migration path for an application from the generally available Azure AD service to the v2.0 app model.

    Similarly, apps registered in the new App Registration Portal will work exclusively with the v2.0 app model. You can not use the App Registration Portal to create apps that will integrate successfully with the Azure Active Directory or Microsoft Account services."

    根据您的需要,您应该选择注册应用程序的方式。

    关于Azure 应用程序客户端 key ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32913233/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com