# Custom OAuth UD

**URL:** <https://discourse.farcrycore.org/t/custom-oauth-ud/558>\
**Category:** dev\
**Created:** [July 26, 2016, 10:22am UTC](https://discourse.farcrycore.org/t/custom-oauth-ud/558 "2016-07-26T10:22:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrfelna](https://discourse.farcrycore.org/user_avatar/discourse.farcrycore.org/mrfelna/32/1217_2.png) [@mrfelna](https://discourse.farcrycore.org/u/mrfelna)\
**Post date:** [July 26, 2016, 10:22am UTC](https://discourse.farcrycore.org/t/custom-oauth-ud/558/1 "2016-07-26T10:22:10Z")

</div>

We’re looking to move all authentication to a central OAuth2 application to provide a single sign on experience for staff and visitors.

Having looked at [Configuring Google OAuth2 login for plugins](https://discourse.farcrycore.org/t/configuring-google-oauth2-login-for-plugins/366) and [Custom User Directory](https://discourse.farcrycore.org/t/custom-user-directory/493), am I correct that the best way forward would be to copy and tweak the GoogleUD plugin?

---

<div class="post-metadata">

**Author:** ![justincarter](https://discourse.farcrycore.org/user_avatar/discourse.farcrycore.org/justincarter/32/1213_2.png) [@justincarter](https://discourse.farcrycore.org/u/justincarter)\
**Post date:** [July 26, 2016, 11:04pm UTC](https://discourse.farcrycore.org/t/custom-oauth-ud/558/2 "2016-07-26T23:04:01Z")

</div>

The Google UD plugin would be the best example that we have, so yes that’s probably a good starting point 🙂
