tom
2
Hi @James-Distology
You should be able to override using the i18n config for the widget:
var oktaSignIn = new OktaSignIn({
baseUrl: 'XXXXX',
clientId:'XXXXX',
redirectUri:'http://localhost:3000',
authParams: {
display: 'page',
responseType: 'id_token',
responseMode: 'form_post',
scopes: ['offline_access','email','profile','openid']
},
i18n: {
en: {
'errors.E0000004': 'Invalid Credentials'
}
}
});
You can see the keys for the i18n properties that you can override here: