ulisesbocchio / spring-boot-security-saml

spring-security-saml integration with Spring Boot
MIT License
157 stars 72 forks source link

Not able to disable proxy-count tag in SAML AuthNRequest #73

Closed sharma-sudhakar closed 5 years ago

sharma-sudhakar commented 5 years ago

If not mentioned property saml.sso.profile-options.proxy-count in my properties file, then my AuthNRequest having <saml2p:Scoping ProxyCount="2" /> which is the default, If mentioned in the properties file as saml.sso.profile-options.proxy-count=0 then in the AuthNRequest <saml2p:Scoping ProxyCount="0" />. How to eliminate this tag from SAML Request?

ulisesbocchio commented 5 years ago

I'm not sure I follow. can you elaborate?

markoandersson commented 5 years ago

I encountered this issue when searching how to remove Scoping-tag entirely from the SAML request. Maybe the original author meant the same?

The answer is configuration key saml.sso.profile-options.include-scoping

sharma-sudhakar commented 5 years ago

Thanks, saml.sso.profile-options.include-scoping worked for me as expected.