How to avoid having to log on to ServiceNow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2017 12:36 PM
I am hoping someone will point me in the right direction. Sorry, I have no idea what the technical jargon is for this requirement.
We have multiple network domains.
1 is for "Club User" and they have access to anything "club user" has been given
permissions to and the other is our corporate network and we require users to
sign in as themselves for that as there are various permission levels based on job title or group.
What we want to do is eliminate the requirement to log on to ServiceNow.
If the user is logged in as Club User, we want them to be able to create incident on behalf of the location.
We don't care who submitted it, just about what club it's for.
But, we also want to have it where one can log in as themselves and see the history of their personal
requests. (Maybe make them enter their name as the requestor so we have it even though they submitted as "Club User")
Is there a way we can write an "On load" script that looks at the user and then allows access without having to log on?
This would make it a more seamless user experience for our organization and may help me to get more users "using".
Can anyone help me? Even wording it properly would be a good start but I hope to get some ideas too!
Thanks!
Carl

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2017 05:49 AM
Hi Carl,
You should be able to do a REST integration with a user name and no password. If you use Basic Auth you can either configure a profile or set it in script using setBasicAuth() method.
Example:
rm.setBasicAuth('club_user', '');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2017 08:46 AM
Hi Chuck,
So where do you envision I use this rm.setBasicAuth('club_user', '');?
I have an idea based on what you wrote but not sure I am on the same page.
Rather than building a form on SharePoint and having to build a service to get it in to ServiceNow, couldn't I just create a user account on our user table, and then have a script that would recognize the user is a "club user" and log them in using the new Club User Account? So the sign in would be done by the script and the user wouldn't even know they were signing in.
The users will be logged on to our club user domain as "Club User" but that account requires no password so I can't introduce a new one.
Would an on load client script work on the sign on page?
Something like below:
A Club User clicks on a link from the intranet that is pointed to a record producer. They wont be logged in.
The login page "on load" would recognize that the user is logged on to our club domain. Then it would use the new Club User Credentials to log on to the platform and be able to fill out the record producer.
Remember these are all self service users that just need to create incidents on behalf of our clubs. If they have personal needs, they would log in as themselves
If I knew the way to word it properly, it seems like something I could do without a partners help.
Thanks
Carl