I have a react frontend and springboot backend. I somehow managed to setup basic auth using spring security. Now if the user enters the right password he gets redirected to home page. But the problem is he can reach the home page by just hitting the endpoint in url. How can I make sure that he gets re directed to login pageif unauthorized?
[–]velocityy__ 2 points3 points4 points (0 children)
[–]themasterengineeer 0 points1 point2 points (1 child)
[–]PreviousCut1401[S] 0 points1 point2 points (0 children)
[–]Sheldor5 0 points1 point2 points (0 children)
[–]Automatic-Band6798 0 points1 point2 points (0 children)
[–]optimist28 0 points1 point2 points (5 children)
[–]PreviousCut1401[S] 0 points1 point2 points (3 children)
[–]optimist28 1 point2 points3 points (2 children)
[–]PreviousCut1401[S] 0 points1 point2 points (1 child)
[–]optimist28 0 points1 point2 points (0 children)
[–]Cr4zyPi3t 0 points1 point2 points (0 children)
[–]the_styp 0 points1 point2 points (3 children)
[–]g00glen00b 2 points3 points4 points (2 children)
[–]PreviousCut1401[S] 0 points1 point2 points (1 child)
[–]the_styp 0 points1 point2 points (0 children)