Hi @djfy,
Thanks for your response.
It seems that the event.transaction.requested_scopes will not work for Client Credentials, Refresh Token, and Resource Owner Password Grant flows.
Instead, you can access the scopes by calling event.request.body.scope.
This is mentioned in this knowledge solution.
Let me know if you have any additional questions!
Thanks,
Rueben