问题描述
我正在使用Laravel 5,我正在尝试将SAML 2.0与其集成.我找到了这个包= https://github.com/aacotroneo/laravel-saml2
I'm on Laravel 5, I'm trying to integrate SAML 2.0 with it. I've found this package = https://github.com/aacotroneo/laravel-saml2
我尝试按照他们的步骤进行.在他们的配置部分下,他们说:
I tried follow their steps. Under their Configuration Section, they said:
但就我而言,情况有所不同,我与其他处理现有iDP的IT一起工作.他们向我提供了他们的元数据端点.
But in my case is a litte different, I work with other ITs that handle the existing iDP. They provided me their metadata end-point.
在这种情况下,我仍然需要配置自己的iDP/SP吗?
In that case, do I still need to configure my own iDP/SP?
如果是这样,我该如何在Laravel中做到这一点?
If so, how can I do that in Laravel?
推荐答案
您提到的软件包,如其文档所述:
The package you mentioned, as its documentation says:
因此,您可以使用它在SP中打开lavarel应用并将其与IdP连接.这就是为什么您需要在设置IdP和SP数据中的原因.
So you use it to turn your lavarel app in a SP and connect it with an IdP.That why you need in the settings IdP and SP data.
此处,您可以找到lavarel软件包设置的文件.
Here you can find the file with the settings of the lavarel package.
最后,这些设置填充了Onelogin的PHP设置,已在此处
At the end, those settings fill the Onelogin's PHP settings, documented here
这篇关于Laravel 5与具有现有IDP的SAML 2集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!