# Creator tokens vs. WP Plugin

**URL:** <https://www.patreondevelopers.com/t/creator-tokens-vs-wp-plugin/949>\
**Category:** Wordpress Plugin\
**Created:** [July 24, 2018, 9:53am UTC](https://www.patreondevelopers.com/t/creator-tokens-vs-wp-plugin/949 "2018-07-24T09:53:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ekhnaton](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/ekhnaton/32/591_2.png) [@Ekhnaton](https://www.patreondevelopers.com/u/Ekhnaton)\
**Post date:** [July 24, 2018, 9:53am UTC](https://www.patreondevelopers.com/t/creator-tokens-vs-wp-plugin/949/1 "2018-07-24T09:53:33Z")

</div>

After a day of using Patreon WP Plugin, I realized that Creator’s Access Token and Creator’s Refresh Token are changing all the time, sometimes hourly.

It has to be updated manually in the Patreon WP Plugin settings page, otherwise it makes 10-12seconds delay on every pageload, that makes website practically unusable.

Is there any way to fix the Creator’s Access Token and Creator’s Refresh Token of continous change, or make Patreon WP Plugin to update these automatically?

Thanks,

---

<div class="post-metadata">

**Author:** ![Fishbreath](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/fishbreath/32/526_2.png) [@Fishbreath](https://www.patreondevelopers.com/u/Fishbreath)\
**Post date:** [July 24, 2018, 1:23pm UTC](https://www.patreondevelopers.com/t/creator-tokens-vs-wp-plugin/949/2 "2018-07-24T13:23:30Z")

</div>

I’ve noticed something similar—one of my websites in a multi-site setup frequently fails to refresh the token and has to be refreshed manually, while the other renews automatically with no interaction.

---

<div class="post-metadata">

**Author:** ![sam](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/sam/32/492_2.png) [@sam](https://www.patreondevelopers.com/u/sam)\
**Post date:** [July 24, 2018, 2:31pm UTC](https://www.patreondevelopers.com/t/creator-tokens-vs-wp-plugin/949/3 "2018-07-24T14:31:17Z")

</div>

When you log in as a Patreon user through OAuth the `Access Token` and `Refresh Token` for you for that client are refreshed, and since your `Creator's Access Token` and `Creator's Refresh Token` are just standard tokens for that client the old tokens (what you’ve configured in your control panel) are no longer valid. Therefore, you **must not** log in to your Patreon OAuth integrated website with the Patreon creator’s account of the OAuth client, because it will refresh the tokens.

If you want to test your website that uses Patreon OAuth then you should create a new Patreon account specifically for testing – which is beneficial anyway, since a creator cannot be a patron of a campaign, so by logging in with your creator account you’re not accurately testing the experience of your patrons.

Previous threads about this issue:

> [@Creator Access Token expiring very quickly](https://www.patreondevelopers.com/t/creator-access-token-expiring-very-quickly/864):
>
> Hi there! We’re having some troubles with Creator Access Tokens expiring very quickly and not being able to refresh them afterwards. Currently it seems like they’re expiring almost every day. The refresh token also seems to expire, which I don’t think should happen right? When I try to use the refresh token, I always get [error] =\> invalid\_grant. We’re using the PHP library, using the code pretty much as it is in [one of the examples](https://github.com/Patreon/patreon-php/blob/master/examples/patron-list.php). Any idea what might cause something like this? Aran

> [@Unauthorized error when using new PHP api](https://www.patreondevelopers.com/t/unauthorized-error-when-using-new-php-api/499):
>
> Hi, I am trying to learn the new PHP API. I am currently using the example project ([https://github.com/1f991/patreon-php-example](https://github.com/1f991/patreon-php-example)) to create a login button. Unfortunately every time I try to log in I get the error: Unauthorized The server could not verify that you are authorized to access the URL requested. You either supplied the wrong credentials (e.g. a bad password), or your browser doesn’t understand how to supply the credentials required.

---

<div class="post-metadata">

**Author:** ![Fishbreath](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/fishbreath/32/526_2.png) [@Fishbreath](https://www.patreondevelopers.com/u/Fishbreath)\
**Post date:** [July 25, 2018, 11:28pm UTC](https://www.patreondevelopers.com/t/creator-tokens-vs-wp-plugin/949/4 "2018-07-25T23:28:36Z")

</div>

That explains it. Thanks for the clarification!
