0
votes

For my mobile web application I'd like users to authorize my Foursquare app, so I redirect them to

https://foursquare.com/oauth2/authenticate?client_id=CLIENT_ID&response_type=token&redirect_uri=YOUR_REGISTERED_REDIRECT_URI

Then, when the user tries to login on this page on Android, it prompts a 'complete action using' dialog, twice(!), where the users has to choose between the browser and the Foursquare app. When you try to login with the Foursquare app, though, nothing happens...

Is there a way to stop this behaviour on Android?

1

1 Answers

0
votes

Embed the webview inside of your application. See https://github.com/foursquare/android-oauth-example as an official reference.