Hey,
I’ve seen this simple example of account linking through actions
but I’m stuck with the getManagementApiToken function, that maybe I need to write on my own.
Can someone provide any guidance for this function? how to use the event and api variables?
Moreover, what should be the value of event.secrets.TENANT_DOMAIN?
For managing secrets, you can configure them in the Action code editor. I recommend following the steps outlined in the Write Your First Action - Add a secret documentation.