diff --git a/helm/oidc-ui/templates/configmap.yaml b/helm/oidc-ui/templates/configmap.yaml index 498561d90..8f5351fd6 100644 --- a/helm/oidc-ui/templates/configmap.yaml +++ b/helm/oidc-ui/templates/configmap.yaml @@ -66,6 +66,31 @@ data: text/plain log cer json txt; } } + + location /.well-known/oauth-authorization-server { + proxy_pass http://{{ .Values.oidc_ui.oidc_service_host }}/v1/esignet/oauth/.well-known/oauth-authorization-server; + proxy_redirect off; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Host $server_name; + types { + text/plain log cer json txt; + } + } + + location /.well-known/openid-credential-issuer { + proxy_pass http://{{ .Values.oidc_ui.oidc_service_host }}/v1/esignet/vci/.well-known/openid-credential-issuer; + proxy_redirect off; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Host $server_name; + types { + text/plain log cer json txt; + } + } + location / { try_files $uri $uri/ /index.html;