[ { "operation": [ "migrate" ], "returncode": 0, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "add-oauth", "--name", "refused-debug-logging", "--provider", "github", "--secret-file", "/run/forgejo-oidc/CLIENT_SECRET" ], "returncode": 1, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "add-oauth", "--name", "synthetic-oauth", "--provider", "github", "--key", "synthetic-public-id", "--secret-file", "/run/forgejo-oidc/CLIENT_SECRET", "--group-claim-name", "groups", "--admin-group", "unchanged-admin", "--scopes", "read:user,user:email" ], "returncode": 0, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "update-oauth", "--id", "1", "--icon-url", "https://synthetic.invalid/icon" ], "returncode": 0, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "update-oauth", "--id", "1", "--secret-file", "/run/forgejo-oidc/replacement" ], "returncode": 0, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "update-oauth", "--id", "1", "--name", "synthetic-guarded" ], "returncode": 0, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "update-oauth", "--id", "1", "--secret-file", "/run/forgejo-oidc/good" ], "returncode": 0, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "add-oauth", "--name", "refused", "--provider", "github", "--secret-file", "/run/forgejo-oidc/newline" ], "returncode": 1, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "update-oauth", "--id", "1", "--name", "refused", "--secret-file", "/run/forgejo-oidc/newline" ], "returncode": 1, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "add-oauth", "--name", "refused", "--provider", "github", "--secret-file", "/run/forgejo-oidc/short" ], "returncode": 1, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "update-oauth", "--id", "1", "--name", "refused", "--secret-file", "/run/forgejo-oidc/short" ], "returncode": 1, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "add-oauth", "--name", "refused", "--provider", "github", "--secret-file", "/run/forgejo-oidc/long" ], "returncode": 1, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "update-oauth", "--id", "1", "--name", "refused", "--secret-file", "/run/forgejo-oidc/long" ], "returncode": 1, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "add-oauth", "--name", "refused", "--provider", "github", "--secret-file", "/run/forgejo-oidc/badbyte" ], "returncode": 1, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "update-oauth", "--id", "1", "--name", "refused", "--secret-file", "/run/forgejo-oidc/badbyte" ], "returncode": 1, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "add-oauth", "--name", "refused", "--provider", "github", "--secret-file", "/run/forgejo-oidc/world" ], "returncode": 1, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "update-oauth", "--id", "1", "--name", "refused", "--secret-file", "/run/forgejo-oidc/world" ], "returncode": 1, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "add-oauth", "--name", "refused", "--provider", "github", "--secret-file", "/run/forgejo-oidc/writable" ], "returncode": 1, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "update-oauth", "--id", "1", "--name", "refused", "--secret-file", "/run/forgejo-oidc/writable" ], "returncode": 1, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "add-oauth", "--name", "refused", "--provider", "github", "--secret-file", "/run/forgejo-oidc/executable" ], "returncode": 1, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "update-oauth", "--id", "1", "--name", "refused", "--secret-file", "/run/forgejo-oidc/executable" ], "returncode": 1, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "add-oauth", "--name", "refused", "--provider", "github", "--secret-file", "/run/forgejo-oidc/empty" ], "returncode": 1, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "update-oauth", "--id", "1", "--name", "refused", "--secret-file", "/run/forgejo-oidc/empty" ], "returncode": 1, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "add-oauth", "--name", "refused", "--provider", "github", "--secret-file", "/run/forgejo-oidc/symlink" ], "returncode": 1, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "update-oauth", "--id", "1", "--name", "refused", "--secret-file", "/run/forgejo-oidc/symlink" ], "returncode": 1, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "add-oauth", "--name", "refused", "--provider", "github", "--secret-file", "/run/forgejo-oidc/fifo" ], "returncode": 1, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "update-oauth", "--id", "1", "--name", "refused", "--secret-file", "/run/forgejo-oidc/fifo" ], "returncode": 1, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "add-oauth", "--name", "refused", "--provider", "github", "--secret-file", "/run/forgejo-oidc/directory" ], "returncode": 1, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "update-oauth", "--id", "1", "--name", "refused", "--secret-file", "/run/forgejo-oidc/directory" ], "returncode": 1, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "add-oauth", "--name", "refused", "--provider", "github", "--secret-file", "/run/forgejo-oidc/missing" ], "returncode": 1, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "update-oauth", "--id", "1", "--name", "refused", "--secret-file", "/run/forgejo-oidc/missing" ], "returncode": 1, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "add-oauth", "--name", "refused", "--provider", "github", "--secret-file", "/run/forgejo-oidc/badparent/value" ], "returncode": 1, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "update-oauth", "--id", "1", "--name", "refused", "--secret-file", "/run/forgejo-oidc/badparent/value" ], "returncode": 1, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "add-oauth", "--name", "refused", "--provider", "github", "--secret-file", "/run/forgejo-oidc/parentlink/value" ], "returncode": 1, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "update-oauth", "--id", "1", "--name", "refused", "--secret-file", "/run/forgejo-oidc/parentlink/value" ], "returncode": 1, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "add-oauth", "--name", "refused", "--provider", "github", "--secret-file", "relative" ], "returncode": 1, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "update-oauth", "--id", "1", "--name", "refused", "--secret-file", "relative" ], "returncode": 1, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "add-oauth", "--name", "refused", "--provider", "github", "--secret-file", "" ], "returncode": 1, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "update-oauth", "--id", "1", "--name", "refused", "--secret-file", "" ], "returncode": 1, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "add-oauth", "--name", "refused", "--provider", "github", "--secret-file", "/run/forgejo-oidc/../forgejo-oidc/good" ], "returncode": 1, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "update-oauth", "--id", "1", "--name", "refused", "--secret-file", "/run/forgejo-oidc/../forgejo-oidc/good" ], "returncode": 1, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "add-oauth", "--name", "refused", "--provider", "github", "--secret-file", "/run/writable-input/good" ], "returncode": 1, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "update-oauth", "--id", "1", "--name", "refused", "--secret-file", "/run/writable-input/good" ], "returncode": 1, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "add-oauth", "--name", "refused", "--secret", "", "--secret-file", "/run/forgejo-oidc/good" ], "returncode": 1, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "update-oauth", "--id", "1", "--secret", "", "--secret-file", "/run/forgejo-oidc/good" ], "returncode": 1, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "update-oauth", "--id", "1", "--required-claim-values", "" ], "returncode": 1, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "update-oauth", "--id", "1", "--secret-file", "/run/forgejo-oidc/replacement" ], "returncode": 1, "stdout_stderr_secret_absent": true }, { "operation": [ "admin", "auth", "update-oauth", "--id", "1", "--secret", "synthetic-legacy-literal" ], "returncode": 0, "stdout_stderr_secret_absent": true } ]