簡體   English   中英

具有不同IDP的多個SSO集成

[英]Multiple SSO integration with different idp

我對這一切都是新手,我正在使用grails-plugin將多個IDP集成到我的應用程序中。 對於單個IDP,它可以正常工作,但是當我嘗試添加多個IDP時,它給我類似的錯誤

Servlet.service() for servlet [default] in context with path [] threw exception [org.opensaml.saml2.metadata.provider.MetadataProviderException: Metadata for entity <entityID> and role {urn:oasis:names:tc:SAML:2.0:metadata}IDPSSODescriptor wasn't found] with root cause Message: Metadata for entity <entityID> and role {urn:oasis:names:tc:SAML:2.0:metadata}IDPSSODescriptor wasn't found

我使用哪個IDP都沒有關系,只有最后一個條目有效,而對於其他條目,它會給我同樣的錯誤。

似乎它采用了sp別名並​​為其保存了最后一個條目並為此服務。

另外,在日志中,我得到Index for AssertionConsumerService not specified, returning default如果有幫助Index for AssertionConsumerService not specified, returning default

我知道它采用了日志上下文中顯示的正確idp.SAMLContextProviderImpl- context.SAMLContextProviderImpl - Using user specified IDP <entityID> from request

請幫助我長期堅持

解決了這個問題,我使用了多個idp文件,但是所有idp文件都應該在一個文件中,並且應該在EntitiesDescriptor根標記下。 錯過了那部分。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM