-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Password reset link test condition more strict and move all WebWolf links to /WebWolf #1645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Might as well look at migrating WebWolf to the bootstrap 5 |
Still some manual testing to do to see if all things are working ok |
…ic support for oauth (more work needed)
@zubcevic I'll take a look and be back soon. |
10000
src/main/java/org/owasp/webgoat/container/WebSecurityConfig.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only one minor suggestion in UserInterceptor.
Object handler, | ||
ModelAndView modelAndView) | ||
throws Exception { | ||
// Do nothing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this comment may have been overlooked and could be removed.
…inks to /WebWolf (#1645) * better check on host and port for password reset and make context roots more flexible * spotless applied * removed hardcoded /WebGoat from js * removed hardcoded /WebGoat from js * fix spotless * fix scoreboard * upgrade WebWolf bootstrap version and icons and templates - part 1 * fixed more bootstrap 5 style issues and context path issues * organized WebSecurityConfig based on latest conventions and added basic support for oauth (more work needed) * spotless applied * added mock bean * requires updates to properties - commented for now * requires updates to properties - commented for now * oauth secrets through env values * user creation after oauth login * integration test against non default context paths * adjusted StartupMessage * add global model element username * conditionally show login oauth links * fixed WebWolf login --------- Co-authored-by: René Zubcevic <rene@Mac-mini-van-Rene.local>
The password reset link test condition was not strict enough.
Also I added context-path in the properties and corrected hardcoded context path to be able to change the context roots.
WebWolf is now using /WebWolf all in one context root as is the same for /WebGoat.
I still have to check of all the links in the static pages are still ok.