Gitea
The Gitea integration allows you to preview live issue, pull request, and repository information from Gitea links in Outline documents. It also works with Forgejo instances, such as Codeberg. For issues you can see the current status, author, timestamp, labels, and a preview of the description. For pull requests the status is also displayed, including whether it is a draft or merged. For repositories you can see the visibility, topics, and issue progress.
Config
To set up the integration navigate to Settings → Integrations → Gitea. You must have an admin role to be able to see this screen. Click the “Connect” button and enter the details of your Gitea or Forgejo instance.
Register an application
Before connecting, you must register an OAuth application in your Gitea or Forgejo instance:
In Gitea, navigate to Settings → Applications and find the “Manage OAuth2 Applications” section. Site administrators can also register an application for the whole instance under Site Administration → Integrations → Applications.
Enter a name for the application, for example “Outline”.
Enter the redirect URI. It is shown in the Outline connect dialog and uses the following format:
<outlinedomain.com>/api/gitea.callback
Keep the “Confidential client” option enabled.
When registration is complete you will be given a “Client ID” and “Client secret”. Enter these into the connect dialog in Outline, together with the URL of your instance, for example https://gitea.example.com.
You do not need to choose scopes in Gitea. Outline requests read-only access to your user, organizations, repositories, and issues.
Connect multiple instances
If you have more than one Gitea or Forgejo instance, each can be connected in the same way by navigating to the settings page and clicking the “Connect” button that is now in the header. Each instance can be connected once. Connecting the same instance again replaces the connected account, and the existing connection keeps working until the new one is authorized.
Usage
Once the integration is connected, paste an issue, pull request, or repository link from your Gitea or Forgejo instance into an Outline document and you will see the option to “mention” which displays detailed information inside the document.