ulisesbocchio / spring-boot-security-saml

spring-security-saml integration with Spring Boot
MIT License
158 stars 73 forks source link

Saved Request not working #85

Open azyubing opened 5 years ago

azyubing commented 5 years ago

Dear Contributors,

I am trying to implement saved request for SAML2 SSO integration with this wonderful ulisesbocchio lib.

However, I tried to implement following:

  1. RefererRedirectionAuthenticationSuccessHandler
  2. SimpleUrlAuthenticationSuccessHandler
  3. SavedRequestAwareAuthenticationSuccessHandler
  4. defaultSuccessUrl

None of them are working. I think they are supporting spring security solutions for saved request scenario instead of SAML2 SSO. My solution is SP initialed SSO and want to get the origin request redirect back by the IDP.

.and() .formLogin() .defaultSuccessUrl("/idpauthenticated",true) .permitAll()