react-native-oauth icon indicating copy to clipboard operation
react-native-oauth copied to clipboard

Invalid requested scope "email,profile" on Android for Google login

Open haotangio opened this issue 7 years ago • 3 comments

Looks like using manager.authorize('google',{scopes: 'email,profile'}) but it doesn't work at all on Android. Do we have any solution for it?

haotangio avatar May 12 '18 05:05 haotangio

Looks like the same issue as https://github.com/fullstackreact/react-native-oauth/issues/61?

maxlang avatar May 14 '18 20:05 maxlang

works for me manager.authorize('google',{scopes: 'email+profile'})

Baskerville42 avatar Aug 14 '18 06:08 Baskerville42

Hrmm doesnt work for me. A single scope works fine but when I try to chain them, it breaks

"Some requested scopes were invalid. {invalid=[email+profile]}" I also tried {scopes: "email,profile"} and {scopes: "email profile"}

A single scope works as expected

daxaxelrod avatar May 22 '19 03:05 daxaxelrod