geowarin / gist-templates-plugin

An intellij plugin to fetch gists from one or several github gists account and use them as templates inside IntelliJ
19 stars 11 forks source link

Unable to grab gists from github enterprise instance #16

Open fuzzyweapon opened 8 years ago

fuzzyweapon commented 8 years ago

Basically, when I setup my github account to hook into my github enterprise instance and test it, the connection pans out. But when the plugin tries to use it, it throws the following error:

12:01:49 PM Error while fetching gists for : Bad credentials (401)

Some insight into the way our instance is hosted... My work hosts github enterprise off of a subdomain, so instead of the url for gists taking after the way github does it (as a subdomain), we have to reach gists via domain/gist. This is the first culprit I can think of that could be part of the problem (although I haven't looked at the plugin code or anything, so take it with a grain of salt).