Add default configuration for ScopeValidators and ScopeHandlers in identity.xml
<!--TokenValidators>
<TokenValidator type="bearer" class="org.wso2.carbon.identity.oauth2.validators.DefaultOAuth2TokenValidator"/>
</TokenValidators-->
+
+ <!-- Scope validators list. The validators registered here wil be executed during token validation. -->
+ <ScopeValidators>
+ <ScopeValidator class="org.wso2.carbon.identity.oauth2.validators.JDBCScopeValidator" />
+ </ScopeValidators>
+
+ <!-- Scope handlers list. The handlers registered here will be executed at the scope validation phase while
+ issuing access tokens. -->
+ <ScopeHandlers>
+ <ScopeHandler class="org.wso2.carbon.identity.oauth2.validators.OIDCScopeHandler" />
+ </ScopeHandlers>
+
<!-- Assertions can be used to embedd parameters into access token. -->
<EnableAssertions>
<UserName>false</UserName>
