diff --git a/openid-connect-server/src/main/java/org/mitre/oauth2/service/impl/DefaultSystemScopeService.java b/openid-connect-server/src/main/java/org/mitre/oauth2/service/impl/DefaultSystemScopeService.java index 4437a7f8d..167c447c8 100644 --- a/openid-connect-server/src/main/java/org/mitre/oauth2/service/impl/DefaultSystemScopeService.java +++ b/openid-connect-server/src/main/java/org/mitre/oauth2/service/impl/DefaultSystemScopeService.java @@ -69,7 +69,8 @@ public class DefaultSystemScopeService implements SystemScopeService { public boolean apply(String input) { return (input != null && !input.equals(ID_TOKEN_SCOPE) && - !input.equals(REGISTRATION_TOKEN_SCOPE)); + !input.equals(REGISTRATION_TOKEN_SCOPE) && + !input.equals(RESOURCE_TOKEN_SCOPE)); } };