FYDP-1nil / backend

Fourth Year Design Project @ UWaterloo
https://www.eng.uwaterloo.ca/2023-capstone-design/electrical-computer/
3 stars 1 forks source link

[Mantle] Handle JWT Authentication #22

Open sid42 opened 1 year ago

sid42 commented 1 year ago

Flask currently only checks if the JWT token is provided, not the actual contents of the token to verify if the user is authorized to make that call. This should be changed to check the contents of the token

Shreyas15srivatsa commented 1 year ago

Oh right, good catch. I was supposed to do this in 4A, let's leave it as a tech debt for now and I'll get to it at the end. Can be done after the demo and in-time for the symposium.