SweetzpotAS / StravaZpot-Android

A fluent API to integrate with Strava on Android apps
70 stars 35 forks source link

Error at Sign in with Google #7

Closed danieltigse closed 7 years ago

danieltigse commented 7 years ago

This is the error

screenshot_20170625-215732

beddfaf916 commented 7 years ago

+1, but that login feature in GarminConnect app is as usual

truizlop commented 7 years ago

Could you provide more details about how to reproduce the error? Code that you are using to launch the login intent, steps that you are following... It would help to verify if this is an issue with our library or there is something missing in our integration with Strava. Also, pull requests with fixes are welcome.

danieltigse commented 7 years ago

I am using the version 1.1.3 of the library

I am launching the intent with this code:

Intent intent = StravaLogin.withContext(this)
                .withClientID(XXXXX)
                .withRedirectURI("stam://stamapp.com")
                .withApprovalPrompt(ApprovalPrompt.AUTO)
                .withAccessScope(AccessScope.VIEW_PRIVATE_WRITE)
                .makeIntent();
        startActivityForResult(intent, RQ_LOGIN);

I have done some research and I found this, I don't know If you can fix it:

https://github.com/RocketChat/Rocket.Chat.Cordova/issues/159 https://blog.cloudrail.com/solving-disallowed_useragent-for-google-services/

danieltigse commented 7 years ago

Version 1.1.4 works for me. Thanks you all!

truizlop commented 7 years ago

Thank you for using our library!