Top "Spring-security-oauth2" questions

Spring Security implementation of the OAuth2 spec.

Why is my token being rejected? What is a resource ID? "Invalid token does not contain resource id (oauth2-resource)"

I'm trying to configure OAuth2 for a spring project. I'm using a shared UAA (oauth implementation from cloud foundry) instance …

java spring oauth-2.0 jwt spring-security-oauth2
Add custom UserDetailsService to Spring Security OAuth2 app

How do I add the custom UserDetailsService below to this Spring OAuth2 sample? The default user with default password is …

spring spring-security spring-boot spring-security-oauth2 spring-oauth2
How do /oauth/authorize and /oauth/token interact in Spring OAuth?

I am doing an in-depth study of Spring OAuth, and I found some conflicting information. Can someone please clarify? Specifically, …

spring oauth oauth-2.0 spring-security-oauth2 spring-oauth2
Unable to get EnableOauth2Sso Working -- BadCredentialsException: Could not obtain access token

I'm trying to get a simple Spring OAuth2 SSO application working and I've been unable to do so. Here's the …

spring spring-security spring-boot spring-security-oauth2 spring-cloud
Spring Boot OAuth 2.0 UserDetails user not found

I am new to Spring Boot, and I am trying to configure OAuth 2.0. The problem I am having at this …

oauth-2.0 spring-boot spring-security-oauth2 userdetailsservice
How to protect spring-security-oauth resources using @PreAuthorize based on Scope?

I successfully configured spring-security-oauth2 so that external apps can authenticate with my application. However based on the external app and …

java spring spring-security-oauth2
Spring security oauth2: get username in REST webservice

I've created a RESTful web services to execute actions on a workflow. The web service is secured with oauth2 with …

java spring-security jersey spring-security-oauth2
Spring Boot OAuth2 Single Sign Off (Logout)

I'm considering to use OAuth2 for my application. The architecture I'm trying to implement is as follows: I will have …

java spring spring-boot spring-security spring-security-oauth2
Spring Security OAuth2 - How to use OAuth2Authentication object?

I have OAuth2 authorization server which provides user information: public class User implements Serializable, UserDetails { private Long userID; private String …

java spring-mvc spring-security spring-boot spring-security-oauth2
Spring Framework - Where to parse JWT for custom claim?

I have created a Spring JWT authorization application. JWT contains some custom claims. On a resource server side, I wonder, …

spring spring-security jwt spring-security-oauth2