to do login verification, you are now using token, in cookie. If you want to use token directly, can you get the value directly?
to do login verification, you are now using token, in cookie. If you want to use token directly, can you get the value directly?
it is recommended that you take a look at https://www.npmjs.com/package.. The package value is very simple:
if cookie is http-only, it is not available in js. If not, you can get it through document.cookie. Whether to set http-only or not is decided by the background
.