# OAuth Error With login using Plugin

**URL:** <https://www.patreondevelopers.com/t/oauth-error-with-login-using-plugin/2721>\
**Category:** Wordpress Plugin\
**Created:** [February 7, 2020, 10:05pm UTC](https://www.patreondevelopers.com/t/oauth-error-with-login-using-plugin/2721 "2020-02-07T22:05:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wpdev](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/wpdev/32/1169_2.png) [@wpdev](https://www.patreondevelopers.com/u/wpdev)\
**Post date:** [February 7, 2020, 10:05pm UTC](https://www.patreondevelopers.com/t/oauth-error-with-login-using-plugin/2721/1 "2020-02-07T22:05:19Z")

</div>

So I have setup the the login button on a page on a custom theme using the shortocode(patreon\_login\_button). Tested it out locally and it worked. Uploaded the , it redirects to the error page: [https://www.patreon.com/oauth2/errors?error=invalid\_request&error\_description=Invalid+client\_id+parameter+value.&state=eyJmaW5hbF9yZWRpcmVjdF91cmkiOiJodHRwczpcL1wvY291cnRpbmcuZXZpbC1pbmMuY29tIn0%3D](https://www.patreon.com/oauth2/errors?error=invalid_request&error_description=Invalid+client_id+parameter+value.&state=eyJmaW5hbF9yZWRpcmVjdF91cmkiOiJodHRwczpcL1wvY291cnRpbmcuZXZpbC1pbmMuY29tIn0%3D). Any idea why this error shows

 ![screenshot](https://canada1.discourse-cdn.com/flex036/uploads/patreondevelopers/original/2X/a/aa3dcbf7999d8f89f2083989e2f0f1fcf0701124.png) up

---

<div class="post-metadata">

**Author:** ![codebard](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/codebard/32/14_2.png) [@codebard](https://www.patreondevelopers.com/u/codebard)\
**Post date:** [February 8, 2020, 3:05am UTC](https://www.patreondevelopers.com/t/oauth-error-with-login-using-plugin/2721/2 "2020-02-08T03:05:03Z")

</div>

Have you connected your site to Patreon?

---

<div class="post-metadata">

**Author:** ![wpdev](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/wpdev/32/1169_2.png) [@wpdev](https://www.patreondevelopers.com/u/wpdev)\
**Post date:** [February 8, 2020, 3:36am UTC](https://www.patreondevelopers.com/t/oauth-error-with-login-using-plugin/2721/3 "2020-02-08T03:36:21Z")

</div>

Yes I have. Had some issues after connecting first time around. Ended up creating a new client ID reconnecting and it shows up us connected. The tiers are even showing up when a create a post. The login button just doesn’t work for some reason. Any ideas why? I am going to be having a few subsites using the same Patreon account. Should they all each have a seperate client ID?

---

<div class="post-metadata">

**Author:** ![wpdev](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/wpdev/32/1169_2.png) [@wpdev](https://www.patreondevelopers.com/u/wpdev)\
**Post date:** [February 8, 2020, 7:10pm UTC](https://www.patreondevelopers.com/t/oauth-error-with-login-using-plugin/2721/4 "2020-02-08T19:10:38Z")

</div>

Nevermind, got it figured out. I think something was off with the connection to Patreon. Reconnected, all good now. Thanks!
