Refresh user metadata on user (useAuth0) when metadata is updated

I save stuff on the ùser_metadata` object which I want to use in my app.

To access it, I go for useAuth0().user and I have a rule that adds user_metadata to a namespace on user login.

However - I want another rule that refreshes that namespace when I call the update-user-metadata endpoint. Possible, either via actions or rules/hooks?

Thank you

1 Like