Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Erroor: Invalid_scope #249

Open
idoor88 opened this issue Oct 28, 2019 · 0 comments
Open

Erroor: Invalid_scope #249

idoor88 opened this issue Oct 28, 2019 · 0 comments

Comments

@idoor88
Copy link

idoor88 commented Oct 28, 2019

Hi, is this project still alive? I tried this library, but I got Invalid_scope error, I tried all the suggestions from this link:#61, but still the same issue, this is the code:

`

   const manager = new OAuthManager('test')

    manager.configure({

      google: {

        callback_url: `com.test:/oauth2redirect`,

        //callback_url: 'http://localhost/google',

        client_id: 'my_actual_clientId',

        client_secret: 'my_actual_client_secret',

        //rawScopes: 'true',

      }

    });

    console.log("authOauth ... manager: ", manager);

    let authResult = await manager.authorize('google', {scopes: 'profile,email'});

    console.log("authOauth authResult: ", authResult);

`

Also my final goal is to use this library to access my youtube account after logging in, will this work for youtube account?
Thanks

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant