SU-SWS / stanford_ssp

Drupal module for configuring SimpleSAMLphp in Stanford web environments
GNU General Public License v2.0
9 stars 8 forks source link

Expand the existing user lookup to prevent unwanted user duplication #134

Closed pookmish closed 1 year ago

pookmish commented 1 year ago

READY FOR REVIEW

Summary

Urgency

Review Tasks

Setup tasks and/or behavior to test

  1. USE THE MAIN BRANCH FIRST
  2. log into a site using saml
  3. alter the database drush sqlq 'UPDATE authmap a INNER JOIN users_field_data u ON a.uid = u.uid SET a.authname = u.name'
  4. log out of the site /user/logout
  5. log back into the site.
  6. view the error.
  7. Delete the bad account drush ucan 'simplesamlphp_auth_[sunetid]' --delete-content -y
  8. Checkout this branch
  9. repeat the process but on this branch
  10. verify you don't see the error.