Azure App Service - Custom Authentication - HTTP Verb not allowed

╄→гoц情女王★ 提交于 2019-12-02 06:02:57

I found out that the Azure SDK sends a POST and GET request when calling LoginAsync.

AFAIK, the mobile app backend would force https, and if you send request with http, then you would get a 302 status code as follows:

As this issue mentioned, redirecting from http -> https causes the http verb to GET.

Change the mobile app Uri with Https when you init the MobileServiceClient, your code would work as expected.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!