在请求参数'_csrf'或标头'X-CSRF-TOKEN'上发现无效的CSRF令牌'null'。

时间:2019-05-23 12:49:58

标签: spring-boot single-sign-on saml-2.0 spring-saml okta-api

我正在尝试按照本教程使用Okta实现saml身份验证 Spring Boot, SAML, and OKTA

身份验证后,我需要重定向到index.html 但这将我带到了白标签错误页面?

Whitelabel Error Page

This application has no explicit mapping for /error, so you are seeing this as a fallback.
Thu May 23 18:18:24 IST 2019
There was an unexpected error (type=Forbidden, status=403).
Invalid CSRF Token 'null' was found on the request parameter '_csrf' or header 'X-CSRF-TOKEN'.

0 个答案:

没有答案