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
{{ message }}
This repository was archived by the owner on May 15, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: jfrog-oauth/README.md
+9-53Lines changed: 9 additions & 53 deletions
Original file line number
Diff line number
Diff line change
@@ -10,18 +10,16 @@ tags: [integration, jfrog]
10
10
11
11
# JFrog
12
12
13
-
Install the JF CLI and authenticate package managers with Artifactory using OAuth configured via the Coder `external-auth` feature.
13
+
Install the JF CLI and authenticate package managers with Artifactory using OAuth configured via the Coder [`external-auth`](https://coder.com/docs/v2/latest/admin/external-auth) feature.
username_field = "username" # If you are using GitHub to login to both Coder and Artifactory, use username_field = "username"
26
24
package_managers = {
27
25
"npm": "npm",
@@ -36,49 +34,7 @@ module "jfrog" {
36
34
37
35
## Prerequisites
38
36
39
-
Coder [`external-auth`](https://coder.com/docs/v2/latest/admin/external-auth) configured with Artifactory. This requires a [custom integration](https://jfrog.com/help/r/jfrog-installation-setup-documentation/enable-new-integrations) in Artifactory with **Callback URL** set to `https://<your-coder-url>/external-auth/jfrog/callback`.
40
-
41
-
To set this up,
42
-
43
-
1. Modify your `values.yaml` for JFrog Artifactory to add,
> Replace `JFROG_URL` with your JFrog Artifactory base URL, e.g., <artifactory.example.com>
37
+
This module is usable by JFrog self-hosted (on-premises) Artifactory as it requires configuring a custom integration. This integration benefits from Coder's [external-auth](https://coder.com/docs/v2/latest/admin/external-auth) feature and allows each user to authenticate with Artifactory using an OAuth flow and issues user-scoped tokens to each user. For configuration instructions, see this [guide](coder.com/docs/v2/latest/guides/artifactory-integration#jfrog-oauth) on the Coder documentation.
username_field = "username" # If you are using GitHub to login to both Coder and Artifactory, use username_field = "username"
122
77
configure_code_server = true # Add JFrog extension configuration for code-server
123
78
package_managers = {
@@ -133,13 +88,14 @@ module "jfrog" {
133
88
JFrog Access token is also available as a terraform output. You can use it in other terraform resources. For example, you can use it to configure an [Artifactory docker registry](https://jfrog.com/help/r/jfrog-artifactory-documentation/docker-registry) with the [docker terraform provider](https://registry.terraform.io/providers/kreuzwerker/docker/latest/docs).
Copy file name to clipboardExpand all lines: jfrog-token/README.md
+1-8Lines changed: 1 addition & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -27,14 +27,7 @@ module "jfrog" {
27
27
}
28
28
```
29
29
30
-
Get a JFrog access token from your Artifactory instance. The token must be an [admin token](https://registry.terraform.io/providers/jfrog/artifactory/latest/docs#access-token). It is recommended to store the token in a secret terraform variable.
31
-
32
-
```hcl
33
-
variable "artifactory_access_token" {
34
-
type = string
35
-
sensitive = true
36
-
}
37
-
```
30
+
For detailed instructions, please see this [guide](https://coder.com/docs/v2/latest/guides/artifactory-integration#jfrog-token) on the Coder documentation.
38
31
39
32
> Note
40
33
> This module does not install `npm`, `go`, `pip`, etc but only configure them. You need to handle the installation of these tools yourself.
0 commit comments