# Gitea Authentik SSO This stack creates the Authentik side of Gitea OpenID Connect login: - OAuth2 provider - Authentik application - `gitea-users` and `gitea-admins` access groups - provider policy bindings `./jeannie sso-gitea apply` applies this stack, then configures the existing Debian-hosted Gitea container with: ```text gitea admin auth add-oauth/update-oauth --provider openidConnect ``` The Gitea callback URL is: ```text https://lab2025.duckdns.org/git/user/oauth2/authentik/callback ``` Add real users to `gitea-users` in Authentik before testing login.