url-rewriting - 带有 URL 重写的 signin-oidc 回调 404
问题描述
我配置了 URL Rewrite 并在 hosts 文件中添加了条目以访问https://localhost/app作为https://app.localhost。
我遇到的问题是在身份服务器 4 上成功登录后的 openid connect 回调。它返回 404 错误。这是合乎逻辑的,因为客户端的启动 RedirectUri 值设置为https://app.localhost/signin-oidc但是当回调来自身份服务器时,url重写规则将其转换为https://localhost/app/signin-oidc
如何使它与 URL 重写一起工作?感谢任何帮助和想法
PS ARR 代理已启用,但未选中反向重写主机(这是类似问题的解决方案,但在我的情况下没有帮助)
解决方案
推荐阅读
- reactjs - TypeError:无法读取未定义的属性'url',无法从reactjs中的数组调用某些值
- python - 关于图数据结构的问题:元组集与字典
- kotlin - 将 Firestore 中的数据显示到 KOTLIN 中的三个 recyclerview 片段中,复合查询
- google-kubernetes-engine - Google Cloud Composer 区域 Kubernetes 集群
- sql - 计算每月 X 出现次数的表达式
- jquery - 在按钮上单击将数据从模型添加到新表单
- css - 在某个元素内的每个元素的字体大小上添加 1px
- mysql - 计算 mysql group by 语句中分组计数的出现次数
- java - 我需要在recyclerView 中使用列表视图还是在recyclerView 中使用recyclerView?
- openlayers - 如何显示 WMS 图层。如果服务器不是地理服务器