appcelerator-archive / ti.gigya

Other
1 stars 3 forks source link

Android Lollipop login issue after logout #2

Open wversluys opened 9 years ago

wversluys commented 9 years ago

Hi,

I'm not sure if this is something that's going wrong because of this module. But here is the issue:

When using this module on Android Lollipop (LG Google Nexus 5) I can successfully login and logout. But when I try to login after being logged out, it always fails with an error code 500000 (General security warning according to the Gigya docs).

Any idea what is going wrong? And if it's an issue for this module or Gigya?

This also happens when using the sample code provided within this module.

Any help is appreciated!

wversluys commented 8 years ago

Bumping this issue.

This issue still seems to be in effect with the latest Android version (Android M/Marshmellow/6.0). Although now i get the following error:

{
    "errorCode": 400006,
    "errorMessage": "",
    "method": "login"
}

the request i'm using is:

gigya.login({
    params: {
        provider: provider
    },
    success: gigyaLoginSuccessHandler,
    error: gigyaLoginFailureHandler
});

in the documentation there isn't any information on what other params are needed. And on Android versions prior to 5 (lollipop) and iOS the login works fine.

Can anyone see if they can reproduce this issue, and possibly fix it?

Like I said before, any help is appreciated!