# Problem with OAuth2 API Credentials Callback

**URL:** <https://community.n8n.io/t/problem-with-oauth2-api-credentials-callback/4354>\
**Category:** Questions\
**Created:** [February 16, 2021, 9:11am UTC](https://community.n8n.io/t/problem-with-oauth2-api-credentials-callback/4354 "2021-02-16T09:11:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DoItAndBeDone](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/doitandbedone/32/3485_2.png) [@DoItAndBeDone](https://community.n8n.io/u/DoItAndBeDone)\
**Post date:** [February 16, 2021, 9:11am UTC](https://community.n8n.io/t/problem-with-oauth2-api-credentials-callback/4354/1 "2021-02-16T09:11:15Z")

</div>

Using n8n self hosted on docker with version 0.107.0. I’m using credentials with OAuth2 API with Awair.

The initial call works but during the callback n8n does not seem to respond or proceed. I can see the callback is being done correctly in Chrome Dev Tools and with the necessary information to proceed to the token call, instead it just hangs.

Tried clicking for info in the help link about credentials but it directs me to a blank page. I found some info here: [Credentials | Docs](https://docs.n8n.io/nodes/credentials), unfortunately, nothing useful.

Not sure if I’m missing anything. I’m passing all necessary parameters as listed in the Awair docs. And Awair seems to be working fine and sending necessary info back.

References:  
Awair docs: [https://docs.developer.getawair.com](https://docs.developer.getawair.com)

Thanks!

---

<div class="post-metadata">

**Author:** ![RicardoE105](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ricardoe105/32/550_2.png) [@RicardoE105](https://community.n8n.io/u/RicardoE105)\
**Post date:** [February 16, 2021, 1:25pm UTC](https://community.n8n.io/t/problem-with-oauth2-api-credentials-callback/4354/2 "2021-02-16T13:25:40Z")

</div>

Welcome to the community @DoItAndBeDone

I have seen this before when the authentication parameter is not set correctly. According to the docs, the body has to be used there.

 ![image](https://europe1.discourse-cdn.com/n8n/original/2X/3/3e39923e62ddb6b72b1ba503dfaf4bc16cb8a957.png)

---

<div class="post-metadata">

**Author:** ![DoItAndBeDone](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/doitandbedone/32/3485_2.png) [@DoItAndBeDone](https://community.n8n.io/u/DoItAndBeDone)\
**Post date:** [February 17, 2021, 12:34am UTC](https://community.n8n.io/t/problem-with-oauth2-api-credentials-callback/4354/3 "2021-02-17T00:34:43Z")

</div>

Hmm. Well must have missed that option. So hyper focused it was invisible… It works now, thank you so much!
