2017-12-08 1 views
2

Azure AD와 IDP로 SAML2 SSO 설정을 구현하려고합니다. Symfony3에서 hslavich/OneloginSamlBundle을 사용합니다.로그인을 시도 할 때 루프에 갇힌 경우

내 앱의 로그인 경로에 액세스하면 브라우저가 Azure AD와 내가 해독 할 수없는 APP 사이의 원형 루프에 갇혀 있습니다.

여기 내 구성입니다 :

config.yml

hslavich_onelogin_saml: 
# Basic settings 
idp: 
    entityId: 'https://login.microsoftonline.com/azure_app_id/saml2' 
    singleSignOnService: 
     url: 'https://login.microsoftonline.com/azure_app_id/saml2' 
     binding: 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect' 
    singleLogoutService: 
     url: 'https://login.microsoftonline.com/azure_app_id/saml2' 
     binding: 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect' 
    x509cert: '%kernel.project_dir%/src/AppBundle/Resources/config/AzureCert.cer' 
sp: 
    entityId: 'https://myapp.com/saml/meta' 
    assertionConsumerService: 
     url: 'https://myapp.com/saml/acs' 
     binding: 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST' 
    singleLogoutService: 
     url: 'https://myapp.com/saml/logout' 
     binding: 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect' 

푸른 AD 구성

Identifier(EntityId): https://myapp.com/saml/meta 
Reply URL (ACS): https://myapp.com/saml/acs 

누구나 볼 수 있을까 어디에 내가 잘못 갈거야?

답변

관련 문제