Closed arun-nextbrain closed 11 months ago
share the full error message to identify problem. you must fill .env file
share the full error message to identify problem. you must fill .env file
@ansonbenny
.env PORT = 5000
MONGO_URL = "mongodb://localhost:27017"
SITE_URL = ""
JWT_SECRET = "xahui8766snjkls"
SPOTIFY_ID = "33d0b3ec86af4210a781d00e66bf232akil"
SPOTIFY_SECRET = "22626f800f4f4a3f94ff4d56d364234aju"
MAIL_EMAIL = "designartis@gmail.com"
MAIL_SECRET = "sgbzgtqhmgmbxxxxxx"
VITE_GOOGLE_CLIENT = "289153080841-7v6rvdgkfa8r66ju27dar2utd5deh09a.apps.googleusercontent.com"
Client-side console log:
Server-side console log:
let know what i'm doing wrong
that's not code issues, when you are not logged (or when jwt token expired) that will show
you must fill SITE_URL = [when local run http://localhost:5173/ or your site domain for work cors & mail links]
that's not code issues, when you are not logged (or when jwt token expired) that will show
Where I can get the JWT token?
that's not code issues, when you are not logged (or when jwt token expired) that will show
Where I can get the JWT token?
that will auto generate when user login and save token into cookie, to work cookie you must fill SITE_URL in .env
VITE_GOOGLE_CLIENT in .env.local in react folder other env property and values in .env in server folder
that's not code issues, when you are not logged (or when jwt token expired) that will show
Where I can get the JWT token?
that will auto generate when user login and save token into cookie, to work cookie you must fill SITE_URL in .env
Now I'm fill the SITE_URL and checking but the same error will shown
can you please guide me to setup the project on my local system
Also when I click the signup, login button and play button the screen was blank nothing will happen why?
that's not code issues, when you are not logged (or when jwt token expired) that will show
Where I can get the JWT token?
that will auto generate when user login and save token into cookie, to work cookie you must fill SITE_URL in .env
Now I'm fill the SITE_URL and checking but the same error will shown
can you please guide me to setup the project on my local system
Also when I click the signup, login button and play button the screen was blank nothing will happen why?
share screenshot
this env file for server folder
this one for client folder
@ansonbenny Thanks bro now it's working thanks a lot for your help
Hi @ansonbenny I'm new to this project basically i'm a python developer I wanted to learn react and node Error : JsonWebTokenError I don't know why this error is coming please help me