hiteshchoudhary / chai-backend

A video series on chai aur code youtube channel
5.34k stars 803 forks source link

accessToken -> undefine Solve this Problem #111

Open AdarshTheki opened 7 months ago

AdarshTheki commented 7 months ago

` const options={ httpOnly:true }

// remove secure option `

Prince-Singh-05 commented 3 months ago

Check if your Accses_token_secret is getting passed from .env file to your desireed file -> check if you have written process.env.Access_Token_Secret correctly where ever you are calling your accessToken