Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't get new theme, only old theme. #41

Open
scyto opened this issue Aug 6, 2018 · 2 comments
Open

Don't get new theme, only old theme. #41

scyto opened this issue Aug 6, 2018 · 2 comments

Comments

@scyto
Copy link

scyto commented Aug 6, 2018

I tried the instructions on the MS docs web page, I tried the instructions here too.
I copied the .css file and .js file to c:\ADFSStyles (a dir I created).
I applied the first command line - I get zero formatting (everything is plain text in top left corner)
I applied the second command line - and my original default theme (that was modified for logo, illustration, signon text etc) not the centered theme.
I have remove the custom theme and tried multiple times.
What am I doing wrong?

@dbaars
Copy link

dbaars commented Aug 7, 2018

I had the same problem, I had to copy the text for each file by selecting the "Raw" option first in Github - i.e. for each file:

https://raw.githubusercontent.com/Microsoft/adfsWebCustomization/master/centeredUi/ThemeCenterBrand.css

https://raw.githubusercontent.com/Microsoft/adfsWebCustomization/master/centeredUi/paginatedOnload.js

that's what worked for me anyway..

@scyto
Copy link
Author

scyto commented Aug 8, 2018

Thanks @dbaars that worked, copied the text into notepad and saved in unicode format, would this still indicate an issue with the files?

Also the Set-AdfsWebTheme -TargetName default -Illustration @{path="c:\Contoso\illustration.png"} command doesn't seem to work - i still have plain blue background, any ideas on that?

--edit really documentation at the end of a java script file ?!---

I tried the command documented at the end of the paginatedOnload.js - the first PSH seems to work;

I uncommented the last line of the file, i reran the command to add the .js file resource.
still no picture

--edit 2--
ok after seeing errors in the network trace i recreated the files on a different machine using chrome and notepad++ instead of the IE and notepad on the server.

Not sure what happened, but it fixed something as the username from AAD is now preserved on redirect from MS, i still have a blue background (though the shade of blue changed to slightly darker one) and the pusername hint messgae format is borked as it is on two lines, sigh i give up, going back to classic theme, this is only a demo environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants