dre1080 / warden

More than just a user database auth package for FuelPHP
http://dre1080.github.com/warden
MIT License
46 stars 11 forks source link

Error with omniauth register #16

Closed andreoav closed 13 years ago

andreoav commented 13 years ago

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)"

dre1080 commented 13 years ago

Did you check if the session expired?

andreoav commented 13 years ago

I don't think so. I restarted the server.... and at the same time I authorize the app, I get this error. =/

andreoav commented 13 years ago

Worked now with another browser.

dre1080 commented 13 years ago

Probably the browser cache.. What browser was it? Chrome?

andreoav commented 13 years ago

Chrome and Firefox... worked with IE.

The first time I tried with Chrome and Firefox it works perfectly. Then I do a \Warden::logout() and tried to add another account i get this error in both browsers.