FACN3 / umm-el-fahem

authentication project
0 stars 0 forks source link

cookie verification #50

Open MynahMarie opened 6 years ago

MynahMarie commented 6 years ago

Why not use the verify method that comes with the jsonwebtoken module? Seems like maybe their could be a slight security risk to unsign cookies in order to verify them...

https://github.com/FACN3/umm-el-fahem/blob/master/src/jwt_validation.js#L9