Users assigned the relevant role will be automatically redirected to a new screen after logging in.

bonsai
Mega Sage

I was looking for a way to automatically log in to the employee center using SSO.

 

https://www.servicenow.com/community/sysadmin-forum/i-want-to-enable-m365-users-to-log-in-to-the-emp...

 

 

However, the method you suggested didn't work.
Automatic login to the Platform is possible.

Only the requester will log in via SSO, and we plan to assign a custom role to the requester.

Is it possible to automatically switch the screen to the Employee Center after a user with the custom role assigned to the requester logs into the Platform?

Since the requester uses the Platform, we only want the screen to transition upon successful login.

The requester will primarily use the Employee Center, so the Employee Center should be the initial screen.

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron

@bonsai 

you can take user to your portal/any page when they login using SPEntryPage

Role based redirection with SPEntryPage 

also check this

6 ways to set up your Service Portal for redirection SUCCESS! 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

7 REPLIES 7

@bonsai 

can you explain what should happen? step by step

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

1. A user with the custom role (u_custom) accesses the Employee Center.

2. They are automatically logged into the Employee Center via SSO, and the Employee Portal's top page is displayed.

While the above is the desired behavior, currently, it's not possible to skip the Employee Center login; users must manually enter their user ID and log in via SSO.

With the platform, login via SSO is automatic, and the user is redirected to the platform's top screen.

As an alternative, I've considered automatically redirecting to the Employee Portal's top screen upon logging into the platform.

Thank you!

It's resolved!

And I'm sorry... The SSO wasn't working because the URL I was accessing wasn't "https://~.service-now.com/" but had extra characters after the "/".