I utilized Kerberos for single sign-on (SSO) in my project. However, when making a request from the Vue.js client application to the Kerberos server, it does not work properly in Firefox due to disabled Kerberos support by default. This requires users to manually enable Kerberos in Firefox by accessing the browser configuration window through entering 'about:config' in the address bar. Subsequently, they must specify the addresses of the web servers for which Kerberos authentication is intended in the parameter 'network.negotiate-auth.trusted-uris', which can be inconvenient for users.
QUESTION: Is there a way to manipulate the Firefox browser settings through the Vue.js application upon page access?
Vue.JS:
import axios from 'axios';
export const APIAuth = axios.create({
baseURL: 'kerberos_server_url',
withCredentials: true,
headers: {
'Content-Type': 'application/x-www-form-urlencoded'
}
})