You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
User stays in a page idle until the session is expired. When he refreshes the page, the system redirects him to login page. Once he logged in, the system redirects him to one of the static resource and prompt for download.
To Reproduce
Since #10938, I replaced web.ignoring().requestMatchers() with http.authorizeHttpRequests().requestMatchers().permitAll() and this issue occurred.
Expected behavior
The user should be redirected to the protected page instead of the unprotected static resource.
Describe the bug
User stays in a page idle until the session is expired. When he refreshes the page, the system redirects him to login page. Once he logged in, the system redirects him to one of the static resource and prompt for download.
To Reproduce
Since #10938, I replaced
web.ignoring().requestMatchers()
withhttp.authorizeHttpRequests().requestMatchers().permitAll()
and this issue occurred.Expected behavior
The user should be redirected to the protected page instead of the unprotected static resource.
Sample
My SecurityConfig is as follow:
The text was updated successfully, but these errors were encountered: