最近在作identityServer3+ADFS 实现域帐号第三方受权验证,发现一个问题,在咱们网站跳转到域帐户登陆页面,这个页面有点不美观,那么咱们改如何自定义这个登陆界面呢?css
ADFS安装配置这里不作提示,百度大把资料,identityServer3+ADFS全网没有资料,整理出来还须要点时间,敬请期待windows
原始页面:ide
自定义开始网站
自定义ADFS登陆页面,不要妄想使用审查元素,而后去计算机搜索图片文件或资源文件来查找ADFS登陆页面的源代码,本人亲测,无效,只能经过命令来完成,以下:spa
更改登陆框上面的名称server
Set-AdfsGlobalWebContent –CompanyName "Contoso Corp"blog
自定义主题图片
New-AdfsWebTheme –Name custom -SourceName default –StyleSheet @{path ="C:\adfsWebCustomization-master\centeredUi\ThemeCenterBrand.css"}资源
Set-AdfsWebConfig -ActiveThemeName custom文档
设置logo
Set-AdfsWebTheme -TargetName custom -Logo @{path ="C:\adfsWebCustomization-master\centeredUi\acra_logo.png"}
设置背景图片
Set-AdfsWebTheme -TargetName custom -Illustration @{path ="C:\adfsWebCustomization-master\centeredUi\adbg.jpg"}
官方文档地址: