Java Guy
Java Guy

Reputation: 1005

Single sign on for google api's using Scribe?

Is there anyway to retrieve the Google Oauth refresh_token using Scribe?

I am building an app that requires several scopes mixed between java Gdata and Google api java client libraries -- and I am looking for a Single Sign On (SSO) when a user of my app signs in. However because of the state of current Google Apps API's requiring Oauth 1 or Oauth 2 depending on which library / scope you need, I'm a bit stuck.

Any tips / advice? Anyone managing this with a single sign on?

Upvotes: 3

Views: 1456

Answers (2)

user667914
user667914

Reputation: 46

Scribe has added support for Google OAuth API. I used scribe 1.2.2 and it worked just fine for me.

Upvotes: 1

Pablo Fernandez
Pablo Fernandez

Reputation: 105220

Sorry scribe does not support (at the time of this writing) Google's OAuth 2.0 Apis.

It shouldn't be too hard to implement using FacebookApi as a guide. Cheers!

Upvotes: 2

Related Questions