Oh sorry I missed this, MOD_OX is module that mentioned above.
of curse it helps Michael and thanks a lot, but I want to check scopes with Apache module or other way, I don't want to change my resource server codes, just set scopes and policies, and this be check automatically.
I try to use OXD or mod_auth_openidc for this purpose.