oauth-io / oauth-phonegap

OAuth.io plugin for Apache Cordova/PhoneGap
195 stars 69 forks source link

Missing required parameter: scope #54

Closed hobzcalvin closed 9 years ago

hobzcalvin commented 9 years ago

When I try using OAuth.popup('google') I get the attached screenshot:

Error: invalid_request
Missing required parameter: scope
Request Details
response_type=code
redirect_uri=https://oauth.io/auth
state=athxRYu1cR1BrFIxtJmSP8GifWA

Is this project being actively maintained? I see someone reported a similar issue on the php client: https://github.com/oauth-io/sdk-php/issues/19

ios simulator screen shot jun 8 2015 6 49 31 pm

thyb commented 9 years ago

Are you sure you have correctly setup the scope in the OAuth.io dashboard?

I'm able to authorize on Google/Google+ if the scope is set. I reproduce your issue only if I let the scope field blank.

hobzcalvin commented 9 years ago

That's probably it.

pathikvejani commented 8 years ago

@thyb Where to set up the scope param? Can you please guide? I am using php and trying to login with google plus.