What is the options(client_id,secret) to send to make an api call, in action after post login (onExecutePostLogin)?

Hi @Neos,

Thanks for reaching out to the Auth0 Community!

After taking a look at your Universal Login settings, I found that you are trying to use the Management API in Actions.

I recommend reading the How can I use the Management API in Actions? FAQ which explains in detail how to accomplish this.

Just to touch on the event.secrets, these are sensitive values that are saved in the Action’s Secrets section depicted by a Key icon. See below:

After adding the client_id, client_secret, and domain Secrets, you can call them inside the script with the event.secrets prefix.

(Reference: Write Your First Action - Add a Secret)

I hope this helps!

Please let me know how this goes for you.

Thanks,
Rueben

2 Likes