I have a problem about one of my app and Web API published. The problem has not resolved yet, so I need your help!
The app
The Web API
Even if Login requests succeeded, the next API call returns error (401 Unauthorized). This issue has been reported on 24 January 2020, and even now.
Tracking data (with Charles Proxy), I found things below:
This problem is not occured on all devices supported (iOS & Android with latest version of webview)
Both the app and the Web API have not updated in the last 3 months at least.
I solved this problem. The Problem was on the server side (Web API on Azure).
Announcement: SameSite Cookie Handling and .NET Framework 4.7.2 Patch Availability on Azure App Service - Microsoft Q&A (Preview)
https://learn.microsoft.com/answers/questions/6842/announcement-samesite-cookie-handling-and-net-fram.html
The Web API was built with ASP.NET MVC 4.5 on Azure App Service. On January 2020, A new service was installed on Azure, and then the Web API had errors.
According to the guide of the page above, the problem's been solved.
(I couldn't find why the API worked fine on the test machine iPhone 6 Plus, iOS 10.2.1.)