Personal Access Token
Using Personal Access Token is an alternative way of authentication. It is used when OAuth2 is impractical – mostly for scripts, integrations and small applications.
You can use Personal Access Token to authorize the API requests as well as to authorize Git through HTTP (when you use Buddy Git hosting).
Create personal access token
- Log in to Buddy.
- Click on your avatar in the top-right corner and head to "Manage your Profile" tab.
- Choose "Tokens" from the left menu and click the New Token button.
Adding new access token
- Provide the token description and choose proper scopes.
- A window with the token will appear. Copy the token and put it in a safe place.
Getting Buddy access token
Revoke personal access token
You can revoke the personal access token at any moment. To do it, open the list with tokens, choose the one you want to revoke and open it. At the bottom, you'll find the "Delete" button that will remove the token entirely. Alternatively, you can click the Regenerate button which will create a new authentication hash for the same description and list of scopes.
Last modified on September 26, 2022