Answers.Body: <p>One option to look at that will work for Wordpress to Wordpress and Wordpress to Drupal and Drupal to Drupal is using SimpleSAMLphp and an appropriate plugin.</p>
  <p>The Drupal SimpleSAMLphp module <a href="https://www.drupal.org/project/drupalauth4ssp" rel="nofollow noreferrer">https://www.drupal.org/project/drupalauth4ssp</a> provides hooks which you can use to populate data from CiviCRM if you want to share this between the sites. (Note - you need a drupal module for drupal and a drupal simplesamlphp module for simplesamlphp)</p>
  <p>The Wordpress plugin <a href="https://wordpress.org/plugins/wp-saml-auth/" rel="nofollow noreferrer">https://wordpress.org/plugins/wp-saml-auth/</a> provides similarly the WP plugin has some filters you can use.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-11-23T00:31:16.073Z
Answers.LastActivityDate: 2021-11-23T00:31:16.073Z
Answers.UserDisplayName: Luke Stewart
Answers.Body: <p>If you moved CiviCRM over to WordPress (same instance) you would have no problem, but as you have been running on Drupal for some while I expect that you'd have to change various things and it would change the user experience a bit so probably not the route you want to take.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-02-01T18:32:07.477Z
Answers.LastActivityDate: 2020-02-01T18:32:07.477Z
Answers.UserDisplayName: Mick Kahn
Body: <p>We've been using CiviCRM for a number of years and also running a blog on WordPress.</p>
  <p>I can't find much information on setting up SSO / OAUTH / SAML / or even just custom CiviCRM | WP API to handshake and achieve a better user experience.
  (I checked the CiviCRM API Doc and don't see user authentication.)</p>
  <p>I once setup SSO between Vanilla Forums 2 and a custom C# asp.net site and just don't see something like that available.</p>
  <p>I did find this (though I wouldn't use Facebook SSO because of privacy offenses):
  <a href="https://civicrm.org/sites/civicrm.org/files/SingleSignOnAccess-for-CiviCRM-Facebook-case.pdf" rel="nofollow noreferrer">https://civicrm.org/sites/civicrm.org/files/SingleSignOnAccess-for-CiviCRM-Facebook-case.pdf</a></p>
  <p>WordPress has a lot of options for SSO plugins:
  <a href="https://wordpress.org/plugins/tags/single-sign-on/" rel="nofollow noreferrer">https://wordpress.org/plugins/tags/single-sign-on/</a></p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-11-12T03:01:28.320Z
Comments.Text: You're probably not finding much because CiviCRM doesn't handle authentication at all. You'll have better luck either searching for how to share logins between two wordpress sites or looking/asking at wordpress.stackexchange.com. I'm assuming your CiviCRM site uses wordpress too. If it uses drupal or joomla then you'd still need to look elsewhere, but you'd search for sharing logins between wordpress and the other one, not CiviCRM.
Comments.UserDisplayName: Demerit
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-11-12T03:12:54.100Z
Comments.Text: Your right it's using Drupal, but I'm not in charge of it, just the WordPress side.
Comments.UserDisplayName: user3285269
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-11-12T03:28:15.887Z
Comments.Text: Ok thanks for replying. Hope you find something to share between drupal and wordpress!
Comments.UserDisplayName: Demerit
Tags: <wordpress><civicrm.settings.php><authentication><sso>
Title: Guidance Request: SSO between CIviCRM & WordPress
ThreadText: # Guidance Request: SSO between CIviCRM & WordPress
  
  (Asked by: username_0 on 2019-11-12)
  
  We've been using CiviCRM for a number of years and also running a blog on WordPress.
  
  I can't find much information on setting up SSO / OAUTH / SAML / or even just custom CiviCRM | WP API to handshake and achieve a better user experience.
  (I checked the CiviCRM API Doc and don't see user authentication.)
  
  I once setup SSO between Vanilla Forums 2 and a custom C# asp.net site and just don't see something like that available.
  
  I did find this (though I wouldn't use Facebook SSO because of privacy offenses):
  <https://civicrm.org/sites/civicrm.org/files/SingleSignOnAccess-for-CiviCRM-Facebook-case.pdf>
  
  WordPress has a lot of options for SSO plugins:
  <https://wordpress.org/plugins/tags/single-sign-on/>
  
  **Tags:** wordpress, civicrm.settings.php, authentication, sso
  
  > **Comments:**
  > **username_1**: You're probably not finding much because CiviCRM doesn't handle authentication at all. You'll have better luck either searching for how to share logins between two wordpress sites or looking/asking at wordpress.stackexchange.com. I'm assuming your CiviCRM site uses wordpress too. If it uses drupal or joomla then you'd still need to look elsewhere, but you'd search for sharing logins between wordpress and the other one, not CiviCRM.  
  > **username_0**: Your right it's using Drupal, but I'm not in charge of it, just the WordPress side.  
  > **username_1**: Ok thanks for replying. Hope you find something to share between drupal and wordpress!  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2021-11-23. Score: 1
  
  One option to look at that will work for Wordpress to Wordpress and Wordpress to Drupal and Drupal to Drupal is using SimpleSAMLphp and an appropriate plugin.
  
  The Drupal SimpleSAMLphp module <https://www.drupal.org/project/drupalauth4ssp> provides hooks which you can use to populate data from CiviCRM if you want to share this between the sites. (Note - you need a drupal module for drupal and a drupal simplesamlphp module for simplesamlphp)
  
  The Wordpress plugin <https://wordpress.org/plugins/wp-saml-auth/> provides similarly the WP plugin has some filters you can use.
  
  
  ---
  
  ### Answer by username_3 on 2020-02-01. Score: 0
  
  If you moved CiviCRM over to WordPress (same instance) you would have no problem, but as you have been running on Drupal for some while I expect that you'd have to change various things and it would change the user experience a bit so probably not the route you want to take.
  
  
  ---
  
  