Portal Login Not Working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2017 04:30 AM
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.
I am expecting to get a popup login menu similar to this on the portal:
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2017 05:19 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2017 05:44 AM
Hi Andrew:
1. Login Rules:
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2017 06:05 AM
"tescoModalLogin" is, in this case, a template. Generally, templates are in a related list attached to the widget record. :
First, find the header:
then, find the templates list attached:
You should see "TescoModalLogin" located there. If not, that may well be the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2017 07:44 AM
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