当使用SAML2与Microsoft Azure Directory SSO集成时,SimpleSAMLphp显示未找到saml2-acs.php(错误404)]

问题描述 投票:0回答:1
我已经从我的Web目录创建了一个链接,使得https://resolute.organization.in/sso指向simplesaml目录/var/www/simplesamlphp/www

我的simpleSAML配置页面:

SimpleSAML Configuration page

完整链接https://resolute.organization.in/sso/module.php/saml/sp/saml2-acs.php/default-sp在测试

认证源-> default-sp

时显示404 Not FoundTest Authentication Sources

我的

config.php:

$config = ['baseurlpath' => 'https://resolute.organization.in/sso/', 'secretsalt' => 'my_secret_salt', 'auth.adminpassword' => 'my_admin_pass', ];
其余所有都是

config.php

中的默认值]我的[[authsources.php:

$config = [ 'admin' => [ 'core:AdminPassword', ], 'default-sp' => [ 'saml:SP', 'entityID' => 'https://resolute.organization.in/', 'idp' => 'https://sts.windows.net/{some-unique-key}/', //From metadata.xml for the app with entity ID in AD as *https://resolute.organization.in/* 'discoURL' => null, 'NameIDFormat' => 'urn:oasis:names:tc:SAML:2.0:nameid-format:persistent', 'simplesaml.nameidattribute' => 'eduPersonTargetedID', ], ]

我的元数据数组
saml20-idp-remote.php:

$metadata['https://sts.windows.net/{some-unique-key}/'] = array ( 'entityid' => 'https://sts.windows.net/{some-unique-key}/', 'contacts' => array ( ), 'metadata-set' => 'saml20-idp-remote', 'SingleSignOnService' => array ( 0 => array ( 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect', 'Location' => 'https://login.microsoftonline.com/{some-unique-key}/saml2', ), 1 => array ( 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST', 'Location' => 'https://login.microsoftonline.com/{some-unique-key}/saml2', ), ), 'SingleLogoutService' => array ( 0 => array ( 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect', 'Location' => 'https://login.microsoftonline.com/{some-unique-key}/saml2', ), ), 'ArtifactResolutionService' => array ( ), 'NameIDFormats' => array ( ), 'keys' => array ( 0 => array ( 'encryption' => false, 'signing' => true, 'type' => 'X509Certificate', 'X509Certificate' => '{really_long_key}', ), ), );

我的联盟页面:
Federation page

[[显示元数据]链接也显示404,在这种情况下,URL栏中的链接是:

https://resolute.organization.in/sso/module.php/saml/sp/metadata.php/default-sp?output=xhtml

IdP元数据链接正确显示了元数据数组。

请帮我解决我在这里遗失的东西,因为我已经为此烦恼了几天。

我已经从我的Web目录创建了一个链接,使得https://resolute.organization.in/sso指向simplesaml目录/ var / www / simplesamlphp / www我的simpleSAML配置页面:The ...

php azure-active-directory single-sign-on saml-2.0 simplesamlphp
1个回答
0
投票
© www.soinside.com 2019 - 2024. All rights reserved.