I just started using Okta, i’m following this: https://developer.okta.com/quickstart/#/widget/nodejs/express
OktaSignIn is not a constructor in the console.
I’m using the npm package, and I use the svelte with sapper framework.
As sapper is SSR I had to import the package dynamically
const OktaSignIn = await import("@okta/okta-signin-widget");
And all the Okta code is encapsulated in an
onMount function that fire once the page is loaded by the client.