<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D51Y00006WNAHsSAPOkta Classic EngineAdministrationAnswered2024-04-30T09:44:19.000Z2019-08-08T16:03:00.000Z2020-07-29T13:20:43.000Z

2xynt (2xynt) asked a question.

How to update Sign in button value for display

When I add my own custom login page, I'm able to update everything I need except the text on the button which says Sign In. I would like to update that for my custom login page. How can I update that?


  • Hello Shashank,

    Thank you for posting the question!

    I believe you are referring to the Okta Custom Sign-in widget, if so, please refer to the below link for more information:

    https://developer.okta.com/code/javascript/okta_sign-in_widget/#customizatio

    If this does not help you and you need more assistance, please do not hesitate to create a Support ticket and we'll dive deep into it for you.

     

    Thanks,

    Aydel

    Expand Post
    Selected as Best
  • 2xynt (2xynt)

    Hi Aydel,

     

    We are already using custom sign in page in order to customise our login page. It already provides us tools to update all other placeholder texts or texts to display with options, but just to change the display text on button we need to include Okta Custom Sign-in widget?

    Isn't there a better way to update that?

    When everything else already has custom options to edit the display text, why does sign in button does not have one?

     

    Expand Post
  • Hi Shashank,

    Can you please clarify what custom sign in page you are referring to? Are you referring to the Admin settings? If you need further assistance, please open a support ticket so we can better assist you and take a look at your Org if we need to.

     

    Best,

    Aydel

    Expand Post
  • 2xynt (2xynt)

    Hi Aydel,

     

    If you navigate to Settings -> Customization and look for a section called Sign-In Page where it provides an easy way to update text that we would like to see on login page(such as Sign In, labels, etc). I cannot find an option among them to update the text it displays on sign in button. Is there a way to update the sign in button text?

     

    We already have a Custom URL Domain setup.

    Expand Post
  • 5zt8m (5zt8m)

    Hi Shashank,

    You cannot change the text on the Sign in button from the customization page. If you want to do further customization, you'l need the Custom Sign-in Widget. I hope that helps.

  • VeliborD.24558 (Customer)

    Hi,

     

    I was able to do this. If you are using custom (Okta hosted) sign in page and not the sign in widget within your app, you can change the "Sign In" button text by changing the i18n property using javascript (in Okta's html editor) like so:

     

    // "config" object contains default widget configuration

     // with any custom overrides defined in your admin settings.

     var config = OktaUtil.getSignInWidgetConfig();

    // update the login button text after the config is initialized

    config.i18n.en['primaryauth.submit']="Login"

     

    For a list of all available i18n labels refer to this:

    https://github.com/okta/okta-signin-widget/blob/master/packages/@okta/i18n/src/properties/login.properties

    Expand Post
This question is closed.
Loading
How to update Sign in button value for display