asp.net-web-api - 身份服务器 3 反向代理

标签 asp.net-web-api oauth-2.0 identityserver4 identityserver3

我在使用 Identity Server 3 和负载均衡器时遇到问题。

Identity Server 4 ( here ) 的问题已解决,但我需要针对 Identity Server 3 的类似解决方案。

有什么吗?

谢谢

最佳答案

查看 Terminating SSL部署文档下的部分...

文档中有关于这两个设置的更多详细信息:IdentityServerOptions

RequireSsl

Indicates if SSL is required for IdentityServer. Defaults to true

公共(public)来源

By default, IdentityServer uses the host, protocol, and port from the HTTP request when creating links. This might not be accurate in reverse proxy or load-balancing situations. You can override the origin used for link generation using this property.

关于asp.net-web-api - 身份服务器 3 反向代理,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48008978/

相关文章:

angularjs - 我应该如何确保访问后端呈现的前端路由的用户经过身份验证?

openid-connect - 检查 session Iframe OpenIDConnect

angular - Docker 和身份服务器 4,api, Angular : Cannot assign requested address

python - python 中的 oauth2

asp.net-identity - Blazor WebAssembly 身份验证与 IdentityServer4、Asp.Net Core Identity 和没有 Entity Framework 的自定义提供程序

c# - 转换 - 'Result' 不是 'System.Threading.Tasks.Task' 的成员

json - C#MVC4 Web API-结果JSON应该返回对象而不是$ ref到对象

.net - 在 dotnet core 中创建动态 EDM 模型

c# - Web API JSON 属性长度限制?

java - 使用 Java 编辑电子表格