Skip to content

Jira:DVCS:Secret Tokens

lbonanomi edited this page Dec 20, 2024 · 1 revision

If DVCS is giving you trouble about organization secrets, fetch the auth token from the database (SELECT ACCESS_TOKEN,NAME FROM AO_E8B6CC_ORGANIZATION_MAPPING;) and run a curl call against any repo's webhooks endpoint: curl -u ":$TOKEN" https://api.github.com/repos/$ORG/$REPO/hooks

If the curl call works generally but returns a 404 when trying the webhooks endpoint then the Github app is not properly authorized. REVOKE ALL TOKENS FOR THE APP and do it again.

This time make sure you are logged-into Github as the service account, and that you hit the Grant button in the OAUTH screen

Clone this wiki locally