how to read OAuth scope in OIC trigger REST API
We have a requirement to access OIC REST API endpoints using OAuth flow by 3rd party clients.
The use case is we want to create custom scopes for each client for better data isolation filters to be applied at the OIC integration levels ! The client should be agonistic of these filters being applied. Within the Integrations, the filters to be applied will be determined based on the scope while OAuth authentication AT.
I want to know how I can read the scopes of the AT used by client in authentication in the OIC trigger flow, is this possible or are there any alternate steps to perform this.