Laravel 5与具有现有IDP的SAML 2集成 [英] Laravel 5 integrate with SAML 2 with existing IDP

查看:341
本文介绍了Laravel 5与具有现有IDP的SAML 2集成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用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:

您需要配置sp和IDP(远程服务器).

you need to configure your sp and IDP (remote server).

但就我而言,情况有所不同,我与其他处理现有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:

一个用于将Saml2集成为SP的Laravel软件包(服务提供商) 基于OneLogin工具包

A Laravel package for Saml2 integration as a SP (service provider) based on OneLogin toolkit

因此,您可以使用它在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集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆