Github extension adding hook fails deployment with 403

When deploying with the Github Extension 3.4 I’m getting this error

Problem creating hooks {"name":"send-initial-password-reset","triggerId":"post-change-password"}
APIError: {"statusCode":403,"error":"Forbidden","message":"Insufficient scope, expected any of: create:hooks","errorCode":"insufficient_scope"}

when trying to add a new hook in hooks/ folder. (This is the first hook in the gh repo).

But it looks like create:hooks is in the scopes in latest version, e.g. here https://github.com/auth0-extensions/auth0-deploy-extensions/blob/master/webtask-templates/github.json#L19

Hey there Ben!

Can I ask you to raise it as a GitHub issue in that repo so we can work directly on it with the repo maintainers? Thanks! Once you have it please share the link to the issue here with us so we can ping them.

Sure, done here https://github.com/auth0-extensions/auth0-source-control-extension-tools/issues/100

1 Like

Perfect! Thanks a lot!

“Update to 3.5” button appeared this morning, going to give that a shot soon

1 Like

Perfect! Let us know once you test it!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.