We have a problem where Twitter login is not working on Android. We can test it using the “Try” button in Auth0 dashboard successfully. We can also log in on a web browser, but not in Android as we get the following error:
“Cannot GET /android/io.shoutapp.shout/callback”
upon pressing the twitter button, before even being presented with a login page for twitter (possibly because I’m already logged in with twitter on the phone).
Our login code is:
Auth0 auth0 = new Auth0(getString(R.string.com_auth0_client_id), getString(R.string.com_auth0_domain)); auth0.setOIDCConformant(true); lock = Lock.newBuilder(auth0, callback) .withAudience("https://api.shoutapp.io/") .build(this); startActivity(lock.newIntent(this));