Issue with SNOW redirecting to blank Google homepage

Mat Gdowski1
Tera Contributor

Hello all!

I'm hoping for a little help on an issue I'm working on for my client.  In our TEST environment (Quebec), if the user has been logged in past the timeout, they get logged out.  No problem there.  However, if they refresh the page, it will briefly flash a logon page and then automatically redirect to a blank Google page.

Has anyone ever had this issue before?  If so, how do we fix this so that it will go back to the proper login page and not redirect to the Google homepage?

This also happens if someone saves a link or bookmark/favorite with an expired session ID in the URL.  If you click the link, it will say that the session is expired, briefly flash the proper login page and poof, goes right to the blank Google page.  This is confusing the heck out of the client, so I'm hoping to correct this.

Any thoughts to try or fixes would be greatly appreciated.

Thank you!
Mat G.

3 REPLIES 3

Marc Mouries
ServiceNow Employee
ServiceNow Employee

To fix the issue, check out the "LogoutRedirect" installation exists and change below line :-

var gotoURL = "http://www.google.com";

to

var gotoURL = "https://your_instance.service-now.com";

Marc (or anyone),

Do you happen to know where the xxxx.do files are kept regarding SNOW?

Our page keeps redirecting and it appears it is running "auth_redirect.do" and that is referencing it to www.google.com, but all of my info appears changed regarding the redirect that you mentioned above.

Also, this is from a link to view a form.  If you click on the link, it opens the browser, shows the portal login for a quick few seconds and then redirects to google instead of the login page.  

When I looked at the history in the browser, I captured the redirect URL and the main part of it is shown above regarding the .do file.  I tried to search for this in our instance, but nothing there.  If I type it in directly, it just says I can't access that file (yet I'm an admin).  So, I was wondering if I could find the location of the file and take a look at it and maybe even be able to change that redirect file to the proper link (as shown above).

Thanks all!

Mat G.

Mat Gdowski1
Tera Contributor

Marc - Thank you so much.  I will go in and check that right now.  Much appreciated!