stackvana / hook.io

Open-Source Microservice Hosting Platform
https://hook.io
Other
1.27k stars 119 forks source link

permissions for private Github repo sources not available #268

Closed Marak closed 7 years ago

Marak commented 7 years ago

It seems that users are currently unable to specify private Github repos as source code, despite the fact they have signed in with Github.

In order to allow private repos, we need to provide an alternate login route which requests the repos role from the Github API.

Since many users won't want to give up their private repos by default, we'll need to make sure the original Github login routes ( with only public read role ) remain intact.

I also noticed that the error message for microcule.sourceGithubRepo was not being returned to the client.

Working on a patch now.