I am attempting a “Hello World” with Okta, I’m using the below sample code that I am attempting to use with Okta my sandbox account:
I am running the node service on a local Linux VM with IP address: 192.168.100.118 on port 8080, the same Linux VM is serving files to the browser (index.html, main.js) on port 80.
I am presented with the Okta login, but my browser is throwing a CORS pre-flight error, wondering how I should be handling this. See attached screenshot:
Is this on the authorize request? I would reach out to your account team to see if they can resolve for for you. More than likely, you are missing API Access Management features.
I may be able to address this one on my own now, I am serving the page from nginx (port 80) while the node.js service is running on (port 8080). I guess if I served the page from the node instance (port 8080) it would work?