OAuth2 in IPv6-only environment

Hi all,

I can’t configure an OAuth2 provider as Gitea wants to resolve its hostname using A records. The pod does not have any IPv4 addresses or routes.

Unable to initialize OpenID Connect Provider: Get "https://sso.domain.local/application/o/gitea/.well-known/openid-configuration": dial tcp: lookup sso.domain.local: no such host

Any ideas how could I hint Gitea to prefer IPv6/AAAA records?

Thanks,

–Endre