OAuth2 provider
Forgejo can act as an instance wide OAuth2 provider. To achieve that, OAuth2 applications must be created in the /admin/applications
page.
NOTE: Third party applications obtaining a token for a user via such an application will have administrative rights. OAuth2 scopes are not yet implemented.
Pre-registered applications
The following OAuth2 applications are pre-registered because it is generally useful for Forgejo to be an OAuth2 provider for the corresponding third party software. Their usage is explained in the Forgejo user guide.
- git-credential-manager is the name of the OAuth2 application for the Git Credential Manager (a Git credential helper)
- git-credential-oauth is the name of the OAuth2 application for the git-credential-oauth (a Git credential helper)
All pre-registered applications are activated by default in the [oauth2].DEFAULT_APPLICATIONS
setting as displayed in the /admin/applications
page.