Skip to content

Commit 36ff074

Browse files
authored
docs: mention what server is in JuliaHub.authenticate (#80)
1 parent 31fcb9b commit 36ff074

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/authentication.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,8 @@ The zero- and one-argument methods will attempt to read the token from the curre
173173
If a valid authentication token does not exist in the Julia depot, a new token is acquired via an
174174
interactive browser based prompt. By default, it attemps to connect to the currently configured Julia
175175
package server URL (configured e.g. via the `JULIA_PKG_SERVER` environment variable), but this
176-
can be overridden by passing the `server` argument.
176+
can be overridden by passing the `server` argument. `server` is just the URL of your JuliaHub instance,
177+
so if you've logged on to the public JuliaHub server, this is `"juliahub.com"`.
177178
178179
The two-argument method can be used when you do not want to read the token from the `auth.toml`
179180
file (e.g. when using a long-term token via an environment variable). In this case, you also have

0 commit comments

Comments
 (0)