Wechat authorization callback encountered Provisional headers are shown

1. During the first request, it was detected that Wechat was required to authorize login
2. After Wechat is authorized to log in successfully, you need to return the interface address of the first request
3. There is a problem that the page cannot be returned (as shown in the picture)
which boss knows why, or what is a good way to solve this problem

clipboard.png

Mar.21,2022

solved by myself today,
pit: reason, Wechat web page authorization cannot asynchronously request authorization
that is, I, Wechat, authorize to control the routing of the ajax interface, not the page routing address, so it will cause the authorization to jump back to visit the page

.
Menu