Custom ADFS login screen

Recently doing identityServer3 + ADFS achieve third-party authorized domain account verification and found a problem, we jump to the site domain account logon page that a little unsightly, so we changed how to customize the login screen it?

 

ADFS installation configuration do not make tips, Baidu a lot of information, identityServer3 + ADFS the whole network is no information, sorted out the need to take some time, so stay tuned

 

The original page:

 

 

 

 

Customize Start

       Custom ADFS login page, do not use the review elements of paranoia, then go to the computer search pictures or files to find the source code ADFS login page, I pro-test, invalid, it can only be done through the command, as follows:

 

Change the name of the login box above

Set-AdfsGlobalWebContent –CompanyName "Contoso Corp"

Custom Theme

New-AdfsWebTheme –Name custom -SourceName default –StyleSheet @{path ="C:\adfsWebCustomization-master\centeredUi\ThemeCenterBrand.css"}

 

Set-AdfsWebConfig -ActiveThemeName custom

Set logo

Set-AdfsWebTheme -TargetName custom -Logo @{path ="C:\adfsWebCustomization-master\centeredUi\acra_logo.png"}

Set the background image

Set-AdfsWebTheme -TargetName custom -Illustration @{path ="C:\adfsWebCustomization-master\centeredUi\adbg.jpg"}

 

 

The official address of the document:

https://docs.microsoft.com/zh-cn/windows-server/identity/ad-fs/operations/ad-fs-user-sign-in-customization

Guess you like

Origin www.cnblogs.com/cx36727/p/11540114.html