Auth0 Home Blog Docs

Run a rule on renewAuth

rules
renewauth

#1

Is it possible to run a custom rule each time renewAuth is being called?

Want to renew claims based on a custom database but seems like the rules are only being called during a login event and not a silent authentication event.


#2

Rules do run on silent authentication please make sure that is enabled in the Advanced Section in Account Settings

![alt text][1]

However, custom database scripts will not execute on silent auth, which is why any additional profile information should always be fetched in rules.


#3

thanks that works


#4

thanks that works


#5

My account settings do not have this section, I do not see any “migrations” box at all.


#6