API Tokens Security | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 11

API Tokens Security

How to store API Tokens securely at Front-end Cookies and Local Storage are not safe for CSRF attacks. Recommend me best solution for secure API Tokens at Front-end.

28th Mar 2021, 12:46 PM
Shahghasi Adil
Shahghasi Adil - avatar
4 Answers
+ 1
Use dotenv package
28th Mar 2021, 1:02 PM
جوردن آهو ماولی
جوردن آهو ماولی - avatar
+ 1
Ɗeⱥᖙpͥooͣlͫツ جوردن آهو ماولی(JAM) dotenv is for hiding keys I need to hide token
29th Mar 2021, 2:36 AM
Shahghasi Adil
Shahghasi Adil - avatar
- 1
Once when I was watching YT channel of Microsoft Developers they too suggested dotenv package
28th Mar 2021, 2:15 PM
Reca Resu
Reca Resu - avatar