[Exception] SpringSecurity login failed: Full authentication is required to access this resource

1. Error message

insert image description here
insert image description here

Spring Security prompts the following:

2023-01-07 06:08:51.843 [cdi-ids-commonprovider] [http-nio-9092-exec-14] 
WARN  com.desaysv.tsp.logic.ids.config.MyAuthenticationEntryPoint - 
登录失败:Full authentication is required to access this resource

2. Check the problem

2.1 Front-end investigation

Look at the front-end configuration first, does it feel like there is no problem?
insert image description here
Front end, match all api prefixes and replace them with ' '

Then forward the request to the backend localhost

Guess you like

Origin blog.csdn.net/wstever/article/details/128587311