Skip to content
Settings

OIDC_SSRF_BLOCKED — wellKnownConfigUri blocked by SSRF policy

cyoda-go version 0.8.2

OIDC_SSRF_BLOCKED — the wellKnownConfigUri resolves to a private or link-local address range that is blocked by the SSRF protection policy.

HTTP: 400 Bad Request. Retryable: no.

When registering an OIDC provider, cyoda validates the wellKnownConfigUri against a blocklist of private address ranges (loopback, RFC1918, link-local, IPv6 ULA). If the URI’s hostname resolves to any blocked range, the registration is rejected to prevent Server-Side Request Forgery attacks.

Blocked ranges:

  • 127.0.0.0/8 — IPv4 loopback
  • 169.254.0.0/16 — IPv4 link-local (cloud metadata endpoints)
  • 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16 — RFC1918 private
  • ::1/128 — IPv6 loopback
  • fe80::/10 — IPv6 link-local
  • fc00::/7 — IPv6 ULA

In development or controlled environments where private-network OIDC providers are required, set CYODA_OIDC_ALLOW_PRIVATE_NETWORKS=true to bypass this check. Never use this override in production.

  • errors
  • config.auth
  • cyoda help errors — Every error response from the Cyoda REST API carries a structured errorCode in the properties object. Multiple codes may share the same HTTP status. Programmatic handling keys on errorCode, not HTTP status.
  • cyoda help config auth — config.auth — IAM mode, JWT issuer, HMAC secret, and admin bootstrap controls.