Pavan24
October 18, 2024, 10:49am
1
Hi Team,
I am using VIte, Vue3 and Okta for my application. It is working fine in my local but when I deploy it in server then okta router is keep on redirecting. I have mentioned this problem many times but I couldn’t get proper solution.
You can refer to the below git tickets I have mentioned.
opened 10:06AM - 26 Apr 24 UTC
closed 06:11PM - 18 Jul 24 UTC
bug
Hi,
I am using vue 3 with vite build tool.
Okta routing is working fine as exp… ected when I am accessing the application but when I deployed in Dev Env the below error is showing in console.log
index.js:76 [okta-auth-sdk] WARN: a saved auth transaction exists in storage. This may indicate another auth flow is already in progress.
Versions I am using in my project
node: 20.9.0
"vue": "^3.4.21",
"vite": "^5.2.10",
"@okta/okta-auth-js": "^7.5.1",
"@okta/okta-vue": "^5.7.0".
Initially I thought it is a okta-vue issue so I raised a bug ticket in Okta-Vue but I understood that there is some issue with Okta Auth. Please check the below screenshot.
![Screenshot 2024-04-26 at 3 30 37 PM](https://github.com/okta/okta-auth-js/assets/68322420/6823dcdc-39c2-4c8a-81d7-267416f84a88)
### Reproduction Steps?
Since this is not my personal project, I am not posting any steps to reproduce.
### SDK Versions
"node": "20.9.0",
"vue": "^3.4.21",
"vite": "^5.2.10",
"@okta/okta-auth-js": "^7.5.1",
"@okta/okta-vue": "^5.7.0".
### Additional Information?
_No response_
I have referred to similar issues, But I haven’t seen solution from okta team side.
I have build a VueJs application implementing the SPA authentication work flow. The application works fine on my local machine, I am able to authenticate and everything works as expected. After deploying the application to a test server running Windows server 2016 IIS the redirect call back fails. I am able to get to the Okta login but when the redirect call back hits my router there is an error in the
LoginCallback component. All I see is a blank screen with the following error.
Failed to loa…
just want to understood that whether Okta will support to Vite or not.
system
Closed
November 17, 2024, 10:50am
2
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.