Authenticate any custom plugin repositories using GitHub authentication. To configure, open Settings / Preferences and go to Version Control | GitHub. Requires the GitHub plugin.
The plugin adds Authentication: Bearer
headers to any custom repositories residing on github.com, allowing you to use
your GitHub repository as a private plugin marketplace. URL of such custom repository could look like:
https://api.github.com/repos/organization/plugins/contents/updatePlugins.xml
-
Using the IDE built-in plugin system:
Settings/Preferences > Plugins > Marketplace > Search for "Private GitHub Marketplace Auth" > Install
-
Using JetBrains Marketplace:
Go to JetBrains Marketplace and install it by clicking the Install to ... button in case your IDE is running.
You can also download the latest release from JetBrains Marketplace and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
-
Manually:
Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
The plugin detects URLs which reside on github.com domain or subdomains. The typical use is with https://api.github.com/repos, but any other github.com URL which is able to serve a content and accepts Authorization Bearer headers will do.
The URLs are detected against regex ^https://([^/]*[.@])?github\.com/
. This makes sure the token is not added to request made against
any other repositories. Yet be carful and add any custom repository domain with a due diligence.
The GitHub tokens are just added to the headers. They are never stored or logged by the plugin and are not sent to any other servers.
Plugin based on the IntelliJ Platform Plugin Template.