私はSAMLを理解し、a docker image of a SAML IDPと対話する簡単なPHPアプリケーションを構築しようとしています。oneloginのSAMLとの統合
'idp' => [
// Identifier of the IdP entity (must be a URI)
'entityId' => 'app.example.com',
// SSO endpoint info of the IdP. (Authentication Request protocol)
'singleSignOnService' => [
// URL Target of the IdP where the Authentication Request Message
// will be sent.
'url' => 'http://localhost:8081/simplesaml/saml2/idp/metadata.php',
私もURL値のためのSPの設定に入れて何がわからないよ::
'sp' => [
// Identifier of the SP entity (must be a URI)
'entityId' => 'http://authproxy.example.com',
// Specifies info about where and how the <AuthnResponse> message MUST be
// returned to the requester, in this case our SP.
'assertionConsumerService' => [
// URL Location where the <Response> from the IdP will be returned
'url' => '',
私はそれがポート上で実行してしまった8081
IセットアップIDPの設定をそのセットアップ
エンドポイントを自分で書き込む必要がありますか?もしそうなら、それは何を返さなければならないのですか?
php-samlリポジトリにはデモアプリケーション(https://github.com/onelogin/php-saml/tree/master/demo1)が含まれています。これを使用してSAMLの仕組みを学習します。デモ1アプリについては、 https://github.com/onelogin/php-saml#demo1 – smartin