Auth0 Home Blog Docs

Why isn't "admin:org_hook" scope available using Github social connection?

github

#1

Hello,

I’m creating an application for class and it’s supposed to let users subscribe to notifications from their github organizations which means I need to set up web hooks on the user’s behalf.

https://developer.github.com/v3/orgs/hooks/

As stated in Github’s documentation I need admin:org_hook scope but it’s not available in the social connection settings, am I doing something wrong, looking in the wrong place or is it not just implemented on Auth0’s side?

regards


#2

Nvm, I solved it by specifying the scopes in my code instead of relaying on the Social Connection settings.

  webAuth.authorize({
    connection: 'github',
    connection_scope: 'user admin:org_hook read:org repo',
  });