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
You'll likely need to make other changes to Pdo.php in order to integrate the library, so I'd just replace * with the columns required and alias id to user_id like you did, i.e.:
SELECT id user_id, email, password, oauth_client_id FROM user WHERE email = :email
PDO is supposed to be a stub class. You should definitely extend this in your application in order to make it appropriate for your specific requirements
the properties $db & $config in class "OAuth2_Storage_Pdo" are "private" and not "protected" so that i always receive error "Undefined property: New_OAuth2_Storage_Pdo::$db" when i try to extend the "OAuth2_Storage_Pdo" class
My "user" table doesn't have primary column named "user_id" , it is called "id" . Right now i have changed query
to
so that user_id is updated correctly in in access_token table. It woud be helpful if we can via configuration map the column name for "user" table.
The text was updated successfully, but these errors were encountered: