Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48980

Drupal REST in IOS failed with 403 forbidden access but success in browser

$
0
0

My app can interact with Drupal API in the browser but not in the simulator and device. (Currently testing in iOS).

How can I fix it?
Everything is working fine in the browser but in the simulator/device, I get 403 forbidden access.

The problem that might cause it
I think the issue is with cookies? In Drupal, I have ini_set(‘session.cookie_samesite’, ‘none’); and it works. If I removed that, I get 403 forbidden access in the browser, simulator & device.
If I add that, it works on the browser but not in simulator/device.

How can I fix this?
Can I use HTTP - Ionic Documentation instead of angular http service? Does it support withCredentials?

Thanks

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 48980

Trending Articles