From e8beabfd05eb53c2c164948acc22237962676707 Mon Sep 17 00:00:00 2001 From: Agent Date: Fri, 3 Apr 2026 07:19:22 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20fix:=20Woodpecker=20token=20auto-generat?= =?UTF-8?q?ion=20fails=20=E2=80=94=20OAuth2=20redirect=20URI=20mismatch=20?= =?UTF-8?q?(#172)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/disinto | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/disinto b/bin/disinto index e111a92..29f5808 100755 --- a/bin/disinto +++ b/bin/disinto @@ -1528,10 +1528,12 @@ create_woodpecker_oauth() { # Store Woodpecker forge config in .env # WP_FORGEJO_CLIENT/SECRET match the docker-compose.yml variable references + # WOODPECKER_HOST must be host-accessible URL to match OAuth2 redirect_uri local env_file="${FACTORY_ROOT}/.env" local wp_vars=( "WOODPECKER_FORGEJO=true" "WOODPECKER_FORGEJO_URL=${forge_url}" + "WOODPECKER_HOST=http://localhost:8000" ) if [ -n "${client_id:-}" ]; then wp_vars+=("WP_FORGEJO_CLIENT=${client_id}")