HttpClient post withcredentials not working in ionic ios app

Viewed 488

So I was trying to run my ionic app on an iOS simulator. Unfortunately, it seems like the cookies are not persisting and I get 401 on subsequent requests. I am using Angular's HttpClient to send the post request and it works just fine on the browsers across all platforms. CORS has been enabled on my backend service. Does anyone have any idea about where to go from here?

1 Answers
Related