Skip to content

Erroor: Invalid_scope #249

Description

@idoor88

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions