Remove a related link from portal profile options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2022 07:10 AM
Hi, hoping for a quick solution....
We are using CAS authentication for all of users. We have a configured the system so that if a user as no role in servicenow, they will be taken directly to the portal. If they have any role, they will be presented with the platform/native views for servicenow to manage work.
We also have some servicenow accounts for some of our administrative staff with multi-factor authentication that are not authenticating via CAS.
Our users are seeing an option on the portal under My Profile that allows them to Configure Multi-Factor Authentication with Servicenow. We would like to remove / hide this related link from the profile options since it is not applicable to our implementation as our CAS environment handles the two factor set up.
Any suggestions on how to accomplish this?
thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2023 07:07 AM
Hi Tony, you don't need to clone the widget. It's actually quite easy to remove the link with the caption "Configure Multi-Factor Authentication":
Open the System Property "glide.authenticate.multifactor" and set it to false.
You can follow this link for your instance: https://instance.service-now.com/nav_to.do?uri=sys_properties.do?sys_id=562c1882d713310091204187ed61...
Background:
The OOTB Widget "User Profile" includes another OOTB Widget "User Preferences" and there in the HTML you can find this condition: ng-if="data.preferencesEnabled.mfaEnabled"
In the Server Script of that Widget you can also find the value assignment: mfaEnabled: gs.getProperty('glide.authenticate.multifactor', "false") == "true"