Relative Content

Tag Archive for javascriptexpresswebjwttoken

Problem with redirecting and checking of token

I have made simple dynamic website and now I am struggling quite a while with logging in as an admin. As user no problems. After successful log in, token and role are checked (successfully) and then after redirect, I get unauthorized response. I am using mongodb, express and node.js. Thanks in advance for any suggestions.