Redirection to SSo for Public pages on portal

Rosy14
Tera Guru

Hi,

The sc_cat_item page is set to public but it still redirecting to SSO for not logged in user. 

Expected : I am opening a public catalog item it should open with out SSO and for non-public catalog it should redirect. How to configure this?

 

1 ACCEPTED SOLUTION

Rosy14
Tera Guru

I have did below steps to configure this:

 

1. Created a public SC cat item page.

2. On SC Category Page widget I added below server script in place of  item.page = 'sc_cat_item';

if(gs.getSession().isLoggedIn())
            item.page = 'sc_cat_item';
else
             item.page = 'sc_cat_item_public';
 
This is because From SC category pade we are directing to sc_cat_item page.

 

View solution in original post

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@Rosy14 

is that catalog item marked as Public as well via User criteria

check this

How to route non-logged in user to catalog item in service portal using catalog item link 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Rosy14
Tera Guru

I have did below steps to configure this:

 

1. Created a public SC cat item page.

2. On SC Category Page widget I added below server script in place of  item.page = 'sc_cat_item';

if(gs.getSession().isLoggedIn())
            item.page = 'sc_cat_item';
else
             item.page = 'sc_cat_item_public';
 
This is because From SC category pade we are directing to sc_cat_item page.