Using okta-auth-js in Okta-hosted login page


I’m a frontend dev building an Okta login page for my company. Okta widget is great, but I need to a) add another field to the login form and b) design it by the product requirements.

I found how to add a field to the widget and how to customize the CSS; although it’s still challenging, given the required design.

Nevertheless, I’d still like to keep So my question is - can I use okta-auth-js and write my own custom HTML for the page, while hosting the page at Okta? Won’t there be some unexpected behaviours?


You can customize the hosted Sign-In Widget on Okta, but you can’t change all the code in the template to just use Auth JS. You’ll have to host your own login page in your app for that.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.