Skip to main content

Hi all

I have a query regarding the portal login page.

I work in a K-12 environment. I’ve set up SSO for agents and just creating it for staff (contacts)

We only want staff to use SSO (Azure SAML) to login to the support portal. I want to remove the ‘Log in to support portal’ box with the email / password fields and just have the Sign in with SSO button as the default login page.

The current email / password box is redundant and will only confuse staff. 

How can I remove it?

Any help would be appreciated.

Thanks!

It sounds like what you’re looking to do is hide these extra login fields, and only display the “Are you a customer? Login here” link, which goes to SSO.

Unfortunately, I don’t think there’s a way to do this. I pursued this question in the past (I looked and wasn’t able to find the support ticket for reference) because I have the same concern, that it’s redundant and confusing, but I’ve never been able to track down a way to get rid of that.


I don’t know if it’s quite what you’re looking for and we use Freshservice not Freshdesk, but in Admin service desk security settings you can limit login policy to just SSO or even redirect to SSO by default. We don’t have redirect set, but we only allow SSO login so clicking login on our custom portal url will automatically go to Azure AD login. I believe there’s a similar setting in Freshdesk.

 

 


Me too. It is causing confusion for our customers


Greetings @spencerporch @tris.h. Thanks for reaching Freshworks community. 

 

I understand that you would like to customize your portal to display the SSO login page instead of the email/password login. The desired changes can be implemented on a higher plan, beginning with the Pro plan.

 

Kindly navigate to Admin > Portal > Customise Portal> Layout & Pages>Portal Pages>Login Page.
Please add the below command snippet, which should help you in getting the desired result.


<script> jQuery(document).ready(function(){  //document.ready begins jQuery('.login-form p').remove() jQuery('.control-group').remove() });  // document.ready ends </script> 

 

Also, include the below script in the head section under Portals<Customize portal> Pages> Layout > Head:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>

 

Please let me know if this works. 

 

Thank you.
Sujitha Dhanaseelan.
Learn something new today, get recognized for your contributions, stay on top of product updates and build meaningful connections in our Freshdesk community. Fresh ideas, quality service


Anyone figured out how to do this yet? Any help would be greatly appreciated. I am trying to accomplished the same as the OP here and remove the ‘Login to Support Portal’ box on our login page.

@Sujitha Dhanaseelan I tried your approach but it did not work, nothing changed on my login page unfortunately.

Ideally would like the below screenshot on our landing login page, with just the 2 options to login as agent or customer which takes them through SSO:
 

 


@KarlGoddard I think I may have a fix, what I did was remove this section from the portal editor.

Go to Admin > Portals > Select ‘Customize’ on your Portal > I then selected ‘Clone and Edit Theme’

Under the Portal Customization page > Pages > General > Login Page

Inside the code editing section, remove the following:

    <div class="form">
        {% snippet login_form %}
        {% if portal.has_alternate_login %}
          <div class="fw-social-media-login row">
            <div class="col-md-8 mx-auto">            
              {% snippet social_login %}
            </div>
          </div>
        {% endif %}

This should remove the Login to Support Portal section:

 

 


Hi @KarlGoddard @moomoo123 

 

Greetings from Community Forum

 

To  hide the default username and password section with the below code under admin -> portal -> customize portal ->pages -> login page

 

<script>jQuery(document).ready(function(){jQuery('div.form').hide()}); </script>

 

Admin -> portal -> customise portal ->pages -> header

 

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>

 

Let me know if that helps.


Reply