* feat(core): add client scope restriction metadata for third-party apps
add client scope restriction metadata for third-party apps
* feat(core): disable auto consent for the thrid-party apps
disable auto consent for the third-party apps
* feat(core): filter out not enabled resource scopes for third-party app
filter out not enabled resource scopes for third-party app
* feat(core): add organization grant validation for third-party application refresh_token grant
add organization grant validation for third-party application refresh_token grant
* fix(core): remove the resource scopes from client metadata
remove the resource scopes from client metadata
* feat(core): implement application user consent organizations api
implement application user consent organizations api
* test(core): add api integration tests
add api integration tests
* refactor(core): add koaAutoConsent middleware
Add koaAutoConsent middleware to allow auto consent and redirect direactly from the server side.
* refactor(core): use koaMount to apply the consent middleware
use koaMount to apply the consent middleware
* feat(test): update the integration tests
update the integration tests
* fix(test): update the unit test for consent
update the unit test for consent
* feat(core,schemas): add application user consent scope delete api
add application user consent scope delete api
* chore(core): add the invalid user consent scope type fallback error
add the invalid user consent scope type fallback error
* feat(core,schemas): add GET application user consent scopes api
add GET application user consent scopes api
* fix(core): remove useless field declare
remove useless field declare
* refactor(core): add on conflic ignore to the Relation insert query method
add on conflic ignore to the Relation insert query method
* chore: improve word
improve word
* test: add integration test
add integration test
* feat(core): update organization post api doc
update organization post api doc
* feat(core,schemas): add isThirdParty column to the applications table
add isThirdParty column to the applications table
* refactor(core): group the application routes under applications directory (#5091)
* refactor(core): group the application routes under applications directory
group the application routes under applications directory
* refactor(core,schemas): refactor the application api guard
refactor the application api guard
* fix(schemas): fix application patch guard
fix application patch guard
* fix(test): fix ut
fix ut