SasanLabs / VulnerableApp

OWASP VulnerableApp Project: For Security Enthusiasts by Security Enthusiasts.
https://sasanlabs.github.io/VulnerableApp/
Apache License 2.0
261 stars 357 forks source link

Add JWT unit tests #467

Closed kjosh closed 6 months ago

kjosh commented 6 months ago

I wrote some unit tests for the JWT vulnerabilities (#398), testing the controller functions and some validator exploits to the best of my ability.

I refactored some relatively minor things to make the controller easier to test: