没有应用程序注册的Azure AD身份验证 [英] Azure AD authentication without app registration

本文介绍了没有应用程序注册的Azure AD身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用服务器上托管的Web应用程序访问Azure目录和订阅,但是我不想在活动目录中注册我的应用程序,因为

I want to access Azure Directories and Subscriptions using my web app hosted on my server but i do not want to register my app in active directory because

  1. 我没有在活动目录中注册我的应用的权限
  2. 我也想从活动目录之外对用户进行身份验证.

例如,以下站点可让您对任何Azure AD用户进行身份验证.

for example following sites let you authenticate any Azure AD user.

  • https://resources.azure.com/
  • https://azureiotsuite.com

请帮助我从哪里开始.我已经尝试过Azure AD身份验证,但是它要求您在Azure AD Apps中注册您的应用程序.

Please help me to where to start. i have tried Azure AD authentication but it asks you to register your app in Azure AD Apps.

推荐答案

一种选择是在 https上注册您的应用://apps.dev.microsoft.com . (并使用v2端点)

One option is to register your app at https://apps.dev.microsoft.com. (And use the v2 endpoints)

此处的文档: https://docs.microsoft.com/zh-CN/azure/active-directory/develop/active-directory-appmodel-v2-overview

您要创建的东西称为多租户应用程序.您可以从任何Azure AD租户登录的应用程序.

What you want to make is known as a multi-tenant application. An application to which you can login from any Azure AD tenant.

第一个链接将引导您创建一个融合应用程序,该应用程序允许您使用Microsoft帐户以及Azure AD帐户登录.

The first link leads you to create a converged app which allows you to use Microsoft accounts as well as Azure AD accounts to sign in.

如果只需要Azure AD帐户,则可以创建一个Azure AD并将该应用程序注册为多租户应用程序. (并使用v1端点)

If you only want Azure AD accounts, you could just create an Azure AD and register the app there as a multi-tenant app. (And use the v1 endpoints)

这篇关于没有应用程序注册的Azure AD身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆