From c585e194996c464d5bdd1a271969836ce8eff7f2 Mon Sep 17 00:00:00 2001 From: boomam <37086258+boomam@users.noreply.github.com> Date: Sat, 6 Aug 2022 18:25:28 -0400 Subject: [PATCH] docs: update gitea integration (#3724) Added full redirect_uris path, note on pre-creating user. Co-authored-by: James Elliott --- .../integration/openid-connect/gitea/index.md | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/docs/content/en/integration/openid-connect/gitea/index.md b/docs/content/en/integration/openid-connect/gitea/index.md index 1e9ffa97..c3b405b9 100644 --- a/docs/content/en/integration/openid-connect/gitea/index.md +++ b/docs/content/en/integration/openid-connect/gitea/index.md @@ -52,6 +52,26 @@ To configure [Gitea] to utilize Authelia as an [OpenID Connect] Provider: {{< figure src="gitea.png" alt="Gitea" width="300" >}} +#### Gitea App.ini +The following variables should be setup to enable 'auto' user creation - +``` +[openid] +ENABLE_OPENID_SIGNIN = false +ENABLE_OPENID_SIGNUP = true +WHITELISTED_URIS = auth.domain.com + +[service] +DISABLE_REGISTRATION = false +ALLOW_ONLY_EXTERNAL_REGISTRATION = true +SHOW_REGISTRATION_BUTTON = false +``` +* 'ENABLE_OPENID_SIGNIN' - shows an additional OpenID section on the login page. Setting this to false removes it - this allows all auth to be instigated by Authelia. +* 'ENABLE_OPENID_SIGNUP' - this allows the OIDC user to sign up with Gitea, with the user passed from your Authelia login session. +* 'WHITELISTED_URIS' - this restricts the login/OIDC source to be Authelia +* 'DISABLE_REGISTRATION' - this disables general user (non-OIDC) registration +* 'ALLOW_ONLY_EXTERNAL_REGISTRATION' - this allows registration via OIDC only +* 'SHOW_REGISTRATION_BUTTON' - This hides the sign up button so manual registrations via the home page are not possible + ### Authelia The following YAML configuration is an example __Authelia__