I’ve got an app, that’s working on my dev, box in node, hosted in IIS on my dev box, and built and auto deployed from our dev server. Login fine, Logout fine.
When we used the same system to deploy it to QA, now logout no longer works.
I get this error:
dashboard:1 Access to fetch at ‘https://jobcorps.oktapreview.com/oauth2/default/v1/revoke’ from origin ‘https://studentportal4vue.jctest.org’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. If an opaque response serves your needs, set the request’s mode to ‘no-cors’ to fetch the resource with CORS disabled.
jobcorps.oktapreview.com/oauth2/default/v1/revoke:1 Failed to load resource: net::ERR_FAILED
DevTools failed to load source map: Could not load content for webpack:///node_modules/exceljs/dist/exceljs.min.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME
I’m calling okta-vue.js 3, and that lib is calling revoke for me. How can it fail cors check from one okta app defined in the admin console and not another running the same code?
Thanks,
Eric-