We help IT Professionals succeed at work.

ADFS 2.0 Sign in page add hyperlink

How do you add a hyperlink to the ADFS Sign in portal page?
Comment
Watch Question

Kyle AbrahamsSenior .Net Developer

Commented:
In the adfs\ls directory where you installed the ADFS (or the proxy) there's a formsignin.aspx.  Add your hyperlink there.

Author

Commented:
I want to add a disclaimer that's a hyperlink so where exactly would I place this?
Kyle AbrahamsSenior .Net Developer

Commented:
anywhere you want on the formssignin.aspx page.  The ASPX page is a normal application page.

Author

Commented:
Doesn't work. Researching online and its pointing to edit the masterPage.master.cs
Kyle AbrahamsSenior .Net Developer

Commented:
The master page is loaded with the content page.  

See below for the content page link.

<asp:Content ID="FormsSignInContent" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="GroupXLargeMargin">
     <asp:Label Text="<%$ Resources:CommonResources, FormsSignInHeader%>" runat="server" />*</div>
    <table class="UsernamePasswordTable">
        <tr>
            <td>
                <span class="Label"><asp:Label Text="<%$ Resources:CommonResources, UsernameLabel%>" runat="server" /></span>
            </td>
            <td>
                <asp:TextBox runat="server" ID="UsernameTextBox" ></asp:TextBox>            
            </td>
            <td class="TextColorSecondary TextSizeSmall">
                <asp:Label Text="<%$ Resources:CommonResources, UsernameExample%>" runat="server" />
            </td>
        </tr>
        <tr>
            <td>
                <span class="Label"><asp:Label Text="<%$ Resources:CommonResources, PasswordLabel%>" runat="server" /></span>
            </td>
            <td>
                <asp:TextBox runat="server" ID="PasswordTextBox" TextMode="Password" ></asp:TextBox>            
            </td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td></td>
            <td colspan="2" class="TextSizeSmall TextColorError">
                <asp:Label ID="ErrorTextLabel" runat="server" Text="" Visible="False"></asp:Label>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <div class="RightAlign GroupXLargeMargin">
                    <asp:Button ID="SubmitButton" runat="server" Text="<%$ Resources:CommonResources, FormsSignInButtonText%>" OnClick="SubmitButton_Click" CssClass="Resizable"/>
                </div>
            </td>
            <td>&nbsp;</td>
        </tr>
    </table>
<span style="font-size:.9em">
	<span runat="server" id="ExternalUserAlert"> 
                       <a href="https://google.com">click here</a>
        </span>
</span>
</asp:Content>

Open in new window

Author

Commented:
Doesn't work.  I just tried your sample and it did not work. Most of the edits I've done has been on the Master Page but it still won't take the hyperlink.
Kyle AbrahamsSenior .Net Developer

Commented:
are you sure that you're making the change on the correct server?  If there's a farm are you editing it on all servers?

Also try clearing your cache?  

the master page is a web page with placeholders for content pages so you get the same look and feel.  Both the master page and the formssigninpage will get loaded and run.

Author

Commented:
We only have one server and I clear the cache and restarted the services. Text and hyperlink doesn't show up and it breaks the other SSO logins.
Senior .Net Developer
Commented:
Not sure what to tell you.  Microsoft says you can modify the pages directly - which work here in our environment.  What kind of error are you getting?

https://msdn.microsoft.com/en-us/library/ee895356.aspx

and

https://msdn.microsoft.com/en-us/library/ee895357.aspx

Author

Commented:
This didn't resolve my issue but thanks for helping.