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

On Signin, The url changes but the page UI does not #12660

Open
hashirshoaeb opened this issue Feb 17, 2025 · 0 comments
Open

On Signin, The url changes but the page UI does not #12660

hashirshoaeb opened this issue Feb 17, 2025 · 0 comments
Labels
bug Something isn't working triage Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.

Comments

@hashirshoaeb
Copy link

hashirshoaeb commented Feb 17, 2025

Environment

  System:
    OS: macOS 15.3.1
    CPU: (11) arm64 Apple M3 Pro
    Memory: 79.27 MB / 18.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 23.5.0 - ~/.nvm/versions/node/v23.5.0/bin/node
    npm: 10.9.2 - ~/.nvm/versions/node/v23.5.0/bin/npm
  Browsers:
    Chrome: 133.0.6943.55
    Safari: 18.3
  npmPackages:
    next: 15.1.2 => 15.1.2 
    next-auth: ^5.0.0-beta.25 => 5.0.0-beta.25 
    react: 19.0.0 => 19.0.0 

Reproduction URL

https://github.com/hashirshoaeb/next-auth-test-app

Describe the issue

I initially i was using

"dev": "next dev",
node: 18
"next": "^14.0.3",
"next-auth": "^5.0.0-beta.13",
"react": "18.2.0",

when i bumped the packages to:

"dev": "next dev --turbopack",
node: 22
"next": "15.1.2",
"next-auth": "^5.0.0-beta.25",
"react": "19.0.0",

it started causing this issue.

the issue is that, when I login, it page changes, from login page to Home page. but url stay at /login
at this point if i press sign out, it does not work.
if i hard refresh the page then url updates to the correct url (which is home page url, "/")

How to reproduce

  1. use the example link from Reproduction URL
  2. try to login (any credentials will work)
  3. observe that url did not change but UI did

Expected behavior

URL should update with the UI. I do not need to hard refresh.

ETA

Can you provide me the ETA, when this will be fixed?

@hashirshoaeb hashirshoaeb added bug Something isn't working triage Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime. labels Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.
Projects
None yet
Development

No branches or pull requests

1 participant