# Can I authenticate to Drupal via Discourse?

**URL:** https://meta.discourse.org/t/can-i-authenticate-to-drupal-via-discourse/131835
**Category:** Support
**Created:** [October 24, 2019, 8:59pm UTC](https://meta.discourse.org/t/can-i-authenticate-to-drupal-via-discourse/131835 "2019-10-24T20:59:38Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [October 25, 2019, 6:17pm UTC](https://meta.discourse.org/t/can-i-authenticate-to-drupal-via-discourse/131835/5 "2019-10-25T18:17:49Z")

</div>

> [@jerrac](#):
>
> What kind of authentication is that, anyway? OAuth, OpenID Connect?

It is Discourse’s own implementation of SSO. It is essentially the reverse of [Setup DiscourseConnect - Official Single-Sign-On for Discourse (sso)](https://meta.discourse.org/t/official-single-sign-on-for-discourse-sso/13045). If you’d like to look at some example code, the WordPress plugin’s SSO client code is here: [wp-discourse/lib/sso-client at main · discourse/wp-discourse · GitHub](https://github.com/discourse/wp-discourse/tree/master/lib/sso-client). The trickiest part of implementing this on WordPress was dealing with the need for a unique nonce. Possibly that is something that will be easier to do with Drupal.

Any work that you do on Discourse/Drupal integration would be greatly appreciated!

---

_[View the full topic](https://meta.discourse.org/t/can-i-authenticate-to-drupal-via-discourse/131835)._
