Hi there! Ionic is a great thing - like to use it!
I’ve updated to the latest Ionic release and trying to make it work on iOS.
I have custom implementation of oAuth 1.0 and it was working OK before i’ve updated Ionic and switched to new WKWebView (and it still works OK on Android).
So this is correct flow of requests:
- GET Request to https://www.example.com/admin/oauth_authorize/confirm/?oauth_token=4r3454534sdfsdfsdf
- Status: 302
- Location: https://www.example.com/index.php/admin/Oauth/redirectStub/?oauth_token=4r3454534sdfsdfsdf&oauth_verifier=4r3454534324sdfsdfsdf
- GET Request according received location to https://www.example.com/index.php/admin/Oauth/redirectStub/?oauth_token=4r3454534sdfsdfsdf&oauth_verifier=4r3454534324sdfsdfsdf
But this is requests flow on iOS with WKWebView:
- GET Request to https://www.example.com/admin/oauth_authorize/confirm/?oauth_token=4r3454534sdfsdfsdf
- Error: Cancelled
- Status: 200
So the first request is cancelled (is not sent), but i see the next request is sent after this (but i don’t send this in my app - i’m sure) - so it looks like redirect? Can’t understand what’s going on here.
FIY: Ionic version - 3.9.2. iOS Version - 11.2.
Hope somebody will help.
Regards, Nikolay