This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Reverse Auth - Custom Form Template

I have a task to create custom form template (in a lab environment first), for Exchange OWA login.

Does anyone knows where is default storage location for custom uploaded files and predefined ones (default_template.html and default_stylesheet.css)?



This thread was automatically locked due to age.
  • Hi, 

    That link somehow depends on the name of the reverse Authentication Profile. For example if I call profile "Owa reverse", link to css would be:

    [FONT="Courier New"]REF_RevAutOwaReverse/style.css" />[/FONT]

    You can find it easy if you first choose "Default Template" when creating the profile, access that login form and view HTML source from the browser (for example in IE: View -> Source).

    Another tag  [FONT="Courier New"][/FONT] is dependent on Frontend realm name in the profile, so also take note about them.
  • As a note, one can use the variable '/your_style_sheet_name.css' and the correct information will automatically fill when loading the page.
    This also works for uploaded js, img, etc.

    As well, '' can be used for the form action...
  • Thanks to FrancWest for uploading Exchange 2013 authentication template:
    Reverse authentication template for Exchange 2013 

    I have modified it for a client for SharePoint publishing with reverse auth, looks cool...[;)]

    You can download template here:
    Reverse Authentication Template for Sharepoint 
  • Hi,

    First of all, thank ou for this post that helped me to change the form.
    I would like to change the small logo at the top of the page. It is the Sophos logo that is displayed. I search a little in the sophos site but i found nothing ver explicit.
    I saw that but i don't know how i can use it:
    https://www.sophos.com/fr-fr/support/knowledgebase/118958.aspx
    Global Template Variables
    These variables can be used in all templates and cause the following to be displayed in messages:
         : The company logo that is specified on the Global tab.


    BR,
    Alex
  •  variable points to Management -> Customization -> Company logo picture .
  • I just use my favorite single page web authoring tool to make something that looks awesome while still including a username/password form then make a copy of the index.html, copy it to something different that will be used as the target in the Sophos template.

    You just have to change all the src="/blah" and href="/foo"
    to read src="<?assets_path?>/blah"
    and href="<?assets_path?>

    And then modifying the form to use something like this:
    ```
    <form action="<?login_path?>" method="POST" class="form-horizontal" role="form">
    ```
    and make sue the username and password fields are defined on the backend code as:
    ```
    <input type="text" class="form-control" name="httpd_username" id="httpd_username" placeholder="Username">
    <input type="password" class="form-control" name="httpd_password" id="httpd_password" placeholder="Password">
  • I've just did this too. Mine was from scratch and can easily be inserted into any webpage.

    Just simply add the form code below in between the <body> tags for the html page you upload. I used Coffeecup html editor (it's free for personal use)

    The bit of code just above the form code is where you place you images. I haven't found out yet how to put an error code in eg Invalid credentials if the wrong password is input.

    <div align="center"> <img src="<?assets_path?>/whitestrand.jpg" width="261" height="229" alt="" title="" /></div>


    <!-- Start of FORM -->
    <form method="post" action="<?login_path?>">

    <div align="center">Username <input type="text" name="httpd_username" value=""></div>
    <br>
    <div align="center">
    <div align="center">Password <input type="password" name="httpd_password" value=""></div>
    <br>
    <br><input type="submit" name="submit" value="Login">


    </form>
    <!-- End of FORM -->