CSA-Coders-2025 / Planning-Repository-Issue-House-

This repository is where all issues are housed. There will be no code in this repository. NO CODE
0 stars 0 forks source link

Notes 11/22 Lecture - re: Authentication Cookies #55

Open SrijDude3416 opened 6 days ago

SrijDude3416 commented 6 days ago

View authentication information cookies (in Chrome): Inspect > Application > Storage > Cookies

Name of cookie: jwt_python_flask Contains the credential data for frontend

Inspect > Application > Storage > Local storage: "authenticated" session variable that contains boolean about authentication status

Related files in flocker_frontend repository: home.html header.html login.js

jm1021 commented 4 days ago

Of course if you examine cookies for spring they will be jwt_java_spring. Also, recognize when you are using thymeleaft you will get a session cookie Sess_java_spring or something similar. Session cookies and jwt cookies are handled differently. I think Trystan was telling me he identified a bug, but I was not convinced.