# Oauth+wiki: where to start?

**URL:** <https://www.patreondevelopers.com/t/oauth-wiki-where-to-start/6068>\
**Category:** Uncategorized\
**Created:** [August 27, 2022, 1:12am UTC](https://www.patreondevelopers.com/t/oauth-wiki-where-to-start/6068 "2022-08-27T01:12:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![J.D\_Frey](https://avatars.discourse-cdn.com/v4/letter/j/8edcca/32.png) [@J.D\_Frey](https://www.patreondevelopers.com/u/J.D_Frey)\
**Post date:** [August 27, 2022, 1:12am UTC](https://www.patreondevelopers.com/t/oauth-wiki-where-to-start/6068/1 "2022-08-27T01:12:48Z")

</div>

Hello,  
I’m not familiar with using oauth at all, but I’d like to set up a wiki that uses patreon authentication to control access to the wiki content based on patron support levels, similar to how discord integration allows users to unlock thread content based on support level.

I’m hoping this is something someone is already doing, but a cursory search mostly turns up enterprise-level or app development tools.

So is there anyone out there rolling their own media wiki (or other wiki) delivering content to authenticated patreon users? Any general direction I should head to find the info?

---

<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:** [August 29, 2022, 2:39pm UTC](https://www.patreondevelopers.com/t/oauth-wiki-where-to-start/6068/2 "2022-08-29T14:39:57Z")

</div>

Just get the PHP lib and deploy it at a web host or infra you own. You can get a headstart. If PHP is not in you stack or if you don’t want to deploy it as a microservice, then you can adopt the logic that is in the lib to your app easily.

> **[GitHub - Patreon/patreon-php: Interact with the Patreon API via OAuth](https://github.com/Patreon/patreon-php)**
>
> Interact with the Patreon API via OAuth. Contribute to Patreon/patreon-php development by creating an account on GitHub.

The lib already contains examples to make users go through login, and it also shows how to get their details. More advanced applications can be found in the examples from the WP plugin:

> <https://github.com/Patreon/patreon-wordpress/blob/8e984d57d815038d6400bdec26786b37a9cd7fce/classes/patreon_api_v2.php#L22>

---

<div class="post-metadata">

**Author:** ![J.D\_Frey](https://avatars.discourse-cdn.com/v4/letter/j/8edcca/32.png) [@J.D\_Frey](https://www.patreondevelopers.com/u/J.D_Frey)\
**Post date:** [August 29, 2022, 2:42pm UTC](https://www.patreondevelopers.com/t/oauth-wiki-where-to-start/6068/3 "2022-08-29T14:42:09Z")

</div>

Awesome. Thanks for the info.
