Hi All—I believe this is the right place to post this question as I think an action would be required, or a hook. We use Outseta for account management and Auth0 for authentication. We need to pass Auth0 user credentials (email) to Outseta via a POST request whenever a user logs in so that their Outseta user profile (billing/account info) will surface on their dashboard viewing page once logged in. The required format of the POST request is below, username = email:
Thanks @rueben.tiow — I think I’ll need a bit more help with my Action, not sure how to send, I can see that I can make the post-login trigger and add it to the Action flow, but not sure where I can call the Outseta POST call and pass in the user email. Maybe I’m in the wrong place?
In this script, you will notice that the event.user.email property is set as the username in the request. And the authorization token is saved as a Secret in your Action by calling event.secrets.token.
Any sensitive information should be stored as a Secret, which you can add by pressing the key icon on the left column and clicking on the Add Secret button. See below:
Once you have completed the implementation for your Action, you can test the Action by pressing the Test play icon directly above the Secrets key icon.