首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >尝试登录时被困在循环中

尝试登录时被困在循环中
EN

Stack Overflow用户
提问于 2017-12-08 18:57:00
回答 1查看 528关注 0票数 2

我正在尝试实现一个SAML2 SSO设置,使用Symfony3上的hslavich/OneloginSamlBundle,使用Azure作为IDP和SP。

当我访问应用程序上的登录路径时,浏览器在Azure AD和我的应用程序之间处于一个循环循环中,而我一直无法破解这个循环。

以下是我的配置:

config.yml

代码语言:javascript
复制
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'

Azure AD配置

代码语言:javascript
复制
Identifier(EntityId): https://myapp.com/saml/meta
Reply URL (ACS): https://myapp.com/saml/acs 

有人能看出我哪里出了问题吗?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2017-12-09 17:20:26

您可以使用这个注销网址并尝试- https://login.microsoftonline.com/common/wsfederation?wa=wsignout1.0

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/47720567

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档