I need to call Facebook from a rule to obtain the id tokens for business.
We are doing a migration to Auth0, where we are centralising users from multiple facebook apps (and db) to a single auth0 store.
Whilst Google has a unique ID per user, Facebook scopes the user ids per app. They have however a concept of a token per business which uniquely identifies a user across multiple apps.
Looking at all the fields in the connection config I cannot find these, so I would have to get them from the Idp connection. How can I call Facebook API within a rule? How can I access the Idp access token to do so?