Skip to content

Commit

Permalink
manual: Fix lists of required token scopes
Browse files Browse the repository at this point in the history
Closes #690.
  • Loading branch information
tarsius committed Aug 12, 2024
1 parent 7bcdffc commit aa72a4d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions docs/forge.org
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ then you have to set that variable locally:
:END:

Visit https://github.com/settings/tokens in a browser to generate
a new "classic" token using the ~repo~, ~user~ and ~repo:org~ scopes.
a new "classic" token using the ~repo~, ~user~ and ~read:org~ scopes.
Do not close the browser window just yet, because the token will
only be shown once.

Expand Down Expand Up @@ -210,7 +210,7 @@ So if INSTANCE-ID is ~example.com~ and USERNAME is ~tarsius~ then use:
Visit your forge in a browser. Follow a link to "Settings", from
there to "Developer settings", from there to "Personal access tokens",
and finally to "Tokens (classic)". On that page generate a new token
using the ~repo~, ~user~ and ~repo:org~ scopes. Do not close the browser
using the ~repo~, ~user~ and ~read:org~ scopes. Do not close the browser
window just yet, because the token will only be shown once.

The built-in Auth-Source ([[info:auth]]) package is used to store the
Expand Down Expand Up @@ -399,9 +399,9 @@ So if INSTANCE-ID is ~example.com~ and USERNAME is ~tarsius~ then use:

Visit your forge in a browser. Follow a link to "Preferences" and
from there to "Access Tokens". On that page generate a new "Personal
access token" using the ~repo~, ~user~ and ~repo:org~ scopes. Do not close
the browser window just yet, because the token will only be shown
once.
access token" using the ~api~, ~read_api~ and ~read_user~ scopes. Do not
close the browser window just yet, because the token will only be
shown once.

The built-in Auth-Source ([[info:auth]]) package is used to store the
token generated in the previous step. The ~auth-sources~ variable
Expand Down
10 changes: 5 additions & 5 deletions docs/forge.texi
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ git config --local github.user USERNAME
@subheading Create and Store an Access Token

Visit @uref{https://github.com/settings/tokens} in a browser to generate
a new "classic" token using the @code{repo}, @code{user} and @code{repo:org} scopes.
a new "classic" token using the @code{repo}, @code{user} and @code{read:org} scopes.
Do not close the browser window just yet, because the token will
only be shown once.

Expand Down Expand Up @@ -291,7 +291,7 @@ git config --global github.example.com.user tarsius
Visit your forge in a browser. Follow a link to "Settings", from
there to "Developer settings", from there to "Personal access tokens",
and finally to "Tokens (classic)". On that page generate a new token
using the @code{repo}, @code{user} and @code{repo:org} scopes. Do not close the browser
using the @code{repo}, @code{user} and @code{read:org} scopes. Do not close the browser
window just yet, because the token will only be shown once.

The built-in Auth-Source (@ref{Top,,,auth,}) package is used to store the
Expand Down Expand Up @@ -483,9 +483,9 @@ git config --global gitlab.example.com.user tarsius

Visit your forge in a browser. Follow a link to "Preferences" and
from there to "Access Tokens". On that page generate a new "Personal
access token" using the @code{repo}, @code{user} and @code{repo:org} scopes. Do not close
the browser window just yet, because the token will only be shown
once.
access token" using the @code{api}, @code{read_api} and @code{read_user} scopes. Do not
close the browser window just yet, because the token will only be
shown once.

The built-in Auth-Source (@ref{Top,,,auth,}) package is used to store the
token generated in the previous step. The @code{auth-sources} variable
Expand Down

0 comments on commit aa72a4d

Please sign in to comment.