* trooper1414 <sethi...@gmail.com> [2015-03-12 20:58]:
> Developed a website in html and was later told to incorporate SSO using
> simplesaml.
Taking that literally this cannot work.
You can only integrate SimpleSAMLphp with PHP code, not with plain
HTML files.
> I managed to install simplesamlphp on my server and get the testing
> done, added cert finger print etc....and authentication is working.
Given your self-proclaimed status as an absolute noob that's
impressive, and either means you're a fast learner (or good
instruction follower) or that SimpleSAMLphp's documentation is
excellent. Or both.
> Now i am stuck in how to add the php code to my website. I did something
> stupid and renamed all my html pages to php. Each time i try to add the
> code it blanks out everything below it.
Well, then undo that renaming by renaming the back?
MS-Windows (also read the answers further below):
http://stackoverflow.com/questions/9885241/changing-all-files-extensions-in-a-folder-with-one-command-on-windows
UNIX and friends (bash), including Mac OS X:
http://stackoverflow.com/questions/1224766/how-do-i-rename-the-extension-for-a-batch-of-files/1225236#1225236
or here:
http://unix.stackexchange.com/questions/19654/changing-extension-to-multiple-files
> could someone guide me step by step, as to how to do it.
How to do what specifically?
What is it exactly you're trying to protect?
SimplesAMLphp /cannot/ protect (static) HTML files. - we want the website to be behind our organizations two factor and i was using the simplesaml library to get that working