Spring adds a JSESSIONID despite stateless session management

前端 未结 2 1126
野趣味
野趣味 2021-01-12 02:20

I am using a working JWT authentication of my web application with the following configuration:

@Override
protected void configure(HttpSecurity http) throws          


        
2条回答
  •  既然无缘
    2021-01-12 02:58

    Try to set the session to none in the application.yml:

    spring.session.store-type=none
    

    as mentioned in the docs: https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-session.html

提交回复
热议问题