question

HauKitWong-1160 avatar image
0 Votes"
HauKitWong-1160 asked HauKitWong-1160 commented

Can I custom other webpage in ADFS?

I know that I can custom the ADFS login page and I have done my customization. Still, I want to ask can I custom other webpages, especially the page when the user login successfully (like the picture that I attach). Thanks for your help!

9844-image-adfs-verify-setup.png



adfs
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

piaudonn avatar image
0 Votes"
piaudonn answered HauKitWong-1160 commented

Yes. All the pages. If not using the default cmdLet you can also modify then using JavaScript. You can load your own JS code that will make that page looks like whatever you'd like.
Those type of customizations are explained here: Advanced Customization of AD FS Sign-in Pages.

You can use the developer tools of your browser, select the area you want to change. Spot its element ID like in there:
9798-jo2.jpg

Then you can follow the procedure given in the document and change stuff. For example:

 // Check whether the idp_SignInThisSiteStatusLabel element is present on this page.  
 var idp_SignInThisSiteStatusLabel = document.getElementById('idp_SignInThisSiteStatusLabel');  
 if (idp_SignInThisSiteStatusLabel)  
 {  
        // idp_SignInThisSiteStatusLabel element is present, modify its properties.  
        idp_SignInThisSiteStatusLabel.innerHTML = 'Blablablabla';  
 }  

9895-jo3.jpg



jo2.jpg (138.3 KiB)
jo3.jpg (32.3 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Good answer! Thanks for your help!

0 Votes 0 ·