spring-security icon indicating copy to clipboard operation
spring-security copied to clipboard

Spring Security

Results 621 spring-security issues
Sort by recently updated
recently updated
newest added

If I have 2 classes, ``` public abstract class AbstractService { public void doSmth() {...} } @Secured("SECURE") @Service public class Service extends AbstractService { ... } ``` and when I...

in: core
type: bug

**Expected Behavior** Should it be possible to use reactive WebClient to create non-reactive JwtDecoder? ``` NimbusJwtDecoder.withJwkSetUri(properties.getJwt().getJwkSetUri()) .webClient(WebClient.builder().build()) .cache(jwkSetCache) .build() ``` **Current Behavior** It is only possible to use RestTemplate as...

type: enhancement
in: oauth2

closes #17309 - [x] Squash and Sign Off after review

in: core
type: enhancement
type: breaks-passivity

**Expected Behavior** When using an OAuth2 client registration configured for the client credentials flow, the `ServerOAuth2AuthorizedClientExchangeFilterFunction` should use tokens scoped for the application instead of the current user. **Current Behavior**...

type: enhancement
in: oauth2

**Describe the bug** When using a `CustomUserDetails`(interface & extends `UserDetails`) and testing presentation(controller) layer via `@WebMvcTest`, `org.springframework.data.web.ProxingHandlerMethodArgumentResolver` is being used as the ArgumentResolver instead of `AuthenticationPrincipalArgumentResolver`. Consequently, a `null` value...

status: waiting-for-triage
type: bug

Currently One Time Tokens are created and then the success handler is invoked even if the user does not exist. We should only generate a token and invoke the success...

in: web
type: enhancement

Closes gh-16750

status: waiting-for-feedback
type: enhancement
in: oauth2

It is not as simple as I would expect to authenticate using [Twitter / X v2 Log In APIs](https://developer.x.com/en/docs/authentication/oauth-2-0). We should simplify this process. This is inspired by the question...

type: enhancement
in: oauth2

This PR adds support for extracting usernames from nested properties in OAuth2 user info responses using SpEL expressions, addressing the limitation where providers wrap user data in nested objects. Fixes...

status: waiting-for-feedback
type: enhancement
in: oauth2