Ionic Auth failing in production testing (Ionic Cloud 2.0.0-beta)


I’m testing an app with >100 users at the moment for release to quite a big audience soon. I’m using Ionic Auth with Instagram login, and upon release today a number of users got:
“Invalid state parameter provided”, with version 2.0.0-beta. I was able to replicate when using Cellular, not wifi. Any ideas? Pretty urgent one here.

Please post your ionic info output so we can learn a bit about your environment.

Also what code is triggering that error? Sound like OAuth redirect flow stuff…

Thanks for your reply :slight_smile:

In login.ts, connected to a button:
Redirecting hides all components of page and shows “re-directing”. This then opens up Instagram log in in the IAB; the user enters their credentials and an error is shown: "meta....with some IDunique per user {status": 400, "version": "2.0.0-beta.0"}, "error": {"type": "BadRequest", "link": null, "message": "Invalid state parameter provided"}}"


I believe the version of ionic-cloud was 0.8.0 in this, but I updated again and haven’t re-tested. Possibly there was something broken here, but I haven’t seen the issue before.

Ionic Info:

Cordova CLI: 6.5.0
Ionic Framework Version: 2.1.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.1.4
ios-deploy version: 1.9.0
ios-sim version: 5.0.8
OS: macOS Sierra
Node Version: v7.2.0
Xcode version: Xcode 8.2.1 Build version 8C1002