How to modify the Service Portal Logout URL?

richelle_pivec
Mega Guru

When I am logged into the Service Portal and click on the menu drop-down to logout, the URL that it takes me to is not valid and it refreshes to the homepage of the Service Portal. It looks like the user is still logged in, but the next action they take will give them a pop-up message telling them they are not logged in. And then they will be redirected back to the Login screen.

I have found the spot in my cloned Theme where it references the Portal Logout, but I have no idea how it works and why it is redirecting to "nmh" and not "nmh_landing."

find_real_file.png

 

This URL needs to go to "nmh_landing." "nmh" is the url suffix of the portal, but "nmh_landing" is the url of the login page.

find_real_file.png

@Allen A, if you have a moment, I know you're an expert on these things... 

Thanks,

Richelle

1 ACCEPTED SOLUTION

palanikumar
Giga Sage

Hi,

Are you using SSO for authentication? in that case check the External logout redirect of your identity provider.

If not, then refer System Definition > Installation Exits. This list has logoutRedirect script. Check whether this is updated.

Thank you,

Palani

Thank you,
Palani

View solution in original post

5 REPLIES 5

palanikumar
Giga Sage

Hi,

Are you using SSO for authentication? in that case check the External logout redirect of your identity provider.

If not, then refer System Definition > Installation Exits. This list has logoutRedirect script. Check whether this is updated.

Thank you,

Palani

Thank you,
Palani

Thank you! Changing the URL in the Installation Exit LogOut Redirect Script to our Login URL worked perfectly.

Richelle

Hi Richelle,

 

I am facing the same issu, will you share some steps and code snippet what you made exactly to work.

It will be more helpful.

Thanks in Advance

Jiyas

Hi

will you help us with the changes, facing the same issue.

 

regards

Jiyas