# History of revisions on Root Attributes

**URL:** <https://community.auth0.com/t/history-of-revisions-on-root-attributes/37989>\
**Category:** Get Help\
**Created:** [February 17, 2020, 10:12am UTC](https://community.auth0.com/t/history-of-revisions-on-root-attributes/37989 "2020-02-17T10:12:00Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Singtah](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/singtah/32/13023_2.png) [@Singtah](https://community.auth0.com/u/Singtah)\
**Post date:** [February 17, 2020, 10:12am UTC](https://community.auth0.com/t/history-of-revisions-on-root-attributes/37989/1 "2020-02-17T10:12:00Z")

</div>

Hi there,

Is there a way to retrieve old Root attributes that could have been modified ? I am thinking about a user that changes his `phone_number` or `nickname`, can i retrieve the old ones somehow ?

If not, should i just move the current values to `user_metadata` before updating ?

---

<div class="post-metadata">

**Author:** ![markd](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/markd/32/38919_2.png) [@markd](https://community.auth0.com/u/markd)\
**Post date:** [February 18, 2020, 5:32pm UTC](https://community.auth0.com/t/history-of-revisions-on-root-attributes/37989/2 "2020-02-18T17:32:38Z")

</div>

Hi @Singtah,

I believe the only option here would be to go through your tenant logs. You’ll want to export your logs to a 3rd party service since Auth0 maintains at the most 30 days of logs. There’s no ‘journaling’ or change history capability at the moment as far as I know.

---

<div class="post-metadata">

**Author:** ![Singtah](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/singtah/32/13023_2.png) [@Singtah](https://community.auth0.com/u/Singtah)\
**Post date:** [February 19, 2020, 8:18am UTC](https://community.auth0.com/t/history-of-revisions-on-root-attributes/37989/3 "2020-02-19T08:18:20Z")

</div>

Hi @markd

Thank you for your answer. That could be a possibility, i will have to take a look a the logs.

My goal is to keep track of every state a user account could take (during registrations and then after further updates like phone, address…)  
The easiest way is to have a different uuid for every state that the user account takes and keep, as you suggested, the logs for the data with a reference to that uuid

Is it the only way of keeping records for user account states ?

Thank you for your suggestions

---

<div class="post-metadata">

**Author:** ![markd](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/markd/32/38919_2.png) [@markd](https://community.auth0.com/u/markd)\
**Post date:** [February 19, 2020, 1:56pm UTC](https://community.auth0.com/t/history-of-revisions-on-root-attributes/37989/4 "2020-02-19T13:56:37Z")

</div>

If by “keeping records for user account states” you mean keeping a history / changelog then there is no way to do that natively within Auth0. I would suggest [submitting feedback / a feature request](https://auth0.com/feedback). If not a native changelog / journaling feature, maybe Auth0 can add an “on profile update” hook that would allow you to implement something yourself.

---

<div class="post-metadata">

**Author:** ![Singtah](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/singtah/32/13023_2.png) [@Singtah](https://community.auth0.com/u/Singtah)\
**Post date:** [February 21, 2020, 10:06am UTC](https://community.auth0.com/t/history-of-revisions-on-root-attributes/37989/5 "2020-02-21T10:06:16Z")

</div>

Hi @markd  
Yes, that’s what i need : keep history of the user profile data. I will submit a feature request  
Last question regarding a closed post (did not respond fast enough here) : [Magic Link security](http://community.auth0.com/t/magic-link-security/36880)  
Are you able to provide the parameters that are held in the `state` .

Even though my question is about the security of the magic link, the idea is also the same here : i would like to keep a record of the parameters that were send in the transaction.

Thank you for your help

---

<div class="post-metadata">

**Author:** ![markd](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/markd/32/38919_2.png) [@markd](https://community.auth0.com/u/markd)\
**Post date:** [February 21, 2020, 1:47pm UTC](https://community.auth0.com/t/history-of-revisions-on-root-attributes/37989/6 "2020-02-21T13:47:56Z")

</div>

I’m afraid I don’t know what parameters, if any, are held in the `state` value for a magic link.

---

<div class="post-metadata">

**Author:** ![Singtah](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/singtah/32/13023_2.png) [@Singtah](https://community.auth0.com/u/Singtah)\
**Post date:** [February 21, 2020, 1:53pm UTC](https://community.auth0.com/t/history-of-revisions-on-root-attributes/37989/7 "2020-02-21T13:53:03Z")

</div>

How do you make sure the link is opened in the same browser then ?

---

<div class="post-metadata">

**Author:** ![markd](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/markd/32/38919_2.png) [@markd](https://community.auth0.com/u/markd)\
**Post date:** [February 21, 2020, 2:07pm UTC](https://community.auth0.com/t/history-of-revisions-on-root-attributes/37989/8 "2020-02-21T14:07:43Z")

</div>

I’m not familiar with the technical details. It may be that the state parameter is stored in a signed cookie locally (this is how state is handled in other scenarios), but I am not certain.

---

<div class="post-metadata">

**Author:** ![Singtah](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/singtah/32/13023_2.png) [@Singtah](https://community.auth0.com/u/Singtah)\
**Post date:** [February 22, 2020, 3:26pm UTC](https://community.auth0.com/t/history-of-revisions-on-root-attributes/37989/9 "2020-02-22T15:26:08Z")

</div>

Thank you @markd,

Do you know where i could that information ?

---

<div class="post-metadata">

**Author:** ![markd](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/markd/32/38919_2.png) [@markd](https://community.auth0.com/u/markd)\
**Post date:** [February 22, 2020, 3:28pm UTC](https://community.auth0.com/t/history-of-revisions-on-root-attributes/37989/10 "2020-02-22T15:28:45Z")

</div>

If it’s not in the [docs](https://auth0.com/docs/protocols/oauth2/oauth-state), you’ll need to ask Auth0. I’d suggest [opening a ticket](https://support.auth0.com/login).
