Changing reset password message

Hi.

I would like to know if it is possible to customize the message for the reset password widget. I want to reset my users’ password, and show them a dialog with my own message (not Okta’s) the next time they sign in.

@amir,

You can override the Widget’s text by passing in custom i18n configuration:

const widget = new OktaSignIn({
  baseUrl: 'https://{yourOktaDomain}',
  i18n: {
  // Overriding English properties
  'en': {
    'password.reset': 'Reset your super secret password',
    'password.oldPassword.placeholder': 'Old super secret password',
    'password.newPassword.placeholder': 'New super secret password'
  }
});

See login.properties for a list of all customizable props.

Looks like the solution to the problem :slight_smile: