# Using custom authentication

**URL:** <https://meta.discourse.org/t/using-custom-authentication/182536>\
**Category:** Development\
**Created:** [March 8, 2021, 7:03pm UTC](https://meta.discourse.org/t/using-custom-authentication/182536 "2021-03-08T19:03:00Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![cb-candor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cb-candor/32/212467_2.png) [@cb-candor](https://meta.discourse.org/u/cb-candor)\
**Post date:** [March 8, 2021, 7:03pm UTC](https://meta.discourse.org/t/using-custom-authentication/182536/1 "2021-03-08T19:03:00Z")

</div>

Hey everyone 👋,

Currently trying to integrate with our own website’s cookie-based authentication. We have a callback URL that we typically pass various parameters to authenticate users - however we’re experiencing trouble trying to authenticate users in Discourse in the same way.

I’ve been playing around with ([GitHub - discourse/discourse-oauth2-basic: A basic OAuth2 plugin for use with Discourse · GitHub](https://github.com/discourse/discourse-oauth2-basic)) but it’s proving difficult to integrate with our setup.

Is there any way to configure how Discourse authenticates users so we can use our own methods? Happy to supply any supplementary information or code if needed, any advice is appreciated!

---

_[View the full topic](https://meta.discourse.org/t/using-custom-authentication/182536)._
