# Email\_verified and email fields are missing from response when calling /userinfo

**URL:** <https://community.auth0.com/t/email-verified-and-email-fields-are-missing-from-response-when-calling-userinfo/98340>\
**Category:** Get Help\
**Tags:** user-profile, user-management\
**Created:** [January 17, 2023, 2:11pm UTC](https://community.auth0.com/t/email-verified-and-email-fields-are-missing-from-response-when-calling-userinfo/98340 "2023-01-17T14:11:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![szpigiel.marcin](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/szpigiel.marcin/32/42739_2.png) [@szpigiel.marcin](https://community.auth0.com/u/szpigiel.marcin)\
**Post date:** [January 17, 2023, 2:11pm UTC](https://community.auth0.com/t/email-verified-and-email-fields-are-missing-from-response-when-calling-userinfo/98340/1 "2023-01-17T14:11:56Z")

</div>

Hi when I call `/userinfo` endpoint the only field I’m getting back are

```auto
{
  sub: '',
  nickname: '"',
  name: ''",
  picture: ''",
  updated_at: ""
}

```

I would like `/userinfo` endpoint to contain `email_verified` and `email` fields is that possible?

---

<div class="post-metadata">

**Author:** ![lihua.zhang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lihua.zhang/32/39683_2.png) [@lihua.zhang](https://community.auth0.com/u/lihua.zhang)\
**Post date:** [January 17, 2023, 6:17pm UTC](https://community.auth0.com/t/email-verified-and-email-fields-are-missing-from-response-when-calling-userinfo/98340/3 "2023-01-17T18:17:45Z")

</div>

Hi @szpigiel.marcin ,

Welcome to the Auth0 Community!

> [@szpigiel.marcin](#):
>
> I would like `/userinfo` endpoint to contain `email_verified` and `email` fields is that possible?

I understand that you want to obtain the email\_verified and email fields when calling the [/userinfo](https://auth0.com/docs/api/authentication#get-user-info) endpoint. I tested this endpoint and get both fields by setting scope as:

`scope: openid email profile`

Does it work for you?

---

<div class="post-metadata">

**Author:** ![szpigiel.marcin](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/szpigiel.marcin/32/42739_2.png) [@szpigiel.marcin](https://community.auth0.com/u/szpigiel.marcin)\
**Post date:** [January 17, 2023, 8:35pm UTC](https://community.auth0.com/t/email-verified-and-email-fields-are-missing-from-response-when-calling-userinfo/98340/4 "2023-01-17T20:35:54Z")

</div>

Thank you that was it I had only `openid` and `profile` scopes set.

---

<div class="post-metadata">

**Author:** ![lihua.zhang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lihua.zhang/32/39683_2.png) [@lihua.zhang](https://community.auth0.com/u/lihua.zhang)\
**Post date:** [January 17, 2023, 8:43pm UTC](https://community.auth0.com/t/email-verified-and-email-fields-are-missing-from-response-when-calling-userinfo/98340/5 "2023-01-17T20:43:20Z")

</div>

You are very welcome 😀

---

<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:** [January 31, 2023, 8:43pm UTC](https://community.auth0.com/t/email-verified-and-email-fields-are-missing-from-response-when-calling-userinfo/98340/6 "2023-01-31T20:43:39Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
