Safari Ajax cors request not following redirect

后端 未结 1 947
你的背包
你的背包 2020-12-20 19:12

Basically, I have a login form that once authenticated it starts an Oauth2 process. Which works flawlessly until it has to do the final redirect which gets the access tokens

相关标签:
1条回答
  • 2020-12-20 19:36

    Well it looks like this is a Safari thing, it will only follow the first redirect. Apple claims that this is the way the HTML spec is written. So.... Had to rework my flow to not redirect on /user/login and start the oauth process right away.

    0 讨论(0)
提交回复
热议问题