How to include authentication token in Redirect Response

Hi A0 Community,

I am creating a post login event to redirect to another A0 app conditionally. However the authenticaiton token is not included in response. How do I do that?

exports.onExecutePostLogin = async (event, api) => {
api.redirect.sendUserTo(‘another A0 app’)
}

Hi @kewong ,

I noticed that you opened a support ticket for the same issue. Below is the solution provided by our DSE. Hopefully it’s beneficial to other community members.

To pass the information back to the Action, please try steps in this article:

Pass data to external site:

Pass information back:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.