
j5v7c (j5v7c) asked a question.

We use cookies to provide the best website experience and to help understand marketing efforts. We may also share data with ad partners to reach potential customers across the web. To learn more, visit our Privacy Policy. Click here for Your Privacy Choices. You may also opt out of this sharing by signaling your preference via GPC, applicable only to the browser signaling the opt-out.
More information
These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information.
These cookies enable the website to provide enhanced functionality and personalisation. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance.
These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.
Select All

We use cookies to provide the best website experience and to help understand marketing efforts. We may also share data with ad partners to reach potential customers across the web. To learn more, visit our Privacy Policy. Click here for Your Privacy Choices. You may also opt out of this sharing by signaling your preference via GPC, applicable only to the browser signaling the opt-out.
More information
These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information.
These cookies enable the website to provide enhanced functionality and personalisation. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance.
These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.
Select All
- OktaSignIn()
constructor are used to configure the functionality and text labels of the Okta Sign-In Widget. An example of how to configure- OktaSignIn()
is below, followed by a full list of all of the features and text labels that you can use to configure the Okta Sign-In Widget. Example Below is a working example of a customized version of the Okta Sign-In Widget. You can see what these customizations do by copying this code into your- login-to-okta.html
example file and reloading the page in your web browser. A full list of the supported customization options are below.Hi Adrian,
I think I may have to open a support ticket. From what I can tell, the issue is that the widget handles a status of MFA_REQUIRED from the authn call correctly. However, this only applies if Okta can determine the user must always provide MFA on the main Okta login. If a subset of apps require MFA, the authn API will not force MFA because it may not be needed. Since this is a single page application, the widget calls the authorize API to get a token. Because the app requires MFA and MFA was not performed on the session yet, the authorize API returns the error status, 'login_required'. This is because the authorize API has the client_id parameter, so it knows what app is to be accessed and what the application requirements for access are.So, the problem is that the widget should be able to handle the 'login_required' error from the authorize API for a single page application. The obvious solution would be to put up the MFA form as if MFA_REQUIRED was returned on the authn API. This may suffice most of the time, but has issues if the user has not already been enrolled into the MFA. So, the obvious solution may have a caveat (e.g. only works if the user is already enrolled), but would be a huge step in the right direction.