Closed qq1176914912 closed 2 months ago
Hello,
Could you please check if the environment variable ASPNETCORE_FORWARDEDHEADER_ENABLED
is set to true in the Kubernetes YAML files? You can find the Kubernetes sample file here: https://github.com/simpleidserver/SimpleIdServer/blob/master/sid-kubernetes.yaml
Hello,
Could you please check if the environment variable
ASPNETCORE_FORWARDEDHEADER_ENABLED
is set to true in the Kubernetes YAML files? You can find the Kubernetes sample file here: https://github.com/simpleidserver/SimpleIdServer/blob/master/sid-kubernetes.yaml
Thank you problem solved
We now have two pods in k8s, one pod is responsible for deploying the 5001 project, the other pod is the 5002 project, the pod is http, the ingress layer is configured as https and the certificate is mounted, when we use https to access the deployed 5002 project, the first error will be reported:
Why do we need http redirect addresses when we use https access? And then I modify the database, in the "http://iamcp.gmzta.cn/signin-oidc" redirect_uri configuration, use HTTPS access 5002 again, this time you can achieve the jump to the login page, after the success of the login, has successfully jump back to the 5002 project, But an error is reported: “iamcp.gmzta.cn” is the domain name of project 5002 At the same time, the internal error of 5002 project is reported:
The current configuration is as follows: 5002 Set IgnoreCertificateError to true, 5001 Configuration file ForceHttps is set to false.