Portal Login Not Working

Sam Ogden
Tera Guru

Hi All,

The login button on the menu on the portal I am configuring is not taking me to a login page for the portal but instead re-directing me to the login page for the desktop SN instance.   Not sure what configuration I am missing.

find_real_file.png

find_real_file.png

find_real_file.png

I am expecting to get a popup login menu similar to this on the portal:

find_real_file.png

If I click on either the Raise and Incident or Submit Request button it takes me to a login page as expected.

Any help on what configuration I am missing will be greatly appreciated

Thanks

7 REPLIES 7

Community Alums
Not applicable

Things I would check:


  • Do you have any login rules configured?
  • Have you set the login page in the portal record?
  • Do you have any scripts set up to redirect users?
  • Have you made the portal login page public?
  • Have you disabled any legacy configurations around handling logins?

Hi Andrew:



1. Login Rules:


find_real_file.png


2. Login Page set to csm_login


3.I've not set any scripts up, where would these sit if there are any?


4. csm_login is set to public


5.Not sure what these are and where they are hdl.



Our implementation partner did create a portal as a demo, which I have been working from.   On this demo portal the login is working as expected.   I've been having a look and within their header there is the following code:



$scope.openLogin = function () {


  $scope.modalInstance = $uibModal.open({


    templateUrl: 'tescoModalLogin',


    scope: $scope


  });


};




It seems to be that my portal page is also trying to find the 'tescoModalLogin' but can't find the page, what do I need to amend on this?



Thanks


Community Alums
Not applicable

"tescoModalLogin" is, in this case, a template. Generally, templates are in a related list attached to the widget record. :



First, find the header:



find_real_file.png



then, find the templates list attached:



find_real_file.png



You should see "TescoModalLogin" located there. If not, that may well be the problem.


Thanks for the above, I've found what was present on the demo portal and been able to add this to mine and the login button now works as expected.


I do have a further question around customers logging in and not sure if you could help?



We are going to have multiple portals (one for each of our clients). E.g.



xxx.service-now.com/portalA - For Customer 1


xxx.service-now.com/portalB - For Customer 2


xxx.service-now.com/portalC - For Customer 3   etc.



How can I configure that if a customer entered the incorrect suffix and tried to login that it would not allow them to login?



The suffix is going to be the customers company name.



Thanks