Git Product home page Git Product logo

Comments (9)

CrossfireCurt avatar CrossfireCurt commented on May 27, 2024

Figured this out. Had to create my own metadata and upload it to ssocircle for my own entityId.

from spring-boot-security-saml-sample.

CrossfireCurt avatar CrossfireCurt commented on May 27, 2024

@hmannam you cannot invoke the login handshake via AJAX/XMLHTTPRequest.

from spring-boot-security-saml-sample.

CrossfireCurt avatar CrossfireCurt commented on May 27, 2024

Yes, redirect the browser. Have you tried standing up the example and trying it there? The example project works very well.

from spring-boot-security-saml-sample.

CrossfireCurt avatar CrossfireCurt commented on May 27, 2024

You are asking questions about something that has nothing to do with this project.

from spring-boot-security-saml-sample.

suvarnajayanth avatar suvarnajayanth commented on May 27, 2024

Hi CrossfireCurt
Even am getting same error ''
`Error occurred

Reason: Unable to do Single Sign On or Federation.

Please enable the additional debug option in "My Debug".
Detailed trace information only available with paid accounts.
Check our plans.`

I did not clear on your second post

'Figured this out. Had to create my own metadata and upload it to ssocircle for my own entityId.'

I created metadata by using the url : saml/metadata , and uploaded , still its not working , could you please help me ?

from spring-boot-security-saml-sample.

CrossfireCurt avatar CrossfireCurt commented on May 27, 2024

@suvarnajayanth how am I supposed to help you if you don't supply any details?

from spring-boot-security-saml-sample.

raymond4ca avatar raymond4ca commented on May 27, 2024

I have the same issue. I created a new metadata with new entityID, but it still doesn't work.

from spring-boot-security-saml-sample.

hookhead avatar hookhead commented on May 27, 2024

Hi Vincenzo,

This isn't really an issue, but more of a question...

I have downloaded your code and have got it working quite easily. Thank you.

I am now trying to integrate it into an existing project. For simplicity, for the moment I am still using SSOCircle and the same SP Entity ID.

The existing project uses an applicationContext.xml file, so there was a little bit of tweaking involved. I had to add the following to the applicationContext.xml as configure(HttpSecurity http) wasn't been called (non-Spring boot environment I guess?).

` <context:component-scan base-package="com.mycompany.security.sso.saml"/>

<http entry-point-ref="samlEntryPoint" pattern="/saml/**">
    <intercept-url pattern="/saml/**" access=".../>
    <http-basic />
    <custom-filter before="CHANNEL_FILTER" ref="metadataGeneratorFilter"/>
    <custom-filter after="BASIC_AUTH_FILTER" ref="samlFilter"/>
    <custom-filter before="CSRF_FILTER" ref="samlFilter"/>
</http>

`

This seems to work to a degree, but when I do the discovery I get the same error as the guys above.

I am surprised, as your sample code is still working perfectly and I am using effectively the same code, service provider id etc., with the exception that I am using an applicationContext.xml.

What are the most common reasons for getting this error, and given that your code is still working and mine is failing, while using SSO Circle, the same SP Entity ID, etc., do you have any idea what I may be doing wrong?

Many thanks in advance,
Mark

from spring-boot-security-saml-sample.

supernicky22 avatar supernicky22 commented on May 27, 2024

Hi everybody, as I do not find out how to place my question elsewhere (in stackoverflow I am not allowed to place questions yet).

I have 2 applications with as I think exactly the same SAMLWebSecurityConfigurerAdapter. As I am puzzling around with the SAML for some days now, the metadata creation is still containing the vdnotaris. One of the apps works fine: I start it, get to ssocircle, log on or click on "I am not a robot", am routed back, fine. The second one gives me the error after logging on or after the robot-check. Why? Any hint would really be appreciated. Thanks a lot.

from spring-boot-security-saml-sample.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.