dre1080/warden — Issue #16: Error with omniauth register
Author: andreoav
Created: 2011-11-10 15:31:39+00:00
State: open

After the the authorization with twitter or facebook is forged the view auth/register to complete the user information. When the view is forged, \Session:get('omniauth') returns the user credentials, but when I submit the form, \Session:get('omniauth') return NULL and I get this error:

SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'uid' cannot be null with query: "INSERT INTO `services` (`user_id`, `uid`, `provider`, `access_token`, `access_secret`, `created_at`, `updated_at`) VALUES ('3', null, null, null, null, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP)"