# Email\_verified without re-login

**URL:** <https://community.auth0.com/t/email-verified-without-re-login/6438>\
**Category:** Get Help\
**Tags:** email\_verified, login\
**Created:** [May 2, 2017, 1:19am UTC](https://community.auth0.com/t/email-verified-without-re-login/6438 "2017-05-02T01:19:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nje2n](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@nje2n](https://community.auth0.com/u/nje2n)\
**Post date:** [May 2, 2017, 1:19am UTC](https://community.auth0.com/t/email-verified-without-re-login/6438/1 "2017-05-02T01:19:03Z")

</div>

As it stands, when a new user signs up they have to verify their email to get access to certain features of my site. Once they follow the verification email, they have to then log out and log back in to view the features. Is there a way to simply do this on page reload? It is a bit of a pain to force a user to logout then log back in.

---

<div class="post-metadata">

**Author:** ![prashantT](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/prashantt/32/6002_2.png) [@prashantT](https://community.auth0.com/u/prashantT)\
**Post date:** [May 2, 2017, 8:09am UTC](https://community.auth0.com/t/email-verified-without-re-login/6438/2 "2017-05-02T08:09:00Z")

</div>

You can use the [/tokeninfo endpoint](https://auth0.com/docs/api/authentication#get-token-info) to get user info associated with an `id_token`. This will return the user info, including the `email_verified` field.

---

<div class="post-metadata">

**Author:** ![nje2n](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@nje2n](https://community.auth0.com/u/nje2n)\
**Post date:** [May 2, 2017, 8:12am UTC](https://community.auth0.com/t/email-verified-without-re-login/6438/3 "2017-05-02T08:12:11Z")

</div>

I currently use php, so I call $userInfo = $auth0Oauth-\>getUser(); on every reload, which returns the email\_verified field. The issue is not getting the field, the issue is that it does not update the field until re-login.

---

<div class="post-metadata">

**Author:** ![prashantT](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/prashantt/32/6002_2.png) [@prashantT](https://community.auth0.com/u/prashantT)\
**Post date:** [May 2, 2017, 8:56am UTC](https://community.auth0.com/t/email-verified-without-re-login/6438/4 "2017-05-02T08:56:12Z")

</div>

What version of the SDK are you using?

---

<div class="post-metadata">

**Author:** ![nje2n](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@nje2n](https://community.auth0.com/u/nje2n)\
**Post date:** [May 2, 2017, 8:30pm UTC](https://community.auth0.com/t/email-verified-without-re-login/6438/5 "2017-05-02T20:30:13Z")

</div>

Not sure but assuming the newest version since I have only been using auth0 for a few weeks.

---

<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/email-verified-without-re-login/6438/6 "2018-03-02T05:53:37Z")

</div>


