supertokens / supertokens-website

Frontend SDK for SuperTokens - for session management + automatically refreshing sessions
https://supertokens.com
Other
54 stars 13 forks source link

changes rid value #91

Closed rishabhpoddar closed 2 years ago

rishabhpoddar commented 3 years ago

Summary of change

Changes rid value sent when doing a user query. This special rid value will be ignored by the backend so it will be like the user has not provided an rid (in case they actually haven't), and yet it will protect against CSRF.

Related issues

Test Plan

(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work. Bonus points for screenshots and videos!)

Documentation changes

No change required

Checklist for important updates

Remaining TODOs for this PR

github-actions[bot] commented 2 years ago

size-limit report 📦

Path Size
lib/build/bundleEntry.js 9.42 KB (-0.05% 🔽)