Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SiteMinder SSO Custom Login page

Has anyone got a bare bones custom login page, that will post to the default login.fcc. I'm unsure where to start with this. Presumably it would have javascript code to take a part the query string and then pass it on to the login.fcc

like image 454
Ray Avatar asked Oct 24 '22 23:10

Ray


1 Answers

Custom login pages are simple- all you have to do is post with the correct variables to the FCC. This snippet is from login.fcc, so in this case the web agent fills in the $$ variables automatically, and then posts to itself. If you are going submit the variables from another source (non fcc) then you will have to make sure to include the agent name, username, password, and target in your post.

<form action="login.fcc" method="post">
                                       <div class="formRow">
                                       <table>
                                               <tr>
                                                       <td><P><span>Username :</span></P></td>
                                                       <td><P><input name="username" type="text" value=""
style="width:150px" /></P></td>
                                               </tr>
                                               <tr>
                                                       <td><P><span>Password :</span></P></td>
                                                       <td><P><input name="password" type="password" value=""
style="width:150px" /></P></td>
                                               </tr>
                                       </table>
                                       </div>

<INPUT TYPE=HIDDEN NAME="SMENC" VALUE="ISO-8859-1">
<INPUT type=HIDDEN name="SMLOCALE" value="US-EN">
<INPUT type=HIDDEN name="SMRETRIES" value="1">
<input type=hidden name=target value="$$target$$">
<input type=hidden name=smquerydata value="$$smquerydata$$">
<input type=hidden name=smauthreason value="$$smauthreason$$">
<input type=hidden name=smagentname value="$$smagentname$$">
<input type=hidden name=postpreservationdata value="$$postpreservationdata$$">


                                       <div class="formRow">
                                       <P><input name="submit" type="submit" value="Login" />
                                       <input name="Reset" type="reset" /></P>
                                       </div>
                   </form>
like image 148
John Oleynik Avatar answered Nov 14 '22 12:11

John Oleynik



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!