You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When logging in, the browser stores the cookies and shows that it is logged in via the nav bar. The middleware however, doesn't respond the same and returns the session as null. I've tried adjusting my Next Auth Config but couldn't figure it out or find any similar issues
(Hosted on vercel and works in development environment)
I have also tried without prisma adapter and it did not resolve the issue.
And login with email: [email protected] - And password: "password"
Once logged in it should take you to the home page and if you try to access the dashboard or canvases page it will return you back to the login page.
Expected behavior
Should return the correct session from the JWT getToken function.
The text was updated successfully, but these errors were encountered:
joshuaepstein
added
bug
Something isn't working
triage
Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.
labels
Nov 12, 2024
Environment
Reproduction URL
https://github.com/joshuaepstein/logicate/tree/middleware-authentication
Describe the issue
When logging in, the browser stores the cookies and shows that it is logged in via the nav bar. The middleware however, doesn't respond the same and returns the session as null. I've tried adjusting my Next Auth Config but couldn't figure it out or find any similar issues
(Hosted on vercel and works in development environment)
I have also tried without prisma adapter and it did not resolve the issue.
How to reproduce
You can see the website here: https://logicate.uk
And login with email: [email protected] - And password: "password"
Once logged in it should take you to the home page and if you try to access the dashboard or canvases page it will return you back to the login page.
Expected behavior
Should return the correct session from the JWT getToken function.
The text was updated successfully, but these errors were encountered: