Add config to identity.xml
<UserInfoEndpointAccessTokenValidator>org.wso2.carbon.identity.oauth.endpoint.user.impl.UserInfoISAccessTokenValidator</UserInfoEndpointAccessTokenValidator>
<UserInfoEndpointResponseBuilder>org.wso2.carbon.identity.oauth.endpoint.user.impl.UserInfoJSONResponseBuilder</UserInfoEndpointResponseBuilder>
<SkipUserConsent>false</SkipUserConsent>
+ <SkipLoginConsent>false</SkipLoginConsent>
+ <SkipLogoutConsent>false</SkipLogoutConsent>
<!-- Sign the ID Token with Service Provider Tenant Private Key-->
<SignJWTWithSPKey>true</SignJWTWithSPKey>
<!-- Add tenant domain to 'realm' claim of ID Token-->
