# SSO may have broken yesterday

**URL:** <https://meta.discourse.org/t/sso-may-have-broken-yesterday/25691>\
**Category:** Bug\
**Tags:** sso, discourseconnect\
**Created:** [25 فبراير 2015، 6:21م UTC](https://meta.discourse.org/t/sso-may-have-broken-yesterday/25691 "2015-02-25T18:21:43Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![daath](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/daath/32/115536_2.png) [@daath](https://meta.discourse.org/u/daath)\
**Post date:** [25 فبراير 2015، 6:21م UTC](https://meta.discourse.org/t/sso-may-have-broken-yesterday/25691/1 "2015-02-25T18:21:43Z")

</div>

I use SSO, and at sign-up on my main site, my users get a new account on Discourse. Since yesterday only 1 user have been created (which is wrong). I just checked my error log and it says a lot of stuff like this:

> 

ActiveRecord::RecordInvalid: Validation failed: Signup is not allowed from this account. in users#sync\_sso  
ActiveRecord::RecordInvalid (Validation failed: Signup is not allowed from this account.)

I didn’t change anything. My users sign up on my own site, and I use an API call with my admin user (and his API-key) to sync them. I’ve been fine until last night, getting ~50 users per day.

Can I do anything?

**EDIT:** It’s the call to /admin/users/sync\_sso that fails, all of a sudden. Hasn’t worked for 20 hours. However, when the user clicks “Login” he is redirected, authenticated then redirecetd back, the users is created and is then logged in. It’s only the /admin/users/sync\_sso-call that fails.

---

_[View the full topic](https://meta.discourse.org/t/sso-may-have-broken-yesterday/25691)._
