Laravel 5 integrate with SAML 2 with existing IDP

不想你离开。 提交于 2019-12-05 04:56:32

问题


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,

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

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.

In that case, do I still need to configure my own iDP/SP ?

If so, how can I do that in Laravel ?


I'm opening to any suggestions at this moment.

Any hints / suggestions / helps on this be will be much appreciated !


回答1:


The package you mentioned, as its documentation says:

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

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.

Here you can find the file with the settings of the lavarel package.

At the end, those settings fill the Onelogin's PHP settings, documented here



来源:https://stackoverflow.com/questions/42396868/laravel-5-integrate-with-saml-2-with-existing-idp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!