Skip to content

Stuck in a reload loop on '/auth/login?redirect-url=%2Fprogress' #46

@jpnothard

Description

@jpnothard

Hi, I am hoping someone can help me troubleshoot a problem.

I am trying to setup oauth sign in using Okta. I am using a tutorial i found the Okta docs. You can have a look at the repo for this here. The only change I have made is that I removed the Axios call on the progress page and entered the content manually.

The above example works on my localhost, works as expected. But once I run npm run generate and push it to a live server (Currently using Netlify) I get stuck in some kind of reload loop on this page '/auth/login?redirect-url=%2Fprogress'. Basically it downloads the assets and then the page refreshes.

I have trawled the internet and haven't found anything useful. I have tried to Generate with SPA, removed .env and entered the details in manually, changed to an AWS server, updated to the latest packages. I have also removed the pipeline and rand the common on my local machine and uploaded it manually. I even entered incorrect OAuth credentials but found that on my local it will just redirect you to an OKTA 404 page instead of the Okta login form.

Any help would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions