How to use hosted okta login page wtih vanilla Javascript

I have a pure javascript app that I would like to use the Okta hosted login page to authenticate. However, all of the Javascript examples only show how to authenticate using the Okta sign-in widget. I’m looking for any examples of the Okta hosted login page, where it’s integrating with a pure javascript app.

We have a Vanilla JS post, but it uses the Sign-In Widget (which it sounds like you don’t want to do). So does this one. I’m sure what you’re looking for is possible. You might be able to use AppAuth for JS.