Repository navigation
Conversation
Member
|
Thanks for this, and for the detailed writeup. OIDC was worth adding. I ended up implementing it fresh in c0f487e rather than merging here, mostly because this branch predates the api module's move from zap to Closing in favor of that. Thanks for pushing the feature forward. |
ajgon
pushed a commit
to deedee-ops/home-ops
that referenced
this pull request
Aug 14, 2026
… 8.36.0) (#625) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [docker.io/gotenberg/gotenberg](https://github.com/gotenberg/gotenberg) | minor | `8.35.0` → `8.36.0` | --- >⚠️ **Warning** > > Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/7) for more information. --- ### Release Notes <details> <summary>gotenberg/gotenberg (docker.io/gotenberg/gotenberg)</summary> ### [`v8.36.0`](https://github.com/gotenberg/gotenberg/releases/tag/v8.36.0): 8.36.0 [Compare Source](gotenberg/gotenberg@v8.35.0...v8.36.0) ##### Security Fixes⚠️ - **Filter WebSocket handshakes against the outbound policy.** Chromium could open WebSocket connections to hosts the SSRF policy otherwise blocks. ##### New Features - **OIDC bearer token authentication.** Opt-in via `--api-enable-oidc-auth`, mutually exclusive with basic auth ([#​1341](gotenberg/gotenberg#1341)). Thanks [@​mlgupta](https://github.com/mlgupta). - **Optimize PDF images to reduce file size** ([#​359](gotenberg/gotenberg#359)). A `/forms/pdfengines/optimize` route, plus an `optimizeImages` option on the Chromium, LibreOffice, merge, and split routes. Thanks [@​spointecker](https://github.com/spointecker). - **Apply multiple stamps and watermarks in one request** by repeating the fields, on every route that supports them ([#​1601](gotenberg/gotenberg#1601)). Thanks [@​Kobe-Kwanten](https://github.com/Kobe-Kwanten). - **Screenshot a single element** via the `selector` form field ([#​947](gotenberg/gotenberg#947)). Thanks [@​human211](https://github.com/human211). - **Table-of-contents bookmarks when merging.** `titleBookmarks` adds one bookmark per input, labeled by its title ([#​867](gotenberg/gotenberg#867)). Thanks [@​gnapse](https://github.com/gnapse). - **Clear storage between conversions** with `--chromium-clear-storage` ([#​919](gotenberg/gotenberg#919)). Thanks [@​befresh-mweimerskirch](https://github.com/befresh-mweimerskirch). - **Await async `waitForExpression`.** A Promise-returning expression is now awaited ([#​1617](gotenberg/gotenberg#1617)). Thanks [@​nhh](https://github.com/nhh). ##### Bug Fixes - **Landscape single-page now fits the page to its content** ([#​1390](gotenberg/gotenberg#1390)). Thanks [@​JhnBer](https://github.com/JhnBer). - **Accept the OOXML PowerPoint show extensions** `.ppsx` and `.ppsm` ([#​1626](gotenberg/gotenberg#1626)). Thanks [@​lyarov22](https://github.com/lyarov22). - **Client-cancelled requests are classified as `499`, not `500`** ([#​1627](gotenberg/gotenberg#1627)). Thanks [@​yngvar](https://github.com/yngvar). - **Render scrolled workbooks in full** for `singlePageSheets`. - **Return `403` instead of `500` for an unresolvable outbound host.** - **Hint at `--chromium-start-timeout`** when Chromium fails to start. ##### Chore - Updated `pdfcpu` to `v0.15.0` ([#​1628](gotenberg/gotenberg#1628)). Thanks [@​doronbehar](https://github.com/doronbehar). - Bumped golangci-lint to `v2.12.2`. - Updated Go and npm dependencies. </details> --- ### Configuration 📅 **Schedule**: (in timezone Europe/Warsaw) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC44LjEiLCJ1cGRhdGVkSW5WZXIiOiI0NC44LjEiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIiLCJsYWJlbHMiOlsicmVub3ZhdGUvY29udGFpbmVyIiwidHlwZS9taW5vciJdfQ==--> Reviewed-on: https://git.ajgon.casa/deedee/mark13/pulls/625
This was referenced Aug 17, 2026
eleboucher
pushed a commit
to eleboucher/homelab
that referenced
this pull request
Aug 17, 2026
… 8.36.0) (#1889) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [docker.io/gotenberg/gotenberg](https://github.com/gotenberg/gotenberg) | minor | `8.35.0` → `8.36.0` | --- >⚠️ **Warning** > > Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/567) for more information. --- ### Release Notes <details> <summary>gotenberg/gotenberg (docker.io/gotenberg/gotenberg)</summary> ### [`v8.36.0`](https://github.com/gotenberg/gotenberg/releases/tag/v8.36.0): 8.36.0 [Compare Source](gotenberg/gotenberg@v8.35.0...v8.36.0) ##### Security Fixes⚠️ - **Filter WebSocket handshakes against the outbound policy.** Chromium could open WebSocket connections to hosts the SSRF policy otherwise blocks. ##### New Features - **OIDC bearer token authentication.** Opt-in via `--api-enable-oidc-auth`, mutually exclusive with basic auth ([#​1341](gotenberg/gotenberg#1341)). Thanks [@​mlgupta](https://github.com/mlgupta). - **Optimize PDF images to reduce file size** ([#​359](gotenberg/gotenberg#359)). A `/forms/pdfengines/optimize` route, plus an `optimizeImages` option on the Chromium, LibreOffice, merge, and split routes. Thanks [@​spointecker](https://github.com/spointecker). - **Apply multiple stamps and watermarks in one request** by repeating the fields, on every route that supports them ([#​1601](gotenberg/gotenberg#1601)). Thanks [@​Kobe-Kwanten](https://github.com/Kobe-Kwanten). - **Screenshot a single element** via the `selector` form field ([#​947](gotenberg/gotenberg#947)). Thanks [@​human211](https://github.com/human211). - **Table-of-contents bookmarks when merging.** `titleBookmarks` adds one bookmark per input, labeled by its title ([#​867](gotenberg/gotenberg#867)). Thanks [@​gnapse](https://github.com/gnapse). - **Clear storage between conversions** with `--chromium-clear-storage` ([#​919](gotenberg/gotenberg#919)). Thanks [@​befresh-mweimerskirch](https://github.com/befresh-mweimerskirch). - **Await async `waitForExpression`.** A Promise-returning expression is now awaited ([#​1617](gotenberg/gotenberg#1617)). Thanks [@​nhh](https://github.com/nhh). ##### Bug Fixes - **Landscape single-page now fits the page to its content** ([#​1390](gotenberg/gotenberg#1390)). Thanks [@​JhnBer](https://github.com/JhnBer). - **Accept the OOXML PowerPoint show extensions** `.ppsx` and `.ppsm` ([#​1626](gotenberg/gotenberg#1626)). Thanks [@​lyarov22](https://github.com/lyarov22). - **Client-cancelled requests are classified as `499`, not `500`** ([#​1627](gotenberg/gotenberg#1627)). Thanks [@​yngvar](https://github.com/yngvar). - **Render scrolled workbooks in full** for `singlePageSheets`. - **Return `403` instead of `500` for an unresolvable outbound host.** - **Hint at `--chromium-start-timeout`** when Chromium fails to start. ##### Chore - Updated `pdfcpu` to `v0.15.0` ([#​1628](gotenberg/gotenberg#1628)). Thanks [@​doronbehar](https://github.com/doronbehar). - Bumped golangci-lint to `v2.12.2`. - Updated Go and npm dependencies. </details> --- ### Configuration 📅 **Schedule**: (in timezone Europe/Paris) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xNy4xIiwidXBkYXRlZEluVmVyIjoiNDQuMTcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsicmVub3ZhdGUvY29udGFpbmVyIiwidHlwZS9taW5vciJdfQ==--> Reviewed-on: https://git.erwanleboucher.dev/eleboucher/homelab/pulls/1889
hbjydev
pushed a commit
to hbjydev/phoebe
that referenced
this pull request
Aug 27, 2026
…314) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [gotenberg/gotenberg](https://github.com/gotenberg/gotenberg) | minor | `8.34.0` → `8.36.0` | --- >⚠️ **Warning** > > Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/141) for more information. --- ### Release Notes <details> <summary>gotenberg/gotenberg (gotenberg/gotenberg)</summary> ### [`v8.36.0`](https://github.com/gotenberg/gotenberg/releases/tag/v8.36.0): 8.36.0 [Compare Source](gotenberg/gotenberg@v8.35.0...v8.36.0) ##### Security Fixes⚠️ - **Filter WebSocket handshakes against the outbound policy.** Chromium could open WebSocket connections to hosts the SSRF policy otherwise blocks. ##### New Features - **OIDC bearer token authentication.** Opt-in via `--api-enable-oidc-auth`, mutually exclusive with basic auth ([#​1341](gotenberg/gotenberg#1341)). Thanks [@​mlgupta](https://github.com/mlgupta). - **Optimize PDF images to reduce file size** ([#​359](gotenberg/gotenberg#359)). A `/forms/pdfengines/optimize` route, plus an `optimizeImages` option on the Chromium, LibreOffice, merge, and split routes. Thanks [@​spointecker](https://github.com/spointecker). - **Apply multiple stamps and watermarks in one request** by repeating the fields, on every route that supports them ([#​1601](gotenberg/gotenberg#1601)). Thanks [@​Kobe-Kwanten](https://github.com/Kobe-Kwanten). - **Screenshot a single element** via the `selector` form field ([#​947](gotenberg/gotenberg#947)). Thanks [@​human211](https://github.com/human211). - **Table-of-contents bookmarks when merging.** `titleBookmarks` adds one bookmark per input, labeled by its title ([#​867](gotenberg/gotenberg#867)). Thanks [@​gnapse](https://github.com/gnapse). - **Clear storage between conversions** with `--chromium-clear-storage` ([#​919](gotenberg/gotenberg#919)). Thanks [@​befresh-mweimerskirch](https://github.com/befresh-mweimerskirch). - **Await async `waitForExpression`.** A Promise-returning expression is now awaited ([#​1617](gotenberg/gotenberg#1617)). Thanks [@​nhh](https://github.com/nhh). ##### Bug Fixes - **Landscape single-page now fits the page to its content** ([#​1390](gotenberg/gotenberg#1390)). Thanks [@​JhnBer](https://github.com/JhnBer). - **Accept the OOXML PowerPoint show extensions** `.ppsx` and `.ppsm` ([#​1626](gotenberg/gotenberg#1626)). Thanks [@​lyarov22](https://github.com/lyarov22). - **Client-cancelled requests are classified as `499`, not `500`** ([#​1627](gotenberg/gotenberg#1627)). Thanks [@​yngvar](https://github.com/yngvar). - **Render scrolled workbooks in full** for `singlePageSheets`. - **Return `403` instead of `500` for an unresolvable outbound host.** - **Hint at `--chromium-start-timeout`** when Chromium fails to start. ##### Chore - Updated `pdfcpu` to `v0.15.0` ([#​1628](gotenberg/gotenberg#1628)). Thanks [@​doronbehar](https://github.com/doronbehar). - Bumped golangci-lint to `v2.12.2`. - Updated Go and npm dependencies. ### [`v8.35.0`](https://github.com/gotenberg/gotenberg/releases/tag/v8.35.0): 8.35.0 [Compare Source](gotenberg/gotenberg@v8.34.0...v8.35.0) ##### Security Fixes⚠️ - **Sanitize the `Gotenberg-Output-Filename` header.** `filepath.Base` ignores `\` on Linux, so a crafted header reached archive entry names on `splitMode` conversions, giving a Windows-side Zip Slip. - **Bound scope matching per conversion.** The `extraHttpHeaders` match timeout capped one match, not their number. Matching now shares a per-conversion budget, and `extraHttpHeaders` accepts at most 64 headers with a 1024-character `scope`. ##### New Features - **Authenticated proxy from environment variables.** Four opt-in flags route outbound traffic through `HTTP_PROXY`, `HTTPS_PROXY`, and `NO_PROXY`, credentials included: `--chromium-enable-environment-proxy`, `--libreoffice-enable-environment-proxy`, `--api-download-from-enable-environment-proxy`, and `--webhook-enable-environment-proxy`. All default to `false`. Breaking: the outbound client no longer inherits `HTTP_PROXY` and `HTTPS_PROXY` implicitly. ##### Bug Fixes - **LibreOffice returned `400` for server-side failures** ([#​1588](gotenberg/gotenberg#1588)). `400` now requires an implicated client input, `nativePageRanges`, `password`, or an unreadable document; everything else is `500`. Thanks [@​ctunon-align](https://github.com/ctunon-align). - **`generateDocumentOutline` was a silent no-op** ([#​1579](gotenberg/gotenberg#1579)). It now enables `generateTaggedPdf`, which Chromium needs to build the outline. Thanks [@​paradoxloop](https://github.com/paradoxloop). - **Pinning proxy latched after a Chromium start timeout.** Starts are now serialized. - **LibreOffice leaked a document after a failed export.** `unoconverter` now releases it. ##### Chore - Updated Chromium to `151.0.7922.71`. - Updated `pdfcpu` to `v0.13.0`. - Updated `unoconverter` to `v0.4.0`. - Bumped Go to `1.26.5`. - Updated Go dependencies. </details> --- ### Configuration 📅 **Schedule**: (in timezone Europe/London) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNjAuMiIsInVwZGF0ZWRJblZlciI6IjQzLjI2MC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZS9jb250YWluZXIiLCJ0eXBlL21pbm9yIl19--> Reviewed-on: https://forgejo.hayden.moe/hayden/phoebe/pulls/314
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds comprehensive OIDC (OpenID Connect) authentication support to Gotenberg, enabling integration with Auth0 and other OIDC providers. This enhancement provides a modern, secure alternative to basic authentication for protecting Gotenberg API endpoints.
🚀 Features Added
🔧 Configuration
Command Line Flags
Environment Variables
GOTENBERG_API_OIDC_ISSUERGOTENBERG_API_OIDC_AUDIENCEGOTENBERG_API_OIDC_JWKS_URL📋 Usage Example
📁 Files Changed
Core Implementation
pkg/modules/api/api.go: Added OIDC configuration fields, flags, and provisioning logicpkg/modules/api/middlewares.go: Implemented OIDC JWT validation middlewarego.mod: Added JWT and JWKS dependenciesDocumentation
OIDC_USAGE.md: Comprehensive usage guide with Docker examples and Auth0 setup🔒 Security Features
✅ Backward Compatibility
🧪 Testing
Dependencies Added
github.com/golang-jwt/jwt/v5 v5.2.1- JWT parsing and validationgithub.com/lestrrat-go/jwx/v2 v2.0.21- JWKS handling and cachingThis addition enables enterprise-grade authentication for Gotenberg while maintaining full backward compatibility and following the project's existing architectural patterns.