forked from forgejo/forgejo
![]() This PR is an extended implementation of #25189 and builds upon the
proposal by @hickford in #25653, utilizing some ideas proposed
internally by @wxiaoguang.
Mainly, this PR consists of a mechanism to pre-register OAuth2
applications on startup, which can be enabled or disabled by modifying
the `[oauth2].DEFAULT_APPLICATIONS` parameter in app.ini. The OAuth2
applications registered this way are being marked as "locked" and
neither be deleted nor edited over UI to prevent confusing/unexpected
behavior. Instead, they're being removed if no longer enabled in config.
![grafik](
|
||
---|---|---|
.. | ||
_index.en-us.md | ||
_index.zh-cn.md | ||
_index.zh-tw.md | ||
api-usage.en-us.md | ||
api-usage.zh-cn.md | ||
hacking-on-gitea.en-us.md | ||
hacking-on-gitea.zh-cn.md | ||
integrations.en-us.md | ||
integrations.zh-cn.md | ||
integrations.zh-tw.md | ||
migrations.en-us.md | ||
migrations.zh-cn.md | ||
migrations.zh-tw.md | ||
oauth2-provider.en-us.md | ||
oauth2-provider.zh-cn.md | ||
oauth2-provider.zh-tw.md |