# OAuth2 Client Credentials Flow - Issue with Access Token

**URL:** <https://discuss.konghq.com/t/oauth2-client-credentials-flow-issue-with-access-token/1894>\
**Category:** Questions\
**Created:** [September 18, 2018, 7:54am UTC](https://discuss.konghq.com/t/oauth2-client-credentials-flow-issue-with-access-token/1894 "2018-09-18T07:54:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jassmakhija](https://avatars.discourse-cdn.com/v4/letter/j/3bc359/32.png) [@jassmakhija](https://discuss.konghq.com/u/jassmakhija)\
**Post date:** [September 18, 2018, 7:54am UTC](https://discuss.konghq.com/t/oauth2-client-credentials-flow-issue-with-access-token/1894/1 "2018-09-18T07:54:01Z")

</div>

Hello All,

I am trying to configure OAuth 2 plugin with Client Credentials grant and facing issue with generation of Access Token. Can somebody suggest me the exact command with the right port number to generate the access token for client credentials.

---

<div class="post-metadata">

**Author:** ![Ritesh\_Jha](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/ritesh_jha/32/1448_2.png) [@Ritesh\_Jha](https://discuss.konghq.com/u/Ritesh_Jha)\
**Post date:** [September 19, 2018, 3:17am UTC](https://discuss.konghq.com/t/oauth2-client-credentials-flow-issue-with-access-token/1894/2 "2018-09-19T03:17:08Z")

</div>

refer this discussion [Unable to get oAuth token for client credential flow](https://discuss.konghq.com/t/unable-to-get-oauth-token-for-client-credential-flow/1462).

---

<div class="post-metadata">

**Author:** ![jassmakhija](https://avatars.discourse-cdn.com/v4/letter/j/3bc359/32.png) [@jassmakhija](https://discuss.konghq.com/u/jassmakhija)\
**Post date:** [September 19, 2018, 7:52am UTC](https://discuss.konghq.com/t/oauth2-client-credentials-flow-issue-with-access-token/1894/3 "2018-09-19T07:52:11Z")

</div>

Thank you, I got the issue and its resolved now.
