atmos / warden-github

:lock: warden strategy for github oauth

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong web endpoint used for enterprise github

laurentgo opened this issue · comments

For enterprise github instances, if octokit is directly configured instead of using environment variables OCTOKIT_ to specify the web domain and the API domain, warden-github may end up using the wrong domain name for authentication. The cause is that Octokit::Configuration::DEFAULT_WEB_DOMAIN is relying on environment only.