gaidem
ServiceNow Employee
Options
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
04-01-2011
01:47 PM
After a stressful week of being uncertain I would be able to implement a solution allowing guest users to be able to access the CMS, Joshua Personius and Andrew Kincaid came to the rescue!
Working with Andrew I was able to implement a solution that allowed this:
Caution:
The customization described here was developed for use in specific Service-now instances, and is not supported by Service-now Customer support. This method is provided as-is and should be tested thoroughly before implementation. Post all questions and comments regarding this customization to our community forum.
Within the SAML 2.0 Login Script
Name:SAML2SingleSignon
This is the customization within the process function:
process : function() {
var saml_passed = true;
// SAML Exception for ESS
//Capture the URI being accessed
var URI = (request.getRequestURI()) ? request.getRequestURI().toString() : '';
gs.log(URI);
//if trying to access a certain URI...
if (URI == '/Tech/generic_incident.do'){
//bypass SSO and return this user who needs to be in the user table
return 'ess_submiter';
}
// END SAML EXCEPTION
4 Comments
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.