对同一应用程序中的内部用户和外部用户要求Azure身份验证

时间:2017-03-18 17:36:34

标签: azure azure-active-directory acs

我需要为单个应用程序使用Azure ACS for External User和Internal User(Azure AD)提供SSO身份验证。任何人都可以告诉我是否可以实施它。 如何将用户标识为外部或内部用户。

1 个答案:

答案 0 :(得分:0)

  
    

要求使用Azure对同一应用程序的内部和外部用户进行身份验证

  

是的,你可以做到这一点。对于外部用户,您可以在ACS配置门户中添加身份提供程序: http://gerardnico.com/wiki/jmeter/save_response_to_file

对于AAD帐户,您可以参考这篇文章:enter image description here

但请注意,身份&访问工具仅在vs2012中可用,在vs2013 / vs2015中,您可以创建MVC应用程序并选择组织帐户并选择内部部署作为选项,请检查Provisioning a Windows Azure Active Directory Tenant as an Identity Provider in an ACS Namespace中的详细步骤。

  
    

如何将用户标识为外部或内部用户。

  

您可以检查身份提供商声明值(here),它代表身份提供商,对于Microsoft帐户,它将是: http://schemas.microsoft.com/accesscontrolservice/2010/07/claims/identityprovider,对于azure广告帐户,它会:enter image description here https://sts.windows.net/tenantID/

如果有帮助,请告诉我。