spring-attic / authserver

Apache License 2.0
319 stars 180 forks source link

Invalid CSRF Token 'null' was found on the request parameter '_csrf' or header 'X-CSRF-TOKEN' #12

Open langziyexin1 opened 4 years ago

langziyexin1 commented 4 years ago

I used postman to send a POST request of http: // localhost: 8080 / uaa / oauth / authorize with a Token of type Bearer Token, prompting Invalid CSRF Token 'null' was found on the request parameter '_csrf' or header 'X- CSRF-TOKEN '.

langziyexin1 commented 4 years ago

2020-05-16 05:32:26.379 DEBUG 19716 --- [nio-8080-exec-4] o.s.security.web.csrf.CsrfFilter : Invalid CSRF token found for http://localhost:8080/uaa/oauth/authorize