Use
  • Currently, we have implemented SSO feature for few services.
  • We have introduced a new field on Credential as Post Data Format. 
  • This is to facilitate a user to login to desired application in one click.
  • This is supported for only Service as Custom.
How to use this feature?



  • For using this feature, we need to create post data for required application/service.
  • Post Data Format field on Credential is activated only when Service is selected as Custom. For services other than custom, this field is disabled.
    •  How to create post data?
      • Open the login page of desired application. Right click into Username text box & select inspect element option. 
      • Copy the HTML code for this Username field. Paste this code into an editor.
      • Similarly copy HTML code for Password as well. Paste this code into an editor.
      • Copy form data from HTML code & paste it into editor.
      • Remove the formatting from the copied data.
      • Enter form id as - form id="epsLoginForm"
      • Data should be arranged as shown below.
    • Example-
      • Let us create post data for godaddy.com (You should have a test account in order to verify functionality of this feature)
      • Navigate to godaddy.com
      • Right click into Username box & select inspect element option.
         
      • HTML code for this will be displayed below. Copy this code & paste it into an editor.
        • <input tabindex="9" title="Enter Username" type="text" name="loginname" id="loginname" value="" class="inp_iphone">
      • Remove the code used for formatting.
        • <input title="Enter Username" type="text" name="loginname" id="loginname" value=">
      • Similarly, for password field we will obtain HTML code.
        • <input tabindex="10" title="Enter Password" type="password" name="password" id="password" value="" class="inp_iphone">
        • <input title="Enter Password" type="password" name="password" id="password" value=">
      • Now also copy the form data from HTML code of the page. Remove the unwanted formatting code.
        • <form style="margin: 0;" name="pchFL" id="pchFL" method="post" action="https://idp.godaddy.com/login.aspx?ci=9106&amp;spkey=GDSWNET-M1PWCORPWEB108">
                                        <div class="login-box username">
                                        <div class="prel" style="width:120px;height:24px">
                                        <div id="pct_undiv" title="Enter Username">Username / Customer#</div>
                                        <input tabindex="9" title="Enter Username" type="text" name="loginname" id="loginname"                               value="" class="inp_iphone">
                                        </div>
                                        </div>
                                        <div class="login-box password pc_clear" style="_height:20px;">
                                        <div class="prel" style="width:115px;height:24px">
                                        <div id="pct_pwdiv" title="Enter Password">Password</div>
                                        <input tabindex="10" title="Enter Password" type="password" name="password" id="password" value="" class="inp_iphone">
                                        </div>
                                        </div>
                                        <a title="Log In" class="fl pc-login-button pc-12px-button" id="loginBtn" href="">Log In</a>
                                        <input type="hidden" name="validate" value="1">
                                        </form>
  • Also remove any HTML code used for formatting. Enter form id as given below.
    • <form id="epsLoginForm" method="post" action="https://idp.godaddy.com/login.aspx?ci=9106&amp;spkey=GDSWNET-M1PWCORPWEB154">
  • Arrange the data as below. Enter the tag for submitting the values we have entered. i.e.  <input type="submit" value="Login"/>
                                <form id="epsLoginForm" method="post" action="https://idp.godaddy.com/login.aspx?ci=9106&amp;spkey=GDSWNET-M1PWCORPWEB154"> 
                                <input type="text" name="loginname" id="loginname" value="">
                                <input type="password" name="password" id="password" value="">
                                <input type="submit" value="Login"/>
                                </form>
  • Create a Credential for a Collection. Select Service as Custom. Enter the post data we have created into Post Data Format field. Enter the desired username & password into post data format. Save this Credential.
  • Click on the SSO button for the Credential. You will be logged into your account of godaddy.com