How to access event.secrets in Auth0 Actions? Are there any differences between Node.js versions?

After modifying the settings, the behavior is now the same for the two tenants.

It’s written in the part Add a Secret of the official documentation Write Your First Action .

I didn’t understand this mechanism.

And after this understanding, I confirmed the Secrets in post-login action of the two tenants.

  1. tenant A
  • found client_secret in Secrets
  1. tenant B
  • Not registered client_secret in Secrets

This meant that the previous developer had registered with A, but not with B.

I registered client_secret in B and the result was as expected.

My lesson is to understand the basics well before seeking help.