I'm wondering if I should store the ID token. I'm concerned about security and privacy, and I want to make sure I'm handling user authentication properly. Should I keep the token or discard it after use?
7 answers
Lucia
Sat Nov 02 2024
Storing ID tokens is not advisable.
PulseWind
Sat Nov 02 2024
If storing them becomes necessary, take precautions.
CryptoKing
Fri Nov 01 2024
SPAs require client-side API calls for processing.
BusanBeautyBloomingStarShine
Fri Nov 01 2024
Ensure tokens are cleared when users log out.
HanRiverVisionaryWaveWatcher
Fri Nov 01 2024
Also, ensure tokens are removed when accounts are deleted.