Generate an access token
Saturn needs an access token to authenticate at the API of the host and push changes to repositories.
The following guides describe how to create an access token for the supported hosts.
Forgejo¶
- Create an access token at
https://<forgejo instance>/user/settings/applications. - Create the token with the scopes
write:issue,write:repositoryandread:user. - Set forgejoToken to the new token.
GitHub¶
- Create a Personal Access Token.
- Create the token with scopes
repoanduser:email. - Configure
githubToken.
GitLab¶
- Depending on your use case, follow Create a personal access token or Create a group access token.
- Create the token with scopes
apiandwrite_repository. - Configure
gitlabToken.