You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, when developing IntelliJ plugins that are hosted in private Artifactory, developers need to implement their own PluginRepositoryAuthProvider to handle authentication for plugin updates. Since the JFrog IntelliJ plugin already manages Artifactory credentials, it would be valuable to have a built-in PluginRepositoryAuthProvider implementation.
Use Case:
Developers hosting IntelliJ plugins in private Artifactory
Need authenticated access for plugin updates through IntelliJ's plugin manager
Currently requires custom implementation of PluginRepositoryAuthProvider
Credentials are already managed by JFrog IntelliJ plugin
Proposed Enhancement:
Implement PluginRepositoryAuthProvider interface
Utilize existing Artifactory credentials from JFrog plugin configuration
Automatically handle authentication for plugin updates from Artifactory repositories
This would:
Reduce duplicate credential management
Simplify plugin update deployment through Artifactory
Provide a standardized way to handle plugin repository authentication
Benefit all IntelliJ plugin developers using Artifactory
class ArtifactoryAuthProvider : PluginRepositoryAuthProvider {
override fun getAuthHeaders(url: String?): MutableMap<String, String> {
return mutableMapOf(
"Authorization" to "Bearer fetched-from-global-settings"
)
}
override fun canHandle(url: String?): Boolean {
return true
}
}
So now when I input the artifactory url pointing to updatesPlugin.xml in the Plugins page, then the authentication will be successful and all the plugins will be displayed.
I'm willing to contribute to this enhancement if you're open to it.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Currently, when developing IntelliJ plugins that are hosted in private Artifactory, developers need to implement their own PluginRepositoryAuthProvider to handle authentication for plugin updates. Since the JFrog IntelliJ plugin already manages Artifactory credentials, it would be valuable to have a built-in PluginRepositoryAuthProvider implementation.
Use Case:
Proposed Enhancement:
This would:
So now when I input the artifactory url pointing to updatesPlugin.xml in the Plugins page, then the authentication will be successful and all the plugins will be displayed.
I'm willing to contribute to this enhancement if you're open to it.
The text was updated successfully, but these errors were encountered: