diff --git a/webgoat-lessons/jwt/src/main/resources/html/JWT.html b/webgoat-lessons/jwt/src/main/resources/html/JWT.html index 416f28ab6..d5cb0aad8 100644 --- a/webgoat-lessons/jwt/src/main/resources/html/JWT.html +++ b/webgoat-lessons/jwt/src/main/resources/html/JWT.html @@ -134,7 +134,8 @@
-
+ +

 
     
diff --git a/webgoat-lessons/jwt/src/main/resources/js/jwt-weak-keys.js b/webgoat-lessons/jwt/src/main/resources/js/jwt-weak-keys.js new file mode 100644 index 000000000..9cf51f46b --- /dev/null +++ b/webgoat-lessons/jwt/src/main/resources/js/jwt-weak-keys.js @@ -0,0 +1,5 @@ +$(document).ready( + function(){ + $("#secrettoken").load('/WebGoat/JWT/secret/gettoken'); + } + ); \ No newline at end of file