【问题标题】:Where do the /idp/ endpoints come from?/idp/ 端点来自哪里?
【发布时间】:2021-11-21 17:52:22
【问题描述】:

我正在尝试基于新的 OIOSAML3.0 设置身份验证机制。使用你的 https://github.com/ITfoxtec/ITfoxtec.Identity.Saml2/tree/master/test/TestWebAppCoreNemLogin3Sp 对我来说很好。

但是,将各种启动调用转移到我自己的代码中后,我在重定向到 '/idp/saml/3.0/?...'

时得到了 HTTP 404

当我举你的例子时,同样的事情发生了,但是改用我自己的组织元数据。

我认为这些端点可以通过调用 Startup.cs 中的 AddSaml2()UseSaml2() 来设置,但事实并非如此。

您能否深入了解这些端点在何处以及如何添加到项目中?

【问题讨论】:

    标签: itfoxtec-identity-saml2 nemlogin


    【解决方案1】:

    IdP 端点是从 NemLog-in 元数据中读取的。我的 NemLog-in 元数据示例位于 TestWebAppCoreNemLogin3Sp-metadata.xml 文件中。

    NemLog-in 元数据在Startup.cs line 39 中读取。并且在4344 行中读取端点。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2010-09-21
      • 1970-01-01
      • 1970-01-01
      • 2014-04-24
      • 2015-07-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多