# Oauth2 "email" instead of "username"

**URL:** <https://community.postman.com/t/oauth2-email-instead-of-username/37258>\
**Category:** Help Hub\
**Created:** [July 16, 2022, 2:12pm UTC](https://community.postman.com/t/oauth2-email-instead-of-username/37258 "2022-07-16T14:12:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cgetner](https://avatars.discourse-cdn.com/v4/letter/c/e9c0ed/32.png) [@cgetner](https://community.postman.com/u/cgetner)\
**Post date:** [July 16, 2022, 2:12pm UTC](https://community.postman.com/t/oauth2-email-instead-of-username/37258/1 "2022-07-16T14:12:53Z")

</div>

I am accessing a system using oauth2. I’m trying to get the bearer token but the target systems want “email” instead of “username” when passing the user credentials.

Is there a way to configure the authorization in postman for oauth2 to change the variable name it is sending to something other than “username”?

I can do this in curl

---

<div class="post-metadata">

**Author:** ![w4dd325](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/w4dd325/32/12436_2.png) [@w4dd325](https://community.postman.com/u/w4dd325)\
**Post date:** [July 18, 2022, 10:52am UTC](https://community.postman.com/t/oauth2-email-instead-of-username/37258/2 "2022-07-18T10:52:56Z")

</div>

Hi @cgetner

If you can do this in curl, then just import that curl command into Postman and it should configure everything for you.

 ![image](https://us1.discourse-cdn.com/getpostman/original/2X/e/e3f17ecba4a543070e3bbde42192396106812f65.png)
