# Problèmes de connexion avec wp-discourse

**URL:** <https://meta.discourse.org/t/trouble-with-wp-discourse-logins/112939>\
**Category:** WordPress\
**Created:** [Mars 29, 2019, 3:56 UTC](https://meta.discourse.org/t/trouble-with-wp-discourse-logins/112939 "2019-03-29T15:56:45Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [Mars 29, 2019, 3:56 UTC](https://meta.discourse.org/t/trouble-with-wp-discourse-logins/112939/1 "2019-03-29T15:56:45Z")

</div>

I’m helping with an instance with wp-discourse and a day or to ago (I think when they upgraded to beta6) SSO logins started to fail. They seem to be failing with

```
{:primary_email=>"has already been taken"}

```

so somehow it’s not connecting existing accounts correctly?

```plaintext
Verbose SSO log: Record was invalid: User 
{:primary_email=>"has already been taken"}

Attributes:
{"admin"=>false, "moderator"=>false, "locale"=>nil, "name"=>"Jay Pfaffamn", "title"=>nil, "username"=>"jaypfaffman1"}

SSO Diagnostics:
add_groups: 
admin: 
moderator: 
avatar_force_update: false
avatar_url: https://secure.gravatar.com/avatar/b4369076dc8ab119a551de8dfacfac42?s=96&d=404&r=g
bio: 
card_background_url: 
email: jay@literatecomputing.com
external_id: 16719
groups: 
locale: 
locale_force_update: 
name: Jay Pfaffamn
nonce: bc8ed4--------------
profile_background_url: 
remove_groups: 
require_activation: true
return_sso_url: 
suppress_welcome_message: 
title: 
username: jaypfaffman
website: 

  Rendering session/sso_login.html.erb within layouts/no_ember
  Rendered session/sso_login.html.erb within layouts/no_ember (0.3ms)
  Rendered layouts/_head.html.erb (3.9ms)
  Rendered common/_discourse_stylesheet.html.erb (0.2ms)
  Rendered application/_header.html.erb (0.2ms)
Completed 500 Internal Server Error in 31ms (Views: 3.1ms | ActiveRecord: 12.5ms)

```

They claim that nothing has happened on the WP side lately.

---

_[View the full topic](https://meta.discourse.org/t/trouble-with-wp-discourse-logins/112939)._
