The effective time of cookies and csrf_token
Unsolved
Technical Support
-
This is what I'm doing:
- Try to get
csrf_token
by accessing/api/config
; - Then access
/api/v3/utilities/login
by username and password to obtaincookie
; - Use
csrf_token
+cookie
to access the website through api.
Based on my understanding, the validity of
csrf_token
andcookie
depends on the expiration time ofSession
.And I saw in the control panel that the
Session
expiration time can be set.My question now is, is the expiration time of
csrf_token
andcookie
obtained through the above interface equal to the expiration time ofSession
set by the control panel? - Try to get
Copyright © 2024 NodeBB | Contributors