Questions tagged [spring-security-saml2]

104 questions
0
votes
1 answer

References for Integrating wso2 Identity Server with SAML Authentication protocol for upgraded version of Spring boot 3.1.2 Web Application

I'm building a new web Application with wso2 identity server with the Updated Spring boot Version to 3.1.2. I have to Integrate wso2 identity server with Spring Boot version from Scratch. Im in need of Documentation or any github Reference so that I…
0
votes
0 answers

Signing Spring Security SAML2 request

How can I make Spring Security SAML2 sign the login request? This is my…
Joshua Swink
  • 3,380
  • 3
  • 29
  • 27
0
votes
1 answer

spring-boot saml: configure service provider entityId using a yaml file

hello everyone is there a way to configure the entityID of the service provider in the following configuration: spring: security: saml2: relyingparty: registration: myapp: signing: …
Alex97
  • 401
  • 1
  • 8
  • 21
0
votes
0 answers

Spring Security SAML2 - How to implement manual Saml2 login

My old system is using OpenSAML 1.0 and now I want to upgrade to Spring Security SAML2. In the old system I used OpenSAML 1.0 and did the authentication completely manually, after switching to Spring Security SAML2, I found it very…
0
votes
0 answers

How can we send SAML Authentication request to ADFS using Spring command instead of Spring security

We are trying to make SAML Authentication request using spring security to ADFS server. Is there any possible solution to use spring command XML instead of using spring security?
harsha10
  • 13
  • 3
0
votes
1 answer

Spring Security Saml2 Response Assertion [_6d73441e-b906-4c63-95be-57cb2f50b030] is missing a subject

With spring security saml2 eventhough I get a saml response i get avalidation error: Assertion [_6d73441e-b906-4c63-95be-57cb2f50b030] is missing a subject However by reading the saml response (from browser's saml tracer) I see that subject…
0
votes
1 answer

How redirect my saml2-client to home page when i authenticate with local SP and IDP Saml2

I try to authenticate an application with an SP and IDP local but when I try from the same server(IDP) the response is ok but when I try from other application the response redirect show an error This is the error: This is my IDP code when redirect…
Jose Guerra
  • 65
  • 2
  • 11
0
votes
0 answers

SAML2 Logout Request not sending SMSESSION after 90 seconds

I have successfully Implemented SSO and SLO using Spring Security 5.7.5. SiteMinder is my Identity Provider. I am getting SMSESSION after authenticating successfully. When I send SAML2 LogoutRequest after 90 seconds of Login my Service Provider…
0
votes
1 answer

SAML authentication with Azure AD returns expired token

I have a java spring security app that authenticates against Azure AD with SAML. With default settings, when the token is returned from MS back to my apps, the "notOnOrAfter" date is in the past, regardless when the user actually logged into their…
Aleks G
  • 56,435
  • 29
  • 168
  • 265
0
votes
0 answers

SAML message intended destination endpoint 'https://serverA/saml/SSO' did not match the recipient endpoint 'https://serverB/saml/SSO' on Weblogic

I am having the same problem configuring spring-security-saml2-core that is presented in this POST. In my case, I have deployed my application in a Weblogic cluster with several managed nodes. When the authentication flow starts, the user is…
0
votes
0 answers

SSO with saml2 : Http post-bind in local metadata is missing

I followed the spring tutorial for setting up SSO with saml. My filterChain is looking like this: @Bean open fun filterChain(http: HttpSecurity): SecurityFilterChain { val authenticationManagerBuilder =…
0
votes
0 answers

How to set PasswordProtectedTransport and transient in spring-security-saml2-service-provider?

In the org.springframework.security.extensions versions of spring-security-saml2-core, we set the nameid-format:transient and classes:PasswordProtectedTransport in our service provider code like so: WebSSOProfileOptions webSSOProfileOptions = new…
0
votes
0 answers

Securing Spring Boot application with SAML SSO and JWT

I am trying to secure my Spring Boot 3 (SNAPSHOT) application with SAML SSO to access the "index.html" (Angular frontend) and to secure the API with JWT. I have both SSO and JWT working to secure the whole application (both access to application and…
0
votes
0 answers

Grails Spring Security Saml infinite authentication loop

I am having an issue with an endless authentication loop after logging in. We will get redirected to the saml login page provided by our provider, we even get a two factor authentication push, and after the login it will keep looping us through that…
0
votes
1 answer

How to retrieve relaystate value sent by IDP in POST request body

I'm trying to configure authentication (SSO- SP initiated) with OKTA as IDP where my spring boot application will be working as a Service Provider through SAML. I am trying to retrieve relaystate parameter sent by IDP in http post request body. I am…