diff --git a/components/identity-extensions/org.wso2.carbon.device.mgt.oauth.extensions/src/main/java/org/wso2/carbon/device/mgt/oauth/extensions/handlers/ScopeValidationHandler.java b/components/identity-extensions/org.wso2.carbon.device.mgt.oauth.extensions/src/main/java/org/wso2/carbon/device/mgt/oauth/extensions/handlers/ScopeValidationHandler.java
index 0c3964e9c0..e182c0b3a0 100644
--- a/components/identity-extensions/org.wso2.carbon.device.mgt.oauth.extensions/src/main/java/org/wso2/carbon/device/mgt/oauth/extensions/handlers/ScopeValidationHandler.java
+++ b/components/identity-extensions/org.wso2.carbon.device.mgt.oauth.extensions/src/main/java/org/wso2/carbon/device/mgt/oauth/extensions/handlers/ScopeValidationHandler.java
@@ -88,7 +88,7 @@ public class ScopeValidationHandler extends OAuth2ScopeValidator {
}
// validate scope via relevant scope validator that matches with the prefix
- return scopeValidator.validateScope(accessTokenDO, resourceScope);
+ return scopeValidator.validateScope(accessTokenDO, resource);
}
private String getResourceScope(String resource) {
diff --git a/pom.xml b/pom.xml
index 8e99d808f7..b68c12acf4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1798,7 +1798,7 @@
[2.6.0,3.0.0)
- 6.1.60
+ 6.1.64
(6.0.0,7.0.0]