# Auth0 adding personally identifiable information to redirect URL

**URL:** <https://community.auth0.com/t/auth0-adding-personally-identifiable-information-to-redirect-url/6425>\
**Category:** Get Help\
**Tags:** password-reset, reset, redirect-rules\
**Created:** [May 1, 2017, 3:48am UTC](https://community.auth0.com/t/auth0-adding-personally-identifiable-information-to-redirect-url/6425 "2017-05-01T03:48:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![justin11](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/justin11/32/7136_2.png) [@justin11](https://community.auth0.com/u/justin11)\
**Post date:** [May 1, 2017, 3:48am UTC](https://community.auth0.com/t/auth0-adding-personally-identifiable-information-to-redirect-url/6425/1 "2017-05-01T03:48:22Z")

</div>

We are using the Auth0 hosted password reset page and after a successfult password reset the user is being redirected back to our sign-in page:

See: _Dashboard → Emails → Templates → Redirect To_

The redirect url generated by Auth0 included PII (personally identifiable information) in the form of the users email:

```
http://mydomain.com/users/sign_in?email=user@email.com

```

This information ends up in Google Analytics and is a violation of the TOS:

> **[\[UA\] Universal Analytics usage guidelines \[Legacy\] - Analytics Help](https://support.google.com/analytics/answer/2795983?hl=en)**
>
> You are viewing a legacy article about Universal Analytics. Learn more about Google Analytics 4 replacing Universal Analytics. The following cond

It also just a bad idea to include a user’s email in a plain URL.

**How can we prevent the redirect URL from containing the user’s email?**

---

<div class="post-metadata">

**Author:** ![justin](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/justin/32/8084_2.png) [@justin](https://community.auth0.com/u/justin)\
**Post date:** [May 2, 2017, 3:59am UTC](https://community.auth0.com/t/auth0-adding-personally-identifiable-information-to-redirect-url/6425/2 "2017-05-02T03:59:51Z")

</div>

Hello Justin,

Are you using the change password widget? I assume so, as this is the default option for the hosted change password page. I have confirmed this behavior and I agree this is not ideal.

I went ahead and captured an enhancement request to allow you to remove this PII from the Redirect To url. I will add this to the product backlog and plan to address this in the future, but I cannot say exactly when.

For now, the workaround would be to remove the Redirect To value so that the user stays on the page after the password change operation.

Regards,

Justin

---

<div class="post-metadata">

**Author:** ![justin11](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/justin11/32/7136_2.png) [@justin11](https://community.auth0.com/u/justin11)\
**Post date:** [May 2, 2017, 5:16am UTC](https://community.auth0.com/t/auth0-adding-personally-identifiable-information-to-redirect-url/6425/3 "2017-05-02T05:16:30Z")

</div>

Thanks Justin. Looking forward to when this lands in the product. I assume the other option would be to use the API to implement the reset functionality?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:53am UTC](https://community.auth0.com/t/auth0-adding-personally-identifiable-information-to-redirect-url/6425/4 "2018-03-02T05:53:36Z")

</div>


