Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vue3 + Vite + Okta Vue, Redirecting path is going wrong in Dev Environment. #392

Open
8 of 9 tasks
PavankalyanPayyavula opened this issue Apr 12, 2024 · 0 comments
Open
8 of 9 tasks

Comments

@PavankalyanPayyavula
Copy link

PavankalyanPayyavula commented Apr 12, 2024

Related plugins

Describe the bug

Hi,

I am working on developing an new application using Vue3 + Vite + Okta Vue and Codebuild.

After configuring everything. When I am running npm start I am able to open application in my local machine - Okta is generating Access Token.
But the problem is when I am deploy the app in dev codebuild then It is not generating Access Token. Even In the local storage access token is getting stored. Attaching respective screenshots for better understanding.
Screenshot 2024-03-18 at 9 43 45 AM

In the network tab, Auth url is redirecting in a loop continues. Here is screenshot.
Screenshot 2024-03-18 at 11 22 19 AM

I tried to console the Auth response. Here is the screenshot of it. You can see the version as well.
Screenshot 2024-03-18 at 9 47 46 AM

Hi @yyx990803,
To understand clearly the issue please kindly check this discussion # okta/okta-vue#142
According to them their is some issue with the hosting architecture.
I have added my vite.config.js file and package.json file information in the issue above.

Note: Redirecting is working fine in Local Environment but It is not working in Dev Environment, Please check the above ticket conversation to understand it.

Reproduction

I am not giving any Reproduction since this is not my personal project.

Steps to reproduce

No response

System Info

I am using Mac OS,
Node version 20.9.0
Vite 5.2.7
Vue 3.4.21
For all the remaining version details please check the package.json file in the issue that I have raised with Okta Vue #https://github.com/okta/okta-vue/issues/142

Used Package Manager

npm

Logs

No response

Validations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant