[SOLVED] How do I add an openID connect or Oauth2 provider as an authentication source?


I want to use Gitea on a Windows Server 2016 and downloaded the “.exe” file.

To be compatible with our other in-house web pages I have built an openID Connect server (with https://github.com/panva/node-oidc-provider) so I can reuse our existing accounts.

But I found no docs or GitHub issues who describe how to add such an authentication source.

Can you help me?

PS: I have no experience with Go.

Already looked at it, but the only available provider option for OAuth2 is Github.

Tested with Gitea v1.1.2.

I don’t look for federated OpenID-Connect features. Simple OAuth2 is enough.

It looks like the feature I want is already merged (https://github.com/go-gitea/gitea/pull/1010) and https://try.gitea.io has an OpenID tab on its login page.

But it can be, that it is not in the current release. Let’s wait for 1.1.3 or 1.2.0.

It will be on v1.2, v1.1.3 is only bug fixed.

1 Like