title: Is it secure to get jwt token along with user type in response & store it in cookies, using react-cookies, so that I can get user roles editor/reader
body: <p>I am sending response from backend in which I am giving jwt token and usertype:&quot;editor&quot;/&quot;reader&quot;.
  I am setting them in cookies using react-cookies, since I cannot access token and usertype if I set it as cookies from backend and I may need to use usertype and token in further pages. Will it cause any security vulnerabilities in my website?</p>