Replies: 1 comment
-
do you fix? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Question 💬
Using next-auth for my web application I have a problem with the session cookie only in production and being hosted.
In local dev or production environments I have no problem. The callback-url and csrf-token cookies are present and so is session-token once connected.
My problem is when I host my application (on cPanel and on a subdomain), I have the secure callback-url and csrf-token cookies but when I try to connect I get no error and the session cookie doesn't initialize.
I've tried a lot of things but nothing works, if any kind soul has time for me, thank you !
How to reproduce ☕️
The versions of next and next-auth I'm using in this project
The signIn function call for my login form
My [...nextauth].js file
My auths API file is working properly
My NEXTAUTH_SECRET environment variable is set to 32 characters and NEXTAUTH_URL is also of type https://mysubdomain.mydomain.fr
Contributing 🙌🏽
Yes, I am willing to help answer this question in a PR
Beta Was this translation helpful? Give feedback.
All reactions