antony / grails-oauth-scribe

Grails Oauth plugin using the Scribe library
23 stars 40 forks source link

Response body is incorrect. Can't extract token and secret from this: 'Invalid scope parameter. ' #25

Closed mominmaaz closed 11 years ago

mominmaaz commented 11 years ago

Hi, I was using oauth 2.1.0 to connect my grails project to google calender.

I followed all the steps that was in the guide. When i click the Connect to Google/oauth:connect

It gives:

Class : org.scribe.exceptions.OAuthException Message : Response body is incorrect. Can't extract token and secret from this: 'Invalid scope parameter. '

And the pointer is at

def authenticate = { . . if (provider.oauthVersion == SupportedOauthVersion.ONE) { requestToken = provider.service.requestToken } . .

Please help me to solve this issue... Thank you, Maaz Momin