Closed tud closed 7 years ago
absolutely, can you put your demo app in a github repo so I can take a look?
https://github.com/tud/jhipstersaml
do you want permissions to modify repository? so you can work directly
read access should be fine, I'll let you know what I find, thanks!
I took a first glance at your app. It seems that you're mixing the existing security configuration in SecurityConfiguration
with the saml configuration. I suggest you create a new WebSecurityConfigurerAdapter
and add the SAML config so you have 2 different filter chain proxies, one for whatever JHipster is trying to do and one for the SAML flow.
yes I know :-) I added your library and demo code just for compiling it as first step
I did many test and I'm able to see SSOCircle page now :-) Essentially I did 3 steps:
for assertj-core dependency your library needs
I committed to demo project this updates
@tud any updates on this? If you ever make it work with Jhipster let me know, I'll be more than happy to add an example in the samples repo.
@ulisesbocchio I'm actually running into a similar issue using the example config (not using jhipster though). Would you mind taking a look?
nevermind, figured it out
Thanks @MGZero
Hello, I'm trying to integrate your library with jhipster (http://jhipster.github.io) As first step I downloaded your DSL demo app and I configured it in order to running it with the IDP I need (an ADFS provider). Now demo app works with my IDP.
Second step I scaffolded a new jhipster app (basically a Spring Boot app + preconfigured features) I modified it following README.md
Anyway I modified ".http()" to "http" and I can run the app but I got an error: Caused by: java.lang.IllegalStateException: Can't find SAML Endpoints at com.github.ulisesbocchio.spring.boot.security.saml.bean.SAMLConfigurerBean.lambda$endpointsMatcher$2(SAMLConfigurerBean.java:207) at java.util.Optional.orElseThrow(Optional.java:290) ....
Can you help me with this problem? Do you need more info? Thanks .Stefano