Join Discord
Powered by
Hi, Why do we have refresh token hash 1 in the coo...
# support-questions-legacy
v
vigneshkumar5238
04/18/2023, 7:00 AM
Hi, Why do we have refresh token hash 1 in the cookie and refresh token hash 2 in the DB, is there any specific way the refresh token behaves? Is there any guide for supertokens-core understandings?
r
rp_st
04/18/2023, 7:00 AM
It's that way for security reasons. You can have a look here:
https://github.com/supertokens/supertokens-core/wiki/Session-pseudo-code
5
Views
Previous
Next