# Resetting or Destroying Single Sign On Records

**URL:** <https://meta.discourse.org/t/resetting-or-destroying-single-sign-on-records/62619>\
**Category:** SSO\
**Created:** [2017 年5 月 12 日 23:47 UTC](https://meta.discourse.org/t/resetting-or-destroying-single-sign-on-records/62619 "2017-05-12T23:47:14Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

作者： ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)\
发布日期： [2017 年5 月 13 日 09:20 UTC](https://meta.discourse.org/t/resetting-or-destroying-single-sign-on-records/62619/2 "2017-05-13T09:20:32Z")

</div>

There is a method called `SingleSignOnRecord.destroy_all`. I’m pretty sure that running it inside a rails console (`/var/discourse/launcher enter app`, `rails c`) will either do what you want… or hose your site.

If you’re adventurous, take a backup and try it, or wait for someone with more knowledge of this system to answer 😉

---

_[View the full topic](https://meta.discourse.org/t/resetting-or-destroying-single-sign-on-records/62619)._
