Service Portal on mobile redirecting to \$m.do

brianrichards
Tera Guru

The home page of our portal is public, so when a user enters the base URL in a mobile browser (instance-name/ss) they see it just fine, and when they navigate to a non-public page they are redirected to SSO as expected. After authentication, however, they are popped back to $m.do. Which is not the desired behavior of course.

I've made just a few modifications to the login behavior of our instance with regards to Service Portal: I have updated SPEntryPage with our portal suffix and I've also added the glide.entry.first.page.script system property.

I'm guessing I have to further modify SPEntryPage, but how so?

Thanks,

Brian

7 REPLIES 7

brianrichards
Tera Guru

To flesh this out, I had been observing this behavior as a roled user. After attempting to login as a non-roled user I land on a 'you have been logged out' page, making this an even more problematic situation.


Michael Ritchie
ServiceNow Employee
ServiceNow Employee

There is a script include called "DetermineMobileDevice" that determines whether to use the mobile UI or not.   You can edit it to your liking.


I've noticed something similar when testing Multifactor Authentication.



On Smartphone I've found 2 behaviours: with Opera and Chrome I'm redirected to $m.do#/home and in these cases strangely Multifactor doesn't work, while with Firefox I'm redirected to navpage.do and afterward Multifactor Auth works.


Community Alums
Not applicable

Return to desktop view by typing this next to "<yourinstancename>/navpage.do?sysparm_device=doctype"