Hi @jamiestumme,
That’s great to hear it worked well with the post-login action script.
Unfortunately, the M2M actions do not currently have any method for adding or removing scopes. Only the methods listed in our Actions Triggers: credentials-exchange - API Object documentation are available.
After investigating, it appears there is a parity gap between Hooks and the M2M Action script. We are actively working on enhancing the M2M Action script to address this. In the meantime, if you need to add or remove scopes, please continue using Hooks to achieve this functionality until further updates are available.
Thanks,
Rueben