# GitHub integration broken?

**URL:** <https://forum.beeminder.com/t/github-integration-broken/4968>\
**Category:** Bugabee\
**Created:** [February 17, 2019, 5:43pm UTC](https://forum.beeminder.com/t/github-integration-broken/4968 "2019-02-17T17:43:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![narthur](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/narthur/32/5113_2.png) [@narthur](https://forum.beeminder.com/u/narthur)\
**Post date:** [February 17, 2019, 5:43pm UTC](https://forum.beeminder.com/t/github-integration-broken/4968/1 "2019-02-17T17:43:25Z")

</div>

I’m trying to add a goal using the GitHub integration. These are the settings I’m using:

 ![24%20PM](https://us1.discourse-cdn.com/flex019/uploads/beeminder/original/2X/b/b398a2e46d51e59ad90fcf1fcfdabc9023ad9a3f.png)

Hitting “Connect to GitHub” results in a flash of the blue bar at the top of the page, followed by nothing, in both Chrome and Firefox Developer Edition.

Hitting the button results in this error in the Chrome console:

> application-4aeadbaed4bfb314986685c631be6351cb960e879049c5d3249c0cbdaee774d1.js:9190 Uncaught TypeError: Cannot read property ‘indexOf’ of undefined  
> at Object.success (application-4aeadbaed4bfb314986685c631be6351cb960e879049c5d3249c0cbdaee774d1.js:9190)  
> at f (application-4aeadbaed4bfb314986685c631be6351cb960e879049c5d3249c0cbdaee774d1.js:2)  
> at Object.fireWith [as resolveWith] (application-4aeadbaed4bfb314986685c631be6351cb960e879049c5d3249c0cbdaee774d1.js:2)  
> at r (application-4aeadbaed4bfb314986685c631be6351cb960e879049c5d3249c0cbdaee774d1.js:4)  
> at XMLHttpRequest.r (application-4aeadbaed4bfb314986685c631be6351cb960e879049c5d3249c0cbdaee774d1.js:4)

In Firefox, the errors are different and seem to be related to Firefox’ new content blocking feature:

> Request to access cookie or storage on “[https://www.facebook.com/tr/”](https://www.facebook.com/tr/%E2%80%9D) was blocked because it came from a tracker and content blocking is enabled. [new](https://www.beeminder.com/new)

> TypeError: data.repos is undefined[Learn More] [application-4aeadbaed4bfb314986685c631be6351cb960e879049c5d3249c0cbdaee774d1.js:9190:9](https://www.beeminder.com/assets/application-4aeadbaed4bfb314986685c631be6351cb960e879049c5d3249c0cbdaee774d1.js)  
> validateForm [https://www.beeminder.com/assets/application-4aeadbaed4bfb314986685c631be6351cb960e879049c5d3249c0cbdaee774d1.js:9190](https://www.beeminder.com/assets/application-4aeadbaed4bfb314986685c631be6351cb960e879049c5d3249c0cbdaee774d1.js:9190)  
> f [https://www.beeminder.com/assets/application-4aeadbaed4bfb314986685c631be6351cb960e879049c5d3249c0cbdaee774d1.js:2](https://www.beeminder.com/assets/application-4aeadbaed4bfb314986685c631be6351cb960e879049c5d3249c0cbdaee774d1.js:2)  
> fireWith [https://www.beeminder.com/assets/application-4aeadbaed4bfb314986685c631be6351cb960e879049c5d3249c0cbdaee774d1.js:2](https://www.beeminder.com/assets/application-4aeadbaed4bfb314986685c631be6351cb960e879049c5d3249c0cbdaee774d1.js:2)  
> r [https://www.beeminder.com/assets/application-4aeadbaed4bfb314986685c631be6351cb960e879049c5d3249c0cbdaee774d1.js:4](https://www.beeminder.com/assets/application-4aeadbaed4bfb314986685c631be6351cb960e879049c5d3249c0cbdaee774d1.js:4)  
> r [https://www.beeminder.com/assets/application-4aeadbaed4bfb314986685c631be6351cb960e879049c5d3249c0cbdaee774d1.js:4](https://www.beeminder.com/assets/application-4aeadbaed4bfb314986685c631be6351cb960e879049c5d3249c0cbdaee774d1.js:4)

Turning off content blocking for Beeminder eliminates the first error, but the second error still occurs.

---

<div class="post-metadata">

**Author:** ![narthur](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/narthur/32/5113_2.png) [@narthur](https://forum.beeminder.com/u/narthur)\
**Post date:** [February 17, 2019, 5:46pm UTC](https://forum.beeminder.com/t/github-integration-broken/4968/2 "2019-02-17T17:46:45Z")

</div>

I don’t know if this is relevant but the repository I’m trying to watch is a private repo; though, it doesn’t seem like this should be a problem since I expect that clicking “Connect to GitHub” is supposed to give me the opportunity to grant Beeminder access to all my repositories.

---

<div class="post-metadata">

**Author:** ![bee](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/bee/32/41_2.png) [@bee](https://forum.beeminder.com/u/bee)\
**Post date:** [February 20, 2019, 7:08pm UTC](https://forum.beeminder.com/t/github-integration-broken/4968/3 "2019-02-20T19:08:19Z")

</div>

Howdy, I haven’t gotten a chance to take a look at what’s going wrong in goal creation, but I did have someone report problems with github auth during goal creation recently and say that the auth step worked fine if they visited [beeminder.com/services](http://beeminder.com/services) and authed from there, then went and created the github goal with no need for an auth step (since they’d already granted us permission).

---

<div class="post-metadata">

**Author:** ![narthur](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/narthur/32/5113_2.png) [@narthur](https://forum.beeminder.com/u/narthur)\
**Post date:** [February 21, 2019, 1:59pm UTC](https://forum.beeminder.com/t/github-integration-broken/4968/4 "2019-02-21T13:59:30Z")

</div>

This worked! Thank you 🙂
