# Manual OAuth2 for Slack: invalid\_auth

**URL:** <https://forum.bubble.io/t/manual-oauth2-for-slack-invalid-auth/178669>\
**Category:** APIs\
**Created:** [November 17, 2021, 5:46pm UTC](https://forum.bubble.io/t/manual-oauth2-for-slack-invalid-auth/178669 "2021-11-17T17:46:49Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![kourosh-ghaffari-gha](https://avatars.discourse-cdn.com/v4/letter/k/6bbea6/32.png) [@kourosh-ghaffari-gha](https://forum.bubble.io/u/kourosh-ghaffari-gha)\
**Post date:** [November 24, 2021, 3:53pm UTC](https://forum.bubble.io/t/manual-oauth2-for-slack-invalid-auth/178669/2 "2021-11-24T15:53:39Z")

</div>

In case this can be helpful to anyone else, here is the solution:

Despite Slack documentation showing the userInfo call as a GET method, calling a POST method finally got this to work. Here are screenshots of my API calls for getting the access token and collecting the User Info:

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/f/1/f1a76e12191e88104d950981cbb773c7ece8c143.png)

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

Note that the Content-Type in both cases is: application/x-www-form-urlencoded  
Also, body type for both is Form-data (not JSON!)

---

_[View the full topic](https://forum.bubble.io/t/manual-oauth2-for-slack-invalid-auth/178669)._
