You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When logging in to traitdb-dev with one of my OpenIDs, I get the exception pasted below. This is likely because I probably already have an account, created earlier by logging in with Google.
The bug here is that I get the exception rather than a meaningful suggestion of what I should do instead. The desired enhancement is that the auth system is capable of handling multiple OpenIDs for the same email address. Associating additional OpenIDs to an email may be restricted to having to be logged in already. At the very least, it should be possible to change an associated OpenID to another one.
ActiveRecord::RecordNotUnique in Users::OmniauthCallbacksController#open_id
PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "users_pkey" : INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"
When logging in to traitdb-dev with one of my OpenIDs, I get the exception pasted below. This is likely because I probably already have an account, created earlier by logging in with Google.
The bug here is that I get the exception rather than a meaningful suggestion of what I should do instead. The desired enhancement is that the auth system is capable of handling multiple OpenIDs for the same email address. Associating additional OpenIDs to an email may be restricted to having to be logged in already. At the very least, it should be possible to change an associated OpenID to another one.
ActiveRecord::RecordNotUnique in Users::OmniauthCallbacksController#open_id
PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "users_pkey" : INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"
app/models/user.rb:17:in
find_for_open_id' app/controllers/users/omniauth_callbacks_controller.rb:4:in
open_id'The text was updated successfully, but these errors were encountered: