dinasaif / socialauth-android

Automatically exported from code.google.com/p/socialauth-android
0 stars 0 forks source link

How to create a app on google bacause your given steps are not working properly. #153

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Created the google app according to your steps
2. Used the api key and secret in assets oauth property file
3. trying to login using google
4. Not able to login

What is the expected output? What do you see instead?
Need user to login with lowest permissions. and if possible how i can change 
social auth.in app name to socialauth.com or socialauth.us

What version of the product are you using? On what operating system?
i am using social auth 3.0.1

Please provide any additional information below.

Original issue reported on code.google.com by deepeshs...@gmail.com on 13 Mar 2014 at 7:20

Attachments:

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Hi,

Your login credentials are aceepted and the screen is now asking for 
permissions. You need to create your own app in your google account to change 
the app name and use your own keys and secrets.

please provide the stack trace in case you fail to login

Original comment by vineet.a...@3pillarglobal.com on 20 Mar 2014 at 11:09

GoogleCodeExporter commented 8 years ago
We recommend to use Google Oauth2 provider - Google plus. Check below page to 
get key and secret and examples for use.

https://code.google.com/p/socialauth-android/wiki/GooglePlus

Original comment by vineet.a...@3pillarglobal.com on 21 Mar 2014 at 12:49

GoogleCodeExporter commented 8 years ago
Hi,

I havce created my own application google play console and got my key and 
secret with callback url. I have implemented that in code but after login my 
login completion listener is not calling and I am getting : 

W/System.err(18074): org.brickred.socialauth.exception.SocialAuthException: Key 
in Request Token is null or blank

But when I am login your key , secret and call back url then I am able to login

D/KeyguardViewMediator(  533): setHidden false
W/System.err(18074):    at 
org.brickred.socialauth.util.OAuthConsumer.getAccessToken(OAuthConsumer.java:231
)
W/System.err(18074):    at 
org.brickred.socialauth.oauthstrategy.Hybrid.verifyResponse(Hybrid.java:138)
W/System.err(18074):    at 
org.brickred.socialauth.oauthstrategy.Hybrid.verifyResponse(Hybrid.java:115)
W/System.err(18074):    at 
org.brickred.socialauth.provider.GoogleImpl.doVerifyResponse(GoogleImpl.java:178
)
W/System.err(18074):    at 
org.brickred.socialauth.provider.GoogleImpl.verifyResponse(GoogleImpl.java:167)
W/System.err(18074):    at 
org.brickred.socialauth.SocialAuthManager.connect(SocialAuthManager.java:184)
W/System.err(18074):    at 
org.brickred.socialauth.android.SocialAuthDialog$SocialAuthWebViewClient$2.run(S
ocialAuthDialog.java:416)
W/System.err(18074):    at java.lang.Thread.run(Thread.java:856)
D/SocialAuthError(18074): 
org.brickred.socialauth.exception.SocialAuthException: Key in Request Token is 
null or blank

Original comment by deepeshs...@gmail.com on 31 Mar 2014 at 12:41

GoogleCodeExporter commented 8 years ago
Hi,

Have you used GooglePlus Provider. Check the wiki to use it.

Original comment by vineet.a...@3pillarglobal.com on 2 Apr 2014 at 7:44