# Drupal 8 and Discourse shared SSO

**URL:** <https://meta.discourse.org/t/drupal-8-and-discourse-shared-sso/201446>\
**Category:** SSO\
**Created:** [August 23, 2021, 3:09pm UTC](https://meta.discourse.org/t/drupal-8-and-discourse-shared-sso/201446 "2021-08-23T15:09:56Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![JonathanShaw](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonathanshaw/32/532672_2.png) [@JonathanShaw](https://meta.discourse.org/u/JonathanShaw)\
**Post date:** [August 24, 2021, 3:56pm UTC](https://meta.discourse.org/t/drupal-8-and-discourse-shared-sso/201446/2 "2021-08-24T15:56:32Z")

</div>

I think you can make this work fine with [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true). Discourse queries Drupal to verify a login using [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true), and Drupal queries Laravel via oauth.

The discourse\_sso Drupal contrib module works OK, but it lacks a mechanism for updating of Discourse data when the Drupal user is updated and a working mechanism for logout syncing in both directions.

For these reasons I’ve done most of the work on a better Discourse module for Drupal. Mainly it needs tests. Interested in collaborating?

---

_[View the full topic](https://meta.discourse.org/t/drupal-8-and-discourse-shared-sso/201446)._
