hiteshchoudhary / chai-backend

A video series on chai aur code youtube channel
5.06k stars 760 forks source link

accessToken -> undefine Solve this Problem #111

Open AdarshTheki opened 6 months ago

AdarshTheki commented 6 months ago

` const options={ httpOnly:true }

// remove secure option `

Prince-Singh-05 commented 2 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