[英]Using Azure AD without codebehind
I am learning Windows Identity Foundation and trying to understand authentication via Azure AD using the web.config as described here , but I can not understand, where to find issuer and realm for my application on Azure Portal . 我正在学习Windows Identity Foundation,并尝试按此处所述使用web.config通过Azure AD理解身份验证,但是我不知道在Azure Portal上为我的应用程序在哪里找到发行者和领域 。 Can anybody describe me where is it? 谁能形容我在哪里?
You can obtain the Issuer in Azure Portal - App Registrations by selecting the 'Endpoint': 您可以通过选择“端点”在Azure门户-应用程序注册中获得颁发者:
You usually need only the first part of URL: the issuer refers to your tenant - which will usually be similar to https://login.microsoftonline.com/ {Guid} 您通常只需要URL的第一部分:发行者指的是您的租户-通常类似于https://login.microsoftonline.com/ {Guid}
The Realm can be refereed as App Id URI in your App Registration: Select your application and click Settings/ Properties to find the value of this parameter. 在您的应用程序注册中,该领域可以称为应用程序ID URI:选择您的应用程序,然后单击“设置/属性”以查找此参数的值。
However if your main objective is to have an easy way to provide sign-in for Azure AD users without code change , Azure AD Express Authentication may be an easier alternative: where we can just flip a switch to protect your web site so it only accepts sign-in from Azure AD accounts. 但是,如果您的主要目标是提供一种无需更改代码即可为Azure AD用户提供登录的简便方法 ,则Azure AD Express身份验证可能是一个更简单的选择:在这里我们只需翻转一下开关即可保护您的网站,使其仅接受从Azure AD帐户登录。 For information about Express Auth, see this article . 有关Express Auth的信息,请参阅本文 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.