What could cause the original 'OAuth2' state parameter to be null in org.springframework.social.connect.web.ConnectSupport?

后端 未结 3 1666
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-11 03:30

I am trying to use Spring Social on my application and I noticed while debugging that the original \'OAuth2\' state parameter is always null on my app.

See Spring So

3条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-11 03:53

    What you're getting from Facebook is not a request attribute , it's a request parameter.

    You should get it by something like:

    request.getParameter("state")
    

提交回复
热议问题