Docs: clarify the OIDC discovery document must be self-served

What does this MR do and why?

Clarifies two things on the AWS OIDC page that Support has repeatedly seen customers get wrong.

The "Configure a non-public GitLab instance" section tells readers to host the OpenID configuration and the JWKS at a publicly available location, but never states that exposing the /.well-known/openid-configuration endpoint of GitLab through a public hostname is not a substitute for serving the document, nor that ci_id_tokens_issuer_url has no effect on the document GitLab serves. Several customers have concluded the opposite from this page and configured ci_id_tokens_issuer_url expecting the discovery document to follow it.

This also adds a troubleshooting bullet for a symptom that appeared after the October 21 patch release. Before 19.3.6, 19.4.3, and 19.5.1, the endpoint URLs in the discovery document were built from the host in the request, so proxying the live endpoint through a public hostname produced a publicly reachable jwks_uri and AWS federation worked. The fix for CVE-2026-112212 builds those URLs from the instance URL, so those setups lose AWS authentication on upgrade with Couldn't retrieve verification key from your identity provider.

Note that the issuer field itself did not change in that fix. It has always been derived from the instance URL. The wording here is deliberate on that point, because the customer reports describe it the other way round.

References

Support tickets, internal: 763311, 763373, 761009, 673865. Four customers reaching the same conclusion from this page, two of them after upgrading into a fixed version.

Related: gitlab-com/request-for-help#5605 asks whether a supported configuration should let the discovery issuer follow ci_id_tokens_issuer_url. This MR documents current behaviour and does not pre-empt that outcome.

Author's checklist

Merge request reports

Loading
Loading