The Zurich release has arrived! Interested in new features and functionalities? Click here for more

how the sso login page by default. how to show alert for unauthorized users that says go to SSO

Raj12341
Tera Contributor

Hello Developer ,

client requirement-

how the sso login page by default. how to show alert for unauthorized users that says go to SSO

 

Raj12341_0-1708022985145.png

Client want that SSO login_locate_sso.do should be default page for those user who do not have Admin role.

suppose if a user does not has admin role and he try to login so for that user login_locate_sso.do should be default page and alert should be shown . Alert line should be please login via SSO.

 

and if a user has admin role so that user can login via user id and password.

Basically if user who do not have admin role so for that user SSO should be default page .

Like this.

Raj12341_0-1708023449650.png

 

How we can Implement.?

Thanks 

 

8 REPLIES 8

Robbie
Kilo Patron
Kilo Patron

Hi @Raj12341 - Did you see my response below on how this can be achieved?

 

To help others (or for me to help you more directly), please mark this response correct by clicking on Accept as Solution and/or Helpful.

 

Thanks, Robbie

 

Raj12341
Tera Contributor

Hey Guys ,

I have done this , need to edit in installation exit , login record.

Installation exit is a module under system definition.

Could you please explain what you did?

Kr,
Mathias

Roushdy
Tera Contributor

1. Navigate to Multi-Provider SSO > Identity Providers

2. Get the sys_id of the Identify Provider

3. Navigate to system property 'glide.authenticate.sso.redirect.idp'

4. Add sys_id to the Value field of the system property 'glide.authenticate.sso.redirect.idp'

 

Reference: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0720812