Using basic login with okta , using okta vue 2 js in a vue app.
On local host, with .net web api running on local host, I get no errors and it all works fine
Then I Promote the api and the Vue app (both secured by okta) to our devserver, when I login, it gets to the success promise
Uncaught (in promise) r {name: ‘AuthSdkError’, message: ‘The app should not attempt to call getToken on cal…in process. Use parseFromUrl() to receive tokens.’, errorCode: ‘INTERNAL’, errorSummary: ‘The app should not attempt to call getToken on cal…in process. Use parseFromUrl() to receive tokens.’, errorLink: ‘INTERNAL’, …}errorCauses: errorCode: "INTERNAL"errorId: "INTERNAL"errorLink: "INTERNAL"errorSummary: "The app should not attempt to call getToken on callback. Authorize flow is already in process. Use parseFromUrl() to receive tokens."message: "The app should not attempt to call getToken on callback. Authorize flow is already in process. Use parseFromUrl() to receive tokens."name: “AuthSdkError”[[Prototype]]: Error
at Object.eval (webpack:///./node_modules/@okta/okta-vue/bundles/okta-vue.umd.js?:26:4056)
at t (webpack:///./node_modules/@okta/okta-vue/bundles/okta-vue.umd.js?:26:141)
at Object.eval (webpack:///./node_modules/@okta/okta-vue/bundles/okta-vue.umd.js?:26:11626)
at t (webpack:///./node_modules/@okta/okta-vue/bundles/okta-vue.umd.js?:26:141)
at Object.eval (webpack:///./node_modules/@okta/okta-vue/bundles/okta-vue.umd.js?:26:6207)
at t (webpack:///./node_modules/@okta/okta-vue/bundles/okta-vue.umd.js?:26:141)
at Object.eval (webpack:///./node_modules/@okta/okta-vue/bundles/okta-vue.umd.js?:26:16577)
at t (webpack:///./node_modules/@okta/okta-vue/bundles/okta-vue.umd.js?:26:141)
at eval (webpack:///./node_modules/@okta/okta-vue/bundles/okta-vue.umd.js?:26:498)
at Object.eval (webpack:///./node_modules/@okta/okta-vue/bundles/okta-vue.umd.js?:26:508)stack: “Error\n at Object.eval (webpack:///./node_modules/@okta/okta-vue/bundles/okta-vue.umd.js?:26:4056)\n at t (webpack:///./node_modules/@okta/okta-vue/bundles/okta-vue.umd.js?:26:141)\n at Object.eval (webpack:///./node_modules/@okta/okta-vue/bundles/okta-vue.umd.js?:26:11626)\n at t (webpack:///./node_modules/@okta/okta-vue/bundles/okta-vue.umd.js?:26:141)\n at Object.eval (webpack:///./node_modules/@okta/okta-vue/bundles/okta-vue.umd.js?:26:6207)\n at t (webpack:///./node_modules/@okta/okta-vue/bundles/okta-vue.umd.js?:26:141)\n at Object.eval (webpack:///./node_modules/@okta/okta-vue/bundles/okta-vue.umd.js?:26:16577)\n at t (webpack:///./node_modules/@okta/okta-vue/bundles/okta-vue.umd.js?:26:141)\n at eval (webpack:///./node_modules/@okta/okta-vue/bundles/okta-vue.umd.js?:26:498)\n at Object.eval (webpack:///./node_modules/@okta/okta-vue/bundles/okta-vue.umd.js?:26:508)”[[Prototype]]: Object
What’s weird is that call stack looks like all okta code, none of our code.
So I Search for a call to GetToken in our code and it’s not called anywhere, it is called in the Okta code.