Use password-store (aka pass) with forge and github-review
We can use
pass as an emacs
auth-source backend to access credentials.
auth-source-pass (included with emacs 26) to your emacs config:
(require 'auth-source-pass) (auth-source-pass-enable)
password-store to the variable
Add the GitHub access token to
pass with auth info.
pass insert -m api.github.com <API_TOKEN> <GH_USERNAME>^github-review <GH_USERNAME>^forge
github-review to access the same token under a single
To view what other
forge/github-review access, enable debug and check the Messages buffer with an operation that requires authentication such as
(setq auth-source-debug t)