# CodeBerg support

**URL:** https://meta.discourse.org/t/codeberg-support/255384
**Category:** Feature
**Created:** [February 16, 2023, 6:45pm UTC](https://meta.discourse.org/t/codeberg-support/255384 "2023-02-16T18:45:42Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Wojtekxtx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wojtekxtx/32/277956_2.png) [@Wojtekxtx](https://meta.discourse.org/u/Wojtekxtx)
#### Post date: [February 16, 2023, 6:45pm UTC](https://meta.discourse.org/t/codeberg-support/255384/1 "2023-02-16T18:45:42Z")

</div>

I mean [CodeBerg](https://codeberg.org). Its good alternative to GitHub/GitLab/other VCS. Its growing in popularity and is getting better and better every day.

Im interested if Discourse will support it in the way that will allow users to create account/log-in with it?

---

<div class="post-metadata">

### Author: ![leonardo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/leonardo/32/228634_2.png) [@leonardo](https://meta.discourse.org/u/leonardo)
#### Post date: [February 16, 2023, 7:23pm UTC](https://meta.discourse.org/t/codeberg-support/255384/3 "2023-02-16T19:23:32Z")

</div>

Hi!

Codeberg uses Forgejo which is forked from Gitea, and Gitea seems to [support OAuth2 and Open ID Connect](https://docs.gitea.io/en-us/oauth2-provider/), for which Discourse has extensive support through plugins:

- [Discourse OpenID Connect (OIDC)](https://meta.discourse.org/t/discourse-openid-connect/103632)
- [Discourse OAuth2 Basic](https://meta.discourse.org/t/oauth2-basic-support/33879)

You can find Codeberg’s OIDC discovery document here, which should get you started:

- [https://codeberg.org/.well-known/openid-configuration](https://codeberg.org/.well-known/openid-configuration)

---

<div class="post-metadata">

### Author: ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)
#### Post date: [February 17, 2023, 10:22pm UTC](https://meta.discourse.org/t/codeberg-support/255384/5 "2023-02-17T22:22:45Z")

</div>

This plugin may be of interest..

> [@Discourse Codeberg Login](https://meta.discourse.org/t/discourse-codeberg-login/255511):
>
> information_sourceSummary Plugin that allows users to sign in with their [Codeberg](https://codeberg.org) accounthammer_and_wrenchRepository Link [https://github.com/Regalijan/discourse-codeberg-auth](https://github.com/Regalijan/discourse-codeberg-auth)open_bookInstall Guide [How to install plugins in Discourse](https://meta.discourse.org/t/install-plugins-in-discourse/19157)Configuration Obtain a client id/secret pair from [Codeberg](https://codeberg.org/user/settings/applications) (under Manage OAuth2 Applications). Set the name to whatever and set the redirect uri to https://your.discourse/auth/codeberg/callback Set codeberg\_client\_id and codeber…
