简体   繁体   English

使用不带代码隐藏的Azure AD

[英]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门户-应用程序注册中获得颁发者:

Azure AD应用程序注册-端点

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.

相关问题 Azure AD:如何在不使用任何库的情况下访问Azure AD Graph API - Azure AD: How to access Azure AD Graph API without using any library 不使用代码隐藏,从文本框中删除“无” - Remove 'None' from textbox without using codebehind 使用 Azure AD 注销 SAML - Logout SAML using Azure AD 使用Azure AD的Azure API APP身份验证 - Azure API APP authentication using Azure AD Azure 功能 身份验证 - 可能没有 AD? - Azure functions Authentication - possible without AD? 是否可以使用用户名和密码对图形 API 进行身份验证,而无需在 Azure AD 中注册应用程序 - Is there way to authenticate to Graph API using Username and Password without Application Registration in Azure AD ASP NET API - 使用 Azure AD SAML 协议验证用户,无需打开 Microsoft 登录页面 - ASP NET API - Authenticate users using Azure AD SAML Protocol without open Microsoft Login Page 无法使用不带 cookie 的不记名令牌将用户登录到 Azure AD - Can't login user to Azure AD using a bearer token without cookies 如何在不使用Microsoft页面的情况下在Azure AD B2C中使用graph api进行社交登录? - How to use graph api for social login in Azure AD B2C without using Microsoft page? 如何在不使用TryFindResource的情况下从代码背后获取StaticResource的实际对象? - How to get the actual object of StaticResource from codebehind without using TryFindResource?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM