# Oauth/token endpoint payload

**URL:** <https://community.auth0.com/t/oauth-token-endpoint-payload/103903>\
**Category:** Get Help\
**Tags:** grants, management-api\
**Created:** [March 31, 2023, 8:18pm UTC](https://community.auth0.com/t/oauth-token-endpoint-payload/103903 "2023-03-31T20:18:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pablo.didone](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pablo.didone/32/45961_2.png) [@pablo.didone](https://community.auth0.com/u/pablo.didone)\
**Post date:** [March 31, 2023, 8:18pm UTC](https://community.auth0.com/t/oauth-token-endpoint-payload/103903/1 "2023-03-31T20:18:12Z")

</div>

I have a Flutter app that logs in user by sending a validation code by sms. To validate that code I hit oauth/token endpoint. This endpoint returns a payload that contains the name property but it is empty. How can I configure it return the phone number instead of an empty string in name?

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [April 4, 2023, 6:15pm UTC](https://community.auth0.com/t/oauth-token-endpoint-payload/103903/3 "2023-04-04T18:15:24Z")

</div>

Hi @pablo.didone,

Welcome to the Auth0 Community!

Can you please provide an example of the requests and responses you are seeing?

---

<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:** [June 22, 2023, 6:38pm UTC](https://community.auth0.com/t/oauth-token-endpoint-payload/103903/4 "2023-06-22T18:38:22Z")

</div>

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