Play Framework appending #_=_ to redirect after Facebook auth via OAuth2?

后端 未结 2 1846
暗喜
暗喜 2020-12-10 11:52

I\'m doing a simple redirect after calling OAuth2::retrieveAccessToken() with Play Framework. I\'m having funny characters appended to the URL that I never put there, so the

2条回答
  •  轮回少年
    2020-12-10 12:28

    This was added after a security update.

    From the Facebook developer blog:

    Change in Session Redirect Behavior

    This week, we started adding a fragment #_=_ to the redirect_uri when this field is left blank. Please ensure that your app can handle this behavior.

提交回复
热议问题