You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It has been reported that from v7.11.1this issue came back. I can confirm it happens in v7.15.1. Even in production environment it says
The Okta Sign-In Widget is running in development mode.
When you are ready to publish your app, embed the minified version to turn on production mode.
See: https://developer.okta.com/code/javascript/okta_sign-in_widget#cdn
And while we appreciate the tip of using a minified version provided, we'd prefer to minify it using our own bundlers for various reasons@fredsvanelli specified.
So my question is, is there a way to trigger production mode programmatically? I've seen some DEBUG global variable in the source code, but was unable to provide it to the module. If not, can this be added perhaps in the new OktaSignIn() configOptions or even automatically detecting process.env.NODE_ENV === 'production'?
Describe the feature request
It has been reported that from v7.11.1 this issue came back. I can confirm it happens in v7.15.1. Even in production environment it says
And while we appreciate the tip of using a minified version provided, we'd prefer to minify it using our own bundlers for various reasons @fredsvanelli specified.
So my question is, is there a way to trigger production mode programmatically? I've seen some DEBUG global variable in the source code, but was unable to provide it to the module. If not, can this be added perhaps in the new OktaSignIn() configOptions or even automatically detecting
process.env.NODE_ENV === 'production'
?New or Affected Resource(s)
Okta signin widget
Provide a documentation link
https://developer.okta.com/code/javascript/okta_sign-in_widget#cdn
Additional Information?
No response
The text was updated successfully, but these errors were encountered: