diff --git a/openid-connect-server/src/main/java/org/mitre/oauth2/service/impl/DefaultOAuth2ProviderTokenService.java b/openid-connect-server/src/main/java/org/mitre/oauth2/service/impl/DefaultOAuth2ProviderTokenService.java index 697de46b2..26f375c60 100644 --- a/openid-connect-server/src/main/java/org/mitre/oauth2/service/impl/DefaultOAuth2ProviderTokenService.java +++ b/openid-connect-server/src/main/java/org/mitre/oauth2/service/impl/DefaultOAuth2ProviderTokenService.java @@ -113,6 +113,7 @@ public class DefaultOAuth2ProviderTokenService implements OAuth2TokenEntityServi // attach the authorization so that we can look it up later token.setAuthentication(authentication); + // TODO: tie this to the offline_access scope // attach a refresh token, if this client is allowed to request them if (client.isAllowRefresh()) { OAuth2RefreshTokenEntity refreshToken = new OAuth2RefreshTokenEntity(); //refreshTokenFactory.createNewRefreshToken(); diff --git a/spring-security-oauth b/spring-security-oauth index 2a3e2636d..0465c6ebb 160000 --- a/spring-security-oauth +++ b/spring-security-oauth @@ -1 +1 @@ -Subproject commit 2a3e2636d0c85620fbd495b40c5ef8fe11a94eba +Subproject commit 0465c6ebbf301a368d183cb548339a9c7d3fa4df