Rules to Actions Migration Question


My team is planning to migrate from rules to actions. We are looking at the different changes that need to be made.

One of the things we noticed is that auth0.domain is no longer exposed.

I noticed in your migration guide that one of your exemples uses auth0.domain

The transition seems to imply you have to store the domain as a secret inside your action.

However, one team member found that it can be accessed through event.request.hostname.

Can we consider event.request.hostname to be the new auth0.domain ?

Thank you

Hi @alexandre.boulay,

Thanks for reaching out to the Auth0 Community!

After testing this thoroughly, I found that the auth0.domain in Rules references the domain in the following format

Whereas the event.request.hostname in Actions references the domain in the format.

Since the domain expects the URL with the region (i.e,, you need to use the secrets in Actions to reference the correct domain URL.

Hoped this helps!

Please let me know if you have any further questions.

Thank you.

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