Comments (9)
Figured this out. Had to create my own metadata and upload it to ssocircle for my own entityId.
from spring-boot-security-saml-sample.
@hmannam you cannot invoke the login handshake via AJAX/XMLHTTPRequest.
from spring-boot-security-saml-sample.
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.
You are asking questions about something that has nothing to do with this project.
from spring-boot-security-saml-sample.
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.
@suvarnajayanth how am I supposed to help you if you don't supply any details?
from spring-boot-security-saml-sample.
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.
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.
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)
- CurrentUserHandlerMethodArgumentResolverTest is failing HOT 1
- Docker: javax.net.ssl.SSLPeerUnverifiedException: SSL peer failed hostname validation for name: null HOT 1
- Deserialization of Untrusted Data (CVE-2019-16335) HOT 1
- Deserialization of Untrusted Data (CVE-2019-14540) HOT 1
- Deserialization of Untrusted Data (CWE-502) HOT 1
- Deserialization of Untrusted Data (CVE-2015-4852, CVE-2015-7501) HOT 1
- Improper Certificate Validation (CVE-2012-5783)
- Man-in-the-Middle (CVE-2012-6153)
- Purpose of apollo key in the JKSKeyManager HOT 1
- Localhost redirect on first click regardless user's context HOT 1
- Behind reverse proxy advertises localhost and internal port HOT 1
- How to add "NameQualifier" and "Format" attributes to LogoutRequest/Issuer HOT 1
- Authentication statement is too old to be used with value 2020-08-31T09:32:00.759Z HOT 1
- With global logout from Identity provider side local session and authentication remain active and valid
- Need help to find the entity if
- Browser back redirects to "/saml/SSO" page. HOT 1
- Handle URL encoding in SAML response HOT 1
- Use Spring Boot 2.7 and Spring Security without WebSecurityConfigurerAdapter
- Metadata refreshing has failed
- Error retrieving metadata
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-boot-security-saml-sample.