mirror of
https://codeberg.org/forgejo/docs.git
synced 2024-12-26 22:51:22 -05:00
1.4 KiB
1.4 KiB
title | license |
---|---|
OAuth2 provider | CC-BY-SA-4.0 |
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 beause 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.