包括“将匿名用户重定向到登录页面” &安培;开发人员门户自定义到API管理部署 [英] Include "Redirect Anonymous Users to sign-in page" & Developer Portal Customizations into API Management Deployment

查看:70
本文介绍了包括“将匿名用户重定向到登录页面” &安培;开发人员门户自定义到API管理部署的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Everybody, 


我目前正在自动部署API管理实例。我的目标是实现100%的自动化。我有两件事要挣扎:



1。重定向匿名用户


在Azure门户中:身份 - >您可以设置的设置"将匿名用户重定向到登录页面"。


我找不到使用ARM或Powershell自动设置此功能的方法。如何在我的发布管道中设置它?



2。开发人员门户自定义


我已经定制了导航和开发人员门户的几页。如何将自定义项包含在自动部署中?


感谢您的帮助,


MM








PS:如果有帮助,请标记为答案。谢谢!

博客: http://www.manuelmeyer.net

Twitter: https://twitter.com/manumeyer1

解决方案

1。重定向匿名用户


您可以自动使用ARM模板,如下所述:

" resources":[ 
{
" type":" Microsoft.ApiManagement / service / portalsettings",
" name":"< APIMServiceName> / signin",
" apiVersion":" 2018-01-01",
" properties" ;: {
" enabled":true
}
}
]

2。开发人员门户网站自定义


您能否就此提供更多详细信息。这是什么样的定制?





Hello Everybody, 

I am currently automating a deployment of an API Management Instance. My goal is to reach 100% automation. There are 2 things I struggle with:

1. Redirect anonymous users

In the Azure Portal: Identities -> Settings you can set "Redirect anonymous users to sign-in page".

I could not find a way to automatically set this with ARM or Powershell. How can I set this in my release pipeline?

2. Developer Portal Customizations

I have customized the navigation and a couple of pages of the developer portal. How can I include the customizations into my automated deployment?

Thanks for your help,

MM


PS: Please mark as answer if helpful. Thanks!
Blog: http://www.manuelmeyer.net
Twitter: https://twitter.com/manumeyer1

解决方案

1. Redirect anonymous users

You can automate using ARM template as mentioned below:

 "resources": [
    {
      "type": "Microsoft.ApiManagement/service/portalsettings",
      "name": "<APIMServiceName>/signin",
      "apiVersion": "2018-01-01",
      "properties": {
        "enabled": true
      }
    }
  ]

2. Developer Portal Customization

Can you provide some more details around this. What kind of customization it is?



这篇关于包括“将匿名用户重定向到登录页面” &安培;开发人员门户自定义到API管理部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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