Skip to content
Snippets Groups Projects
Commit 96c85413 authored by jabertwo's avatar jabertwo
Browse files

Documentation for Gitea

parent 35328f17
No related branches found
No related tags found
No related merge requests found
Schritt 1: OpenID Connect Konfiguration in Uffd
1. neuen Dienst erstellen
2. OAuth2 Client-ID erstellen
- Client-ID: gitea
- Client-Secret: <geheim>
- Redirect-URIs: https://<gitea-domain>/user/oauth2/uffd/callback
Schritt 2: Gitea für OpenID Connect konfigurieren
1. login in gitea als admin
2. Administratoreinstellungen > Indentität & Zugriff > Authentifizierungsquellen : Authentifizierungsquelle hinzufügen
- Authentifizierungstyp: OAuth2
- Authentifizierungsname: <uffd>
- OAuth2-Anbieter: OpenID Connect
- Client-ID: gitea
- Client-Secret: <geheim>
- OpenID-Connect-Auto-Discovery-URL: https://</.well-known/openid-configuration
\ No newline at end of file
......@@ -26,7 +26,7 @@ services:
GITEA__oauth2_client__REGISTER_EMAIL_CONFIRM: "false"
GITEA__oauth2_client__OPENID_CONNECT_SCOPES: "openid profile email groups"
GITEA__oauth2_client__ENABLE_AUTO_REGISTRATION: "true"
GITEA__oauth2_client__USERNAME: "nickname"
GITEA__oauth2_client__USERNAME: "prefered_username"
GITEA__oauth2_client__UPDATE_AVATAR: "true"
GITEA__oauth2_client__ACCOUNT_LINKING: "login"
labels:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment