MONGODB [DEBUG] Logging level is currently :debug which could negatively impact client-side performance. You should set your logging level no lower than :info in production. MONGODB (0.5ms) admin['$cmd'].find({:isMaster=>1}).limit(-1) ====> Doorkeeper.orm = mongo_mapper ====> Rails version: 4.2.10 ====> Ruby version: 2.4.1 MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:createIndexes=>"oauth_applications", :indexes=>[{:name=>"uid_1", :key=>{"uid"=>1}, :unique=>true}]}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:createIndexes=>"oauth_access_grants", :indexes=>[{:name=>"token_1", :key=>{"token"=>1}, :unique=>true}]}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:createIndexes=>"oauth_access_tokens", :indexes=>[{:name=>"token_1", :key=>{"token"=>1}, :unique=>true}]}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:createIndexes=>"oauth_access_tokens", :indexes=>[{:name=>"refresh_token_1", :key=>{"refresh_token"=>1}, :unique=>true, :sparse=>true}]}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b372ac12635a50b3f8e00807a3489b16dab19476dfd1003f9d75be172996b873", :_id=>{:$ne=>BSON::ObjectId('5bb6223d3541594a35000001')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223d3541594a35000001'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "name"=>"Application 1", "uid"=>"b372ac12635a50b3f8e00807a3489b16dab19476dfd1003f9d75be172996b873", "secret"=>"0530baea8ae5bf54db0643fd7af38e5785f0bb9752eb2931a7e2d5173dfe1b76", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223d3541594a35000001'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "name"=>"Application 1", "uid"=>"b372ac12635a50b3f8e00807a3489b16dab19476dfd1003f9d75be172996b873", "secret"=>"0530baea8ae5bf54db0643fd7af38e5785f0bb9752eb2931a7e2d5173dfe1b76", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6223d3541594a35000002'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6223d3541594a35000002'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (1.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e4d96521a8cce89240f93a9ebe1d9d90d688d823a59659029423fd39e7ae5fb1", :_id=>{:$ne=>BSON::ObjectId('5bb6223d3541594a35000003')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223d3541594a35000003'), "application_id"=>BSON::ObjectId('5bb6223d3541594a35000001'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223d3541594a35000002'), "token"=>"e4d96521a8cce89240f93a9ebe1d9d90d688d823a59659029423fd39e7ae5fb1", "expires_in"=>7200, "scopes"=>"read write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223d3541594a35000003'), "application_id"=>BSON::ObjectId('5bb6223d3541594a35000001'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223d3541594a35000002'), "token"=>"e4d96521a8cce89240f93a9ebe1d9d90d688d823a59659029423fd39e7ae5fb1", "expires_in"=>7200, "scopes"=>"read write"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e4d96521a8cce89240f93a9ebe1d9d90d688d823a59659029423fd39e7ae5fb1"}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6223d3541594a35000003')}, :u=>{"_id"=>BSON::ObjectId('5bb6223d3541594a35000003'), "application_id"=>BSON::ObjectId('5bb6223d3541594a35000001'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223d3541594a35000002'), "token"=>"e4d96521a8cce89240f93a9ebe1d9d90d688d823a59659029423fd39e7ae5fb1", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"read write"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6223d3541594a35000003')}, {"_id"=>BSON::ObjectId('5bb6223d3541594a35000003'), "application_id"=>BSON::ObjectId('5bb6223d3541594a35000001'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223d3541594a35000002'), "token"=>"e4d96521a8cce89240f93a9ebe1d9d90d688d823a59659029423fd39e7ae5fb1", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"read write"}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (2.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3cf185de4310269f9f739ee4c44ffc447e7644dde5b6f9f4fef6243df9034f4f", :_id=>{:$ne=>BSON::ObjectId('5bb6223d3541594a35000004')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223d3541594a35000004'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "name"=>"Application 2", "uid"=>"3cf185de4310269f9f739ee4c44ffc447e7644dde5b6f9f4fef6243df9034f4f", "secret"=>"5adee4ca0605ff5f07d1e90eea731612e21fca39087ce27177268446acd50660", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223d3541594a35000004'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "name"=>"Application 2", "uid"=>"3cf185de4310269f9f739ee4c44ffc447e7644dde5b6f9f4fef6243df9034f4f", "secret"=>"5adee4ca0605ff5f07d1e90eea731612e21fca39087ce27177268446acd50660", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6223d3541594a35000005'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6223d3541594a35000005'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"9eca1d1ae1c0575060434cfd3b432fa7670e83162da45ff02cbc792d4674ed53", :_id=>{:$ne=>BSON::ObjectId('5bb6223d3541594a35000006')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223d3541594a35000006'), "application_id"=>BSON::ObjectId('5bb6223d3541594a35000004'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223d3541594a35000005'), "token"=>"9eca1d1ae1c0575060434cfd3b432fa7670e83162da45ff02cbc792d4674ed53", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223d3541594a35000006'), "application_id"=>BSON::ObjectId('5bb6223d3541594a35000004'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223d3541594a35000005'), "token"=>"9eca1d1ae1c0575060434cfd3b432fa7670e83162da45ff02cbc792d4674ed53", "expires_in"=>7200}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"9eca1d1ae1c0575060434cfd3b432fa7670e83162da45ff02cbc792d4674ed53"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6223d3541594a35000006')}, :u=>{"_id"=>BSON::ObjectId('5bb6223d3541594a35000006'), "application_id"=>BSON::ObjectId('5bb6223d3541594a35000004'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223d3541594a35000005'), "token"=>"9eca1d1ae1c0575060434cfd3b432fa7670e83162da45ff02cbc792d4674ed53", "previous_refresh_token"=>"", "expires_in"=>7200}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6223d3541594a35000006')}, {"_id"=>BSON::ObjectId('5bb6223d3541594a35000006'), "application_id"=>BSON::ObjectId('5bb6223d3541594a35000004'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223d3541594a35000005'), "token"=>"9eca1d1ae1c0575060434cfd3b432fa7670e83162da45ff02cbc792d4674ed53", "previous_refresh_token"=>"", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"56c6def65975799593d8e78c350d08a0b903720c8bc547db710490615415e7a8", :_id=>{:$ne=>BSON::ObjectId('5bb6223d3541594a35000007')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223d3541594a35000007'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "name"=>"Application 3", "uid"=>"56c6def65975799593d8e78c350d08a0b903720c8bc547db710490615415e7a8", "secret"=>"5758486de66e90097a9df7e38360589782a9ead292d9d4daf2564401ab699a2b", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223d3541594a35000007'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "name"=>"Application 3", "uid"=>"56c6def65975799593d8e78c350d08a0b903720c8bc547db710490615415e7a8", "secret"=>"5758486de66e90097a9df7e38360589782a9ead292d9d4daf2564401ab699a2b", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6223d3541594a35000008'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6223d3541594a35000008'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"2b9774b3d415577d891456e028f7e2fa54462e614ef18c493ab7a2d19e0c1049", :_id=>{:$ne=>BSON::ObjectId('5bb6223d3541594a35000009')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223d3541594a35000009'), "application_id"=>BSON::ObjectId('5bb6223d3541594a35000007'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223d3541594a35000008'), "token"=>"2b9774b3d415577d891456e028f7e2fa54462e614ef18c493ab7a2d19e0c1049", "expires_in"=>7200, "scopes"=>"admin"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223d3541594a35000009'), "application_id"=>BSON::ObjectId('5bb6223d3541594a35000007'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223d3541594a35000008'), "token"=>"2b9774b3d415577d891456e028f7e2fa54462e614ef18c493ab7a2d19e0c1049", "expires_in"=>7200, "scopes"=>"admin"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"2b9774b3d415577d891456e028f7e2fa54462e614ef18c493ab7a2d19e0c1049"}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6223d3541594a35000009')}, :u=>{"_id"=>BSON::ObjectId('5bb6223d3541594a35000009'), "application_id"=>BSON::ObjectId('5bb6223d3541594a35000007'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223d3541594a35000008'), "token"=>"2b9774b3d415577d891456e028f7e2fa54462e614ef18c493ab7a2d19e0c1049", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"admin"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (2.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6223d3541594a35000009')}, {"_id"=>BSON::ObjectId('5bb6223d3541594a35000009'), "application_id"=>BSON::ObjectId('5bb6223d3541594a35000007'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223d3541594a35000008'), "token"=>"2b9774b3d415577d891456e028f7e2fa54462e614ef18c493ab7a2d19e0c1049", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"admin"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a990fe336d9ab348f5ba167f0eccc8d2efc235ffcb3a9d89f139a9b27d65f35b", :_id=>{:$ne=>BSON::ObjectId('5bb6223d3541594a3500000a')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223d3541594a3500000a'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "name"=>"Application 4", "uid"=>"a990fe336d9ab348f5ba167f0eccc8d2efc235ffcb3a9d89f139a9b27d65f35b", "secret"=>"a86a164b8752a66d63ef14a3ef54b48bbc2af5d9053b3f085f6409583d0debcd", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223d3541594a3500000a'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "name"=>"Application 4", "uid"=>"a990fe336d9ab348f5ba167f0eccc8d2efc235ffcb3a9d89f139a9b27d65f35b", "secret"=>"a86a164b8752a66d63ef14a3ef54b48bbc2af5d9053b3f085f6409583d0debcd", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6223d3541594a3500000b'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6223d3541594a3500000b'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"8d2a5040abe9f5e432ac4c8dfe793052f1213fb697c5fe4c36374553669e450a", :_id=>{:$ne=>BSON::ObjectId('5bb6223d3541594a3500000c')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223d3541594a3500000c'), "application_id"=>BSON::ObjectId('5bb6223d3541594a3500000a'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223d3541594a3500000b'), "token"=>"8d2a5040abe9f5e432ac4c8dfe793052f1213fb697c5fe4c36374553669e450a", "expires_in"=>7200, "scopes"=>"admin"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223d3541594a3500000c'), "application_id"=>BSON::ObjectId('5bb6223d3541594a3500000a'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223d3541594a3500000b'), "token"=>"8d2a5040abe9f5e432ac4c8dfe793052f1213fb697c5fe4c36374553669e450a", "expires_in"=>7200, "scopes"=>"admin"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"8d2a5040abe9f5e432ac4c8dfe793052f1213fb697c5fe4c36374553669e450a"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6223d3541594a3500000c')}, :u=>{"_id"=>BSON::ObjectId('5bb6223d3541594a3500000c'), "application_id"=>BSON::ObjectId('5bb6223d3541594a3500000a'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223d3541594a3500000b'), "token"=>"8d2a5040abe9f5e432ac4c8dfe793052f1213fb697c5fe4c36374553669e450a", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"admin"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6223d3541594a3500000c')}, {"_id"=>BSON::ObjectId('5bb6223d3541594a3500000c'), "application_id"=>BSON::ObjectId('5bb6223d3541594a3500000a'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223d3541594a3500000b'), "token"=>"8d2a5040abe9f5e432ac4c8dfe793052f1213fb697c5fe4c36374553669e450a", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"admin"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"adc35d8f848d966b6c7d8921e7d8175a7ed9c8f2c2deefc5daac5effab88b4c1", :_id=>{:$ne=>BSON::ObjectId('5bb6223d3541594a3500000d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223d3541594a3500000d'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "name"=>"Application 5", "uid"=>"adc35d8f848d966b6c7d8921e7d8175a7ed9c8f2c2deefc5daac5effab88b4c1", "secret"=>"e88aa6d8a57e949e81fa408c7daedab0147ff0c165d35631b6a775a833b3fdb2", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223d3541594a3500000d'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "name"=>"Application 5", "uid"=>"adc35d8f848d966b6c7d8921e7d8175a7ed9c8f2c2deefc5daac5effab88b4c1", "secret"=>"e88aa6d8a57e949e81fa408c7daedab0147ff0c165d35631b6a775a833b3fdb2", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6223d3541594a3500000e'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6223d3541594a3500000e'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d85b2a274832725e765da9b8167ec3105fe21f166fba0ba9f698029093ec5137", :_id=>{:$ne=>BSON::ObjectId('5bb6223d3541594a3500000f')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223d3541594a3500000f'), "application_id"=>BSON::ObjectId('5bb6223d3541594a3500000d'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223d3541594a3500000e'), "token"=>"d85b2a274832725e765da9b8167ec3105fe21f166fba0ba9f698029093ec5137", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223d3541594a3500000f'), "application_id"=>BSON::ObjectId('5bb6223d3541594a3500000d'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223d3541594a3500000e'), "token"=>"d85b2a274832725e765da9b8167ec3105fe21f166fba0ba9f698029093ec5137", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d85b2a274832725e765da9b8167ec3105fe21f166fba0ba9f698029093ec5137"}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6223d3541594a3500000f')}, :u=>{"_id"=>BSON::ObjectId('5bb6223d3541594a3500000f'), "application_id"=>BSON::ObjectId('5bb6223d3541594a3500000d'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223d3541594a3500000e'), "token"=>"d85b2a274832725e765da9b8167ec3105fe21f166fba0ba9f698029093ec5137", "previous_refresh_token"=>"", "expires_in"=>7200}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6223d3541594a3500000f')}, {"_id"=>BSON::ObjectId('5bb6223d3541594a3500000f'), "application_id"=>BSON::ObjectId('5bb6223d3541594a3500000d'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223d3541594a3500000e'), "token"=>"d85b2a274832725e765da9b8167ec3105fe21f166fba0ba9f698029093ec5137", "previous_refresh_token"=>"", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>9990}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"b744d9c2fd88ed800a0cb00319ca2ae40e19ed6f6f17eece4e3a882f6a731eea", :_id=>{:$ne=>BSON::ObjectId('5bb6223d3541594a35000010')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223d3541594a35000010'), "application_id"=>9990, "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "resource_owner_id"=>7866, "token"=>"b744d9c2fd88ed800a0cb00319ca2ae40e19ed6f6f17eece4e3a882f6a731eea", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223d3541594a35000010'), "application_id"=>9990, "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "resource_owner_id"=>7866, "token"=>"b744d9c2fd88ed800a0cb00319ca2ae40e19ed6f6f17eece4e3a882f6a731eea", "expires_in"=>7200, "scopes"=>"public"}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (15.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>9990}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"70aa186134e6f72ff84757ebe9141c8b581fc2b0749ebcd834a34b5cfefd133c", :_id=>{:$ne=>BSON::ObjectId('5bb6223d3541594a35000011')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223d3541594a35000011'), "application_id"=>9990, "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "resource_owner_id"=>7866, "token"=>"70aa186134e6f72ff84757ebe9141c8b581fc2b0749ebcd834a34b5cfefd133c", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223d3541594a35000011'), "application_id"=>9990, "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "resource_owner_id"=>7866, "token"=>"70aa186134e6f72ff84757ebe9141c8b581fc2b0749ebcd834a34b5cfefd133c", "expires_in"=>7200, "scopes"=>"public"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>9990}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f3b1b7ba7cb9426f079e8a39de9818ac81e0db2fc2a16534a44e41fcf9386246", :_id=>{:$ne=>BSON::ObjectId('5bb6223d3541594a35000012')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223d3541594a35000012'), "application_id"=>9990, "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "resource_owner_id"=>7866, "token"=>"f3b1b7ba7cb9426f079e8a39de9818ac81e0db2fc2a16534a44e41fcf9386246", "expires_in"=>1234, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223d3541594a35000012'), "application_id"=>9990, "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "resource_owner_id"=>7866, "token"=>"f3b1b7ba7cb9426f079e8a39de9818ac81e0db2fc2a16534a44e41fcf9386246", "expires_in"=>1234, "scopes"=>"public"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>9990}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"929266cc2e2a8cd572c16f3b8924e6d2e5ead877803317fae4491b6c075bc232", :_id=>{:$ne=>BSON::ObjectId('5bb6223d3541594a35000013')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223d3541594a35000013'), "application_id"=>9990, "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "resource_owner_id"=>7866, "token"=>"929266cc2e2a8cd572c16f3b8924e6d2e5ead877803317fae4491b6c075bc232", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223d3541594a35000013'), "application_id"=>9990, "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "resource_owner_id"=>7866, "token"=>"929266cc2e2a8cd572c16f3b8924e6d2e5ead877803317fae4491b6c075bc232", "expires_in"=>7200, "scopes"=>"public"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>9990, :resource_owner_id=>7866, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>9990}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"8e30983c19a693abc9226ca908b3c7fc5b1428e64e7195a042698c26fbfb4316", :_id=>{:$ne=>BSON::ObjectId('5bb6223d3541594a35000014')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223d3541594a35000014'), "application_id"=>9990, "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "resource_owner_id"=>7866, "token"=>"8e30983c19a693abc9226ca908b3c7fc5b1428e64e7195a042698c26fbfb4316", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223d3541594a35000014'), "application_id"=>9990, "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "resource_owner_id"=>7866, "token"=>"8e30983c19a693abc9226ca908b3c7fc5b1428e64e7195a042698c26fbfb4316", "expires_in"=>7200, "scopes"=>""}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>9990, :resource_owner_id=>7866, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>9990}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"fe0463881905d12852544e12c8b3c906c4d31cd4b3d2f8fbb520477de2cbcac8", :_id=>{:$ne=>BSON::ObjectId('5bb6223d3541594a35000015')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223d3541594a35000015'), "application_id"=>9990, "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "resource_owner_id"=>7866, "token"=>"fe0463881905d12852544e12c8b3c906c4d31cd4b3d2f8fbb520477de2cbcac8", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223d3541594a35000015'), "application_id"=>9990, "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "resource_owner_id"=>7866, "token"=>"fe0463881905d12852544e12c8b3c906c4d31cd4b3d2f8fbb520477de2cbcac8", "expires_in"=>7200, "scopes"=>"public"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>9990, :resource_owner_id=>7866, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>9990}).limit(-1) MONGODB (3.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f21773dc047b3bb9a4f75c1fc7e4ecea30439da0c0a4fddf9ead3e366f63972c", :_id=>{:$ne=>BSON::ObjectId('5bb6223d3541594a35000016')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223d3541594a35000016'), "application_id"=>9990, "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "resource_owner_id"=>7866, "token"=>"f21773dc047b3bb9a4f75c1fc7e4ecea30439da0c0a4fddf9ead3e366f63972c", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223d3541594a35000016'), "application_id"=>9990, "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "resource_owner_id"=>7866, "token"=>"f21773dc047b3bb9a4f75c1fc7e4ecea30439da0c0a4fddf9ead3e366f63972c", "expires_in"=>7200, "scopes"=>"public"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d8b45222c2f1fcad0bdf1f0adee51abcf1aa296760b30d5e321092444607d0ba", :_id=>{:$ne=>BSON::ObjectId('5bb6223d3541594a35000017')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223d3541594a35000017'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "name"=>"Application 6", "uid"=>"d8b45222c2f1fcad0bdf1f0adee51abcf1aa296760b30d5e321092444607d0ba", "secret"=>"31dd8f52ca7bf93332313062f7df2883dde73340f9d96b9ff7fcaa396d141acc", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223d3541594a35000017'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "name"=>"Application 6", "uid"=>"d8b45222c2f1fcad0bdf1f0adee51abcf1aa296760b30d5e321092444607d0ba", "secret"=>"31dd8f52ca7bf93332313062f7df2883dde73340f9d96b9ff7fcaa396d141acc", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6223d3541594a35000018'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6223d3541594a35000018'), "created_at"=>2018-10-04 14:22:53 UTC, "updated_at"=>2018-10-04 14:22:53 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:22:53 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:22:53 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:22:53 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=d8b45222c2f1fcad0bdf1f0adee51abcf1aa296760b30d5e321092444607d0ba&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:22:53 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"d8b45222c2f1fcad0bdf1f0adee51abcf1aa296760b30d5e321092444607d0ba", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d8b45222c2f1fcad0bdf1f0adee51abcf1aa296760b30d5e321092444607d0ba"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6223d3541594a35000017'), :resource_owner_id=>BSON::ObjectId('5bb6223d3541594a35000018'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (2.2ms) Completed 200 OK in 147ms (Views: 143.0ms | ActiveRecord: 0.0ms) Started DELETE "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:22:54 +0300 Processing by Doorkeeper::AuthorizationsController#destroy as HTML Parameters: {"utf8"=>"✓", "client_id"=>"d8b45222c2f1fcad0bdf1f0adee51abcf1aa296760b30d5e321092444607d0ba", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"", "commit"=>"Deny"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d8b45222c2f1fcad0bdf1f0adee51abcf1aa296760b30d5e321092444607d0ba"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to https://app.com/callback?error=access_denied&error_description=The+resource+owner+or+authorization+server+denied+the+request. Completed 302 Found in 3ms (ActiveRecord: 0.0ms) Started GET "/callback?error=access_denied&error_description=The+resource+owner+or+authorization+server+denied+the+request." for 127.0.0.1 at 2018-10-04 17:22:54 +0300 Processing by HomeController#callback as HTML Parameters: {"error"=>"access_denied", "error_description"=>"The resource owner or authorization server denied the request."} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"17807e23a32435aee5094dd654cf62b3f1a7488429f4fc044185a687b3e434fb", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a35000019')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000019'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 7", "uid"=>"17807e23a32435aee5094dd654cf62b3f1a7488429f4fc044185a687b3e434fb", "secret"=>"1458f3fcb7864d2c567b3183789e3076f0b4e0b9bda1de9f07bb1eea2d4b8393", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000019'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 7", "uid"=>"17807e23a32435aee5094dd654cf62b3f1a7488429f4fc044185a687b3e434fb", "secret"=>"1458f3fcb7864d2c567b3183789e3076f0b4e0b9bda1de9f07bb1eea2d4b8393", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a3500001a'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a3500001a'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:22:54 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:22:54 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:22:54 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=17807e23a32435aee5094dd654cf62b3f1a7488429f4fc044185a687b3e434fb&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&state=return-this" for 127.0.0.1 at 2018-10-04 17:22:54 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"17807e23a32435aee5094dd654cf62b3f1a7488429f4fc044185a687b3e434fb", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "state"=>"return-this"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"17807e23a32435aee5094dd654cf62b3f1a7488429f4fc044185a687b3e434fb"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6223e3541594a35000019'), :resource_owner_id=>BSON::ObjectId('5bb6223e3541594a3500001a'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.0ms) Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started DELETE "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:22:54 +0300 Processing by Doorkeeper::AuthorizationsController#destroy as HTML Parameters: {"utf8"=>"✓", "client_id"=>"17807e23a32435aee5094dd654cf62b3f1a7488429f4fc044185a687b3e434fb", "redirect_uri"=>"https://app.com/callback", "state"=>"return-this", "response_type"=>"code", "scope"=>"", "commit"=>"Deny"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"17807e23a32435aee5094dd654cf62b3f1a7488429f4fc044185a687b3e434fb"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to https://app.com/callback?error=access_denied&error_description=The+resource+owner+or+authorization+server+denied+the+request.&state=return-this Completed 302 Found in 3ms (ActiveRecord: 0.0ms) Started GET "/callback?error=access_denied&error_description=The+resource+owner+or+authorization+server+denied+the+request.&state=return-this" for 127.0.0.1 at 2018-10-04 17:22:54 +0300 Processing by HomeController#callback as HTML Parameters: {"error"=>"access_denied", "error_description"=>"The resource owner or authorization server denied the request.", "state"=>"return-this"} Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"14ba92d2eec672cc7ecebc7a6d1e9e2eb145c056f8a70404c450b36d02a3576c", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a3500001b')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a3500001b'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"
XSS
", "uid"=>"14ba92d2eec672cc7ecebc7a6d1e9e2eb145c056f8a70404c450b36d02a3576c", "secret"=>"717daeb3e7cb8bce9fbe9cfad1414eed3495e3543de8fa3e683ed94fcc94d7f1", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a3500001b'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"
XSS
", "uid"=>"14ba92d2eec672cc7ecebc7a6d1e9e2eb145c056f8a70404c450b36d02a3576c", "secret"=>"717daeb3e7cb8bce9fbe9cfad1414eed3495e3543de8fa3e683ed94fcc94d7f1", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a3500001c'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a3500001c'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:22:54 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:22:54 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:22:54 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=14ba92d2eec672cc7ecebc7a6d1e9e2eb145c056f8a70404c450b36d02a3576c&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:22:54 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"14ba92d2eec672cc7ecebc7a6d1e9e2eb145c056f8a70404c450b36d02a3576c", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"14ba92d2eec672cc7ecebc7a6d1e9e2eb145c056f8a70404c450b36d02a3576c"}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6223e3541594a3500001b'), :resource_owner_id=>BSON::ObjectId('5bb6223e3541594a3500001c'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (0.9ms) Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ccde060d2d580028655b027c22e6ed609b4a86c525a3b81a0d08b120d01a1603", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a3500001d')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a3500001d'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 8", "uid"=>"ccde060d2d580028655b027c22e6ed609b4a86c525a3b81a0d08b120d01a1603", "secret"=>"72550ba79628c3cbee8b23670f177ed1d41c03d4021007b754314ef71b94261b", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a3500001d'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 8", "uid"=>"ccde060d2d580028655b027c22e6ed609b4a86c525a3b81a0d08b120d01a1603", "secret"=>"72550ba79628c3cbee8b23670f177ed1d41c03d4021007b754314ef71b94261b", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"f52b8c14549275513472f3f561ab1f51620ddcdb2cb5a92c8478a7452cefb9a9", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a3500001e')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a3500001e'), "application_id"=>BSON::ObjectId('5bb6223e3541594a3500001d'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>1, "token"=>"f52b8c14549275513472f3f561ab1f51620ddcdb2cb5a92c8478a7452cefb9a9", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a3500001e'), "application_id"=>BSON::ObjectId('5bb6223e3541594a3500001d'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>1, "token"=>"f52b8c14549275513472f3f561ab1f51620ddcdb2cb5a92c8478a7452cefb9a9", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token?code=[FILTERED]&client_id=ccde060d2d580028655b027c22e6ed609b4a86c525a3b81a0d08b120d01a1603&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:22:54 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"ccde060d2d580028655b027c22e6ed609b4a86c525a3b81a0d08b120d01a1603", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"f52b8c14549275513472f3f561ab1f51620ddcdb2cb5a92c8478a7452cefb9a9"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ccde060d2d580028655b027c22e6ed609b4a86c525a3b81a0d08b120d01a1603"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb6223e3541594a3500001e')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6223e3541594a3500001e')}, :u=>{"_id"=>BSON::ObjectId('5bb6223e3541594a3500001e'), "application_id"=>BSON::ObjectId('5bb6223e3541594a3500001d'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>1, "token"=>"f52b8c14549275513472f3f561ab1f51620ddcdb2cb5a92c8478a7452cefb9a9", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb6223e3541594a3500001e')}, {"_id"=>BSON::ObjectId('5bb6223e3541594a3500001e'), "application_id"=>BSON::ObjectId('5bb6223e3541594a3500001d'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>1, "token"=>"f52b8c14549275513472f3f561ab1f51620ddcdb2cb5a92c8478a7452cefb9a9", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6223e3541594a3500001d')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6223e3541594a3500001d')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"905e4360878043682a118321d42598e2894a82cb8012e25d1ad3244c86c8944a", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a3500001f')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a3500001f'), "application_id"=>BSON::ObjectId('5bb6223e3541594a3500001d'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>1, "token"=>"905e4360878043682a118321d42598e2894a82cb8012e25d1ad3244c86c8944a", "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a3500001f'), "application_id"=>BSON::ObjectId('5bb6223e3541594a3500001d'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>1, "token"=>"905e4360878043682a118321d42598e2894a82cb8012e25d1ad3244c86c8944a", "scopes"=>"public"}) Completed 200 OK in 8ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (3.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d290f7daaafbb48a11bf8f1bf574eab15831530692f4ecec6d6531e51ab0b88d", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a35000020')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000020'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 9", "uid"=>"d290f7daaafbb48a11bf8f1bf574eab15831530692f4ecec6d6531e51ab0b88d", "secret"=>"8651c1a1a870026afe571fd850a52cab2a638a6ff641ee43c0c6853f30b41522", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000020'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 9", "uid"=>"d290f7daaafbb48a11bf8f1bf574eab15831530692f4ecec6d6531e51ab0b88d", "secret"=>"8651c1a1a870026afe571fd850a52cab2a638a6ff641ee43c0c6853f30b41522", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"e8db73a075f8235508149c6d402ea5833c06e22806dfc3e38e65b9552460ef3d", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a35000021')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000021'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000020'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>2, "token"=>"e8db73a075f8235508149c6d402ea5833c06e22806dfc3e38e65b9552460ef3d", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000021'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000020'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>2, "token"=>"e8db73a075f8235508149c6d402ea5833c06e22806dfc3e38e65b9552460ef3d", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token?code=[FILTERED]&client_id=d290f7daaafbb48a11bf8f1bf574eab15831530692f4ecec6d6531e51ab0b88d&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=nothing" for 127.0.0.1 at 2018-10-04 17:22:54 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"d290f7daaafbb48a11bf8f1bf574eab15831530692f4ecec6d6531e51ab0b88d", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"nothing"} Completed 401 Unauthorized in 0ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8238ed9841da4ae262a3b3cfd3d3ebb913f00151deef4937954cec643ecd485d", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a35000022')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000022'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 10", "uid"=>"8238ed9841da4ae262a3b3cfd3d3ebb913f00151deef4937954cec643ecd485d", "secret"=>"9b60d11b648e6df8764e94ab89af5d269f479a7a17254f20f1d6b7ffbcea0256", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000022'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 10", "uid"=>"8238ed9841da4ae262a3b3cfd3d3ebb913f00151deef4937954cec643ecd485d", "secret"=>"9b60d11b648e6df8764e94ab89af5d269f479a7a17254f20f1d6b7ffbcea0256", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"c8c10cefdb0576cb274be72e79e2825766a600091f939981d5245f9baca315c5", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a35000023')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000023'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000022'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>3, "token"=>"c8c10cefdb0576cb274be72e79e2825766a600091f939981d5245f9baca315c5", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000023'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000022'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>3, "token"=>"c8c10cefdb0576cb274be72e79e2825766a600091f939981d5245f9baca315c5", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token?code=[FILTERED]&client_id=8238ed9841da4ae262a3b3cfd3d3ebb913f00151deef4937954cec643ecd485d&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:22:54 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"8238ed9841da4ae262a3b3cfd3d3ebb913f00151deef4937954cec643ecd485d", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} Completed 401 Unauthorized in 0ms MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0d0653cd7dfa86b213dc9892f26f72ff2dfa0aebf501560ed7e94419021fb0dd", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a35000024')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000024'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 11", "uid"=>"0d0653cd7dfa86b213dc9892f26f72ff2dfa0aebf501560ed7e94419021fb0dd", "secret"=>"52ca8c6e92bcc94c97c77dfcea98862e9b5b4bcf9819979efaf31a048479b63c", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000024'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 11", "uid"=>"0d0653cd7dfa86b213dc9892f26f72ff2dfa0aebf501560ed7e94419021fb0dd", "secret"=>"52ca8c6e92bcc94c97c77dfcea98862e9b5b4bcf9819979efaf31a048479b63c", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"edd242e6d636da6c7d94d6edfa5eb7caa2a9cf3bc1a316d94bf9e6c6c3108ad8", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a35000025')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000025'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000024'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>4, "token"=>"edd242e6d636da6c7d94d6edfa5eb7caa2a9cf3bc1a316d94bf9e6c6c3108ad8", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000025'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000024'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>4, "token"=>"edd242e6d636da6c7d94d6edfa5eb7caa2a9cf3bc1a316d94bf9e6c6c3108ad8", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token?code=[FILTERED]&client_id=0d0653cd7dfa86b213dc9892f26f72ff2dfa0aebf501560ed7e94419021fb0dd&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:22:54 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"0d0653cd7dfa86b213dc9892f26f72ff2dfa0aebf501560ed7e94419021fb0dd", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"edd242e6d636da6c7d94d6edfa5eb7caa2a9cf3bc1a316d94bf9e6c6c3108ad8"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0d0653cd7dfa86b213dc9892f26f72ff2dfa0aebf501560ed7e94419021fb0dd"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb6223e3541594a35000025')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6223e3541594a35000025')}, :u=>{"_id"=>BSON::ObjectId('5bb6223e3541594a35000025'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000024'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>4, "token"=>"edd242e6d636da6c7d94d6edfa5eb7caa2a9cf3bc1a316d94bf9e6c6c3108ad8", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb6223e3541594a35000025')}, {"_id"=>BSON::ObjectId('5bb6223e3541594a35000025'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000024'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>4, "token"=>"edd242e6d636da6c7d94d6edfa5eb7caa2a9cf3bc1a316d94bf9e6c6c3108ad8", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6223e3541594a35000024')}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6223e3541594a35000024')}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"1cada07c8a3f64e992ac4166d28e8ebcb2e32f48144a00dfbd0164b4e3ac66b0", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a35000026')}}, {:_id=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000026'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000024'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>4, "token"=>"1cada07c8a3f64e992ac4166d28e8ebcb2e32f48144a00dfbd0164b4e3ac66b0", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000026'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000024'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>4, "token"=>"1cada07c8a3f64e992ac4166d28e8ebcb2e32f48144a00dfbd0164b4e3ac66b0", "expires_in"=>7200, "scopes"=>"public"}) Completed 200 OK in 22ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7fb85b25383208f55bee17a5bad1cc3b7f9c4b4c2cd9ac2c8bd4a322bbf21593", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a35000027')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000027'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 12", "uid"=>"7fb85b25383208f55bee17a5bad1cc3b7f9c4b4c2cd9ac2c8bd4a322bbf21593", "secret"=>"6aa4db70f345953ea1a10ee8fd02a2a372ac334ab7af9979914c17d926d33032", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000027'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 12", "uid"=>"7fb85b25383208f55bee17a5bad1cc3b7f9c4b4c2cd9ac2c8bd4a322bbf21593", "secret"=>"6aa4db70f345953ea1a10ee8fd02a2a372ac334ab7af9979914c17d926d33032", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"7af56a74c389837f6bd8d095c55a01a394d3dafd9bc440d8950a7c9cf4c49afb", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a35000028')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000028'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000027'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>5, "token"=>"7af56a74c389837f6bd8d095c55a01a394d3dafd9bc440d8950a7c9cf4c49afb", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000028'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000027'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>5, "token"=>"7af56a74c389837f6bd8d095c55a01a394d3dafd9bc440d8950a7c9cf4c49afb", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token?code=[FILTERED]&client_id=7fb85b25383208f55bee17a5bad1cc3b7f9c4b4c2cd9ac2c8bd4a322bbf21593&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=" for 127.0.0.1 at 2018-10-04 17:22:54 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"7fb85b25383208f55bee17a5bad1cc3b7f9c4b4c2cd9ac2c8bd4a322bbf21593", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>""} Completed 401 Unauthorized in 0ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (2.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (3.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c9078b99984ae0862047f932508501b0a477136f8fabd0ba3e044fe956bc1143", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a35000029')}}, {:_id=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000029'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 13", "uid"=>"c9078b99984ae0862047f932508501b0a477136f8fabd0ba3e044fe956bc1143", "secret"=>"743e379d7f19695ebc37b2ae830ddddf1310216b99dc9365ee6a4180bc74b32a", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000029'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 13", "uid"=>"c9078b99984ae0862047f932508501b0a477136f8fabd0ba3e044fe956bc1143", "secret"=>"743e379d7f19695ebc37b2ae830ddddf1310216b99dc9365ee6a4180bc74b32a", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"6d4ca7cf23e8eba8462d5ac336a15b3ea3dc72fe17cba62dd5fd44c6d0866b8f", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a3500002a')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a3500002a'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000029'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>6, "token"=>"6d4ca7cf23e8eba8462d5ac336a15b3ea3dc72fe17cba62dd5fd44c6d0866b8f", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a3500002a'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000029'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>6, "token"=>"6d4ca7cf23e8eba8462d5ac336a15b3ea3dc72fe17cba62dd5fd44c6d0866b8f", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token?code=[FILTERED]&client_id&client_secret&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:22:54 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>nil, "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"6d4ca7cf23e8eba8462d5ac336a15b3ea3dc72fe17cba62dd5fd44c6d0866b8f"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c9078b99984ae0862047f932508501b0a477136f8fabd0ba3e044fe956bc1143"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb6223e3541594a3500002a')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6223e3541594a3500002a')}, :u=>{"_id"=>BSON::ObjectId('5bb6223e3541594a3500002a'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000029'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>6, "token"=>"6d4ca7cf23e8eba8462d5ac336a15b3ea3dc72fe17cba62dd5fd44c6d0866b8f", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb6223e3541594a3500002a')}, {"_id"=>BSON::ObjectId('5bb6223e3541594a3500002a'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000029'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>6, "token"=>"6d4ca7cf23e8eba8462d5ac336a15b3ea3dc72fe17cba62dd5fd44c6d0866b8f", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6223e3541594a35000029')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6223e3541594a35000029')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"b649039136d534dd9e586a09f2f2537a2570da381fe1172ac65b0bfd7c868186", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a3500002b')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a3500002b'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000029'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>6, "token"=>"b649039136d534dd9e586a09f2f2537a2570da381fe1172ac65b0bfd7c868186", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a3500002b'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000029'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>6, "token"=>"b649039136d534dd9e586a09f2f2537a2570da381fe1172ac65b0bfd7c868186", "expires_in"=>7200, "scopes"=>"public"}) Completed 200 OK in 8ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (3.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7157020e4c14d8d1503e60285507d72612a1c613b9430bc452472384d97dbaa4", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a3500002c')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a3500002c'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 14", "uid"=>"7157020e4c14d8d1503e60285507d72612a1c613b9430bc452472384d97dbaa4", "secret"=>"2636bf9c8188dabbceac27dfcbc53c0531d9a0ff7e7948584c184cab96299d1b", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a3500002c'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 14", "uid"=>"7157020e4c14d8d1503e60285507d72612a1c613b9430bc452472384d97dbaa4", "secret"=>"2636bf9c8188dabbceac27dfcbc53c0531d9a0ff7e7948584c184cab96299d1b", "redirect_uri"=>"https://app.com/callback"}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"4c0d03f8f90965c668a9af4090ade0fde7837d15a9d2735a4931796db83b283c", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a3500002d')}}, {:_id=>1}).limit(-1) MONGODB (1.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a3500002d'), "application_id"=>BSON::ObjectId('5bb6223e3541594a3500002c'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>7, "token"=>"4c0d03f8f90965c668a9af4090ade0fde7837d15a9d2735a4931796db83b283c", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (2.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a3500002d'), "application_id"=>BSON::ObjectId('5bb6223e3541594a3500002c'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>7, "token"=>"4c0d03f8f90965c668a9af4090ade0fde7837d15a9d2735a4931796db83b283c", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token?code=[FILTERED]&client_id=7157020e4c14d8d1503e60285507d72612a1c613b9430bc452472384d97dbaa4&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:22:54 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"7157020e4c14d8d1503e60285507d72612a1c613b9430bc452472384d97dbaa4", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"refresh_token"} Completed 401 Unauthorized in 0ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (1.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.1ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (6.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (6.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (2.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.2ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (2.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (7.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (2.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.0ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (2.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (15.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (2.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"372d57b888bdf1b5f8ac95e1ef0c51cbde02838432228652102d15b3f1ad966b", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a3500002e')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a3500002e'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 15", "uid"=>"372d57b888bdf1b5f8ac95e1ef0c51cbde02838432228652102d15b3f1ad966b", "secret"=>"cb63a977fc7392bc382014f68a3af13cbb2862f02089845c37ea4455e33c755f", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a3500002e'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 15", "uid"=>"372d57b888bdf1b5f8ac95e1ef0c51cbde02838432228652102d15b3f1ad966b", "secret"=>"cb63a977fc7392bc382014f68a3af13cbb2862f02089845c37ea4455e33c755f", "redirect_uri"=>"https://app.com/callback"}) MONGODB (8.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a3500002f'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (8.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a3500002f'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"141ffd775eed28293868107936e5babdbc849e5e7e0aba7c2a11e8a9271d529d", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a35000030')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000030'), "application_id"=>BSON::ObjectId('5bb6223e3541594a3500002e'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a3500002f'), "token"=>"141ffd775eed28293868107936e5babdbc849e5e7e0aba7c2a11e8a9271d529d", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000030'), "application_id"=>BSON::ObjectId('5bb6223e3541594a3500002e'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a3500002f'), "token"=>"141ffd775eed28293868107936e5babdbc849e5e7e0aba7c2a11e8a9271d529d", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6223e3541594a35000030')}, :u=>{"_id"=>BSON::ObjectId('5bb6223e3541594a35000030'), "application_id"=>BSON::ObjectId('5bb6223e3541594a3500002e'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a3500002f'), "token"=>"141ffd775eed28293868107936e5babdbc849e5e7e0aba7c2a11e8a9271d529d", "expires_in"=>-100}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6223e3541594a35000030')}, {"_id"=>BSON::ObjectId('5bb6223e3541594a35000030'), "application_id"=>BSON::ObjectId('5bb6223e3541594a3500002e'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a3500002f'), "token"=>"141ffd775eed28293868107936e5babdbc849e5e7e0aba7c2a11e8a9271d529d", "expires_in"=>-100}) Started GET "/full_protected_resources" for 127.0.0.1 at 2018-10-04 17:22:54 +0300 Processing by FullProtectedResourcesController#index as HTML MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"141ffd775eed28293868107936e5babdbc849e5e7e0aba7c2a11e8a9271d529d"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6223e3541594a35000030')}, :u=>{"_id"=>BSON::ObjectId('5bb6223e3541594a35000030'), "application_id"=>BSON::ObjectId('5bb6223e3541594a3500002e'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a3500002f'), "token"=>"141ffd775eed28293868107936e5babdbc849e5e7e0aba7c2a11e8a9271d529d", "previous_refresh_token"=>"", "expires_in"=>-100}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6223e3541594a35000030')}, {"_id"=>BSON::ObjectId('5bb6223e3541594a35000030'), "application_id"=>BSON::ObjectId('5bb6223e3541594a3500002e'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a3500002f'), "token"=>"141ffd775eed28293868107936e5babdbc849e5e7e0aba7c2a11e8a9271d529d", "previous_refresh_token"=>"", "expires_in"=>-100}) Filter chain halted as :doorkeeper_authorize! rendered or redirected Completed 401 Unauthorized in 4ms (ActiveRecord: 0.0ms) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7056a57fd16cb33b4c27104c6db233d9d58a4ba8b235c1c434384aced6a1d959", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a35000031')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000031'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 16", "uid"=>"7056a57fd16cb33b4c27104c6db233d9d58a4ba8b235c1c434384aced6a1d959", "secret"=>"6e38bd0e46e3c553b44baf7d2ecdbd5a6fa8cb3749a98996497d455bc0fefb3b", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000031'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 16", "uid"=>"7056a57fd16cb33b4c27104c6db233d9d58a4ba8b235c1c434384aced6a1d959", "secret"=>"6e38bd0e46e3c553b44baf7d2ecdbd5a6fa8cb3749a98996497d455bc0fefb3b", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000032'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000032'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"7f1ed244ff50a8d036100b941db15439b905bace49d5a50738bec9951e6790e4", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a35000033')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000033'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000031'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a35000032'), "token"=>"7f1ed244ff50a8d036100b941db15439b905bace49d5a50738bec9951e6790e4", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000033'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000031'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a35000032'), "token"=>"7f1ed244ff50a8d036100b941db15439b905bace49d5a50738bec9951e6790e4", "expires_in"=>7200}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6223e3541594a35000033')}, :u=>{"_id"=>BSON::ObjectId('5bb6223e3541594a35000033'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000031'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a35000032'), "token"=>"7f1ed244ff50a8d036100b941db15439b905bace49d5a50738bec9951e6790e4", "expires_in"=>7200, "scopes"=>"write admin"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6223e3541594a35000033')}, {"_id"=>BSON::ObjectId('5bb6223e3541594a35000033'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000031'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a35000032'), "token"=>"7f1ed244ff50a8d036100b941db15439b905bace49d5a50738bec9951e6790e4", "expires_in"=>7200, "scopes"=>"write admin"}) Started GET "/full_protected_resources/1.json" for 127.0.0.1 at 2018-10-04 17:22:54 +0300 Processing by FullProtectedResourcesController#show as JSON Parameters: {"id"=>"1"} MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"7f1ed244ff50a8d036100b941db15439b905bace49d5a50738bec9951e6790e4"}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6223e3541594a35000033')}, :u=>{"_id"=>BSON::ObjectId('5bb6223e3541594a35000033'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000031'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a35000032'), "token"=>"7f1ed244ff50a8d036100b941db15439b905bace49d5a50738bec9951e6790e4", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"write admin"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6223e3541594a35000033')}, {"_id"=>BSON::ObjectId('5bb6223e3541594a35000033'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000031'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a35000032'), "token"=>"7f1ed244ff50a8d036100b941db15439b905bace49d5a50738bec9951e6790e4", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"write admin"}) Rendered text template (0.0ms) Completed 200 OK in 9ms (Views: 3.2ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (10.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2fb858b80228cb392056d207db658b62a26f0a0506f09dcc2ce8fc8955215fd4", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a35000034')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000034'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 17", "uid"=>"2fb858b80228cb392056d207db658b62a26f0a0506f09dcc2ce8fc8955215fd4", "secret"=>"6752633449689010ec88906d66a25742ea8d6eb8c82d05b8dd92d654e838a4a9", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000034'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 17", "uid"=>"2fb858b80228cb392056d207db658b62a26f0a0506f09dcc2ce8fc8955215fd4", "secret"=>"6752633449689010ec88906d66a25742ea8d6eb8c82d05b8dd92d654e838a4a9", "redirect_uri"=>"https://app.com/callback"}) MONGODB (2.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000035'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (3.1ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000035'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"16eb662432498121772fcf0cfc8cad539272a0c90b83af5ffe02062c3b030979", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a35000036')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000036'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000034'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a35000035'), "token"=>"16eb662432498121772fcf0cfc8cad539272a0c90b83af5ffe02062c3b030979", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000036'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000034'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a35000035'), "token"=>"16eb662432498121772fcf0cfc8cad539272a0c90b83af5ffe02062c3b030979", "expires_in"=>7200}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6223e3541594a35000036')}, :u=>{"_id"=>BSON::ObjectId('5bb6223e3541594a35000036'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000034'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a35000035'), "token"=>"16eb662432498121772fcf0cfc8cad539272a0c90b83af5ffe02062c3b030979", "expires_in"=>7200, "scopes"=>"write"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6223e3541594a35000036')}, {"_id"=>BSON::ObjectId('5bb6223e3541594a35000036'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000034'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a35000035'), "token"=>"16eb662432498121772fcf0cfc8cad539272a0c90b83af5ffe02062c3b030979", "expires_in"=>7200, "scopes"=>"write"}) Started GET "/full_protected_resources/1.json" for 127.0.0.1 at 2018-10-04 17:22:54 +0300 Processing by FullProtectedResourcesController#show as JSON Parameters: {"id"=>"1"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"16eb662432498121772fcf0cfc8cad539272a0c90b83af5ffe02062c3b030979"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6223e3541594a35000036')}, :u=>{"_id"=>BSON::ObjectId('5bb6223e3541594a35000036'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000034'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a35000035'), "token"=>"16eb662432498121772fcf0cfc8cad539272a0c90b83af5ffe02062c3b030979", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"write"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6223e3541594a35000036')}, {"_id"=>BSON::ObjectId('5bb6223e3541594a35000036'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000034'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a35000035'), "token"=>"16eb662432498121772fcf0cfc8cad539272a0c90b83af5ffe02062c3b030979", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"write"}) Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d5287b82d56941a84328a46cf5c454317a1a08dca5fb42998665321c8737f4ce", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a35000037')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000037'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 18", "uid"=>"d5287b82d56941a84328a46cf5c454317a1a08dca5fb42998665321c8737f4ce", "secret"=>"8bdfd33f136fd577bf071f978456525ea843dd4721c9b907db6955c603f34033", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000037'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 18", "uid"=>"d5287b82d56941a84328a46cf5c454317a1a08dca5fb42998665321c8737f4ce", "secret"=>"8bdfd33f136fd577bf071f978456525ea843dd4721c9b907db6955c603f34033", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000038'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000038'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"52d4c34516a423ce848c6811812d42b94c794a01385d9208a0adea909ae012fa", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a35000039')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000039'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000037'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a35000038'), "token"=>"52d4c34516a423ce848c6811812d42b94c794a01385d9208a0adea909ae012fa", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000039'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000037'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a35000038'), "token"=>"52d4c34516a423ce848c6811812d42b94c794a01385d9208a0adea909ae012fa", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6223e3541594a35000039')}, :u=>{"_id"=>BSON::ObjectId('5bb6223e3541594a35000039'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000037'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a35000038'), "token"=>"52d4c34516a423ce848c6811812d42b94c794a01385d9208a0adea909ae012fa", "expires_in"=>7200, "scopes"=>"admin"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6223e3541594a35000039')}, {"_id"=>BSON::ObjectId('5bb6223e3541594a35000039'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000037'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a35000038'), "token"=>"52d4c34516a423ce848c6811812d42b94c794a01385d9208a0adea909ae012fa", "expires_in"=>7200, "scopes"=>"admin"}) Started GET "/full_protected_resources/1.json" for 127.0.0.1 at 2018-10-04 17:22:54 +0300 Processing by FullProtectedResourcesController#show as JSON Parameters: {"id"=>"1"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"52d4c34516a423ce848c6811812d42b94c794a01385d9208a0adea909ae012fa"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6223e3541594a35000039')}, :u=>{"_id"=>BSON::ObjectId('5bb6223e3541594a35000039'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000037'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a35000038'), "token"=>"52d4c34516a423ce848c6811812d42b94c794a01385d9208a0adea909ae012fa", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"admin"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6223e3541594a35000039')}, {"_id"=>BSON::ObjectId('5bb6223e3541594a35000039'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000037'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a35000038'), "token"=>"52d4c34516a423ce848c6811812d42b94c794a01385d9208a0adea909ae012fa", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"admin"}) Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6baafd7405cd9c103d67e555fa1d6e5a9a166cf927dff0119db59c4ca05a6b0b", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a3500003a')}}, {:_id=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a3500003a'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 19", "uid"=>"6baafd7405cd9c103d67e555fa1d6e5a9a166cf927dff0119db59c4ca05a6b0b", "secret"=>"51af8a4a3322f3dd5f0923b25a0ae59f2eeb988a98dc73824baeff90fc561f1d", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a3500003a'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 19", "uid"=>"6baafd7405cd9c103d67e555fa1d6e5a9a166cf927dff0119db59c4ca05a6b0b", "secret"=>"51af8a4a3322f3dd5f0923b25a0ae59f2eeb988a98dc73824baeff90fc561f1d", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a3500003b'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a3500003b'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d8d2ed57bc900ed02805edbf15e04a6f5af2fd41eaa3b202f37711eb4f1c78d1", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a3500003c')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a3500003c'), "application_id"=>BSON::ObjectId('5bb6223e3541594a3500003a'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a3500003b'), "token"=>"d8d2ed57bc900ed02805edbf15e04a6f5af2fd41eaa3b202f37711eb4f1c78d1", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a3500003c'), "application_id"=>BSON::ObjectId('5bb6223e3541594a3500003a'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a3500003b'), "token"=>"d8d2ed57bc900ed02805edbf15e04a6f5af2fd41eaa3b202f37711eb4f1c78d1", "expires_in"=>7200}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6223e3541594a3500003c')}, :u=>{"_id"=>BSON::ObjectId('5bb6223e3541594a3500003c'), "application_id"=>BSON::ObjectId('5bb6223e3541594a3500003a'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a3500003b'), "token"=>"d8d2ed57bc900ed02805edbf15e04a6f5af2fd41eaa3b202f37711eb4f1c78d1"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6223e3541594a3500003c')}, {"_id"=>BSON::ObjectId('5bb6223e3541594a3500003c'), "application_id"=>BSON::ObjectId('5bb6223e3541594a3500003a'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a3500003b'), "token"=>"d8d2ed57bc900ed02805edbf15e04a6f5af2fd41eaa3b202f37711eb4f1c78d1"}) Started GET "/full_protected_resources" for 127.0.0.1 at 2018-10-04 17:22:54 +0300 Processing by FullProtectedResourcesController#index as HTML MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d8d2ed57bc900ed02805edbf15e04a6f5af2fd41eaa3b202f37711eb4f1c78d1"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6223e3541594a3500003c')}, :u=>{"_id"=>BSON::ObjectId('5bb6223e3541594a3500003c'), "application_id"=>BSON::ObjectId('5bb6223e3541594a3500003a'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a3500003b'), "token"=>"d8d2ed57bc900ed02805edbf15e04a6f5af2fd41eaa3b202f37711eb4f1c78d1", "previous_refresh_token"=>""}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6223e3541594a3500003c')}, {"_id"=>BSON::ObjectId('5bb6223e3541594a3500003c'), "application_id"=>BSON::ObjectId('5bb6223e3541594a3500003a'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a3500003b'), "token"=>"d8d2ed57bc900ed02805edbf15e04a6f5af2fd41eaa3b202f37711eb4f1c78d1", "previous_refresh_token"=>""}) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8fddec26e97e053bd649e5fb4e2a26cd030ecdf7f39e7da362c8bebb33902f37", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a3500003d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a3500003d'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 20", "uid"=>"8fddec26e97e053bd649e5fb4e2a26cd030ecdf7f39e7da362c8bebb33902f37", "secret"=>"e691aef427b5ae47eb0e1ac64dd2a363125a8c92ad420171fb5e48b713dcc3f8", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a3500003d'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 20", "uid"=>"8fddec26e97e053bd649e5fb4e2a26cd030ecdf7f39e7da362c8bebb33902f37", "secret"=>"e691aef427b5ae47eb0e1ac64dd2a363125a8c92ad420171fb5e48b713dcc3f8", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a3500003e'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a3500003e'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"90fb60dc72289dc94f6cdb913e9a89fc07803e532ac66a17ccdfcfba4d24aeb0", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a3500003f')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a3500003f'), "application_id"=>BSON::ObjectId('5bb6223e3541594a3500003d'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a3500003e'), "token"=>"90fb60dc72289dc94f6cdb913e9a89fc07803e532ac66a17ccdfcfba4d24aeb0", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a3500003f'), "application_id"=>BSON::ObjectId('5bb6223e3541594a3500003d'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a3500003e'), "token"=>"90fb60dc72289dc94f6cdb913e9a89fc07803e532ac66a17ccdfcfba4d24aeb0", "expires_in"=>7200}) MONGODB (3.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6223e3541594a3500003f')}, :u=>{"_id"=>BSON::ObjectId('5bb6223e3541594a3500003f'), "application_id"=>BSON::ObjectId('5bb6223e3541594a3500003d'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a3500003e'), "token"=>"90fb60dc72289dc94f6cdb913e9a89fc07803e532ac66a17ccdfcfba4d24aeb0", "expires_in"=>7200}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (3.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6223e3541594a3500003f')}, {"_id"=>BSON::ObjectId('5bb6223e3541594a3500003f'), "application_id"=>BSON::ObjectId('5bb6223e3541594a3500003d'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a3500003e'), "token"=>"90fb60dc72289dc94f6cdb913e9a89fc07803e532ac66a17ccdfcfba4d24aeb0", "expires_in"=>7200}) Started GET "/full_protected_resources/1.json" for 127.0.0.1 at 2018-10-04 17:22:54 +0300 Processing by FullProtectedResourcesController#show as JSON Parameters: {"id"=>"1"} MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"90fb60dc72289dc94f6cdb913e9a89fc07803e532ac66a17ccdfcfba4d24aeb0"}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6223e3541594a3500003f')}, :u=>{"_id"=>BSON::ObjectId('5bb6223e3541594a3500003f'), "application_id"=>BSON::ObjectId('5bb6223e3541594a3500003d'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a3500003e'), "token"=>"90fb60dc72289dc94f6cdb913e9a89fc07803e532ac66a17ccdfcfba4d24aeb0", "previous_refresh_token"=>"", "expires_in"=>7200}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6223e3541594a3500003f')}, {"_id"=>BSON::ObjectId('5bb6223e3541594a3500003f'), "application_id"=>BSON::ObjectId('5bb6223e3541594a3500003d'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a3500003e'), "token"=>"90fb60dc72289dc94f6cdb913e9a89fc07803e532ac66a17ccdfcfba4d24aeb0", "previous_refresh_token"=>"", "expires_in"=>7200}) Filter chain halted as # rendered or redirected Completed 403 Forbidden in 7ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8c74b600fa541dd04c6f4c1d6b9756c45c032da73f89307a5c7ec90029ce7767", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a35000040')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000040'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 21", "uid"=>"8c74b600fa541dd04c6f4c1d6b9756c45c032da73f89307a5c7ec90029ce7767", "secret"=>"ac77e65a22fb014d35d1926a0a0afc73a6b3c929d6d19109fecc8fe7c5c29c9c", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000040'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 21", "uid"=>"8c74b600fa541dd04c6f4c1d6b9756c45c032da73f89307a5c7ec90029ce7767", "secret"=>"ac77e65a22fb014d35d1926a0a0afc73a6b3c929d6d19109fecc8fe7c5c29c9c", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000041'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000041'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"60ae94c7c5a79adaa0ea8be5c2f42c2b39560641304c3a900ab50650aa1e1d8d", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a35000042')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000042'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000040'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a35000041'), "token"=>"60ae94c7c5a79adaa0ea8be5c2f42c2b39560641304c3a900ab50650aa1e1d8d", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000042'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000040'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a35000041'), "token"=>"60ae94c7c5a79adaa0ea8be5c2f42c2b39560641304c3a900ab50650aa1e1d8d", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6223e3541594a35000042')}, :u=>{"_id"=>BSON::ObjectId('5bb6223e3541594a35000042'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000040'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a35000041'), "token"=>"60ae94c7c5a79adaa0ea8be5c2f42c2b39560641304c3a900ab50650aa1e1d8d", "expires_in"=>7200, "scopes"=>"dummy"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6223e3541594a35000042')}, {"_id"=>BSON::ObjectId('5bb6223e3541594a35000042'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000040'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a35000041'), "token"=>"60ae94c7c5a79adaa0ea8be5c2f42c2b39560641304c3a900ab50650aa1e1d8d", "expires_in"=>7200, "scopes"=>"dummy"}) Started GET "/full_protected_resources" for 127.0.0.1 at 2018-10-04 17:22:54 +0300 Processing by FullProtectedResourcesController#index as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"60ae94c7c5a79adaa0ea8be5c2f42c2b39560641304c3a900ab50650aa1e1d8d"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6223e3541594a35000042')}, :u=>{"_id"=>BSON::ObjectId('5bb6223e3541594a35000042'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000040'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a35000041'), "token"=>"60ae94c7c5a79adaa0ea8be5c2f42c2b39560641304c3a900ab50650aa1e1d8d", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"dummy"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6223e3541594a35000042')}, {"_id"=>BSON::ObjectId('5bb6223e3541594a35000042'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000040'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a35000041'), "token"=>"60ae94c7c5a79adaa0ea8be5c2f42c2b39560641304c3a900ab50650aa1e1d8d", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"dummy"}) Filter chain halted as :doorkeeper_authorize! rendered or redirected Completed 403 Forbidden in 3ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (3.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"983e7a593c954f91bfeef42e3b62c70413b86f606678139c9913a71ebb6beb85", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a35000043')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000043'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 22", "uid"=>"983e7a593c954f91bfeef42e3b62c70413b86f606678139c9913a71ebb6beb85", "secret"=>"f4b7227e677d15342c41d3ec693673f785b83369ad931feba6078e13234f7f3c", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000043'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 22", "uid"=>"983e7a593c954f91bfeef42e3b62c70413b86f606678139c9913a71ebb6beb85", "secret"=>"f4b7227e677d15342c41d3ec693673f785b83369ad931feba6078e13234f7f3c", "redirect_uri"=>"https://app.com/callback"}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000044'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000044'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e2f1c84b3144af4060ff9c7bb5aa49cfe0b98df7dab735e2f807aaace7207393", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a35000045')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000045'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000043'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a35000044'), "token"=>"e2f1c84b3144af4060ff9c7bb5aa49cfe0b98df7dab735e2f807aaace7207393", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000045'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000043'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a35000044'), "token"=>"e2f1c84b3144af4060ff9c7bb5aa49cfe0b98df7dab735e2f807aaace7207393", "expires_in"=>7200}) Started GET "/full_protected_resources" for 127.0.0.1 at 2018-10-04 17:22:54 +0300 Processing by FullProtectedResourcesController#index as HTML MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e2f1c84b3144af4060ff9c7bb5aa49cfe0b98df7dab735e2f807aaace7207393"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6223e3541594a35000045')}, :u=>{"_id"=>BSON::ObjectId('5bb6223e3541594a35000045'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000043'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a35000044'), "token"=>"e2f1c84b3144af4060ff9c7bb5aa49cfe0b98df7dab735e2f807aaace7207393", "previous_refresh_token"=>"", "expires_in"=>7200}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6223e3541594a35000045')}, {"_id"=>BSON::ObjectId('5bb6223e3541594a35000045'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000043'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a35000044'), "token"=>"e2f1c84b3144af4060ff9c7bb5aa49cfe0b98df7dab735e2f807aaace7207393", "previous_refresh_token"=>"", "expires_in"=>7200}) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"bb895f98ac335fac85fb10596978de65dc433eb8ab04e649af0eea3b570edad2", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a35000046')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000046'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 23", "uid"=>"bb895f98ac335fac85fb10596978de65dc433eb8ab04e649af0eea3b570edad2", "secret"=>"cc7eec61b808121de43fb39ec6d5393485c1a3c59e415b1f26ea32f049d1f96d", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000046'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 23", "uid"=>"bb895f98ac335fac85fb10596978de65dc433eb8ab04e649af0eea3b570edad2", "secret"=>"cc7eec61b808121de43fb39ec6d5393485c1a3c59e415b1f26ea32f049d1f96d", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000047'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000047'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"de634af140fb0c541e4cfd11926640ca19e9056964e67ec19e9631722fa45060", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a35000048')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000048'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000046'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a35000047'), "token"=>"de634af140fb0c541e4cfd11926640ca19e9056964e67ec19e9631722fa45060", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000048'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000046'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a35000047'), "token"=>"de634af140fb0c541e4cfd11926640ca19e9056964e67ec19e9631722fa45060", "expires_in"=>7200}) Started GET "/full_protected_resources" for 127.0.0.1 at 2018-10-04 17:22:54 +0300 Processing by FullProtectedResourcesController#index as HTML Filter chain halted as :doorkeeper_authorize! rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e31b7217ff0132bc1fecdb69486513529ac6f0cbe35f886615faace148dec5f3", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a35000049')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000049'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 24", "uid"=>"e31b7217ff0132bc1fecdb69486513529ac6f0cbe35f886615faace148dec5f3", "secret"=>"de2e7cc3813136274fe9942943c46da3d306a5cc6a43b0c2a30ab670e5ba0061", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000049'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 24", "uid"=>"e31b7217ff0132bc1fecdb69486513529ac6f0cbe35f886615faace148dec5f3", "secret"=>"de2e7cc3813136274fe9942943c46da3d306a5cc6a43b0c2a30ab670e5ba0061", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a3500004a'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a3500004a'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"a8443159331fb663dea17a07f60135fe7169ee30973e676f374115dd7cccd160", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a3500004b')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a3500004b'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000049'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a3500004a'), "token"=>"a8443159331fb663dea17a07f60135fe7169ee30973e676f374115dd7cccd160", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a3500004b'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000049'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223e3541594a3500004a'), "token"=>"a8443159331fb663dea17a07f60135fe7169ee30973e676f374115dd7cccd160", "expires_in"=>7200}) Started GET "/full_protected_resources" for 127.0.0.1 at 2018-10-04 17:22:54 +0300 Processing by FullProtectedResourcesController#index as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"invalid"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"invalid"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"invalid"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"invalid"}).limit(-1) Filter chain halted as :doorkeeper_authorize! rendered or redirected Completed 401 Unauthorized in 3ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8ddba3763ff6cb412c0f376c3e25023fdfcff64333bba4af3c2b39461bb7bccc", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a3500004c')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a3500004c'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 25", "uid"=>"8ddba3763ff6cb412c0f376c3e25023fdfcff64333bba4af3c2b39461bb7bccc", "secret"=>"8b324c0c4884fe4141dfc142d34340c64b01b094cda45a29653359ded016baaa", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a3500004c'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 25", "uid"=>"8ddba3763ff6cb412c0f376c3e25023fdfcff64333bba4af3c2b39461bb7bccc", "secret"=>"8b324c0c4884fe4141dfc142d34340c64b01b094cda45a29653359ded016baaa", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6223e3541594a3500004c')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f91cc8670c81acd1ce8af73c3545407896bb5a218fd2c63f138a17cc729fcc5c", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a3500004d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a3500004d'), "application_id"=>BSON::ObjectId('5bb6223e3541594a3500004c'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>nil, "token"=>"f91cc8670c81acd1ce8af73c3545407896bb5a218fd2c63f138a17cc729fcc5c", "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a3500004d'), "application_id"=>BSON::ObjectId('5bb6223e3541594a3500004c'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>nil, "token"=>"f91cc8670c81acd1ce8af73c3545407896bb5a218fd2c63f138a17cc729fcc5c", "scopes"=>"public"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5bbaedb365daf2d8bf8a78588ee881e5af320c305ece51d39db02526d065c9ff", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a3500004e')}}, {:_id=>1}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a3500004e'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 26", "uid"=>"5bbaedb365daf2d8bf8a78588ee881e5af320c305ece51d39db02526d065c9ff", "secret"=>"142cf0ed35680fbe3762b5444b2462d060e16100d5562e3c755ecdfb07d1fd6f", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a3500004e'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 26", "uid"=>"5bbaedb365daf2d8bf8a78588ee881e5af320c305ece51d39db02526d065c9ff", "secret"=>"142cf0ed35680fbe3762b5444b2462d060e16100d5562e3c755ecdfb07d1fd6f", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"14c29df5e4e08d9687fe2b0d107a028a0e37a16241223c747002a9597e052092", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a3500004f')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a3500004f'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 27", "uid"=>"14c29df5e4e08d9687fe2b0d107a028a0e37a16241223c747002a9597e052092", "secret"=>"c6c02def39a00b6a2d4a444793ba7a740253f492ac4bebe1e802e27d16b0c848", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a3500004f'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 27", "uid"=>"14c29df5e4e08d9687fe2b0d107a028a0e37a16241223c747002a9597e052092", "secret"=>"c6c02def39a00b6a2d4a444793ba7a740253f492ac4bebe1e802e27d16b0c848", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6223e3541594a3500004f'), :resource_owner_id=>nil, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6223e3541594a3500004f')}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"20f9fbee12aacc77d23e8d663fd99fbd669abeed4afbbd40e5af3141486c72fb", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a35000050')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000050'), "application_id"=>BSON::ObjectId('5bb6223e3541594a3500004f'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>nil, "token"=>"20f9fbee12aacc77d23e8d663fd99fbd669abeed4afbbd40e5af3141486c72fb", "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000050'), "application_id"=>BSON::ObjectId('5bb6223e3541594a3500004f'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>nil, "token"=>"20f9fbee12aacc77d23e8d663fd99fbd669abeed4afbbd40e5af3141486c72fb", "scopes"=>"public"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6223e3541594a3500004f'), :resource_owner_id=>nil, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ee51616230ee063616641fd275148c16a262db40fc37c44fe2db0fc03786c623", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a35000051')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000051'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 28", "uid"=>"ee51616230ee063616641fd275148c16a262db40fc37c44fe2db0fc03786c623", "secret"=>"745683ab8c1b99a865a17da33e468117c9c5028aae56077b278c2ef71c904308", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000051'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 28", "uid"=>"ee51616230ee063616641fd275148c16a262db40fc37c44fe2db0fc03786c623", "secret"=>"745683ab8c1b99a865a17da33e468117c9c5028aae56077b278c2ef71c904308", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6223e3541594a35000051')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"ec597baf9c7ca9763ea4f250547ced8400eb4d5855383d9701132dedb241d84e", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a35000052')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000052'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000051'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>nil, "token"=>"ec597baf9c7ca9763ea4f250547ced8400eb4d5855383d9701132dedb241d84e", "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000052'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000051'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>nil, "token"=>"ec597baf9c7ca9763ea4f250547ced8400eb4d5855383d9701132dedb241d84e", "scopes"=>"public"}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6223e3541594a35000051')}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"49c48366ca73c483d398f95012de3bd364ba09dfba0fee74e447666a906412c0", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a35000053')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000053'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000051'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>nil, "token"=>"49c48366ca73c483d398f95012de3bd364ba09dfba0fee74e447666a906412c0", "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000053'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000051'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>nil, "token"=>"49c48366ca73c483d398f95012de3bd364ba09dfba0fee74e447666a906412c0", "scopes"=>"public"}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokenInfoController#show as HTML MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"77368d24f4a6189bb468fa4c37e7f802f45de3ce89e8bb2fef4dce18ca51f347", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a35000055')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000055'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 29", "uid"=>"77368d24f4a6189bb468fa4c37e7f802f45de3ce89e8bb2fef4dce18ca51f347", "secret"=>"c40fce4b7b1aa608f124d9666f8e8c35394009ddbcd402d6b06142bd29ed1cf9", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000055'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 29", "uid"=>"77368d24f4a6189bb468fa4c37e7f802f45de3ce89e8bb2fef4dce18ca51f347", "secret"=>"c40fce4b7b1aa608f124d9666f8e8c35394009ddbcd402d6b06142bd29ed1cf9", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"211b7b433305753ca3366886325caa43c5e7ffa758c4dad44592331cf9ceb4f1", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a35000054')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000054'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000055'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>1, "token"=>"211b7b433305753ca3366886325caa43c5e7ffa758c4dad44592331cf9ceb4f1", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000054'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000055'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>1, "token"=>"211b7b433305753ca3366886325caa43c5e7ffa758c4dad44592331cf9ceb4f1", "expires_in"=>7200}) Completed 200 OK in 6ms MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokenInfoController#show as HTML MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d9de6df16e7b866da7029d7b3a95221e5a356c3f518e1366307819a6bae2be93", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a35000057')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000057'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 30", "uid"=>"d9de6df16e7b866da7029d7b3a95221e5a356c3f518e1366307819a6bae2be93", "secret"=>"973baace3e8f39d172636253b48827089fa5ca7e0bc30580f61437185e413e37", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000057'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 30", "uid"=>"d9de6df16e7b866da7029d7b3a95221e5a356c3f518e1366307819a6bae2be93", "secret"=>"973baace3e8f39d172636253b48827089fa5ca7e0bc30580f61437185e413e37", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d2df46f01ba5c33ce25827aaef157667ddff59ca0cf8d90bf78ff6c5eb4bd040", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a35000056')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000056'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000057'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>2, "token"=>"d2df46f01ba5c33ce25827aaef157667ddff59ca0cf8d90bf78ff6c5eb4bd040", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000056'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000057'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>2, "token"=>"d2df46f01ba5c33ce25827aaef157667ddff59ca0cf8d90bf78ff6c5eb4bd040", "expires_in"=>7200}) Completed 200 OK in 7ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokenInfoController#show as HTML Completed 401 Unauthorized in 0ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokenInfoController#show as HTML Completed 401 Unauthorized in 0ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"9ac15bcc9f6d44845b8c6108c48c1b43664c55c9efcedb425db5fa498301bcb9", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a35000059')}}, {:_id=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000059'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 31", "uid"=>"9ac15bcc9f6d44845b8c6108c48c1b43664c55c9efcedb425db5fa498301bcb9", "secret"=>"5efd06daf79117efb15470df786402347b5aa04771af4d53aa4bd470893ab01e", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000059'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 31", "uid"=>"9ac15bcc9f6d44845b8c6108c48c1b43664c55c9efcedb425db5fa498301bcb9", "secret"=>"5efd06daf79117efb15470df786402347b5aa04771af4d53aa4bd470893ab01e", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e5514fbb1983abb0e6772cfa20587a269af1dd883c65857142762a6bded080cb", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a35000058')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000058'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000059'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>3, "token"=>"e5514fbb1983abb0e6772cfa20587a269af1dd883c65857142762a6bded080cb", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000058'), "application_id"=>BSON::ObjectId('5bb6223e3541594a35000059'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "resource_owner_id"=>3, "token"=>"e5514fbb1983abb0e6772cfa20587a269af1dd883c65857142762a6bded080cb", "expires_in"=>7200}) Processing by Doorkeeper::TokenInfoController#show as HTML Completed 401 Unauthorized in 0ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"38ec48808b61bc106f5c0ff4703c63a246004a1287d2f19b673b5cbd5e4a0c0f", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a3500005a')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a3500005a'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 32", "uid"=>"38ec48808b61bc106f5c0ff4703c63a246004a1287d2f19b673b5cbd5e4a0c0f", "secret"=>"be7bfd05d31d0bd4919636f56b8148ebe4959dd92fb62cb356cc2c5dc08e6eb9", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a3500005a'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 32", "uid"=>"38ec48808b61bc106f5c0ff4703c63a246004a1287d2f19b673b5cbd5e4a0c0f", "secret"=>"be7bfd05d31d0bd4919636f56b8148ebe4959dd92fb62cb356cc2c5dc08e6eb9", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a3500005b'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a3500005b'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=38ec48808b61bc106f5c0ff4703c63a246004a1287d2f19b673b5cbd5e4a0c0f&client_secret=[FILTERED]&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:22:54 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"38ec48808b61bc106f5c0ff4703c63a246004a1287d2f19b673b5cbd5e4a0c0f", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"38ec48808b61bc106f5c0ff4703c63a246004a1287d2f19b673b5cbd5e4a0c0f"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) Completed 401 Unauthorized in 2ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f18470ed82eb1b437071d4bcd405c4c3347d72b1db009a9a93df7bdaa24678f0", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a3500005c')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a3500005c'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 33", "uid"=>"f18470ed82eb1b437071d4bcd405c4c3347d72b1db009a9a93df7bdaa24678f0", "secret"=>"2aa481b30ecba2d3457adea7833dd7de46a43be89679da383ad22441337adf99", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a3500005c'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 33", "uid"=>"f18470ed82eb1b437071d4bcd405c4c3347d72b1db009a9a93df7bdaa24678f0", "secret"=>"2aa481b30ecba2d3457adea7833dd7de46a43be89679da383ad22441337adf99", "redirect_uri"=>"https://app.com/callback"}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a3500005d'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a3500005d'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=bad_id&client_secret&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:22:54 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"bad_id", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"bad_id"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) Completed 401 Unauthorized in 2ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"beeb010b49166e47165f665abe1870fd25057862b61f96a3cbadde73450d4777", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a3500005e')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a3500005e'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 34", "uid"=>"beeb010b49166e47165f665abe1870fd25057862b61f96a3cbadde73450d4777", "secret"=>"91eb21fc2f2e5411fb1c9be59f0b5736fba15a3f8b364e054eab810ea78cc793", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a3500005e'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 34", "uid"=>"beeb010b49166e47165f665abe1870fd25057862b61f96a3cbadde73450d4777", "secret"=>"91eb21fc2f2e5411fb1c9be59f0b5736fba15a3f8b364e054eab810ea78cc793", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a3500005f'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a3500005f'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=beeb010b49166e47165f665abe1870fd25057862b61f96a3cbadde73450d4777&client_secret=[FILTERED]&username&password&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:22:54 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"beeb010b49166e47165f665abe1870fd25057862b61f96a3cbadde73450d4777", "client_secret"=>"[FILTERED]", "username"=>nil, "password"=>nil, "scope"=>nil, "grant_type"=>"password"} MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"beeb010b49166e47165f665abe1870fd25057862b61f96a3cbadde73450d4777"}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>nil, :password=>nil}).limit(-1) Completed 401 Unauthorized in 5ms MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"24743b04cfb48120aedf7136c5f9376a3abb5f22a5213e8e9b69647ae9050bc9", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a35000060')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000060'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 35", "uid"=>"24743b04cfb48120aedf7136c5f9376a3abb5f22a5213e8e9b69647ae9050bc9", "secret"=>"d157c3cb3f60b9b4f1155e9dc8582d205bbdb5cfde09781f2b4f8fdf08fa1be2", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000060'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 35", "uid"=>"24743b04cfb48120aedf7136c5f9376a3abb5f22a5213e8e9b69647ae9050bc9", "secret"=>"d157c3cb3f60b9b4f1155e9dc8582d205bbdb5cfde09781f2b4f8fdf08fa1be2", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000061'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000061'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=24743b04cfb48120aedf7136c5f9376a3abb5f22a5213e8e9b69647ae9050bc9&client_secret=[FILTERED]&username=Joe&password=wrongpassword&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:22:54 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"24743b04cfb48120aedf7136c5f9376a3abb5f22a5213e8e9b69647ae9050bc9", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"wrongpassword", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"24743b04cfb48120aedf7136c5f9376a3abb5f22a5213e8e9b69647ae9050bc9"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"wrongpassword"}).limit(-1) Completed 401 Unauthorized in 2ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (4.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (4.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e54183b45fc2270360f687f340e61cd54006c1774128609b926020cde18f62cb", :_id=>{:$ne=>BSON::ObjectId('5bb6223e3541594a35000062')}}, {:_id=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000062'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 36", "uid"=>"e54183b45fc2270360f687f340e61cd54006c1774128609b926020cde18f62cb", "secret"=>"de4d5f31a72095c0391de9e7ff25bc905997c24c216dcabb31a319f008adedb1", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000062'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Application 36", "uid"=>"e54183b45fc2270360f687f340e61cd54006c1774128609b926020cde18f62cb", "secret"=>"de4d5f31a72095c0391de9e7ff25bc905997c24c216dcabb31a319f008adedb1", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6223e3541594a35000063'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6223e3541594a35000063'), "created_at"=>2018-10-04 14:22:54 UTC, "updated_at"=>2018-10-04 14:22:54 UTC, "name"=>"Joe", "password"=>"sekret"}) Started POST "/oauth/token?code&client_id=e54183b45fc2270360f687f340e61cd54006c1774128609b926020cde18f62cb&client_secret=[FILTERED]&username=Joe&password=sekret&scope=random&grant_type=password" for 127.0.0.1 at 2018-10-04 17:22:54 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"e54183b45fc2270360f687f340e61cd54006c1774128609b926020cde18f62cb", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>"random", "grant_type"=>"password"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e54183b45fc2270360f687f340e61cd54006c1774128609b926020cde18f62cb"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) Completed 401 Unauthorized in 3ms MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a0753c9db92bcb71cb98b965444063a475eb6ce624212e83f21ce0d8132a15fe", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a35000064')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a35000064'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 37", "uid"=>"a0753c9db92bcb71cb98b965444063a475eb6ce624212e83f21ce0d8132a15fe", "secret"=>"ac012a71a74da690b7c108368576b0379ef8b634d0f3ebe7a382742361be6d38", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a35000064'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 37", "uid"=>"a0753c9db92bcb71cb98b965444063a475eb6ce624212e83f21ce0d8132a15fe", "secret"=>"ac012a71a74da690b7c108368576b0379ef8b634d0f3ebe7a382742361be6d38", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a35000065'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a35000065'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=a0753c9db92bcb71cb98b965444063a475eb6ce624212e83f21ce0d8132a15fe&client_secret=[FILTERED]&username=Joe&password=sekret&scope=random&grant_type=password" for 127.0.0.1 at 2018-10-04 17:22:55 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"a0753c9db92bcb71cb98b965444063a475eb6ce624212e83f21ce0d8132a15fe", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>"random", "grant_type"=>"password"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a0753c9db92bcb71cb98b965444063a475eb6ce624212e83f21ce0d8132a15fe"}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) Completed 401 Unauthorized in 8ms MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (7.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"9c018d74488733f87b15be6a8b4de4c25594db78c30cb7e42e328e5456716702", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a35000066')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a35000066'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 38", "uid"=>"9c018d74488733f87b15be6a8b4de4c25594db78c30cb7e42e328e5456716702", "secret"=>"9a16470935500f60893c96bc55308e92bae588158e39b67aec8d4b6c6a5ed266", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a35000066'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 38", "uid"=>"9c018d74488733f87b15be6a8b4de4c25594db78c30cb7e42e328e5456716702", "secret"=>"9a16470935500f60893c96bc55308e92bae588158e39b67aec8d4b6c6a5ed266", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a35000067'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a35000067'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id&client_secret&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:22:55 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>nil, "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"b9914caed7d5f061da29a995c2a0a1f1bd20a23597f2a7ade76252a5e334d267", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a35000068')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a35000068'), "application_id"=>nil, "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223f3541594a35000067'), "token"=>"b9914caed7d5f061da29a995c2a0a1f1bd20a23597f2a7ade76252a5e334d267", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a35000068'), "application_id"=>nil, "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223f3541594a35000067'), "token"=>"b9914caed7d5f061da29a995c2a0a1f1bd20a23597f2a7ade76252a5e334d267", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 8ms MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"92ddd033fe05bb10988bb3d3942ea946f6d4edb4f74076d300cd135c419df56c", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a35000069')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a35000069'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 39", "uid"=>"92ddd033fe05bb10988bb3d3942ea946f6d4edb4f74076d300cd135c419df56c", "secret"=>"762296c9c5a2a5edb6aa7c23008ca47fded45d8ef692f6ae050c7dc9e1512270", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a35000069'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 39", "uid"=>"92ddd033fe05bb10988bb3d3942ea946f6d4edb4f74076d300cd135c419df56c", "secret"=>"762296c9c5a2a5edb6aa7c23008ca47fded45d8ef692f6ae050c7dc9e1512270", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a3500006a'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a3500006a'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Joe", "password"=>"sekret"}) Started POST "/oauth/token?code&client_id=92ddd033fe05bb10988bb3d3942ea946f6d4edb4f74076d300cd135c419df56c&client_secret=[FILTERED]&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:22:55 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"92ddd033fe05bb10988bb3d3942ea946f6d4edb4f74076d300cd135c419df56c", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"92ddd033fe05bb10988bb3d3942ea946f6d4edb4f74076d300cd135c419df56c"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6223f3541594a35000069')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e240c33d57a15634f6bacd1c9dd245b91da4f15a171c532065d1de7fd0f8848b", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a3500006b')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"3f3bbe36120a02f834e9662db4c3216993d61c6ea5a33cb66633c318dc2980af", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a3500006b')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a3500006b'), "application_id"=>BSON::ObjectId('5bb6223f3541594a35000069'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223f3541594a3500006a'), "token"=>"e240c33d57a15634f6bacd1c9dd245b91da4f15a171c532065d1de7fd0f8848b", "refresh_token"=>"3f3bbe36120a02f834e9662db4c3216993d61c6ea5a33cb66633c318dc2980af", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a3500006b'), "application_id"=>BSON::ObjectId('5bb6223f3541594a35000069'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223f3541594a3500006a'), "token"=>"e240c33d57a15634f6bacd1c9dd245b91da4f15a171c532065d1de7fd0f8848b", "refresh_token"=>"3f3bbe36120a02f834e9662db4c3216993d61c6ea5a33cb66633c318dc2980af", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 6ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ff45aeb875e89065bc64c041e32baa37b004627b42a58c86f213adb066843711", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a3500006c')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a3500006c'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 40", "uid"=>"ff45aeb875e89065bc64c041e32baa37b004627b42a58c86f213adb066843711", "secret"=>"42f5671af3e81bbdc5774b51e609970a6c86743241e824a5632a0aac0ab20a40", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a3500006c'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 40", "uid"=>"ff45aeb875e89065bc64c041e32baa37b004627b42a58c86f213adb066843711", "secret"=>"42f5671af3e81bbdc5774b51e609970a6c86743241e824a5632a0aac0ab20a40", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a3500006d'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a3500006d'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"7600239e78079af5244ccf4c5d622d727417c6af5b45988d9c65d66ee363b093", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a3500006e')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a3500006e'), "application_id"=>BSON::ObjectId('5bb6223f3541594a3500006c'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223f3541594a3500006d'), "token"=>"7600239e78079af5244ccf4c5d622d727417c6af5b45988d9c65d66ee363b093", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a3500006e'), "application_id"=>BSON::ObjectId('5bb6223f3541594a3500006c'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223f3541594a3500006d'), "token"=>"7600239e78079af5244ccf4c5d622d727417c6af5b45988d9c65d66ee363b093", "expires_in"=>7200}) Started POST "/oauth/token?code&client_id=ff45aeb875e89065bc64c041e32baa37b004627b42a58c86f213adb066843711&client_secret=[FILTERED]&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:22:55 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"ff45aeb875e89065bc64c041e32baa37b004627b42a58c86f213adb066843711", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ff45aeb875e89065bc64c041e32baa37b004627b42a58c86f213adb066843711"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6223f3541594a3500006c'), :resource_owner_id=>BSON::ObjectId('5bb6223f3541594a3500006d'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Completed 200 OK in 4ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"df23d79b4be5f212d13120ab873d005b47b17448181ca82caa30ad6266460d20", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a3500006f')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a3500006f'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 41", "uid"=>"df23d79b4be5f212d13120ab873d005b47b17448181ca82caa30ad6266460d20", "secret"=>"7eff5cc3e3008ded01d7be05594e0f49fd0befea2a1d18105d7990d7e1d82ebd", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a3500006f'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 41", "uid"=>"df23d79b4be5f212d13120ab873d005b47b17448181ca82caa30ad6266460d20", "secret"=>"7eff5cc3e3008ded01d7be05594e0f49fd0befea2a1d18105d7990d7e1d82ebd", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a35000070'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a35000070'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=df23d79b4be5f212d13120ab873d005b47b17448181ca82caa30ad6266460d20&client_secret=[FILTERED]&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:22:55 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"df23d79b4be5f212d13120ab873d005b47b17448181ca82caa30ad6266460d20", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"df23d79b4be5f212d13120ab873d005b47b17448181ca82caa30ad6266460d20"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6223f3541594a3500006f')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"eac9b13ff7908ee5aedc097f2cb34cb84d6af71663edf59c7c26d986de0d3f45", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a35000071')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a35000071'), "application_id"=>BSON::ObjectId('5bb6223f3541594a3500006f'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223f3541594a35000070'), "token"=>"eac9b13ff7908ee5aedc097f2cb34cb84d6af71663edf59c7c26d986de0d3f45", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a35000071'), "application_id"=>BSON::ObjectId('5bb6223f3541594a3500006f'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223f3541594a35000070'), "token"=>"eac9b13ff7908ee5aedc097f2cb34cb84d6af71663edf59c7c26d986de0d3f45", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 5ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (3.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"15ba4e4b29742096c46fe3298cdcad8c69ebbc4a6045add85d373e171ef422d2", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a35000072')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a35000072'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 42", "uid"=>"15ba4e4b29742096c46fe3298cdcad8c69ebbc4a6045add85d373e171ef422d2", "secret"=>"9e483d6d32ecf66d366692fbece2bc894493fbf85c723019c97334dee595ee0b", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a35000072'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 42", "uid"=>"15ba4e4b29742096c46fe3298cdcad8c69ebbc4a6045add85d373e171ef422d2", "secret"=>"9e483d6d32ecf66d366692fbece2bc894493fbf85c723019c97334dee595ee0b", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a35000073'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a35000073'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (2.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=15ba4e4b29742096c46fe3298cdcad8c69ebbc4a6045add85d373e171ef422d2&client_secret&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:22:55 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"15ba4e4b29742096c46fe3298cdcad8c69ebbc4a6045add85d373e171ef422d2", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (3.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"15ba4e4b29742096c46fe3298cdcad8c69ebbc4a6045add85d373e171ef422d2"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6223f3541594a35000072')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"9e8e9ae6d48c4b8da76867a890b282c373ecb2b60c3d58698b95a163f8bd7a16", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a35000074')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a35000074'), "application_id"=>BSON::ObjectId('5bb6223f3541594a35000072'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223f3541594a35000073'), "token"=>"9e8e9ae6d48c4b8da76867a890b282c373ecb2b60c3d58698b95a163f8bd7a16", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a35000074'), "application_id"=>BSON::ObjectId('5bb6223f3541594a35000072'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223f3541594a35000073'), "token"=>"9e8e9ae6d48c4b8da76867a890b282c373ecb2b60c3d58698b95a163f8bd7a16", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 14ms MONGODB (3.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"eb3d2d74fe3070711cea810919fcd9eff5a0d620259ba2b264d1414b20cf5ba2", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a35000075')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a35000075'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 43", "uid"=>"eb3d2d74fe3070711cea810919fcd9eff5a0d620259ba2b264d1414b20cf5ba2", "secret"=>"a9d36908e2bc53ec655bde6d3588fa7c5594e63af24cd5ee395473ca06486251", "redirect_uri"=>"https://app.com/callback", "confidential"=>false}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a35000075'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 43", "uid"=>"eb3d2d74fe3070711cea810919fcd9eff5a0d620259ba2b264d1414b20cf5ba2", "secret"=>"a9d36908e2bc53ec655bde6d3588fa7c5594e63af24cd5ee395473ca06486251", "redirect_uri"=>"https://app.com/callback", "confidential"=>false}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a35000076'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a35000076'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=eb3d2d74fe3070711cea810919fcd9eff5a0d620259ba2b264d1414b20cf5ba2&client_secret=[FILTERED]&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:22:55 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"eb3d2d74fe3070711cea810919fcd9eff5a0d620259ba2b264d1414b20cf5ba2", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"eb3d2d74fe3070711cea810919fcd9eff5a0d620259ba2b264d1414b20cf5ba2"}).limit(-1) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6223f3541594a35000075')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"0206c7836d0eea1b1d10e44e4d959b520790798a33f62a67884effa27ede760d", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a35000077')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a35000077'), "application_id"=>BSON::ObjectId('5bb6223f3541594a35000075'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223f3541594a35000076'), "token"=>"0206c7836d0eea1b1d10e44e4d959b520790798a33f62a67884effa27ede760d", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a35000077'), "application_id"=>BSON::ObjectId('5bb6223f3541594a35000075'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223f3541594a35000076'), "token"=>"0206c7836d0eea1b1d10e44e4d959b520790798a33f62a67884effa27ede760d", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 8ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ad2b6fae783ad1217d8ed7406f5c3f7143a96c5bcaf9c360ebb88b3b265c4fae", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a35000078')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a35000078'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 44", "uid"=>"ad2b6fae783ad1217d8ed7406f5c3f7143a96c5bcaf9c360ebb88b3b265c4fae", "secret"=>"ce5b0d7a3b8a61877138d5ec349b19fd0960470f596c8a2db7f1c2a81a3e34ee", "redirect_uri"=>"https://app.com/callback", "confidential"=>false}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a35000078'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 44", "uid"=>"ad2b6fae783ad1217d8ed7406f5c3f7143a96c5bcaf9c360ebb88b3b265c4fae", "secret"=>"ce5b0d7a3b8a61877138d5ec349b19fd0960470f596c8a2db7f1c2a81a3e34ee", "redirect_uri"=>"https://app.com/callback", "confidential"=>false}) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a35000079'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.0ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a35000079'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=ad2b6fae783ad1217d8ed7406f5c3f7143a96c5bcaf9c360ebb88b3b265c4fae&client_secret=[FILTERED]&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:22:55 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"ad2b6fae783ad1217d8ed7406f5c3f7143a96c5bcaf9c360ebb88b3b265c4fae", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ad2b6fae783ad1217d8ed7406f5c3f7143a96c5bcaf9c360ebb88b3b265c4fae"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) Completed 401 Unauthorized in 3ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (2.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"39ee7f613d041786c23f2d4f3e480dcca9011a80905aa0e008122b8af0053998", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a3500007a')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a3500007a'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 45", "uid"=>"39ee7f613d041786c23f2d4f3e480dcca9011a80905aa0e008122b8af0053998", "secret"=>"a669da24498f33836ffc784a248743185cbb7c820b99545a38d5ea01ff5377e1", "redirect_uri"=>"https://app.com/callback", "confidential"=>false}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a3500007a'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 45", "uid"=>"39ee7f613d041786c23f2d4f3e480dcca9011a80905aa0e008122b8af0053998", "secret"=>"a669da24498f33836ffc784a248743185cbb7c820b99545a38d5ea01ff5377e1", "redirect_uri"=>"https://app.com/callback", "confidential"=>false}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a3500007b'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a3500007b'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=39ee7f613d041786c23f2d4f3e480dcca9011a80905aa0e008122b8af0053998&client_secret&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:22:55 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"39ee7f613d041786c23f2d4f3e480dcca9011a80905aa0e008122b8af0053998", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"39ee7f613d041786c23f2d4f3e480dcca9011a80905aa0e008122b8af0053998"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6223f3541594a3500007a')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"95b27606956d45c07bb1f1ca4113527ed0b8b40579fe7e326d8983e45a486716", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a3500007c')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a3500007c'), "application_id"=>BSON::ObjectId('5bb6223f3541594a3500007a'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223f3541594a3500007b'), "token"=>"95b27606956d45c07bb1f1ca4113527ed0b8b40579fe7e326d8983e45a486716", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a3500007c'), "application_id"=>BSON::ObjectId('5bb6223f3541594a3500007a'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223f3541594a3500007b'), "token"=>"95b27606956d45c07bb1f1ca4113527ed0b8b40579fe7e326d8983e45a486716", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 6ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"20ca929f35efa7d25fbf8fe2f0ab0012d3e8e72fe1c8a15d988566241a74b132", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a3500007d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a3500007d'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 46", "uid"=>"20ca929f35efa7d25fbf8fe2f0ab0012d3e8e72fe1c8a15d988566241a74b132", "secret"=>"26ba49a20e3257be5c8ba0dbe38f95abc286c9660f4370cc759af33eac765426", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a3500007d'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 46", "uid"=>"20ca929f35efa7d25fbf8fe2f0ab0012d3e8e72fe1c8a15d988566241a74b132", "secret"=>"26ba49a20e3257be5c8ba0dbe38f95abc286c9660f4370cc759af33eac765426", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a3500007e'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a3500007e'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=20ca929f35efa7d25fbf8fe2f0ab0012d3e8e72fe1c8a15d988566241a74b132&client_secret=[FILTERED]&username=Joe&password=sekret&scope=public&grant_type=password" for 127.0.0.1 at 2018-10-04 17:22:55 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"20ca929f35efa7d25fbf8fe2f0ab0012d3e8e72fe1c8a15d988566241a74b132", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>"public", "grant_type"=>"password"} MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"20ca929f35efa7d25fbf8fe2f0ab0012d3e8e72fe1c8a15d988566241a74b132"}).limit(-1) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6223f3541594a3500007d')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"6891ec1aad90e5c2b1511c9cf9e635f81f6806fa73e5778ad5f8044e678abe90", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a3500007f')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a3500007f'), "application_id"=>BSON::ObjectId('5bb6223f3541594a3500007d'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223f3541594a3500007e'), "token"=>"6891ec1aad90e5c2b1511c9cf9e635f81f6806fa73e5778ad5f8044e678abe90", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a3500007f'), "application_id"=>BSON::ObjectId('5bb6223f3541594a3500007d'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6223f3541594a3500007e'), "token"=>"6891ec1aad90e5c2b1511c9cf9e635f81f6806fa73e5778ad5f8044e678abe90", "expires_in"=>7200, "scopes"=>"public"}) Completed 200 OK in 11ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Started POST "/oauth/token" for 127.0.0.1 at 2018-10-04 17:22:55 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"grant_type"=>"client_credentials"} Completed 401 Unauthorized in 0ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (5.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b673eae39487d491fdf64532dab3a0c137a4a16d709915934cca0da44ef1cd4e", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a35000080')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a35000080'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 47", "uid"=>"b673eae39487d491fdf64532dab3a0c137a4a16d709915934cca0da44ef1cd4e", "secret"=>"c0064fc20087ef7cad65a970cf3e6ced797400c881aa6f09ea47877d4ab52ce4", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a35000080'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 47", "uid"=>"b673eae39487d491fdf64532dab3a0c137a4a16d709915934cca0da44ef1cd4e", "secret"=>"c0064fc20087ef7cad65a970cf3e6ced797400c881aa6f09ea47877d4ab52ce4", "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token" for 127.0.0.1 at 2018-10-04 17:22:55 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"grant_type"=>"client_credentials"} MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b673eae39487d491fdf64532dab3a0c137a4a16d709915934cca0da44ef1cd4e"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6223f3541594a35000080')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"fa987794e1529d4a5d5816b100d333922fe6908fd689768014d2c40aabf14bb5", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a35000081')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a35000081'), "application_id"=>BSON::ObjectId('5bb6223f3541594a35000080'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>nil, "token"=>"fa987794e1529d4a5d5816b100d333922fe6908fd689768014d2c40aabf14bb5", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a35000081'), "application_id"=>BSON::ObjectId('5bb6223f3541594a35000080'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>nil, "token"=>"fa987794e1529d4a5d5816b100d333922fe6908fd689768014d2c40aabf14bb5", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 6ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2cde34de99ee93338e515c50bb3519e4e072ea211c1bb49fd0cde6f46aa220b4", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a35000082')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a35000082'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 48", "uid"=>"2cde34de99ee93338e515c50bb3519e4e072ea211c1bb49fd0cde6f46aa220b4", "secret"=>"2d288f37e227cc1716f1e5e35e784baac37c69909ad44fac654222eca5d893e5", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a35000082'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 48", "uid"=>"2cde34de99ee93338e515c50bb3519e4e072ea211c1bb49fd0cde6f46aa220b4", "secret"=>"2d288f37e227cc1716f1e5e35e784baac37c69909ad44fac654222eca5d893e5", "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token" for 127.0.0.1 at 2018-10-04 17:22:55 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"grant_type"=>"client_credentials", "scope"=>"write"} MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2cde34de99ee93338e515c50bb3519e4e072ea211c1bb49fd0cde6f46aa220b4"}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6223f3541594a35000082')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"979484d16486d63e565b7dfe377a240bfee15aa48644742062396d8405002a54", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a35000083')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a35000083'), "application_id"=>BSON::ObjectId('5bb6223f3541594a35000082'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>nil, "token"=>"979484d16486d63e565b7dfe377a240bfee15aa48644742062396d8405002a54", "expires_in"=>7200, "scopes"=>"write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a35000083'), "application_id"=>BSON::ObjectId('5bb6223f3541594a35000082'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>nil, "token"=>"979484d16486d63e565b7dfe377a240bfee15aa48644742062396d8405002a54", "expires_in"=>7200, "scopes"=>"write"}) Completed 200 OK in 9ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b5053377f336c38dcf3c128c481026df5921fdf9027884ffb17b7e0906c91dd0", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a35000084')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a35000084'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 49", "uid"=>"b5053377f336c38dcf3c128c481026df5921fdf9027884ffb17b7e0906c91dd0", "secret"=>"d85d446c797c3e3ff42da640ff3bb0cadc6d61568dd8a0e68fab42a1eb55aa2c", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a35000084'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 49", "uid"=>"b5053377f336c38dcf3c128c481026df5921fdf9027884ffb17b7e0906c91dd0", "secret"=>"d85d446c797c3e3ff42da640ff3bb0cadc6d61568dd8a0e68fab42a1eb55aa2c", "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token" for 127.0.0.1 at 2018-10-04 17:22:55 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"grant_type"=>"client_credentials", "scope"=>"random"} MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b5053377f336c38dcf3c128c481026df5921fdf9027884ffb17b7e0906c91dd0"}).limit(-1) Completed 401 Unauthorized in 6ms MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (2.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.9ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f6a5f2ef061c8a46a4b817ed1ded76ba074f0ad220248cf8d5ed96facc24f1bb", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a35000085')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a35000085'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 50", "uid"=>"f6a5f2ef061c8a46a4b817ed1ded76ba074f0ad220248cf8d5ed96facc24f1bb", "secret"=>"0665b697ebe4a78c330f863cc76bc96d2b93aaff094ac59732117ba03a3de324", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a35000085'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 50", "uid"=>"f6a5f2ef061c8a46a4b817ed1ded76ba074f0ad220248cf8d5ed96facc24f1bb", "secret"=>"0665b697ebe4a78c330f863cc76bc96d2b93aaff094ac59732117ba03a3de324", "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token" for 127.0.0.1 at 2018-10-04 17:22:55 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"grant_type"=>"client_credentials", "scope"=>"public"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f6a5f2ef061c8a46a4b817ed1ded76ba074f0ad220248cf8d5ed96facc24f1bb"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6223f3541594a35000085')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"023a8f2373b386d3edcf4f5dfe46d07e975a680ec83886c7c72465b919f76524", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a35000086')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a35000086'), "application_id"=>BSON::ObjectId('5bb6223f3541594a35000085'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>nil, "token"=>"023a8f2373b386d3edcf4f5dfe46d07e975a680ec83886c7c72465b919f76524", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a35000086'), "application_id"=>BSON::ObjectId('5bb6223f3541594a35000085'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>nil, "token"=>"023a8f2373b386d3edcf4f5dfe46d07e975a680ec83886c7c72465b919f76524", "expires_in"=>7200, "scopes"=>"public"}) Completed 200 OK in 5ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.0ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"06dd73def1eb2f9a9b29370b9bd1ecd8d2d2bec3a391c3f51c264ef4d44388a8", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a35000088')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a35000088'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 51", "uid"=>"06dd73def1eb2f9a9b29370b9bd1ecd8d2d2bec3a391c3f51c264ef4d44388a8", "secret"=>"26dbc246619f0a7e2661a67de8a45d8a3ab23ab09ccf0f986c3ec37d8c0ddd68", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a35000088'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 51", "uid"=>"06dd73def1eb2f9a9b29370b9bd1ecd8d2d2bec3a391c3f51c264ef4d44388a8", "secret"=>"26dbc246619f0a7e2661a67de8a45d8a3ab23ab09ccf0f986c3ec37d8c0ddd68", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"46272fb388235b13e0264c28b7e4a4823c7008f15877ed9c8f50d7604299a048", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a35000087')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2d883677221c326406be04f20fc59efa7f0ba0102c975e4f459859aa6e6e2ccc", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a3500008a')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a3500008a'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 52", "uid"=>"2d883677221c326406be04f20fc59efa7f0ba0102c975e4f459859aa6e6e2ccc", "secret"=>"0ac775de188fd9085853239370f936699e69172119d9caf6ef1f0c458cb6f67a", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a3500008a'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 52", "uid"=>"2d883677221c326406be04f20fc59efa7f0ba0102c975e4f459859aa6e6e2ccc", "secret"=>"0ac775de188fd9085853239370f936699e69172119d9caf6ef1f0c458cb6f67a", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"b035e4fef597c27d51ed609f09a5b3adb38a79311c0bf220b126c59cde4af2f2", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a35000089')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6d0e64b4a2a2e9185540d3f6b626512e759c13f3bd12a5e0a5e1c18426852e95", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a3500008c')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a3500008c'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 53", "uid"=>"6d0e64b4a2a2e9185540d3f6b626512e759c13f3bd12a5e0a5e1c18426852e95", "secret"=>"10a3339c817d12fc11f860be0edeeaa98e0849174e4b124feefcebe60faf0d08", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a3500008c'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 53", "uid"=>"6d0e64b4a2a2e9185540d3f6b626512e759c13f3bd12a5e0a5e1c18426852e95", "secret"=>"10a3339c817d12fc11f860be0edeeaa98e0849174e4b124feefcebe60faf0d08", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"821fc930f0ac4dcd44fe6dfd586783e2da52e46793382dd70eb13ae48740eb9f", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a3500008b')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"006d16e8816a9b4f20bbcef4bc185ecc612362f8096a3201aba063befbbeb861", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a3500008e')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a3500008e'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 54", "uid"=>"006d16e8816a9b4f20bbcef4bc185ecc612362f8096a3201aba063befbbeb861", "secret"=>"7c39d3153debb63f909f3ada4f8ea1e97e310424017fea106e143f6b98796116", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a3500008e'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 54", "uid"=>"006d16e8816a9b4f20bbcef4bc185ecc612362f8096a3201aba063befbbeb861", "secret"=>"7c39d3153debb63f909f3ada4f8ea1e97e310424017fea106e143f6b98796116", "redirect_uri"=>"https://app.com/callback"}) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"custom_generator_token_1538662975", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a3500008d')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a3500008d'), "application_id"=>BSON::ObjectId('5bb6223f3541594a3500008e'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>7, "token"=>"custom_generator_token_1538662975", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a3500008d'), "application_id"=>BSON::ObjectId('5bb6223f3541594a3500008e'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>7, "token"=>"custom_generator_token_1538662975", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c91f1deee14fc911e57d1f3d360a79a70c034579f8f5fb5bcde9295e8983e197", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a35000090')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a35000090'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 55", "uid"=>"c91f1deee14fc911e57d1f3d360a79a70c034579f8f5fb5bcde9295e8983e197", "secret"=>"8e2534ffcc75b1208b324ad9fa3e63316d1199cbbcdf94f4fcc5f14eca6c744d", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a35000090'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 55", "uid"=>"c91f1deee14fc911e57d1f3d360a79a70c034579f8f5fb5bcde9295e8983e197", "secret"=>"8e2534ffcc75b1208b324ad9fa3e63316d1199cbbcdf94f4fcc5f14eca6c744d", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"custom_generator_token_Application 55", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a3500008f')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a3500008f'), "application_id"=>BSON::ObjectId('5bb6223f3541594a35000090'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>8, "token"=>"custom_generator_token_Application 55", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a3500008f'), "application_id"=>BSON::ObjectId('5bb6223f3541594a35000090'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>8, "token"=>"custom_generator_token_Application 55", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3f3b804e359de3c753c9d384b25223db255c9425372962b097b3e3a2a489018e", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a35000092')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a35000092'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 56", "uid"=>"3f3b804e359de3c753c9d384b25223db255c9425372962b097b3e3a2a489018e", "secret"=>"79473c04eda643f0a49477cdd83ffa9595ed07a9ded92ecf30b4c71d5a36f50e", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a35000092'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 56", "uid"=>"3f3b804e359de3c753c9d384b25223db255c9425372962b097b3e3a2a489018e", "secret"=>"79473c04eda643f0a49477cdd83ffa9595ed07a9ded92ecf30b4c71d5a36f50e", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"62c7cffa61a81815376b7674497774d1dbc13eca7d37c09155fd07c748241408", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a35000094')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a35000094'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 57", "uid"=>"62c7cffa61a81815376b7674497774d1dbc13eca7d37c09155fd07c748241408", "secret"=>"169ac6cc5019a537f099ae726d18ae4e5094380220fba61b6303b7d737c54014", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a35000094'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 57", "uid"=>"62c7cffa61a81815376b7674497774d1dbc13eca7d37c09155fd07c748241408", "secret"=>"169ac6cc5019a537f099ae726d18ae4e5094380220fba61b6303b7d737c54014", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"custom_generator_token_2_public write", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a35000093')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a35000093'), "application_id"=>BSON::ObjectId('5bb6223f3541594a35000094'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>10, "token"=>"custom_generator_token_2_public write", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a35000093'), "application_id"=>BSON::ObjectId('5bb6223f3541594a35000094'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>10, "token"=>"custom_generator_token_2_public write", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"91005a5d2a9a57a505a3a9e9c405f17f7a667ed26313ee111cb94e5492ca1da6", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a35000096')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a35000096'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 58", "uid"=>"91005a5d2a9a57a505a3a9e9c405f17f7a667ed26313ee111cb94e5492ca1da6", "secret"=>"cf23c7b1bec9679c6ce4c84c2fd7b270fac5e1ebb3c53a9bd1848e1c1e520924", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a35000096'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 58", "uid"=>"91005a5d2a9a57a505a3a9e9c405f17f7a667ed26313ee111cb94e5492ca1da6", "secret"=>"cf23c7b1bec9679c6ce4c84c2fd7b270fac5e1ebb3c53a9bd1848e1c1e520924", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"custom_generator_token_11", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a35000095')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a35000095'), "application_id"=>BSON::ObjectId('5bb6223f3541594a35000096'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>11, "token"=>"custom_generator_token_11", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a35000095'), "application_id"=>BSON::ObjectId('5bb6223f3541594a35000096'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>11, "token"=>"custom_generator_token_11", "expires_in"=>7200}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ef1aa39dd3872b23cc213a9676f438287701d912fe2c2f30651aa54da2f814a2", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a35000098')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a35000098'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 59", "uid"=>"ef1aa39dd3872b23cc213a9676f438287701d912fe2c2f30651aa54da2f814a2", "secret"=>"b6270d1c106726869d1e180ceb5f7353a95f98a0cc1631b2c5f032fcc8b5f029", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a35000098'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 59", "uid"=>"ef1aa39dd3872b23cc213a9676f438287701d912fe2c2f30651aa54da2f814a2", "secret"=>"b6270d1c106726869d1e180ceb5f7353a95f98a0cc1631b2c5f032fcc8b5f029", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"61529f0804403e7926dcfb33f5c1fa6cb88f067c2ae93e7af30d1ae38cb46f5d", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a35000097')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a35000097'), "application_id"=>BSON::ObjectId('5bb6223f3541594a35000098'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>12, "token"=>"61529f0804403e7926dcfb33f5c1fa6cb88f067c2ae93e7af30d1ae38cb46f5d", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a35000097'), "application_id"=>BSON::ObjectId('5bb6223f3541594a35000098'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>12, "token"=>"61529f0804403e7926dcfb33f5c1fa6cb88f067c2ae93e7af30d1ae38cb46f5d", "expires_in"=>7200}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"9530826324d88288556d1b1bb985cd14d085dd642a72a1c8a478ceb24ffce357", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a3500009a')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a3500009a'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 60", "uid"=>"9530826324d88288556d1b1bb985cd14d085dd642a72a1c8a478ceb24ffce357", "secret"=>"8ff3ee63c7ebaec24cb4e7b941b58087f38b5ac1373b9b5a55da728b927dd1a4", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a3500009a'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 60", "uid"=>"9530826324d88288556d1b1bb985cd14d085dd642a72a1c8a478ceb24ffce357", "secret"=>"8ff3ee63c7ebaec24cb4e7b941b58087f38b5ac1373b9b5a55da728b927dd1a4", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"7bba408b2cc7bd072dffa876fb7938772e7787bb2ff74cfd251a7831005af469", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a35000099')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a35000099'), "application_id"=>BSON::ObjectId('5bb6223f3541594a3500009a'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>13, "token"=>"7bba408b2cc7bd072dffa876fb7938772e7787bb2ff74cfd251a7831005af469", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a35000099'), "application_id"=>BSON::ObjectId('5bb6223f3541594a3500009a'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>13, "token"=>"7bba408b2cc7bd072dffa876fb7938772e7787bb2ff74cfd251a7831005af469", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"77ad3850a2a77787798d72f539edbfd3e486e4155e4e9ed926a9b9cb33324262", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a3500009c')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a3500009c'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 61", "uid"=>"77ad3850a2a77787798d72f539edbfd3e486e4155e4e9ed926a9b9cb33324262", "secret"=>"7e2bdd5da4911f1c1847ae7fdd372e79debad6b55181c4f93ed94a9a22bb0dd9", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a3500009c'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 61", "uid"=>"77ad3850a2a77787798d72f539edbfd3e486e4155e4e9ed926a9b9cb33324262", "secret"=>"7e2bdd5da4911f1c1847ae7fdd372e79debad6b55181c4f93ed94a9a22bb0dd9", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"970458c2184cafdaa67ff9a1282a094eed17d92ca3abb3cd5554e4f0a643eeec", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a3500009e')}}, {:_id=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a3500009e'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 62", "uid"=>"970458c2184cafdaa67ff9a1282a094eed17d92ca3abb3cd5554e4f0a643eeec", "secret"=>"d85b27be828d7c47c0ae8c6d6fbc89d6d514ee289c8d42248994d7ba407664ab", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a3500009e'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 62", "uid"=>"970458c2184cafdaa67ff9a1282a094eed17d92ca3abb3cd5554e4f0a643eeec", "secret"=>"d85b27be828d7c47c0ae8c6d6fbc89d6d514ee289c8d42248994d7ba407664ab", "redirect_uri"=>"https://app.com/callback"}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"custom_generator_token_7200", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a3500009d')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a3500009d'), "application_id"=>BSON::ObjectId('5bb6223f3541594a3500009e'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>15, "token"=>"custom_generator_token_7200", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a3500009d'), "application_id"=>BSON::ObjectId('5bb6223f3541594a3500009e'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>15, "token"=>"custom_generator_token_7200", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"07dfadfc7af11601dbf33ca6eafb6536819b3c60f4a02bdd6697e1ec27bfddcc", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000a0')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a350000a0'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 63", "uid"=>"07dfadfc7af11601dbf33ca6eafb6536819b3c60f4a02bdd6697e1ec27bfddcc", "secret"=>"f35c8b5b3844e4a668cfe008159dca082d59ed7f3256d837dcacd6a4d002326b", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a350000a0'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 63", "uid"=>"07dfadfc7af11601dbf33ca6eafb6536819b3c60f4a02bdd6697e1ec27bfddcc", "secret"=>"f35c8b5b3844e4a668cfe008159dca082d59ed7f3256d837dcacd6a4d002326b", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3a2b4cb5842597d43f7908ac2d967e85232be4e19efab9ed0110f119fa636f73", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000a2')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a350000a2'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 64", "uid"=>"3a2b4cb5842597d43f7908ac2d967e85232be4e19efab9ed0110f119fa636f73", "secret"=>"22bb228aee477a08413e1e9d05223eee42d59c7121fed4f29b4bdae8a2f2ea83", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a350000a2'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 64", "uid"=>"3a2b4cb5842597d43f7908ac2d967e85232be4e19efab9ed0110f119fa636f73", "secret"=>"22bb228aee477a08413e1e9d05223eee42d59c7121fed4f29b4bdae8a2f2ea83", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"cc61fb54871f982dfcb2f7a1dae478f3880280fb8f0f1a3d914747033ed7d8f6", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000a1')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"f1ea95c081995b5128e31fddca5a00e92a57c061cfdde5faab97465c9d16ffa8", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000a1')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a350000a1'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000a2'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>17, "token"=>"cc61fb54871f982dfcb2f7a1dae478f3880280fb8f0f1a3d914747033ed7d8f6", "refresh_token"=>"f1ea95c081995b5128e31fddca5a00e92a57c061cfdde5faab97465c9d16ffa8", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a350000a1'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000a2'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>17, "token"=>"cc61fb54871f982dfcb2f7a1dae478f3880280fb8f0f1a3d914747033ed7d8f6", "refresh_token"=>"f1ea95c081995b5128e31fddca5a00e92a57c061cfdde5faab97465c9d16ffa8", "expires_in"=>7200}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f516515ceb7b1c58c9411f532cdd51797b006d04f7f220f58b284c89ed38e583", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000a4')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a350000a4'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 65", "uid"=>"f516515ceb7b1c58c9411f532cdd51797b006d04f7f220f58b284c89ed38e583", "secret"=>"109400aa8bca8a615c5f661396c64761b98044003c222cc7cd29a93d70a780d0", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a350000a4'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 65", "uid"=>"f516515ceb7b1c58c9411f532cdd51797b006d04f7f220f58b284c89ed38e583", "secret"=>"109400aa8bca8a615c5f661396c64761b98044003c222cc7cd29a93d70a780d0", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"238682dcc650178a8adc917aede8d31d2e15a1e91bad6afd099eb77d04a410ab", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000a3')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a350000a3'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000a4'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>18, "token"=>"238682dcc650178a8adc917aede8d31d2e15a1e91bad6afd099eb77d04a410ab", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a350000a3'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000a4'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>18, "token"=>"238682dcc650178a8adc917aede8d31d2e15a1e91bad6afd099eb77d04a410ab", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"bdec8cb8ac94d2f98153f9bc97bd21dc390b830ed92751609b087f7a79156372", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000a6')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a350000a6'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 66", "uid"=>"bdec8cb8ac94d2f98153f9bc97bd21dc390b830ed92751609b087f7a79156372", "secret"=>"8dc0054746956a041ddb7affc52dc3b20027dbb1dceddac00ac6752474fe2fdb", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a350000a6'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 66", "uid"=>"bdec8cb8ac94d2f98153f9bc97bd21dc390b830ed92751609b087f7a79156372", "secret"=>"8dc0054746956a041ddb7affc52dc3b20027dbb1dceddac00ac6752474fe2fdb", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"39d5449eed203c4dc0607b711da889be49b4e179767aa66714d3521f4b7388bd", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000a5')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"ec6e4d9e10f29618ac429144312b9b0b002c1cd09d890f078e520480b0207e1e", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000a5')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a350000a5'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000a6'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>19, "token"=>"39d5449eed203c4dc0607b711da889be49b4e179767aa66714d3521f4b7388bd", "refresh_token"=>"ec6e4d9e10f29618ac429144312b9b0b002c1cd09d890f078e520480b0207e1e", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a350000a5'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000a6'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>19, "token"=>"39d5449eed203c4dc0607b711da889be49b4e179767aa66714d3521f4b7388bd", "refresh_token"=>"ec6e4d9e10f29618ac429144312b9b0b002c1cd09d890f078e520480b0207e1e", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ed3597aa9e2ccec967dea850a7396f1a97320394e1fe3484ce6f5db30ed13a9f", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000a8')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a350000a8'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 67", "uid"=>"ed3597aa9e2ccec967dea850a7396f1a97320394e1fe3484ce6f5db30ed13a9f", "secret"=>"867bca6b9265bfa1f3f7ad127682de40e6899e23dea7ad281e65937e72fa270b", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a350000a8'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 67", "uid"=>"ed3597aa9e2ccec967dea850a7396f1a97320394e1fe3484ce6f5db30ed13a9f", "secret"=>"867bca6b9265bfa1f3f7ad127682de40e6899e23dea7ad281e65937e72fa270b", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"567bafc205007999b34b4b02783178ceef80781c62e2d8debde4fb6bb4ab0548", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000a7')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"368ef44bb99a6a4ccd7657fb0dce66572e3e8b77e3b784a3e206641621d9f3cf", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000a7')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a350000a7'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000a8'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>20, "token"=>"567bafc205007999b34b4b02783178ceef80781c62e2d8debde4fb6bb4ab0548", "refresh_token"=>"368ef44bb99a6a4ccd7657fb0dce66572e3e8b77e3b784a3e206641621d9f3cf", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a350000a7'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000a8'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>20, "token"=>"567bafc205007999b34b4b02783178ceef80781c62e2d8debde4fb6bb4ab0548", "refresh_token"=>"368ef44bb99a6a4ccd7657fb0dce66572e3e8b77e3b784a3e206641621d9f3cf", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"567bafc205007999b34b4b02783178ceef80781c62e2d8debde4fb6bb4ab0548", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000a7')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"ec6e4d9e10f29618ac429144312b9b0b002c1cd09d890f078e520480b0207e1e", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000a7')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3308af715e069b00632b595d7f76654abb822db98d5681fc0ee9fec281bbce50", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000aa')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a350000aa'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 68", "uid"=>"3308af715e069b00632b595d7f76654abb822db98d5681fc0ee9fec281bbce50", "secret"=>"3bfb54ee5c1d8d1b34eb4258311d900aa63378717376cbcc7af0fd1c1f1ab759", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a350000aa'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 68", "uid"=>"3308af715e069b00632b595d7f76654abb822db98d5681fc0ee9fec281bbce50", "secret"=>"3bfb54ee5c1d8d1b34eb4258311d900aa63378717376cbcc7af0fd1c1f1ab759", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"99c947398856b34088cadf2de359c744a772e6f93493e7b01928ec80131eb571", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000a9')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"45b8bb40d5ad8edf5b1d327c4eff25e8b2ee85bee55d4dc04c0d50b4c1493e31", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000a9')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a350000a9'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000aa'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>21, "token"=>"99c947398856b34088cadf2de359c744a772e6f93493e7b01928ec80131eb571", "refresh_token"=>"45b8bb40d5ad8edf5b1d327c4eff25e8b2ee85bee55d4dc04c0d50b4c1493e31", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a350000a9'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000aa'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>21, "token"=>"99c947398856b34088cadf2de359c744a772e6f93493e7b01928ec80131eb571", "refresh_token"=>"45b8bb40d5ad8edf5b1d327c4eff25e8b2ee85bee55d4dc04c0d50b4c1493e31", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e3aa20fce903f7bd6146cbeaf7ba182bf4fc0bcabd5eab153abe780432799176", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000ac')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a350000ac'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 69", "uid"=>"e3aa20fce903f7bd6146cbeaf7ba182bf4fc0bcabd5eab153abe780432799176", "secret"=>"962ea3ac426d443af668cfc8ec9292389a6d50379f53d9d0db3b6571591d1393", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a350000ac'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 69", "uid"=>"e3aa20fce903f7bd6146cbeaf7ba182bf4fc0bcabd5eab153abe780432799176", "secret"=>"962ea3ac426d443af668cfc8ec9292389a6d50379f53d9d0db3b6571591d1393", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"28f40f847441cc5b650293ccc10bf693b7a84ab5bdc3f5250feb6db9f327bfa1", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000ab')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"ecc2ba6f68c248502464953243fcd3bbf2146af401d02a5cfd7c8afb68f55035", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000ab')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a350000ab'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000ac'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>22, "token"=>"28f40f847441cc5b650293ccc10bf693b7a84ab5bdc3f5250feb6db9f327bfa1", "refresh_token"=>"ecc2ba6f68c248502464953243fcd3bbf2146af401d02a5cfd7c8afb68f55035", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a350000ab'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000ac'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>22, "token"=>"28f40f847441cc5b650293ccc10bf693b7a84ab5bdc3f5250feb6db9f327bfa1", "refresh_token"=>"ecc2ba6f68c248502464953243fcd3bbf2146af401d02a5cfd7c8afb68f55035", "expires_in"=>7200}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6223f3541594a350000ab')}, :u=>{"_id"=>BSON::ObjectId('5bb6223f3541594a350000ab'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000ac'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>22, "token"=>"28f40f847441cc5b650293ccc10bf693b7a84ab5bdc3f5250feb6db9f327bfa1", "refresh_token"=>"45b8bb40d5ad8edf5b1d327c4eff25e8b2ee85bee55d4dc04c0d50b4c1493e31", "expires_in"=>7200}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"cf6d7194d2e65f5661e00e67f28205c48e5778f2e82f584fcf27d0842d45b0dc", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000ad')}}, {:_id=>1}).limit(-1) MONGODB (2.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a350000ad'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 70", "uid"=>"cf6d7194d2e65f5661e00e67f28205c48e5778f2e82f584fcf27d0842d45b0dc", "secret"=>"b11db2f54f0a315d5a1e0274cf4ce58efeb3694d2a93c9db4a82697e754727d3", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (2.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a350000ad'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 70", "uid"=>"cf6d7194d2e65f5661e00e67f28205c48e5778f2e82f584fcf27d0842d45b0dc", "secret"=>"b11db2f54f0a315d5a1e0274cf4ce58efeb3694d2a93c9db4a82697e754727d3", "redirect_uri"=>"https://app.com/callback"}) MONGODB (2.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"cb646fb62e0d334d0c21df715994cd75467d650b901ce75d38b5570f1631df46", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000ae')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a350000ae'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000ad'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>100, "token"=>"cb646fb62e0d334d0c21df715994cd75467d650b901ce75d38b5570f1631df46", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a350000ae'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000ad'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>100, "token"=>"cb646fb62e0d334d0c21df715994cd75467d650b901ce75d38b5570f1631df46", "expires_in"=>7200}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"df05f88dfe97c32f1c1a690f8311946194034e728c55d398b902a6c435cc3d11", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000af')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a350000af'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000ad'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>42, "token"=>"df05f88dfe97c32f1c1a690f8311946194034e728c55d398b902a6c435cc3d11", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a350000af'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000ad'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>42, "token"=>"df05f88dfe97c32f1c1a690f8311946194034e728c55d398b902a6c435cc3d11", "expires_in"=>7200}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (6.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (7.2ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"95b4b03c0297a4b46f72eda4776c18aeac52505015cad70ac64e047734483fe4", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000b0')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a350000b0'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 71", "uid"=>"95b4b03c0297a4b46f72eda4776c18aeac52505015cad70ac64e047734483fe4", "secret"=>"8cbc732e584f172a01f12e741fe0eba152380901da262569e8f270cc51272892", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a350000b0'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 71", "uid"=>"95b4b03c0297a4b46f72eda4776c18aeac52505015cad70ac64e047734483fe4", "secret"=>"8cbc732e584f172a01f12e741fe0eba152380901da262569e8f270cc51272892", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"0f9ccdc76124a03075fbf89b5062e2d3b23dc28252e8f00ad3b1224af24a7dc9", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000b1')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a350000b1'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000b0'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>100, "token"=>"0f9ccdc76124a03075fbf89b5062e2d3b23dc28252e8f00ad3b1224af24a7dc9", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a350000b1'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000b0'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>100, "token"=>"0f9ccdc76124a03075fbf89b5062e2d3b23dc28252e8f00ad3b1224af24a7dc9", "expires_in"=>7200}) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"edade492587d12d36b8ac981ca1ce535d16e6175af8e239b8f326f6f003d39a5", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000b2')}}, {:_id=>1}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a350000b2'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000b0'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>100, "token"=>"edade492587d12d36b8ac981ca1ce535d16e6175af8e239b8f326f6f003d39a5", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (2.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a350000b2'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000b0'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>100, "token"=>"edade492587d12d36b8ac981ca1ce535d16e6175af8e239b8f326f6f003d39a5", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2d37074e9503ef32a5f0a1e2ccaf455754fec673dc6d543b05ee649503a98b0a", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000b3')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a350000b3'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 72", "uid"=>"2d37074e9503ef32a5f0a1e2ccaf455754fec673dc6d543b05ee649503a98b0a", "secret"=>"9ebcc6b0073cd772d955314540abed0acdc5b726a1869671d3debf15d5c6b21b", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a350000b3'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 72", "uid"=>"2d37074e9503ef32a5f0a1e2ccaf455754fec673dc6d543b05ee649503a98b0a", "secret"=>"9ebcc6b0073cd772d955314540abed0acdc5b726a1869671d3debf15d5c6b21b", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"eb45f2dd8e6ba4212d6b2602db27a71e197dda79c7597a6d32dc552b6fb95171", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000b4')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a350000b4'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000b3'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>100, "token"=>"eb45f2dd8e6ba4212d6b2602db27a71e197dda79c7597a6d32dc552b6fb95171", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a350000b4'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000b3'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>100, "token"=>"eb45f2dd8e6ba4212d6b2602db27a71e197dda79c7597a6d32dc552b6fb95171", "expires_in"=>7200}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f9e4b5279c42ac87297af2720c18506f3d665d72dcc33cc8db00f737ab7cd21f", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000b5')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a350000b5'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 73", "uid"=>"f9e4b5279c42ac87297af2720c18506f3d665d72dcc33cc8db00f737ab7cd21f", "secret"=>"00c3d78e04a890e9b682cc3fc4d0b889d6d648cc68869eb5292204dbd404c7ea", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a350000b5'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 73", "uid"=>"f9e4b5279c42ac87297af2720c18506f3d665d72dcc33cc8db00f737ab7cd21f", "secret"=>"00c3d78e04a890e9b682cc3fc4d0b889d6d648cc68869eb5292204dbd404c7ea", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"c5ffac5531701058ae47bf5241a64bf3e5b7ac60123c59e71d2b49845343bf88", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000b6')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a350000b6'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000b5'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>42, "token"=>"c5ffac5531701058ae47bf5241a64bf3e5b7ac60123c59e71d2b49845343bf88", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a350000b6'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000b5'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>42, "token"=>"c5ffac5531701058ae47bf5241a64bf3e5b7ac60123c59e71d2b49845343bf88", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ea056ad0373ae062ecfd679711df7315b8bef5e8fd6399596c96c159c9d278d8", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000b7')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a350000b7'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 74", "uid"=>"ea056ad0373ae062ecfd679711df7315b8bef5e8fd6399596c96c159c9d278d8", "secret"=>"4877a73d00ebff55865c2eafd5129c03252be5e3a39ae202e899a706884c30ff", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a350000b7'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 74", "uid"=>"ea056ad0373ae062ecfd679711df7315b8bef5e8fd6399596c96c159c9d278d8", "secret"=>"4877a73d00ebff55865c2eafd5129c03252be5e3a39ae202e899a706884c30ff", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"0a68ea606a817076f49de627bbb73df88aacfd1361d82e3b3d7d4603777b41b9", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000b8')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a350000b8'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000b7'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>100, "token"=>"0a68ea606a817076f49de627bbb73df88aacfd1361d82e3b3d7d4603777b41b9", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a350000b8'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000b7'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>100, "token"=>"0a68ea606a817076f49de627bbb73df88aacfd1361d82e3b3d7d4603777b41b9", "expires_in"=>7200}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"026d495ed40f4f59ec9921c5710d91f77ede8bb678656415918e8331cad8eaaf", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000b9')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a350000b9'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 75", "uid"=>"026d495ed40f4f59ec9921c5710d91f77ede8bb678656415918e8331cad8eaaf", "secret"=>"75609e54c1158273886349ab818ff4547c838c479d4cb871b27dbba4d19436e0", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a350000b9'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 75", "uid"=>"026d495ed40f4f59ec9921c5710d91f77ede8bb678656415918e8331cad8eaaf", "secret"=>"75609e54c1158273886349ab818ff4547c838c479d4cb871b27dbba4d19436e0", "redirect_uri"=>"https://app.com/callback"}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"6e27734c14faf8ff93e52b99da23d32d3cf1f34102e883e5729fd6dc8ae213cd", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000ba')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a350000ba'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000b9'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>100, "token"=>"6e27734c14faf8ff93e52b99da23d32d3cf1f34102e883e5729fd6dc8ae213cd", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a350000ba'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000b9'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>100, "token"=>"6e27734c14faf8ff93e52b99da23d32d3cf1f34102e883e5729fd6dc8ae213cd", "expires_in"=>7200}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4367016c54dc1b0ecee7ead76cbcd1f11cef69a2df4b372d34328d7a4cadb1dc", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000bb')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a350000bb'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 76", "uid"=>"4367016c54dc1b0ecee7ead76cbcd1f11cef69a2df4b372d34328d7a4cadb1dc", "secret"=>"b43b6b3ead526b5d467036cd810fbd5b6089c6b1ecf0dde6f2b0862a62f87deb", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a350000bb'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 76", "uid"=>"4367016c54dc1b0ecee7ead76cbcd1f11cef69a2df4b372d34328d7a4cadb1dc", "secret"=>"b43b6b3ead526b5d467036cd810fbd5b6089c6b1ecf0dde6f2b0862a62f87deb", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b074cea32b26ac28dcf49f2c176d1d718f4b1dd22dc39a7b8239665cf76f4ced", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000bc')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a350000bc'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 77", "uid"=>"b074cea32b26ac28dcf49f2c176d1d718f4b1dd22dc39a7b8239665cf76f4ced", "secret"=>"6a7019303fa164eb8ec90b134db0bb8563c88561facf3017fd7ea164655771aa", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a350000bc'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 77", "uid"=>"b074cea32b26ac28dcf49f2c176d1d718f4b1dd22dc39a7b8239665cf76f4ced", "secret"=>"6a7019303fa164eb8ec90b134db0bb8563c88561facf3017fd7ea164655771aa", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"812433be5a08a373bed914886dcf9f9a337edc29cab4fccb65429d754b273f06", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000bd')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a350000bd'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000bc'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>100, "token"=>"812433be5a08a373bed914886dcf9f9a337edc29cab4fccb65429d754b273f06", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a350000bd'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000bc'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>100, "token"=>"812433be5a08a373bed914886dcf9f9a337edc29cab4fccb65429d754b273f06", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6223f3541594a350000bb'), :resource_owner_id=>100, :revoked_at=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b027320a0ff032783aa97c4e9e15deca32374d60eddb7a6d41d4807cb42fb111", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000be')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a350000be'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 78", "uid"=>"b027320a0ff032783aa97c4e9e15deca32374d60eddb7a6d41d4807cb42fb111", "secret"=>"213d771d3699e723e1034936bb68656d07016cdce74dab8a18a0f95bdcf2b0df", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a350000be'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 78", "uid"=>"b027320a0ff032783aa97c4e9e15deca32374d60eddb7a6d41d4807cb42fb111", "secret"=>"213d771d3699e723e1034936bb68656d07016cdce74dab8a18a0f95bdcf2b0df", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"3703126193219ae38218aac3ed7917145b705eecd8f705d7d78a140309d7d34e", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000bf')}}, {:_id=>1}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a350000bf'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000be'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>90, "token"=>"3703126193219ae38218aac3ed7917145b705eecd8f705d7d78a140309d7d34e", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (2.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a350000bf'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000be'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>90, "token"=>"3703126193219ae38218aac3ed7917145b705eecd8f705d7d78a140309d7d34e", "expires_in"=>7200}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6223f3541594a350000be'), :resource_owner_id=>100, :revoked_at=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d4c72bbe9952a1971de415b17e02e2becbb597239c71444531a6f66d53bbd0c0", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000c0')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a350000c0'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 79", "uid"=>"d4c72bbe9952a1971de415b17e02e2becbb597239c71444531a6f66d53bbd0c0", "secret"=>"1a97190867d24fbf65b82d9bbd4e517bd74c4b90e4ced08e0a8427ba0feb5299", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a350000c0'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 79", "uid"=>"d4c72bbe9952a1971de415b17e02e2becbb597239c71444531a6f66d53bbd0c0", "secret"=>"1a97190867d24fbf65b82d9bbd4e517bd74c4b90e4ced08e0a8427ba0feb5299", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"01b5372ac8e0a4159f3a1d3b58d64c0082ff762d60ed79504aa42e49c7e773fd", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000c1')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a350000c1'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000c0'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>100, "token"=>"01b5372ac8e0a4159f3a1d3b58d64c0082ff762d60ed79504aa42e49c7e773fd", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a350000c1'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000c0'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>100, "token"=>"01b5372ac8e0a4159f3a1d3b58d64c0082ff762d60ed79504aa42e49c7e773fd", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6223f3541594a350000c0'), :resource_owner_id=>100, :revoked_at=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6223f3541594a350000c1')}, :u=>{"_id"=>BSON::ObjectId('5bb6223f3541594a350000c1'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000c0'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>100, "token"=>"01b5372ac8e0a4159f3a1d3b58d64c0082ff762d60ed79504aa42e49c7e773fd", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6223f3541594a350000c1')}, {"_id"=>BSON::ObjectId('5bb6223f3541594a350000c1'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000c0'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>100, "token"=>"01b5372ac8e0a4159f3a1d3b58d64c0082ff762d60ed79504aa42e49c7e773fd", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4d6bde37a623f6fb1a41a3dfa5fbcaa4349b66928a8ff702c902bb6953744612", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000c3')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a350000c3'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 80", "uid"=>"4d6bde37a623f6fb1a41a3dfa5fbcaa4349b66928a8ff702c902bb6953744612", "secret"=>"91dffe09045ec8dcbb096f340953e3bcc667dfce82881ddab7256d26a0f3c9c6", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a350000c3'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 80", "uid"=>"4d6bde37a623f6fb1a41a3dfa5fbcaa4349b66928a8ff702c902bb6953744612", "secret"=>"91dffe09045ec8dcbb096f340953e3bcc667dfce82881ddab7256d26a0f3c9c6", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"9afb01db40b59cfdb7b3d49184def4779a36b43d8e736dc97bd72d5f0c9f399a", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000c2')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a350000c2'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000c3'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>23, "token"=>"9afb01db40b59cfdb7b3d49184def4779a36b43d8e736dc97bd72d5f0c9f399a", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a350000c2'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000c3'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>23, "token"=>"9afb01db40b59cfdb7b3d49184def4779a36b43d8e736dc97bd72d5f0c9f399a", "expires_in"=>7200}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7d23067b144bf1f974a829c82521a2c2bb860b70f4818aba09fd8f3fb3692216", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000c5')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a350000c5'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 81", "uid"=>"7d23067b144bf1f974a829c82521a2c2bb860b70f4818aba09fd8f3fb3692216", "secret"=>"6fdae97724f655299a4926a330ee35fddef2051c0b7f9487879e2a12a9796b45", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a350000c5'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 81", "uid"=>"7d23067b144bf1f974a829c82521a2c2bb860b70f4818aba09fd8f3fb3692216", "secret"=>"6fdae97724f655299a4926a330ee35fddef2051c0b7f9487879e2a12a9796b45", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"660f5e82cbaa424bbb2cc46a0799902a99cb14fd21814c997050ba494220dd80", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000c4')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a350000c4'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000c5'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>24, "token"=>"660f5e82cbaa424bbb2cc46a0799902a99cb14fd21814c997050ba494220dd80", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a350000c4'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000c5'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>24, "token"=>"660f5e82cbaa424bbb2cc46a0799902a99cb14fd21814c997050ba494220dd80", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6223f3541594a350000c4')}, :u=>{"_id"=>BSON::ObjectId('5bb6223f3541594a350000c4'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000c5'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>24, "token"=>"660f5e82cbaa424bbb2cc46a0799902a99cb14fd21814c997050ba494220dd80", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6223f3541594a350000c4')}, {"_id"=>BSON::ObjectId('5bb6223f3541594a350000c4'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000c5'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>24, "token"=>"660f5e82cbaa424bbb2cc46a0799902a99cb14fd21814c997050ba494220dd80", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"294ba24342ae493402f8641d8eca3e963e56cb3e19606e234165d36bad2fa810", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000c6')}}, {:_id=>1}).limit(-1) MONGODB (2.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a350000c6'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 82", "uid"=>"294ba24342ae493402f8641d8eca3e963e56cb3e19606e234165d36bad2fa810", "secret"=>"1a05b9f9ce6c1564ae3c4d705cc99972d5ce162869929bc2c71337c24f9a44a6", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (2.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a350000c6'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "name"=>"Application 82", "uid"=>"294ba24342ae493402f8641d8eca3e963e56cb3e19606e234165d36bad2fa810", "secret"=>"1a05b9f9ce6c1564ae3c4d705cc99972d5ce162869929bc2c71337c24f9a44a6", "redirect_uri"=>"https://app.com/callback"}) MONGODB (5.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"80510745eb08946497c69dbe5358b82af6dd5268a5a821067561369fb6225f57", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000c7')}}, {:_id=>1}).limit(-1) MONGODB (3.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a350000c7'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000c6'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>100, "token"=>"80510745eb08946497c69dbe5358b82af6dd5268a5a821067561369fb6225f57", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (3.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a350000c7'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000c6'), "created_at"=>2018-10-04 14:22:55 UTC, "updated_at"=>2018-10-04 14:22:55 UTC, "resource_owner_id"=>100, "token"=>"80510745eb08946497c69dbe5358b82af6dd5268a5a821067561369fb6225f57", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6223f3541594a350000c6'), :resource_owner_id=>100, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.1ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8f4efc25a0f08212d125aec15023f0ed1c124676c330fc5ad0e58db89dd76c93", :_id=>{:$ne=>BSON::ObjectId('5bb6223f3541594a350000c8')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6223f3541594a350000c8'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 83", "uid"=>"8f4efc25a0f08212d125aec15023f0ed1c124676c330fc5ad0e58db89dd76c93", "secret"=>"0943445fabbe04fb1e45f85f9721e39b9785ba16012dcc709cdee1afe19b756a", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6223f3541594a350000c8'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 83", "uid"=>"8f4efc25a0f08212d125aec15023f0ed1c124676c330fc5ad0e58db89dd76c93", "secret"=>"0943445fabbe04fb1e45f85f9721e39b9785ba16012dcc709cdee1afe19b756a", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d3bdc60549668046f99f771aad55d71a88ccbefecb984b173adb86bc23ce6d97", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000c9')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000c9'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000c8'), "created_at"=>2018-10-03 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>100, "token"=>"d3bdc60549668046f99f771aad55d71a88ccbefecb984b173adb86bc23ce6d97", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000c9'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000c8'), "created_at"=>2018-10-03 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>100, "token"=>"d3bdc60549668046f99f771aad55d71a88ccbefecb984b173adb86bc23ce6d97", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e241f66fc9ef243eea8a2dfdb95fe6d1a37570bc10ea54945a4422115d0b3b5a", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000ca')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000ca'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000c8'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>100, "token"=>"e241f66fc9ef243eea8a2dfdb95fe6d1a37570bc10ea54945a4422115d0b3b5a", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000ca'), "application_id"=>BSON::ObjectId('5bb6223f3541594a350000c8'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>100, "token"=>"e241f66fc9ef243eea8a2dfdb95fe6d1a37570bc10ea54945a4422115d0b3b5a", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6223f3541594a350000c8'), :resource_owner_id=>100, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3b9f11f4224093cb4d1519d8decd968e9843fd5e237de085e9d022843a81fb52", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000cb')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000cb'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 84", "uid"=>"3b9f11f4224093cb4d1519d8decd968e9843fd5e237de085e9d022843a81fb52", "secret"=>"7747002600016ff427f1c2e287004325de53a6a8d3111975eaa51a587a5b057f", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000cb'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 84", "uid"=>"3b9f11f4224093cb4d1519d8decd968e9843fd5e237de085e9d022843a81fb52", "secret"=>"7747002600016ff427f1c2e287004325de53a6a8d3111975eaa51a587a5b057f", "redirect_uri"=>"https://app.com/callback"}) MONGODB (2.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"0241f8a693cb2cd8335056339f2d1ee5a59660ce98f87e070fa3034c14af2dfb", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000cc')}}, {:_id=>1}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000cc'), "application_id"=>BSON::ObjectId('5bb622403541594a350000cb'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>100, "token"=>"0241f8a693cb2cd8335056339f2d1ee5a59660ce98f87e070fa3034c14af2dfb", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000cc'), "application_id"=>BSON::ObjectId('5bb622403541594a350000cb'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>100, "token"=>"0241f8a693cb2cd8335056339f2d1ee5a59660ce98f87e070fa3034c14af2dfb", "expires_in"=>7200, "scopes"=>"public"}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622403541594a350000cb'), :resource_owner_id=>100, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"170ac1d7d041f94c7f3a099efbf65d2fe9db9a9a96b43c1435c4f3b7bc50c3b2", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000cd')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000cd'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 85", "uid"=>"170ac1d7d041f94c7f3a099efbf65d2fe9db9a9a96b43c1435c4f3b7bc50c3b2", "secret"=>"a7c6767dc348ba674be6226c760037b38890b62917ab9a1fdbf91eea21ea8c61", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000cd'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 85", "uid"=>"170ac1d7d041f94c7f3a099efbf65d2fe9db9a9a96b43c1435c4f3b7bc50c3b2", "secret"=>"a7c6767dc348ba674be6226c760037b38890b62917ab9a1fdbf91eea21ea8c61", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"23f1ec596ded003d1df2fd5989d76586baba60c94083e4b6164d7869ef550dee", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000ce')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000ce'), "application_id"=>BSON::ObjectId('5bb622403541594a350000cd'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>2, "token"=>"23f1ec596ded003d1df2fd5989d76586baba60c94083e4b6164d7869ef550dee", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000ce'), "application_id"=>BSON::ObjectId('5bb622403541594a350000cd'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>2, "token"=>"23f1ec596ded003d1df2fd5989d76586baba60c94083e4b6164d7869ef550dee", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622403541594a350000cd'), :resource_owner_id=>100, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"644531c0b0ab22db01f9a6ae85a6c2484987bdbb9c2cb51e6a4a31cfe7fa6406", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000cf')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000cf'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 86", "uid"=>"644531c0b0ab22db01f9a6ae85a6c2484987bdbb9c2cb51e6a4a31cfe7fa6406", "secret"=>"2e5b14e236b7343616fdb30255d78112803f5611a4cac567722f889c2b0ece20", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000cf'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 86", "uid"=>"644531c0b0ab22db01f9a6ae85a6c2484987bdbb9c2cb51e6a4a31cfe7fa6406", "secret"=>"2e5b14e236b7343616fdb30255d78112803f5611a4cac567722f889c2b0ece20", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"8455abc7fa2b52c3eb26ffe2f0cfe092de4cb2eb7335196f334429bf027c329e", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000d0')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000d0'), "application_id"=>BSON::ObjectId('5bb622403541594a350000cf'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>100, "token"=>"8455abc7fa2b52c3eb26ffe2f0cfe092de4cb2eb7335196f334429bf027c329e", "expires_in"=>7200, "scopes"=>"public email"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000d0'), "application_id"=>BSON::ObjectId('5bb622403541594a350000cf'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>100, "token"=>"8455abc7fa2b52c3eb26ffe2f0cfe092de4cb2eb7335196f334429bf027c329e", "expires_in"=>7200, "scopes"=>"public email"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622403541594a350000cf'), :resource_owner_id=>100, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"856eaa8ef0075647903f01100dd02a95d067b5a7ec6d9258a4534a08c91a415e", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000d1')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000d1'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 87", "uid"=>"856eaa8ef0075647903f01100dd02a95d067b5a7ec6d9258a4534a08c91a415e", "secret"=>"b9ea198e45a048c6780fcc278d786b75829425bd4154bb2058cd8ddc726acb68", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000d1'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 87", "uid"=>"856eaa8ef0075647903f01100dd02a95d067b5a7ec6d9258a4534a08c91a415e", "secret"=>"b9ea198e45a048c6780fcc278d786b75829425bd4154bb2058cd8ddc726acb68", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"08a3b06341dcf582d51cea36a31406bfb8c69544419a8275b33ff219c0b8fa9f", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000d2')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000d2'), "application_id"=>BSON::ObjectId('5bb622403541594a350000d1'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>100, "token"=>"08a3b06341dcf582d51cea36a31406bfb8c69544419a8275b33ff219c0b8fa9f", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000d2'), "application_id"=>BSON::ObjectId('5bb622403541594a350000d1'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>100, "token"=>"08a3b06341dcf582d51cea36a31406bfb8c69544419a8275b33ff219c0b8fa9f", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"eae7e733599702e5254240660ae68a3178718dc79ce740f3ca52edcf4d77d331", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000d3')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000d3'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 88", "uid"=>"eae7e733599702e5254240660ae68a3178718dc79ce740f3ca52edcf4d77d331", "secret"=>"02aa113f3f2901b5385bba3745ffc32760c81c4aa1e0e108a2c6434aa2e2017d", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000d3'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 88", "uid"=>"eae7e733599702e5254240660ae68a3178718dc79ce740f3ca52edcf4d77d331", "secret"=>"02aa113f3f2901b5385bba3745ffc32760c81c4aa1e0e108a2c6434aa2e2017d", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"22284a7751b463f10e89dd1a923aa0ed9a45798bab5bf72cf875581ee1f899d7", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000d4')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000d4'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 89", "uid"=>"22284a7751b463f10e89dd1a923aa0ed9a45798bab5bf72cf875581ee1f899d7", "secret"=>"6a212931c8570ae34869ece0fbe1ccd20ce344ad40c626e96327676d899ea00f", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000d4'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 89", "uid"=>"22284a7751b463f10e89dd1a923aa0ed9a45798bab5bf72cf875581ee1f899d7", "secret"=>"6a212931c8570ae34869ece0fbe1ccd20ce344ad40c626e96327676d899ea00f", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"253546f9721cdb012f64b9b25186a4a0db3138e9c2f7f17a61b6f1a6d3de0538", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000d5')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000d5'), "application_id"=>BSON::ObjectId('5bb622403541594a350000d4'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>100, "token"=>"253546f9721cdb012f64b9b25186a4a0db3138e9c2f7f17a61b6f1a6d3de0538", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000d5'), "application_id"=>BSON::ObjectId('5bb622403541594a350000d4'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>100, "token"=>"253546f9721cdb012f64b9b25186a4a0db3138e9c2f7f17a61b6f1a6d3de0538", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622403541594a350000d3'), :resource_owner_id=>100, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"dfb164946a552134513502f0fe689401f84db0f39c2ccb0b4dd80f51ae3d3a3f", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000d6')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000d6'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 90", "uid"=>"dfb164946a552134513502f0fe689401f84db0f39c2ccb0b4dd80f51ae3d3a3f", "secret"=>"36340fed95fc5a7855ca3db35ea2704209e0fb21653ff89a1b712995b31f5b54", "redirect_uri"=>"https://app.com/callback", "scopes"=>"private read"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000d6'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 90", "uid"=>"dfb164946a552134513502f0fe689401f84db0f39c2ccb0b4dd80f51ae3d3a3f", "secret"=>"36340fed95fc5a7855ca3db35ea2704209e0fb21653ff89a1b712995b31f5b54", "redirect_uri"=>"https://app.com/callback", "scopes"=>"private read"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6ce961d9586df17be12bc860e0870740c132635099c0606a91ca9041375d0fa0", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000d7')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000d7'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 91", "uid"=>"6ce961d9586df17be12bc860e0870740c132635099c0606a91ca9041375d0fa0", "secret"=>"2d49727ddcbffc5fbf8b8f2c133878b21fdfb5d5c8a5cda50ca78ccbb8fdd4db", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000d7'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 91", "uid"=>"6ce961d9586df17be12bc860e0870740c132635099c0606a91ca9041375d0fa0", "secret"=>"2d49727ddcbffc5fbf8b8f2c133878b21fdfb5d5c8a5cda50ca78ccbb8fdd4db", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"4e541d1f0793c0e00e2759486a0742731234911a2eeac063d936f6038678ced6", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000d8')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000d8'), "application_id"=>BSON::ObjectId('5bb622403541594a350000d6'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>100, "token"=>"4e541d1f0793c0e00e2759486a0742731234911a2eeac063d936f6038678ced6", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000d8'), "application_id"=>BSON::ObjectId('5bb622403541594a350000d6'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>100, "token"=>"4e541d1f0793c0e00e2759486a0742731234911a2eeac063d936f6038678ced6", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622403541594a350000d6'), :resource_owner_id=>100, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"9ae954f824cf99020bb82d583b4147c14611dbbb90b40f283af7694e41fb330a", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000d9')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000d9'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 92", "uid"=>"9ae954f824cf99020bb82d583b4147c14611dbbb90b40f283af7694e41fb330a", "secret"=>"2c4b66c086447093d21b5745e0eb3354a49f16e800e24192dd168512716f0a14", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000d9'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 92", "uid"=>"9ae954f824cf99020bb82d583b4147c14611dbbb90b40f283af7694e41fb330a", "secret"=>"2c4b66c086447093d21b5745e0eb3354a49f16e800e24192dd168512716f0a14", "redirect_uri"=>"https://app.com/callback"}) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"01f2680678fe03e744d965662441e1fa9e6554359deec3e3eeb8047d11e503e7", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000da')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000da'), "application_id"=>BSON::ObjectId('5bb622403541594a350000d9'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>nil, "token"=>"01f2680678fe03e744d965662441e1fa9e6554359deec3e3eeb8047d11e503e7", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000da'), "application_id"=>BSON::ObjectId('5bb622403541594a350000d9'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>nil, "token"=>"01f2680678fe03e744d965662441e1fa9e6554359deec3e3eeb8047d11e503e7", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622403541594a350000d9'), :resource_owner_id=>nil, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0872e3c1c715057a0ef8c4c4e96ce2e1220721841233e98a1541ae118b4effaf", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000db')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000db'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 93", "uid"=>"0872e3c1c715057a0ef8c4c4e96ce2e1220721841233e98a1541ae118b4effaf", "secret"=>"2f22a03d1610e24c5d9df7ab5e0d341d1520bf72a0330bdffcc75d3200acea8d", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000db'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 93", "uid"=>"0872e3c1c715057a0ef8c4c4e96ce2e1220721841233e98a1541ae118b4effaf", "secret"=>"2f22a03d1610e24c5d9df7ab5e0d341d1520bf72a0330bdffcc75d3200acea8d", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"a80cb6148d208ab2993cd8a1bbf5c62af227d9671a59d65b2c664c8d9ea970ed", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000dc')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000dc'), "application_id"=>BSON::ObjectId('5bb622403541594a350000db'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>100, "token"=>"a80cb6148d208ab2993cd8a1bbf5c62af227d9671a59d65b2c664c8d9ea970ed", "expires_in"=>7200, "revoked_at"=>2018-10-03 00:00:00 UTC, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000dc'), "application_id"=>BSON::ObjectId('5bb622403541594a350000db'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>100, "token"=>"a80cb6148d208ab2993cd8a1bbf5c62af227d9671a59d65b2c664c8d9ea970ed", "expires_in"=>7200, "revoked_at"=>2018-10-03 00:00:00 UTC, "scopes"=>"public write"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622403541594a350000db'), :resource_owner_id=>100, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b81bc177fc3a9a85bb4e2b9fb438e2e29864c43913cde2d0d6812ada9acca879", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000dd')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000dd'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 94", "uid"=>"b81bc177fc3a9a85bb4e2b9fb438e2e29864c43913cde2d0d6812ada9acca879", "secret"=>"3460e0a8d66f4c8ce909e17d978ac2d33f2b579e82d5997474856946d9a23a88", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000dd'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 94", "uid"=>"b81bc177fc3a9a85bb4e2b9fb438e2e29864c43913cde2d0d6812ada9acca879", "secret"=>"3460e0a8d66f4c8ce909e17d978ac2d33f2b579e82d5997474856946d9a23a88", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"3a0a2b04c45eeaaaa5712c151992338a9cfa817d19177b2a7c125684c9f51774", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000de')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000de'), "application_id"=>BSON::ObjectId('5bb622403541594a350000dd'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>100, "token"=>"3a0a2b04c45eeaaaa5712c151992338a9cfa817d19177b2a7c125684c9f51774", "expires_in"=>7200, "scopes"=>"public write email"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000de'), "application_id"=>BSON::ObjectId('5bb622403541594a350000dd'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>100, "token"=>"3a0a2b04c45eeaaaa5712c151992338a9cfa817d19177b2a7c125684c9f51774", "expires_in"=>7200, "scopes"=>"public write email"}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622403541594a350000dd'), :resource_owner_id=>100, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ae0818cf3e1e8f40826f53fafcc5e3166d547477996eb85d1d6b3a4ea39afbc1", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000df')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000df'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 95", "uid"=>"ae0818cf3e1e8f40826f53fafcc5e3166d547477996eb85d1d6b3a4ea39afbc1", "secret"=>"363f5c9da2bc4445b66d2cf74382ae5b002834b56d98277affafd55720390be0", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000df'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 95", "uid"=>"ae0818cf3e1e8f40826f53fafcc5e3166d547477996eb85d1d6b3a4ea39afbc1", "secret"=>"363f5c9da2bc4445b66d2cf74382ae5b002834b56d98277affafd55720390be0", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"a1fe1ee5142b828c27f2567b68cc58b7f80e1973b5760be4c0210c1b826d3a92", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000e0')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000e0'), "application_id"=>BSON::ObjectId('5bb622403541594a350000df'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>100, "token"=>"a1fe1ee5142b828c27f2567b68cc58b7f80e1973b5760be4c0210c1b826d3a92", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000e0'), "application_id"=>BSON::ObjectId('5bb622403541594a350000df'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>100, "token"=>"a1fe1ee5142b828c27f2567b68cc58b7f80e1973b5760be4c0210c1b826d3a92", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622403541594a350000df'), :resource_owner_id=>100, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"bda63b148eb1f4698d15b2b8f0d716a53b66eb996621c1a452b8d4927a40b0b9", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000e2')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000e2'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 96", "uid"=>"bda63b148eb1f4698d15b2b8f0d716a53b66eb996621c1a452b8d4927a40b0b9", "secret"=>"a77c06f230245198f20481ed05d73f6853b2a3ac5725d8242a45ee6434cec31d", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000e2'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 96", "uid"=>"bda63b148eb1f4698d15b2b8f0d716a53b66eb996621c1a452b8d4927a40b0b9", "secret"=>"a77c06f230245198f20481ed05d73f6853b2a3ac5725d8242a45ee6434cec31d", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6e5d9fe90eb1f642b65bb2d65fc4ad436bc4e0886e7cb864e2759a8f117742b4", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000e4')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000e4'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 97", "uid"=>"6e5d9fe90eb1f642b65bb2d65fc4ad436bc4e0886e7cb864e2759a8f117742b4", "secret"=>"58098472b0f97b765e11dd8620ad5a39d69a2572f9eb67f0dfc2648b683df7fb", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000e4'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 97", "uid"=>"6e5d9fe90eb1f642b65bb2d65fc4ad436bc4e0886e7cb864e2759a8f117742b4", "secret"=>"58098472b0f97b765e11dd8620ad5a39d69a2572f9eb67f0dfc2648b683df7fb", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"92c67bfd0072f4b6a63ff4cc62470a77f8579787ea611b6a1b2ad5973ff594f1", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000e6')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000e6'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 98", "uid"=>"92c67bfd0072f4b6a63ff4cc62470a77f8579787ea611b6a1b2ad5973ff594f1", "secret"=>"6ea4f1232dc24530390bf612efb75e6e88c1334dbf8acc60b545a2798b6ec9e0", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000e6'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 98", "uid"=>"92c67bfd0072f4b6a63ff4cc62470a77f8579787ea611b6a1b2ad5973ff594f1", "secret"=>"6ea4f1232dc24530390bf612efb75e6e88c1334dbf8acc60b545a2798b6ec9e0", "redirect_uri"=>"https://app.com/callback"}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"aeb2447b7c971c8a20a5d706a962102189e2ba06080f42273f769b7f97bb0d71", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000e5')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8cfb52549194ed9c8f1f686affb1bd4fbeb26757b6edb5d4413401e3709474a6", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000e8')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000e8'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 99", "uid"=>"8cfb52549194ed9c8f1f686affb1bd4fbeb26757b6edb5d4413401e3709474a6", "secret"=>"8ab7a1e7a28ffb1d24242e84f071e961660c17ca274cb79922a2db7d17f4b34c", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000e8'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 99", "uid"=>"8cfb52549194ed9c8f1f686affb1bd4fbeb26757b6edb5d4413401e3709474a6", "secret"=>"8ab7a1e7a28ffb1d24242e84f071e961660c17ca274cb79922a2db7d17f4b34c", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"a2050bc99f7f3da04b33ff12f9ce1359ff1746d85f555b8c14fe9d1995457ae9", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000e7')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000e7'), "application_id"=>BSON::ObjectId('5bb622403541594a350000e8'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>28, "token"=>"a2050bc99f7f3da04b33ff12f9ce1359ff1746d85f555b8c14fe9d1995457ae9", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000e7'), "application_id"=>BSON::ObjectId('5bb622403541594a350000e8'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>28, "token"=>"a2050bc99f7f3da04b33ff12f9ce1359ff1746d85f555b8c14fe9d1995457ae9", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d29b51b26f119b6edb68de2ea04ecc418394710805e73c91927995c634b67c68", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000ea')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000ea'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 100", "uid"=>"d29b51b26f119b6edb68de2ea04ecc418394710805e73c91927995c634b67c68", "secret"=>"72cc80379523d91329b02f2fc5e916fa28f4c5e8eec6ae2f3380549d42ddb327", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000ea'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 100", "uid"=>"d29b51b26f119b6edb68de2ea04ecc418394710805e73c91927995c634b67c68", "secret"=>"72cc80379523d91329b02f2fc5e916fa28f4c5e8eec6ae2f3380549d42ddb327", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"b7a35ae3e1b82bf367ab2093466b7b37f27d9c718875d8e115c1a23e5485e016", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000e9')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000e9'), "application_id"=>BSON::ObjectId('5bb622403541594a350000ea'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>29, "token"=>"b7a35ae3e1b82bf367ab2093466b7b37f27d9c718875d8e115c1a23e5485e016", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000e9'), "application_id"=>BSON::ObjectId('5bb622403541594a350000ea'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>29, "token"=>"b7a35ae3e1b82bf367ab2093466b7b37f27d9c718875d8e115c1a23e5485e016", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"a2050bc99f7f3da04b33ff12f9ce1359ff1746d85f555b8c14fe9d1995457ae9", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000e9')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"abe012f43b2c8ad948dbf4687a5a6ec3f95e95bc60610207d053fb3923e03306", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000ec')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000ec'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 101", "uid"=>"abe012f43b2c8ad948dbf4687a5a6ec3f95e95bc60610207d053fb3923e03306", "secret"=>"cb0867594181fcd2dee93fffd4e30dae9442e7a2ae57d95024d0743dce58829c", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000ec'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 101", "uid"=>"abe012f43b2c8ad948dbf4687a5a6ec3f95e95bc60610207d053fb3923e03306", "secret"=>"cb0867594181fcd2dee93fffd4e30dae9442e7a2ae57d95024d0743dce58829c", "redirect_uri"=>"https://app.com/callback"}) MONGODB (2.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"aa95047479c699961bc2e42492ffccb56c3e599686e6c9751bb3fae5fafb5df5", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000eb')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000eb'), "application_id"=>BSON::ObjectId('5bb622403541594a350000ec'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>30, "token"=>"aa95047479c699961bc2e42492ffccb56c3e599686e6c9751bb3fae5fafb5df5", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000eb'), "application_id"=>BSON::ObjectId('5bb622403541594a350000ec'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>30, "token"=>"aa95047479c699961bc2e42492ffccb56c3e599686e6c9751bb3fae5fafb5df5", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1a9238268544f4b6b16bf56e05bb6d669efcd3acedfe35143a36b1cdcf97375c", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000ee')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000ee'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 102", "uid"=>"1a9238268544f4b6b16bf56e05bb6d669efcd3acedfe35143a36b1cdcf97375c", "secret"=>"c3ff87a7368f776a73257d077938a0a9c99922ad9adb844546c941616d1e82b6", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000ee'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 102", "uid"=>"1a9238268544f4b6b16bf56e05bb6d669efcd3acedfe35143a36b1cdcf97375c", "secret"=>"c3ff87a7368f776a73257d077938a0a9c99922ad9adb844546c941616d1e82b6", "redirect_uri"=>"https://app.com/callback"}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"8036d32ee7b9ca654268f38223650d0165275f98c44848df434b4377572b72d8", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000ed')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000ed'), "application_id"=>BSON::ObjectId('5bb622403541594a350000ee'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>31, "token"=>"8036d32ee7b9ca654268f38223650d0165275f98c44848df434b4377572b72d8", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000ed'), "application_id"=>BSON::ObjectId('5bb622403541594a350000ee'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>31, "token"=>"8036d32ee7b9ca654268f38223650d0165275f98c44848df434b4377572b72d8", "expires_in"=>7200}) MONGODB (2.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"aa95047479c699961bc2e42492ffccb56c3e599686e6c9751bb3fae5fafb5df5", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000ed')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3511b3be21903d96d3bee28ae9527491732a66ce92f76badfdb5b9d68828ede8", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000f0')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000f0'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 103", "uid"=>"3511b3be21903d96d3bee28ae9527491732a66ce92f76badfdb5b9d68828ede8", "secret"=>"2addc66f12cab1834f43aff8aee2ea72d8795b5308ad20576926ec586024f83d", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000f0'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 103", "uid"=>"3511b3be21903d96d3bee28ae9527491732a66ce92f76badfdb5b9d68828ede8", "secret"=>"2addc66f12cab1834f43aff8aee2ea72d8795b5308ad20576926ec586024f83d", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e0f6bf5e9557b4302b374d726a9a72c0f0897ecf700b0467f95512ba121eab26", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000ef')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000ef'), "application_id"=>BSON::ObjectId('5bb622403541594a350000f0'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>32, "token"=>"e0f6bf5e9557b4302b374d726a9a72c0f0897ecf700b0467f95512ba121eab26", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000ef'), "application_id"=>BSON::ObjectId('5bb622403541594a350000f0'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>32, "token"=>"e0f6bf5e9557b4302b374d726a9a72c0f0897ecf700b0467f95512ba121eab26", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b56bfe8a81c8784946d7ed8095ea530002ec316cc0abe815751596ad4e12df08", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000f2')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000f2'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 104", "uid"=>"b56bfe8a81c8784946d7ed8095ea530002ec316cc0abe815751596ad4e12df08", "secret"=>"293e5185f49206bad7b2248c1e9d4eb7cccf3abb024f2b59dd55053a033a82a5", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000f2'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 104", "uid"=>"b56bfe8a81c8784946d7ed8095ea530002ec316cc0abe815751596ad4e12df08", "secret"=>"293e5185f49206bad7b2248c1e9d4eb7cccf3abb024f2b59dd55053a033a82a5", "redirect_uri"=>"https://app.com/callback"}) MONGODB (2.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"60095bf0a4868710ab07c57b6efa80165860641e7c46c16dc8c3dfa271e6c212", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000f1')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000f1'), "application_id"=>BSON::ObjectId('5bb622403541594a350000f2'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>33, "token"=>"60095bf0a4868710ab07c57b6efa80165860641e7c46c16dc8c3dfa271e6c212", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000f1'), "application_id"=>BSON::ObjectId('5bb622403541594a350000f2'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>33, "token"=>"60095bf0a4868710ab07c57b6efa80165860641e7c46c16dc8c3dfa271e6c212", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e4df9652e640505f56f30ba680b393d7fdfdb77d5f36e6314f3bdd05de18a941", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000f4')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000f4'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 105", "uid"=>"e4df9652e640505f56f30ba680b393d7fdfdb77d5f36e6314f3bdd05de18a941", "secret"=>"24d0cdb052bc973bedf24c304af3529d3934881ff4d1e6558e342dd6e3e60ed1", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000f4'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 105", "uid"=>"e4df9652e640505f56f30ba680b393d7fdfdb77d5f36e6314f3bdd05de18a941", "secret"=>"24d0cdb052bc973bedf24c304af3529d3934881ff4d1e6558e342dd6e3e60ed1", "redirect_uri"=>"https://app.com/callback"}) MONGODB (5.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"91033fdfc10390e3a8df49715695a2fc9c4450b60e5f3b73209ea5a63106d477", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000f3')}}, {:_id=>1}).limit(-1) MONGODB (2.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000f3'), "application_id"=>BSON::ObjectId('5bb622403541594a350000f4'), "created_at"=>2018-10-04 08:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>34, "token"=>"91033fdfc10390e3a8df49715695a2fc9c4450b60e5f3b73209ea5a63106d477", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (2.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000f3'), "application_id"=>BSON::ObjectId('5bb622403541594a350000f4'), "created_at"=>2018-10-04 08:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>34, "token"=>"91033fdfc10390e3a8df49715695a2fc9c4450b60e5f3b73209ea5a63106d477", "expires_in"=>7200}) MONGODB (4.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (2.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (3.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (3.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"dc5f6e24c4fb811d3082ede05c0ac0c2c570a0d95f28218a3bb5ccbcb89f49ed", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000f5')}}, {:_id=>1}).limit(-1) MONGODB (4.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000f5'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 106", "uid"=>"dc5f6e24c4fb811d3082ede05c0ac0c2c570a0d95f28218a3bb5ccbcb89f49ed", "secret"=>"5e9c04ab76fc0923f06d9bd7bdb1935316a836ce297957e1691e1f00ba4960d5", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (4.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000f5'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 106", "uid"=>"dc5f6e24c4fb811d3082ede05c0ac0c2c570a0d95f28218a3bb5ccbcb89f49ed", "secret"=>"5e9c04ab76fc0923f06d9bd7bdb1935316a836ce297957e1691e1f00ba4960d5", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000f6'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000f6'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:22:56 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:22:56 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:22:56 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=dc5f6e24c4fb811d3082ede05c0ac0c2c570a0d95f28218a3bb5ccbcb89f49ed&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=token" for 127.0.0.1 at 2018-10-04 17:22:56 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"dc5f6e24c4fb811d3082ede05c0ac0c2c570a0d95f28218a3bb5ccbcb89f49ed", "redirect_uri"=>"https://app.com/callback", "response_type"=>"token"} MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"dc5f6e24c4fb811d3082ede05c0ac0c2c570a0d95f28218a3bb5ccbcb89f49ed"}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622403541594a350000f5'), :resource_owner_id=>BSON::ObjectId('5bb622403541594a350000f6'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.1ms) Completed 200 OK in 14ms (Views: 2.7ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:22:56 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"dc5f6e24c4fb811d3082ede05c0ac0c2c570a0d95f28218a3bb5ccbcb89f49ed", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"token", "scope"=>"", "commit"=>"Authorize"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"dc5f6e24c4fb811d3082ede05c0ac0c2c570a0d95f28218a3bb5ccbcb89f49ed"}).limit(-1) MONGODB (7.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622403541594a350000f5')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e49b063c671aede32b55af9d122c153192fbf03543f399320f567b49e15d3ed4", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000f7')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000f7'), "application_id"=>BSON::ObjectId('5bb622403541594a350000f5'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622403541594a350000f6'), "token"=>"e49b063c671aede32b55af9d122c153192fbf03543f399320f567b49e15d3ed4", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000f7'), "application_id"=>BSON::ObjectId('5bb622403541594a350000f5'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622403541594a350000f6'), "token"=>"e49b063c671aede32b55af9d122c153192fbf03543f399320f567b49e15d3ed4", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=e49b063c671aede32b55af9d122c153192fbf03543f399320f567b49e15d3ed4&token_type=Bearer&expires_in=7200 Completed 302 Found in 14ms (ActiveRecord: 0.0ms) Started GET "/callback" for 127.0.0.1 at 2018-10-04 17:22:56 +0300 Processing by HomeController#callback as HTML Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622403541594a350000f5')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (9.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (9.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d24cd200490c5b2e9aee368016e0b5a5c6fb01f5934d332eaae6964461fe5ba6", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000f8')}}, {:_id=>1}).limit(-1) MONGODB (3.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000f8'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 107", "uid"=>"d24cd200490c5b2e9aee368016e0b5a5c6fb01f5934d332eaae6964461fe5ba6", "secret"=>"e61c04ffd73d486878d3b14e4f5daac7ea7862529d6b005c881cf71904b9adf8", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (3.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000f8'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 107", "uid"=>"d24cd200490c5b2e9aee368016e0b5a5c6fb01f5934d332eaae6964461fe5ba6", "secret"=>"e61c04ffd73d486878d3b14e4f5daac7ea7862529d6b005c881cf71904b9adf8", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622403541594a350000f8')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"1679e003557d3889d9502e5d43467767ad7f98a865c4585fa219b0704340acc3", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000f9')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000f9'), "application_id"=>BSON::ObjectId('5bb622403541594a350000f8'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>nil, "token"=>"1679e003557d3889d9502e5d43467767ad7f98a865c4585fa219b0704340acc3", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000f9'), "application_id"=>BSON::ObjectId('5bb622403541594a350000f8'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>nil, "token"=>"1679e003557d3889d9502e5d43467767ad7f98a865c4585fa219b0704340acc3", "expires_in"=>7200, "scopes"=>""}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"732c230b57ffc4556ed1739d97bd98d94e638fa540d6e4a7fdd033b0664e2adc", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000fa')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000fa'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 108", "uid"=>"732c230b57ffc4556ed1739d97bd98d94e638fa540d6e4a7fdd033b0664e2adc", "secret"=>"319ac5bb1e47559f64c7971159e6f39f7cf028f623c33f4750292049dc64b8ae", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000fa'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 108", "uid"=>"732c230b57ffc4556ed1739d97bd98d94e638fa540d6e4a7fdd033b0664e2adc", "secret"=>"319ac5bb1e47559f64c7971159e6f39f7cf028f623c33f4750292049dc64b8ae", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000fb'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"John", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000fb'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"John", "password"=>"sekret"}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"fb3f6a21acc193d36378d98c975a01808682d996678a0bc715d6819af5041282", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000fc')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"eda915eaec3ee91c7772de404550bb8e8d40992cafec4ba230e917b946993ab3", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000fc')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000fc'), "application_id"=>BSON::ObjectId('5bb622403541594a350000fa'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622403541594a350000fb'), "token"=>"fb3f6a21acc193d36378d98c975a01808682d996678a0bc715d6819af5041282", "refresh_token"=>"eda915eaec3ee91c7772de404550bb8e8d40992cafec4ba230e917b946993ab3", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000fc'), "application_id"=>BSON::ObjectId('5bb622403541594a350000fa'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622403541594a350000fb'), "token"=>"fb3f6a21acc193d36378d98c975a01808682d996678a0bc715d6819af5041282", "refresh_token"=>"eda915eaec3ee91c7772de404550bb8e8d40992cafec4ba230e917b946993ab3", "expires_in"=>7200}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:22:56 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"fb3f6a21acc193d36378d98c975a01808682d996678a0bc715d6819af5041282"} MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"fb3f6a21acc193d36378d98c975a01808682d996678a0bc715d6819af5041282"}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622403541594a350000fa')}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622403541594a350000fc')}, :u=>{"_id"=>BSON::ObjectId('5bb622403541594a350000fc'), "application_id"=>BSON::ObjectId('5bb622403541594a350000fa'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622403541594a350000fb'), "token"=>"fb3f6a21acc193d36378d98c975a01808682d996678a0bc715d6819af5041282", "refresh_token"=>"eda915eaec3ee91c7772de404550bb8e8d40992cafec4ba230e917b946993ab3", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (2.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622403541594a350000fc')}, {"_id"=>BSON::ObjectId('5bb622403541594a350000fc'), "application_id"=>BSON::ObjectId('5bb622403541594a350000fa'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622403541594a350000fb'), "token"=>"fb3f6a21acc193d36378d98c975a01808682d996678a0bc715d6819af5041282", "refresh_token"=>"eda915eaec3ee91c7772de404550bb8e8d40992cafec4ba230e917b946993ab3", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 8ms MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622403541594a350000fc')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e170865c2bffbcf853c4c1383bb98ab572c1f4c0dbe4396dcfc1bb11c9a1ae56", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000fd')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000fd'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 109", "uid"=>"e170865c2bffbcf853c4c1383bb98ab572c1f4c0dbe4396dcfc1bb11c9a1ae56", "secret"=>"ee44f53866f4e63ad30af91aefbba34e2dcd047a3edb945e39e7e948e54c4b7c", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000fd'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 109", "uid"=>"e170865c2bffbcf853c4c1383bb98ab572c1f4c0dbe4396dcfc1bb11c9a1ae56", "secret"=>"ee44f53866f4e63ad30af91aefbba34e2dcd047a3edb945e39e7e948e54c4b7c", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000fe'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"John", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000fe'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"John", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"108508d4d67e268dc53440bc53cb0e4d51c91a8a977cd6aa3716e424abe1b4a7", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000ff')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"766154b45c277ffe3d3d16e40f8e287be44bc040342536c1120ff79c37030ab5", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a350000ff')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a350000ff'), "application_id"=>BSON::ObjectId('5bb622403541594a350000fd'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622403541594a350000fe'), "token"=>"108508d4d67e268dc53440bc53cb0e4d51c91a8a977cd6aa3716e424abe1b4a7", "refresh_token"=>"766154b45c277ffe3d3d16e40f8e287be44bc040342536c1120ff79c37030ab5", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622403541594a350000ff'), "application_id"=>BSON::ObjectId('5bb622403541594a350000fd'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622403541594a350000fe'), "token"=>"108508d4d67e268dc53440bc53cb0e4d51c91a8a977cd6aa3716e424abe1b4a7", "refresh_token"=>"766154b45c277ffe3d3d16e40f8e287be44bc040342536c1120ff79c37030ab5", "expires_in"=>7200}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:22:56 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"766154b45c277ffe3d3d16e40f8e287be44bc040342536c1120ff79c37030ab5"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"766154b45c277ffe3d3d16e40f8e287be44bc040342536c1120ff79c37030ab5"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"766154b45c277ffe3d3d16e40f8e287be44bc040342536c1120ff79c37030ab5"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622403541594a350000fd')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622403541594a350000ff')}, :u=>{"_id"=>BSON::ObjectId('5bb622403541594a350000ff'), "application_id"=>BSON::ObjectId('5bb622403541594a350000fd'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622403541594a350000fe'), "token"=>"108508d4d67e268dc53440bc53cb0e4d51c91a8a977cd6aa3716e424abe1b4a7", "refresh_token"=>"766154b45c277ffe3d3d16e40f8e287be44bc040342536c1120ff79c37030ab5", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622403541594a350000ff')}, {"_id"=>BSON::ObjectId('5bb622403541594a350000ff'), "application_id"=>BSON::ObjectId('5bb622403541594a350000fd'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622403541594a350000fe'), "token"=>"108508d4d67e268dc53440bc53cb0e4d51c91a8a977cd6aa3716e424abe1b4a7", "refresh_token"=>"766154b45c277ffe3d3d16e40f8e287be44bc040342536c1120ff79c37030ab5", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 4ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622403541594a350000ff')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c864971bd34c802fe863dc4057bc7fbcd966c6982f3eba3aa9e965c92f74cd43", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a35000100')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a35000100'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 110", "uid"=>"c864971bd34c802fe863dc4057bc7fbcd966c6982f3eba3aa9e965c92f74cd43", "secret"=>"589709288c97f47c78078d1ae5401a851a6e4cf8f1f8207550b4c376614bdeec", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622403541594a35000100'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 110", "uid"=>"c864971bd34c802fe863dc4057bc7fbcd966c6982f3eba3aa9e965c92f74cd43", "secret"=>"589709288c97f47c78078d1ae5401a851a6e4cf8f1f8207550b4c376614bdeec", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a35000101'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"John", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622403541594a35000101'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"John", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e9610f9f12d75a9b94d40572aa30fa9b70eb3fd17cc78d88b159c6b97d147dbf", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a35000102')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"4a58a7ac201960e2113c625253792fbf8c5b27bb65c73fc41f4eac3376fa4bfd", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a35000102')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a35000102'), "application_id"=>BSON::ObjectId('5bb622403541594a35000100'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622403541594a35000101'), "token"=>"e9610f9f12d75a9b94d40572aa30fa9b70eb3fd17cc78d88b159c6b97d147dbf", "refresh_token"=>"4a58a7ac201960e2113c625253792fbf8c5b27bb65c73fc41f4eac3376fa4bfd", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622403541594a35000102'), "application_id"=>BSON::ObjectId('5bb622403541594a35000100'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622403541594a35000101'), "token"=>"e9610f9f12d75a9b94d40572aa30fa9b70eb3fd17cc78d88b159c6b97d147dbf", "refresh_token"=>"4a58a7ac201960e2113c625253792fbf8c5b27bb65c73fc41f4eac3376fa4bfd", "expires_in"=>7200}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:22:56 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"e9610f9f12d75a9b94d40572aa30fa9b70eb3fd17cc78d88b159c6b97d147dbf"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e9610f9f12d75a9b94d40572aa30fa9b70eb3fd17cc78d88b159c6b97d147dbf"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622403541594a35000100')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622403541594a35000102')}, :u=>{"_id"=>BSON::ObjectId('5bb622403541594a35000102'), "application_id"=>BSON::ObjectId('5bb622403541594a35000100'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622403541594a35000101'), "token"=>"e9610f9f12d75a9b94d40572aa30fa9b70eb3fd17cc78d88b159c6b97d147dbf", "refresh_token"=>"4a58a7ac201960e2113c625253792fbf8c5b27bb65c73fc41f4eac3376fa4bfd", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622403541594a35000102')}, {"_id"=>BSON::ObjectId('5bb622403541594a35000102'), "application_id"=>BSON::ObjectId('5bb622403541594a35000100'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622403541594a35000101'), "token"=>"e9610f9f12d75a9b94d40572aa30fa9b70eb3fd17cc78d88b159c6b97d147dbf", "refresh_token"=>"4a58a7ac201960e2113c625253792fbf8c5b27bb65c73fc41f4eac3376fa4bfd", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 3ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622403541594a35000102')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{:revoked_at=>nil}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0c78aa992836534aed4558fee4a29831ae288ae452db43d3246c5cb1e660edd2", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a35000103')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a35000103'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 111", "uid"=>"0c78aa992836534aed4558fee4a29831ae288ae452db43d3246c5cb1e660edd2", "secret"=>"7027f156dec957fcacc90318fb9cbb53a60cc8d2e01ffa09aadc782488629d5d", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622403541594a35000103'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 111", "uid"=>"0c78aa992836534aed4558fee4a29831ae288ae452db43d3246c5cb1e660edd2", "secret"=>"7027f156dec957fcacc90318fb9cbb53a60cc8d2e01ffa09aadc782488629d5d", "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:22:56 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"I_AM_AN_INVALID_TOKEN"} MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"I_AM_AN_INVALID_TOKEN"}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"I_AM_AN_INVALID_TOKEN"}).limit(-1) Completed 200 OK in 4ms MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{:revoked_at=>nil}, "fields"=>nil}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"db15e35a308005882cd10c1d9ded2a6e6e47a1d1c38aab3142c3e19c2fb77416", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a35000104')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a35000104'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 112", "uid"=>"db15e35a308005882cd10c1d9ded2a6e6e47a1d1c38aab3142c3e19c2fb77416", "secret"=>"09ec2caa7d1ef22402ec343636e81b5be4c4d6206084e331bf5ca86425bc1253", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622403541594a35000104'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 112", "uid"=>"db15e35a308005882cd10c1d9ded2a6e6e47a1d1c38aab3142c3e19c2fb77416", "secret"=>"09ec2caa7d1ef22402ec343636e81b5be4c4d6206084e331bf5ca86425bc1253", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a35000105'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"John", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622403541594a35000105'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"John", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d6a25723a6e619755b8c9cff0368c707fd591d075a388de982d86b923e3e5aa3", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a35000106')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"80d4c3a0a4f60eae7bed9447e2db2a6d71fb24af0a9bdfbf87033e8792d03518", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a35000106')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a35000106'), "application_id"=>BSON::ObjectId('5bb622403541594a35000104'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622403541594a35000105'), "token"=>"d6a25723a6e619755b8c9cff0368c707fd591d075a388de982d86b923e3e5aa3", "refresh_token"=>"80d4c3a0a4f60eae7bed9447e2db2a6d71fb24af0a9bdfbf87033e8792d03518", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622403541594a35000106'), "application_id"=>BSON::ObjectId('5bb622403541594a35000104'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622403541594a35000105'), "token"=>"d6a25723a6e619755b8c9cff0368c707fd591d075a388de982d86b923e3e5aa3", "refresh_token"=>"80d4c3a0a4f60eae7bed9447e2db2a6d71fb24af0a9bdfbf87033e8792d03518", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"086847b841ea5d798138340efbe793ec32f926fd2cc1a72ca995cf9ed4e19373", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a35000107')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a35000107'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 113", "uid"=>"086847b841ea5d798138340efbe793ec32f926fd2cc1a72ca995cf9ed4e19373", "secret"=>"5dfab9084f045824ee8bb2ae1543a1ae1f2266209f6399c9ef9b20f5687224f8", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622403541594a35000107'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 113", "uid"=>"086847b841ea5d798138340efbe793ec32f926fd2cc1a72ca995cf9ed4e19373", "secret"=>"5dfab9084f045824ee8bb2ae1543a1ae1f2266209f6399c9ef9b20f5687224f8", "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:22:56 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"d6a25723a6e619755b8c9cff0368c707fd591d075a388de982d86b923e3e5aa3"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d6a25723a6e619755b8c9cff0368c707fd591d075a388de982d86b923e3e5aa3"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622403541594a35000104')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622403541594a35000106')}, :u=>{"_id"=>BSON::ObjectId('5bb622403541594a35000106'), "application_id"=>BSON::ObjectId('5bb622403541594a35000104'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622403541594a35000105'), "token"=>"d6a25723a6e619755b8c9cff0368c707fd591d075a388de982d86b923e3e5aa3", "refresh_token"=>"80d4c3a0a4f60eae7bed9447e2db2a6d71fb24af0a9bdfbf87033e8792d03518", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622403541594a35000106')}, {"_id"=>BSON::ObjectId('5bb622403541594a35000106'), "application_id"=>BSON::ObjectId('5bb622403541594a35000104'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622403541594a35000105'), "token"=>"d6a25723a6e619755b8c9cff0368c707fd591d075a388de982d86b923e3e5aa3", "refresh_token"=>"80d4c3a0a4f60eae7bed9447e2db2a6d71fb24af0a9bdfbf87033e8792d03518", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 4ms MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622403541594a35000106')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6b2c742841f9a30b24a3a96615e051ba0e12b60d0e1eb17af005676df01c8874", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a35000108')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a35000108'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 114", "uid"=>"6b2c742841f9a30b24a3a96615e051ba0e12b60d0e1eb17af005676df01c8874", "secret"=>"493271ad7ca92574dc29c9577b2c4842b8b08275b9aad333f253a99802ab6d49", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622403541594a35000108'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 114", "uid"=>"6b2c742841f9a30b24a3a96615e051ba0e12b60d0e1eb17af005676df01c8874", "secret"=>"493271ad7ca92574dc29c9577b2c4842b8b08275b9aad333f253a99802ab6d49", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a35000109'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"John", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622403541594a35000109'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"John", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"807d5fea486afae6fc5ae255a8e343bbe0c0e2314037833c6b9747d61598e61f", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a3500010a')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"4c60b20c48da2a8663c5bcb09ad4dda1d97a631b7facbd2adaede9cd3cc8b9f5", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a3500010a')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a3500010a'), "application_id"=>BSON::ObjectId('5bb622403541594a35000108'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622403541594a35000109'), "token"=>"807d5fea486afae6fc5ae255a8e343bbe0c0e2314037833c6b9747d61598e61f", "refresh_token"=>"4c60b20c48da2a8663c5bcb09ad4dda1d97a631b7facbd2adaede9cd3cc8b9f5", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622403541594a3500010a'), "application_id"=>BSON::ObjectId('5bb622403541594a35000108'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622403541594a35000109'), "token"=>"807d5fea486afae6fc5ae255a8e343bbe0c0e2314037833c6b9747d61598e61f", "refresh_token"=>"4c60b20c48da2a8663c5bcb09ad4dda1d97a631b7facbd2adaede9cd3cc8b9f5", "expires_in"=>7200}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:22:56 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"807d5fea486afae6fc5ae255a8e343bbe0c0e2314037833c6b9747d61598e61f"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"807d5fea486afae6fc5ae255a8e343bbe0c0e2314037833c6b9747d61598e61f"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622403541594a35000108')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622403541594a3500010a')}, :u=>{"_id"=>BSON::ObjectId('5bb622403541594a3500010a'), "application_id"=>BSON::ObjectId('5bb622403541594a35000108'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622403541594a35000109'), "token"=>"807d5fea486afae6fc5ae255a8e343bbe0c0e2314037833c6b9747d61598e61f", "refresh_token"=>"4c60b20c48da2a8663c5bcb09ad4dda1d97a631b7facbd2adaede9cd3cc8b9f5", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622403541594a3500010a')}, {"_id"=>BSON::ObjectId('5bb622403541594a3500010a'), "application_id"=>BSON::ObjectId('5bb622403541594a35000108'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622403541594a35000109'), "token"=>"807d5fea486afae6fc5ae255a8e343bbe0c0e2314037833c6b9747d61598e61f", "refresh_token"=>"4c60b20c48da2a8663c5bcb09ad4dda1d97a631b7facbd2adaede9cd3cc8b9f5", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 3ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622403541594a3500010a')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a3500010b'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"John", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622403541594a3500010b'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"John", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"24dfedd888db55e5b1effa3819ba752ddb06c83190991e9d2e09894187774658", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a3500010c')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"4c969be420aa08af44ca05413de7b2e5673f686d105a02a718ef3a60c22e019d", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a3500010c')}}, {:_id=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a3500010c'), "application_id"=>nil, "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622403541594a3500010b'), "token"=>"24dfedd888db55e5b1effa3819ba752ddb06c83190991e9d2e09894187774658", "refresh_token"=>"4c969be420aa08af44ca05413de7b2e5673f686d105a02a718ef3a60c22e019d", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622403541594a3500010c'), "application_id"=>nil, "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622403541594a3500010b'), "token"=>"24dfedd888db55e5b1effa3819ba752ddb06c83190991e9d2e09894187774658", "refresh_token"=>"4c969be420aa08af44ca05413de7b2e5673f686d105a02a718ef3a60c22e019d", "expires_in"=>7200}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:22:56 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"24dfedd888db55e5b1effa3819ba752ddb06c83190991e9d2e09894187774658"} MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"24dfedd888db55e5b1effa3819ba752ddb06c83190991e9d2e09894187774658"}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622403541594a3500010c')}, :u=>{"_id"=>BSON::ObjectId('5bb622403541594a3500010c'), "application_id"=>nil, "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622403541594a3500010b'), "token"=>"24dfedd888db55e5b1effa3819ba752ddb06c83190991e9d2e09894187774658", "refresh_token"=>"4c969be420aa08af44ca05413de7b2e5673f686d105a02a718ef3a60c22e019d", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622403541594a3500010c')}, {"_id"=>BSON::ObjectId('5bb622403541594a3500010c'), "application_id"=>nil, "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622403541594a3500010b'), "token"=>"24dfedd888db55e5b1effa3819ba752ddb06c83190991e9d2e09894187774658", "refresh_token"=>"4c969be420aa08af44ca05413de7b2e5673f686d105a02a718ef3a60c22e019d", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 3ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622403541594a3500010c')}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a3500010d'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"John", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622403541594a3500010d'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"John", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"7018df10a1c2a300ec9852cbfc43910f88e4777292fa7a9ccf05ce835ae6aa4b", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a3500010e')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"060379c3e9aa8c489fec5ae883af3c0858043e254c80214274a4fa187f60d674", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a3500010e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a3500010e'), "application_id"=>nil, "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622403541594a3500010d'), "token"=>"7018df10a1c2a300ec9852cbfc43910f88e4777292fa7a9ccf05ce835ae6aa4b", "refresh_token"=>"060379c3e9aa8c489fec5ae883af3c0858043e254c80214274a4fa187f60d674", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622403541594a3500010e'), "application_id"=>nil, "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622403541594a3500010d'), "token"=>"7018df10a1c2a300ec9852cbfc43910f88e4777292fa7a9ccf05ce835ae6aa4b", "refresh_token"=>"060379c3e9aa8c489fec5ae883af3c0858043e254c80214274a4fa187f60d674", "expires_in"=>7200}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:22:56 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"060379c3e9aa8c489fec5ae883af3c0858043e254c80214274a4fa187f60d674"} MONGODB (3.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"060379c3e9aa8c489fec5ae883af3c0858043e254c80214274a4fa187f60d674"}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"060379c3e9aa8c489fec5ae883af3c0858043e254c80214274a4fa187f60d674"}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622403541594a3500010e')}, :u=>{"_id"=>BSON::ObjectId('5bb622403541594a3500010e'), "application_id"=>nil, "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622403541594a3500010d'), "token"=>"7018df10a1c2a300ec9852cbfc43910f88e4777292fa7a9ccf05ce835ae6aa4b", "refresh_token"=>"060379c3e9aa8c489fec5ae883af3c0858043e254c80214274a4fa187f60d674", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (2.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622403541594a3500010e')}, {"_id"=>BSON::ObjectId('5bb622403541594a3500010e'), "application_id"=>nil, "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622403541594a3500010d'), "token"=>"7018df10a1c2a300ec9852cbfc43910f88e4777292fa7a9ccf05ce835ae6aa4b", "refresh_token"=>"060379c3e9aa8c489fec5ae883af3c0858043e254c80214274a4fa187f60d674", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 10ms MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622403541594a3500010e')}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b887fee88c55959d5849d366f9a771d0e84cf058c596cbe61c2eaa1f68c9045c", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a3500010f')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a3500010f'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 115", "uid"=>"b887fee88c55959d5849d366f9a771d0e84cf058c596cbe61c2eaa1f68c9045c", "secret"=>"8079e99ddfd84bb070f5690b6eeb6298d272a38675c32b9080b39c514e337539", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622403541594a3500010f'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 115", "uid"=>"b887fee88c55959d5849d366f9a771d0e84cf058c596cbe61c2eaa1f68c9045c", "secret"=>"8079e99ddfd84bb070f5690b6eeb6298d272a38675c32b9080b39c514e337539", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a35000110'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"John", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622403541594a35000110'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"John", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"c1ec673d2822ade7fc263f39626b504844e9cf55dd25e0259eacc049a034fad5", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a35000111')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"a353baaf4fb1021bbb32c9d8754c0f681ec85aae556d676d5223024ffcf07bf6", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a35000111')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a35000111'), "application_id"=>BSON::ObjectId('5bb622403541594a3500010f'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622403541594a35000110'), "token"=>"c1ec673d2822ade7fc263f39626b504844e9cf55dd25e0259eacc049a034fad5", "refresh_token"=>"a353baaf4fb1021bbb32c9d8754c0f681ec85aae556d676d5223024ffcf07bf6", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622403541594a35000111'), "application_id"=>BSON::ObjectId('5bb622403541594a3500010f'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622403541594a35000110'), "token"=>"c1ec673d2822ade7fc263f39626b504844e9cf55dd25e0259eacc049a034fad5", "refresh_token"=>"a353baaf4fb1021bbb32c9d8754c0f681ec85aae556d676d5223024ffcf07bf6", "expires_in"=>7200}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:22:56 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"c1ec673d2822ade7fc263f39626b504844e9cf55dd25e0259eacc049a034fad5"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"c1ec673d2822ade7fc263f39626b504844e9cf55dd25e0259eacc049a034fad5"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622403541594a3500010f')}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622403541594a35000111')}, :u=>{"_id"=>BSON::ObjectId('5bb622403541594a35000111'), "application_id"=>BSON::ObjectId('5bb622403541594a3500010f'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622403541594a35000110'), "token"=>"c1ec673d2822ade7fc263f39626b504844e9cf55dd25e0259eacc049a034fad5", "refresh_token"=>"a353baaf4fb1021bbb32c9d8754c0f681ec85aae556d676d5223024ffcf07bf6", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622403541594a35000111')}, {"_id"=>BSON::ObjectId('5bb622403541594a35000111'), "application_id"=>BSON::ObjectId('5bb622403541594a3500010f'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622403541594a35000110'), "token"=>"c1ec673d2822ade7fc263f39626b504844e9cf55dd25e0259eacc049a034fad5", "refresh_token"=>"a353baaf4fb1021bbb32c9d8754c0f681ec85aae556d676d5223024ffcf07bf6", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 9ms MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622403541594a35000111')}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b78c1322a29b58e0b8ffb3b52cde023b513c76dc331e976f1b2156f4e7447c44", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a35000112')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a35000112'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 116", "uid"=>"b78c1322a29b58e0b8ffb3b52cde023b513c76dc331e976f1b2156f4e7447c44", "secret"=>"554b003ec938892ee0d76ffd970d0de32e9625627b8ceb6fbd1f4ca94f17215a", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622403541594a35000112'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 116", "uid"=>"b78c1322a29b58e0b8ffb3b52cde023b513c76dc331e976f1b2156f4e7447c44", "secret"=>"554b003ec938892ee0d76ffd970d0de32e9625627b8ceb6fbd1f4ca94f17215a", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a35000113'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"John", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622403541594a35000113'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"John", "password"=>"sekret"}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e7ada89cae07d2abae795de5180aa7cf53178e7042e46e1d842f661f5eafb460", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a35000114')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"f7753bc8d6da798936df68f2887269bc99772583800527f7a5d4fc047b25bf50", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a35000114')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a35000114'), "application_id"=>BSON::ObjectId('5bb622403541594a35000112'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622403541594a35000113'), "token"=>"e7ada89cae07d2abae795de5180aa7cf53178e7042e46e1d842f661f5eafb460", "refresh_token"=>"f7753bc8d6da798936df68f2887269bc99772583800527f7a5d4fc047b25bf50", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622403541594a35000114'), "application_id"=>BSON::ObjectId('5bb622403541594a35000112'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622403541594a35000113'), "token"=>"e7ada89cae07d2abae795de5180aa7cf53178e7042e46e1d842f661f5eafb460", "refresh_token"=>"f7753bc8d6da798936df68f2887269bc99772583800527f7a5d4fc047b25bf50", "expires_in"=>7200}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:22:56 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"e7ada89cae07d2abae795de5180aa7cf53178e7042e46e1d842f661f5eafb460"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e7ada89cae07d2abae795de5180aa7cf53178e7042e46e1d842f661f5eafb460"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622403541594a35000112')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622403541594a35000114')}, :u=>{"_id"=>BSON::ObjectId('5bb622403541594a35000114'), "application_id"=>BSON::ObjectId('5bb622403541594a35000112'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622403541594a35000113'), "token"=>"e7ada89cae07d2abae795de5180aa7cf53178e7042e46e1d842f661f5eafb460", "refresh_token"=>"f7753bc8d6da798936df68f2887269bc99772583800527f7a5d4fc047b25bf50", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622403541594a35000114')}, {"_id"=>BSON::ObjectId('5bb622403541594a35000114'), "application_id"=>BSON::ObjectId('5bb622403541594a35000112'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622403541594a35000113'), "token"=>"e7ada89cae07d2abae795de5180aa7cf53178e7042e46e1d842f661f5eafb460", "refresh_token"=>"f7753bc8d6da798936df68f2887269bc99772583800527f7a5d4fc047b25bf50", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 4ms MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622403541594a35000114')}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>"1"}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"11c5732af1685c29ae5299cc486380881d594aeb434525a9590891e5ed3f5445", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a35000115')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a35000115'), "application_id"=>"1", "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>"1", "token"=>"11c5732af1685c29ae5299cc486380881d594aeb434525a9590891e5ed3f5445", "expires_in"=>100, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622403541594a35000115'), "application_id"=>"1", "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>"1", "token"=>"11c5732af1685c29ae5299cc486380881d594aeb434525a9590891e5ed3f5445", "expires_in"=>100, "scopes"=>"public"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"60a32c34022bf97f79c3a79ce8875201a61c543a64ec5d914cb8fc17e317fb35", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a35000116')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a35000116'), "application_id"=>1, "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>1, "token"=>"60a32c34022bf97f79c3a79ce8875201a61c543a64ec5d914cb8fc17e317fb35", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622403541594a35000116'), "application_id"=>1, "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "resource_owner_id"=>1, "token"=>"60a32c34022bf97f79c3a79ce8875201a61c543a64ec5d914cb8fc17e317fb35", "expires_in"=>7200, "scopes"=>"public"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (2.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (3.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7dff35867fa9326b581c8cf82751ebed6e1dd05e1478cb352d2222b667659337", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a35000117')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a35000117'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 117", "uid"=>"7dff35867fa9326b581c8cf82751ebed6e1dd05e1478cb352d2222b667659337", "secret"=>"2920b60206aedea2e8c4d4d2b1e50626248a2bf2c534be800b8787bea737906b", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622403541594a35000117'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 117", "uid"=>"7dff35867fa9326b581c8cf82751ebed6e1dd05e1478cb352d2222b667659337", "secret"=>"2920b60206aedea2e8c4d4d2b1e50626248a2bf2c534be800b8787bea737906b", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a35000118'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622403541594a35000118'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=7dff35867fa9326b581c8cf82751ebed6e1dd05e1478cb352d2222b667659337&client_secret=[FILTERED]&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:22:56 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"7dff35867fa9326b581c8cf82751ebed6e1dd05e1478cb352d2222b667659337", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} Completed 401 Unauthorized in 1ms MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"9e2f4bb8e97d990114f2e970ebfb687aaccd98b829d3c6b887d02c392e038eb1", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a35000119')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a35000119'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 118", "uid"=>"9e2f4bb8e97d990114f2e970ebfb687aaccd98b829d3c6b887d02c392e038eb1", "secret"=>"5df44dcb9ae6a3f09734130cfc10837598344c459b8f5958bbdbbcce6f4e2413", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622403541594a35000119'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 118", "uid"=>"9e2f4bb8e97d990114f2e970ebfb687aaccd98b829d3c6b887d02c392e038eb1", "secret"=>"5df44dcb9ae6a3f09734130cfc10837598344c459b8f5958bbdbbcce6f4e2413", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"9e2f4bb8e97d990114f2e970ebfb687aaccd98b829d3c6b887d02c392e038eb1", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a35000119')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d472db5555b0a541ade1f80f6c391c9441749699126c1f550564e3e3c70dd932", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a3500011a')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a3500011a'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 119", "uid"=>"d472db5555b0a541ade1f80f6c391c9441749699126c1f550564e3e3c70dd932", "secret"=>"3cac1547b542fd8c1d54f6cae862c6c449244474cd6efa06c43c0fcf683f3898", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622403541594a3500011a'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 119", "uid"=>"d472db5555b0a541ade1f80f6c391c9441749699126c1f550564e3e3c70dd932", "secret"=>"3cac1547b542fd8c1d54f6cae862c6c449244474cd6efa06c43c0fcf683f3898", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d472db5555b0a541ade1f80f6c391c9441749699126c1f550564e3e3c70dd932", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a3500011a')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (2.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"08f9d9100b327cfa6469d7488f975222b42c424d5654ab70209227e2316eaa1b", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a3500011b')}}, {:_id=>1}).limit(-1) MONGODB (2.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a3500011b'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 120", "uid"=>"08f9d9100b327cfa6469d7488f975222b42c424d5654ab70209227e2316eaa1b", "secret"=>"84ff1f45af37f5dc8856ac47598dded7808522d5e85d2097122837bcdaeedf76", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (2.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622403541594a3500011b'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 120", "uid"=>"08f9d9100b327cfa6469d7488f975222b42c424d5654ab70209227e2316eaa1b", "secret"=>"84ff1f45af37f5dc8856ac47598dded7808522d5e85d2097122837bcdaeedf76", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5f63f0f02120863317716a5ef49675b00d0e2305b591ad98267755cad26f43ca", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a3500011c')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a3500011c'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 121", "uid"=>"5f63f0f02120863317716a5ef49675b00d0e2305b591ad98267755cad26f43ca", "secret"=>"f8664637e645ccd81179eed4ba212e4abfb8ded6be4e20a71978563b7f4e3cfb", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622403541594a3500011c'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 121", "uid"=>"5f63f0f02120863317716a5ef49675b00d0e2305b591ad98267755cad26f43ca", "secret"=>"f8664637e645ccd81179eed4ba212e4abfb8ded6be4e20a71978563b7f4e3cfb", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"13c126e1a017504fd1d991403c12e1d73921eeee3c9307c1b0c0638ceb73dd1a", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a3500011d')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"95e302f52dd72eae445664f874447b7553290fb25d421d2a7ce110d5b4b6e3f4", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a3500011e')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a3500011e'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 123", "uid"=>"95e302f52dd72eae445664f874447b7553290fb25d421d2a7ce110d5b4b6e3f4", "secret"=>"60be105096f72ac985a482375a423a35e0292f24ac47c83549b4c9271518ccce", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622403541594a3500011e'), "created_at"=>2018-10-04 14:22:56 UTC, "updated_at"=>2018-10-04 14:22:56 UTC, "name"=>"Application 123", "uid"=>"95e302f52dd72eae445664f874447b7553290fb25d421d2a7ce110d5b4b6e3f4", "secret"=>"60be105096f72ac985a482375a423a35e0292f24ac47c83549b4c9271518ccce", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"aa277268dca7dd77494dbfd614e7ca66e944e04537a4a5712bd83efee7021cba", :_id=>{:$ne=>BSON::ObjectId('5bb622403541594a3500011f')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622403541594a3500011f'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 124", "uid"=>"aa277268dca7dd77494dbfd614e7ca66e944e04537a4a5712bd83efee7021cba", "secret"=>"17b3626219722d46", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622403541594a3500011f'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 124", "uid"=>"aa277268dca7dd77494dbfd614e7ca66e944e04537a4a5712bd83efee7021cba", "secret"=>"17b3626219722d46", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.9ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"23b5e70e79791523c1e9a43ddd7d04b7d3b821e41be86f433dd99673a93b92d7", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000120')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000120'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 125", "uid"=>"23b5e70e79791523c1e9a43ddd7d04b7d3b821e41be86f433dd99673a93b92d7", "secret"=>"d259c40516a204175e99120d2b14cdfdcf2f40b84a9c608fdfdb855a197616f1", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000120'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 125", "uid"=>"23b5e70e79791523c1e9a43ddd7d04b7d3b821e41be86f433dd99673a93b92d7", "secret"=>"d259c40516a204175e99120d2b14cdfdcf2f40b84a9c608fdfdb855a197616f1", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>nil, :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000120')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (2.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (2.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"352ebb4b4158149ce52abb4f4beef3013ae8203ebe4c3c7623f92c851a3d7f4e", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000121')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"889fe77e5b9fcf1e9fa3a03ac56993c63a36ce2569e672bf913992d6b0af2e69", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000122')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000122'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 127", "uid"=>"889fe77e5b9fcf1e9fa3a03ac56993c63a36ce2569e672bf913992d6b0af2e69", "secret"=>"32fb29189d19bd0213ba0f17ffafe28e73aa33eb0045e69e8e77ff3b65c27609", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000122'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 127", "uid"=>"889fe77e5b9fcf1e9fa3a03ac56993c63a36ce2569e672bf913992d6b0af2e69", "secret"=>"32fb29189d19bd0213ba0f17ffafe28e73aa33eb0045e69e8e77ff3b65c27609", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d6cdd27cc577e4097c740a86fe4372bd3f3bcf86242a6fc4a1aad6af616e94ba", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000123')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000123'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 128", "uid"=>"d6cdd27cc577e4097c740a86fe4372bd3f3bcf86242a6fc4a1aad6af616e94ba", "secret"=>"5486947fc16b291429286217ce236943aa3edd9df4c8b7a9232442f15a8af0e7", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000123'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 128", "uid"=>"d6cdd27cc577e4097c740a86fe4372bd3f3bcf86242a6fc4a1aad6af616e94ba", "secret"=>"5486947fc16b291429286217ce236943aa3edd9df4c8b7a9232442f15a8af0e7", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"889fe77e5b9fcf1e9fa3a03ac56993c63a36ce2569e672bf913992d6b0af2e69", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000123')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4ff1b74a617432b3", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000124')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000124'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 129", "uid"=>"4ff1b74a617432b3", "secret"=>"2e3c813e9643546bd2f4f8829603f297929dc236f0a415e5619023b569ec687b", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000124'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 129", "uid"=>"4ff1b74a617432b3", "secret"=>"2e3c813e9643546bd2f4f8829603f297929dc236f0a415e5619023b569ec687b", "redirect_uri"=>"https://app.com/callback"}) MONGODB (5.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3f48fcadfeda42e228b85c04a5fd10a065848872cc52a3aeaf8ef7a71df54523", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000125')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000125'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 130", "uid"=>"3f48fcadfeda42e228b85c04a5fd10a065848872cc52a3aeaf8ef7a71df54523", "secret"=>"582a8139970dd3af02e924e82beb8a59396e5db2bd3ade60bcdf75a0007041ca", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000125'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 130", "uid"=>"3f48fcadfeda42e228b85c04a5fd10a065848872cc52a3aeaf8ef7a71df54523", "secret"=>"582a8139970dd3af02e924e82beb8a59396e5db2bd3ade60bcdf75a0007041ca", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"53c626dabc71dd32fb2e91ce858815d8a0b93e4e7eea92c63978da531a9840c7", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000126')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000126'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 131", "uid"=>"53c626dabc71dd32fb2e91ce858815d8a0b93e4e7eea92c63978da531a9840c7", "secret"=>"9469d762311cd4a7d4b86091849f4839bb00b8774e744e8eaf2c3b4704ac8239", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000126'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 131", "uid"=>"53c626dabc71dd32fb2e91ce858815d8a0b93e4e7eea92c63978da531a9840c7", "secret"=>"9469d762311cd4a7d4b86091849f4839bb00b8774e744e8eaf2c3b4704ac8239", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3f48fcadfeda42e228b85c04a5fd10a065848872cc52a3aeaf8ef7a71df54523", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000126')}}, {:_id=>1}).limit(-1) MONGODB (20.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (3.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e5b2d07adf9f3b542e83f3cdbbdf4095fe92471e0b275fcacd1eac171cfeb83f", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000127')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000127'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 132", "uid"=>"e5b2d07adf9f3b542e83f3cdbbdf4095fe92471e0b275fcacd1eac171cfeb83f", "secret"=>"687cf0f0a26424c4c69a7306407845d99c1de2591a249ad9fa9ffb3c405867d1", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000127'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 132", "uid"=>"e5b2d07adf9f3b542e83f3cdbbdf4095fe92471e0b275fcacd1eac171cfeb83f", "secret"=>"687cf0f0a26424c4c69a7306407845d99c1de2591a249ad9fa9ffb3c405867d1", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e44e6af89582fcf75ccc61f7048c56d360a65ecd85e82d199424098a5d030af9", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000129')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000129'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 133", "uid"=>"e44e6af89582fcf75ccc61f7048c56d360a65ecd85e82d199424098a5d030af9", "secret"=>"dfb75e57506aaeabbd4070bc67ff68f13dea1528c7065575155a11009b0aa1b0", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000129'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 133", "uid"=>"e44e6af89582fcf75ccc61f7048c56d360a65ecd85e82d199424098a5d030af9", "secret"=>"dfb75e57506aaeabbd4070bc67ff68f13dea1528c7065575155a11009b0aa1b0", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"c321ab8a401f2c2afc83d09b51fda7d1782bd27657ca8f38ffee3095f3c8f4e7", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000128')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000128'), "application_id"=>BSON::ObjectId('5bb622413541594a35000129'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "resource_owner_id"=>10, "token"=>"c321ab8a401f2c2afc83d09b51fda7d1782bd27657ca8f38ffee3095f3c8f4e7", "expires_in"=>7200, "revoked_at"=>2018-10-02 00:00:00 UTC}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000128'), "application_id"=>BSON::ObjectId('5bb622413541594a35000129'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "resource_owner_id"=>10, "token"=>"c321ab8a401f2c2afc83d09b51fda7d1782bd27657ca8f38ffee3095f3c8f4e7", "expires_in"=>7200, "revoked_at"=>2018-10-02 00:00:00 UTC}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:resource_owner_id=>10, :revoked_at=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>[]}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"516cb6824086cf7a63cc55197d820a5d66adfc8bba8c48fbdb0257436a27a55a", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a3500012b')}}, {:_id=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a3500012b'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 134", "uid"=>"516cb6824086cf7a63cc55197d820a5d66adfc8bba8c48fbdb0257436a27a55a", "secret"=>"27764b52dd3ae81b572d7420cb8a733920f5a0d220a060884ed2bf0163e1bb0d", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a3500012b'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 134", "uid"=>"516cb6824086cf7a63cc55197d820a5d66adfc8bba8c48fbdb0257436a27a55a", "secret"=>"27764b52dd3ae81b572d7420cb8a733920f5a0d220a060884ed2bf0163e1bb0d", "redirect_uri"=>"https://app.com/callback"}) MONGODB (1.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"9298f70c1bd46055537a69e3d0614223e2a0319ef72f10091f1c3dec3f57ece0", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a3500012a')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a3500012a'), "application_id"=>BSON::ObjectId('5bb622413541594a3500012b'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "resource_owner_id"=>10, "token"=>"9298f70c1bd46055537a69e3d0614223e2a0319ef72f10091f1c3dec3f57ece0", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622413541594a3500012a'), "application_id"=>BSON::ObjectId('5bb622413541594a3500012b'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "resource_owner_id"=>10, "token"=>"9298f70c1bd46055537a69e3d0614223e2a0319ef72f10091f1c3dec3f57ece0", "expires_in"=>7200}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"38634610a7b837aed8da7724a6dc705e3e241f743149ea095cbce8f6bb42f50a", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a3500012d')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a3500012d'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 135", "uid"=>"38634610a7b837aed8da7724a6dc705e3e241f743149ea095cbce8f6bb42f50a", "secret"=>"99990fd8a25925d92623d9c2aaca8976cfa448909176242f6cdc7d44fb24b22c", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a3500012d'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 135", "uid"=>"38634610a7b837aed8da7724a6dc705e3e241f743149ea095cbce8f6bb42f50a", "secret"=>"99990fd8a25925d92623d9c2aaca8976cfa448909176242f6cdc7d44fb24b22c", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"ad9600b2fadfffd8c668c25200386194762909b8f6aee09655aeb096f27ff743", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a3500012c')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a3500012c'), "application_id"=>BSON::ObjectId('5bb622413541594a3500012d'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "resource_owner_id"=>10, "token"=>"ad9600b2fadfffd8c668c25200386194762909b8f6aee09655aeb096f27ff743", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622413541594a3500012c'), "application_id"=>BSON::ObjectId('5bb622413541594a3500012d'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "resource_owner_id"=>10, "token"=>"ad9600b2fadfffd8c668c25200386194762909b8f6aee09655aeb096f27ff743", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:resource_owner_id=>10, :revoked_at=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>{:$in=>[BSON::ObjectId('5bb622413541594a3500012b'), BSON::ObjectId('5bb622413541594a3500012d')]}}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"252b077eb0740dd055b6781a42ccf72559a4acb6b68e9fbfe179507febd5418a", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a3500012e')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a3500012e'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 136", "uid"=>"252b077eb0740dd055b6781a42ccf72559a4acb6b68e9fbfe179507febd5418a", "secret"=>"c2171b5870c785f266563bc716d366a45ecab8ce93aaba1600a7afed3aa74452", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a3500012e'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 136", "uid"=>"252b077eb0740dd055b6781a42ccf72559a4acb6b68e9fbfe179507febd5418a", "secret"=>"c2171b5870c785f266563bc716d366a45ecab8ce93aaba1600a7afed3aa74452", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e308338e69a3b009c239a425959e0b771a38f28585c9a2b863a6209d5af9cc68", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a3500012f')}}, {:_id=>1}).limit(-1) MONGODB (2.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a3500012f'), "application_id"=>BSON::ObjectId('5bb622413541594a3500012e'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "resource_owner_id"=>10, "token"=>"e308338e69a3b009c239a425959e0b771a38f28585c9a2b863a6209d5af9cc68", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (3.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622413541594a3500012f'), "application_id"=>BSON::ObjectId('5bb622413541594a3500012e'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "resource_owner_id"=>10, "token"=>"e308338e69a3b009c239a425959e0b771a38f28585c9a2b863a6209d5af9cc68", "expires_in"=>7200}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"5e563f22c8bad4b5dae7cb6be4c8106120190f49bee28bbfe9516fde900a22ce", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000130')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000130'), "application_id"=>BSON::ObjectId('5bb622413541594a3500012e'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "resource_owner_id"=>10, "token"=>"5e563f22c8bad4b5dae7cb6be4c8106120190f49bee28bbfe9516fde900a22ce", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000130'), "application_id"=>BSON::ObjectId('5bb622413541594a3500012e'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "resource_owner_id"=>10, "token"=>"5e563f22c8bad4b5dae7cb6be4c8106120190f49bee28bbfe9516fde900a22ce", "expires_in"=>7200}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:resource_owner_id=>10, :revoked_at=>nil}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>{:$in=>[BSON::ObjectId('5bb622413541594a3500012e'), BSON::ObjectId('5bb622413541594a3500012e')]}}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:resource_owner_id=>10, :revoked_at=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>[]}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a63abf5c0c82a7f6efeb5737297f8cfbd735ab69afc7534c70e6386ff63b9b89", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000132')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000132'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 137", "uid"=>"a63abf5c0c82a7f6efeb5737297f8cfbd735ab69afc7534c70e6386ff63b9b89", "secret"=>"12d30df331c976e3cd8d37bbf1e1d75cac986b7aeeaa58f5ea7b57a99056cf2b", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000132'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 137", "uid"=>"a63abf5c0c82a7f6efeb5737297f8cfbd735ab69afc7534c70e6386ff63b9b89", "secret"=>"12d30df331c976e3cd8d37bbf1e1d75cac986b7aeeaa58f5ea7b57a99056cf2b", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"568e9e4695b0789ca9ef7fcb19153fee227b54639f5ff50c3ab130c9788066d3", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000131')}}, {:_id=>1}).limit(-1) MONGODB (1.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000131'), "application_id"=>BSON::ObjectId('5bb622413541594a35000132'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "resource_owner_id"=>11, "token"=>"568e9e4695b0789ca9ef7fcb19153fee227b54639f5ff50c3ab130c9788066d3", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (2.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000131'), "application_id"=>BSON::ObjectId('5bb622413541594a35000132'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "resource_owner_id"=>11, "token"=>"568e9e4695b0789ca9ef7fcb19153fee227b54639f5ff50c3ab130c9788066d3", "expires_in"=>7200}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8a94c60f59f4bf5e8752a047f5c661a18b3eecfa044813fa15c561bd375f0faf", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000134')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000134'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 138", "uid"=>"8a94c60f59f4bf5e8752a047f5c661a18b3eecfa044813fa15c561bd375f0faf", "secret"=>"9f0b2fa1bd0780664f25627c386128d678872e96ffdd642e5a3164fe7a5ee819", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000134'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 138", "uid"=>"8a94c60f59f4bf5e8752a047f5c661a18b3eecfa044813fa15c561bd375f0faf", "secret"=>"9f0b2fa1bd0780664f25627c386128d678872e96ffdd642e5a3164fe7a5ee819", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"3925bd070ac3980355fb3569556e6ba18fb859a9908c366594e6c49d1cf64e39", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000133')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000133'), "application_id"=>BSON::ObjectId('5bb622413541594a35000134'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "resource_owner_id"=>10, "token"=>"3925bd070ac3980355fb3569556e6ba18fb859a9908c366594e6c49d1cf64e39", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000133'), "application_id"=>BSON::ObjectId('5bb622413541594a35000134'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "resource_owner_id"=>10, "token"=>"3925bd070ac3980355fb3569556e6ba18fb859a9908c366594e6c49d1cf64e39", "expires_in"=>7200}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:resource_owner_id=>10, :revoked_at=>nil}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>{:$in=>[BSON::ObjectId('5bb622413541594a35000134')]}}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (4.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (4.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5fecb5e7e6abd23ec1506ad9e52f2b8a387f5c0f30cd4a6994afbbb9e42750ac", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000135')}}, {:_id=>1}).limit(-1) MONGODB (2.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000135'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 139", "uid"=>"5fecb5e7e6abd23ec1506ad9e52f2b8a387f5c0f30cd4a6994afbbb9e42750ac", "secret"=>"c77e06ea0ac36a841dd60b8401121d673fd2685831d35796734cb695fadb4260", "redirect_uri"=>"https://app.com/callback", "confidential"=>false}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (3.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000135'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 139", "uid"=>"5fecb5e7e6abd23ec1506ad9e52f2b8a387f5c0f30cd4a6994afbbb9e42750ac", "secret"=>"c77e06ea0ac36a841dd60b8401121d673fd2685831d35796734cb695fadb4260", "redirect_uri"=>"https://app.com/callback", "confidential"=>false}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5fecb5e7e6abd23ec1506ad9e52f2b8a387f5c0f30cd4a6994afbbb9e42750ac"}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (5.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (6.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"9136b549ca111d217e4c921ee3f34396a7d1e05fbe716d3bb3138a6401008925", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000136')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000136'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 140", "uid"=>"9136b549ca111d217e4c921ee3f34396a7d1e05fbe716d3bb3138a6401008925", "secret"=>"b3c2121d64b2333fcf3e4f21a88ddc094550567d1728a2383cd78548717e4de8", "redirect_uri"=>"https://app.com/callback", "confidential"=>false}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000136'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 140", "uid"=>"9136b549ca111d217e4c921ee3f34396a7d1e05fbe716d3bb3138a6401008925", "secret"=>"b3c2121d64b2333fcf3e4f21a88ddc094550567d1728a2383cd78548717e4de8", "redirect_uri"=>"https://app.com/callback", "confidential"=>false}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"9136b549ca111d217e4c921ee3f34396a7d1e05fbe716d3bb3138a6401008925"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a55799b3a0fcfe22b28444f8e575f17ee2c6abd60b9162b8050ef718e89073be", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000137')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000137'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 141", "uid"=>"a55799b3a0fcfe22b28444f8e575f17ee2c6abd60b9162b8050ef718e89073be", "secret"=>"f30ebf93e24fdfed20fd1f9204caf44ea8ff1112f30e366fe5778419a8b0bd9d", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000137'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 141", "uid"=>"a55799b3a0fcfe22b28444f8e575f17ee2c6abd60b9162b8050ef718e89073be", "secret"=>"f30ebf93e24fdfed20fd1f9204caf44ea8ff1112f30e366fe5778419a8b0bd9d", "redirect_uri"=>"https://app.com/callback"}) MONGODB (2.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a55799b3a0fcfe22b28444f8e575f17ee2c6abd60b9162b8050ef718e89073be"}).limit(-1) MONGODB (2.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (7.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (7.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"468434160a386aaae4cb78229fc3ae74870f95a62b0a1d838226225a5426fd2c", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000138')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000138'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 142", "uid"=>"468434160a386aaae4cb78229fc3ae74870f95a62b0a1d838226225a5426fd2c", "secret"=>"c2a8545f36fdc2ea4d1e72953aeb2be683d876516662aa16f14773348ef6c840", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000138'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 142", "uid"=>"468434160a386aaae4cb78229fc3ae74870f95a62b0a1d838226225a5426fd2c", "secret"=>"c2a8545f36fdc2ea4d1e72953aeb2be683d876516662aa16f14773348ef6c840", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"468434160a386aaae4cb78229fc3ae74870f95a62b0a1d838226225a5426fd2c"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0dffbaeee80af59163ad7bd5bc1492ab7f1d060a1f01804937e8239be8028935", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000139')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000139'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 143", "uid"=>"0dffbaeee80af59163ad7bd5bc1492ab7f1d060a1f01804937e8239be8028935", "secret"=>"ed97baa62f4c088a64b7d991771b83a7fff43daadefb51018af05b70c14c343a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000139'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 143", "uid"=>"0dffbaeee80af59163ad7bd5bc1492ab7f1d060a1f01804937e8239be8028935", "secret"=>"ed97baa62f4c088a64b7d991771b83a7fff43daadefb51018af05b70c14c343a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"df3f4b928a1c53d6b969b6c3a62e54d299c7c308ce65295c44f171a4adcde5e9", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a3500013a')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a3500013a'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 144", "uid"=>"df3f4b928a1c53d6b969b6c3a62e54d299c7c308ce65295c44f171a4adcde5e9", "secret"=>"1d9262ddfc9a8e90c13a4f59e1692e5759cbeb0d3cb8fc2ae71aff7f0c91b3b4", "redirect_uri"=>"https://app.com/callback", "confidential"=>false}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a3500013a'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 144", "uid"=>"df3f4b928a1c53d6b969b6c3a62e54d299c7c308ce65295c44f171a4adcde5e9", "secret"=>"1d9262ddfc9a8e90c13a4f59e1692e5759cbeb0d3cb8fc2ae71aff7f0c91b3b4", "redirect_uri"=>"https://app.com/callback", "confidential"=>false}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (5.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (5.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d46eccd96bef36f0532edcb2368d260844f282c22f2f34e571bde61d76b88d3a", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a3500013b')}}, {:_id=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a3500013b'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 145", "uid"=>"d46eccd96bef36f0532edcb2368d260844f282c22f2f34e571bde61d76b88d3a", "secret"=>"2e8461d9789b7071fc71ccc8a35f63f6df061edea7c492f3af2233c0759f211d", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a3500013b'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 145", "uid"=>"d46eccd96bef36f0532edcb2368d260844f282c22f2f34e571bde61d76b88d3a", "secret"=>"2e8461d9789b7071fc71ccc8a35f63f6df061edea7c492f3af2233c0759f211d", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"1fa011c9a78fa80c6a21a0331e56100ec66ef030a1f2c9affa47e9f0ba590fda", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a3500013c')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a3500013c'), "application_id"=>BSON::ObjectId('5bb622413541594a3500013b'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "resource_owner_id"=>35, "token"=>"1fa011c9a78fa80c6a21a0331e56100ec66ef030a1f2c9affa47e9f0ba590fda", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622413541594a3500013c'), "application_id"=>BSON::ObjectId('5bb622413541594a3500013b'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "resource_owner_id"=>35, "token"=>"1fa011c9a78fa80c6a21a0331e56100ec66ef030a1f2c9affa47e9f0ba590fda", "expires_in"=>7200}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f894f3b8b12ca15ecac66706c3dd104d9f0df1d0c82224abb7804c572c4cd9ac", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a3500013d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a3500013d'), "application_id"=>BSON::ObjectId('5bb622413541594a3500013b'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "resource_owner_id"=>36, "token"=>"f894f3b8b12ca15ecac66706c3dd104d9f0df1d0c82224abb7804c572c4cd9ac", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622413541594a3500013d'), "application_id"=>BSON::ObjectId('5bb622413541594a3500013b'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "resource_owner_id"=>36, "token"=>"f894f3b8b12ca15ecac66706c3dd104d9f0df1d0c82224abb7804c572c4cd9ac", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:application_id=>BSON::ObjectId('5bb622413541594a3500013b')}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622413541594a3500013b')}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{:_id=>{:$in=>[BSON::ObjectId('5bb622413541594a3500013c')]}}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({:_id=>{:$in=>[BSON::ObjectId('5bb622413541594a3500013c')]}}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{:_id=>{:$in=>[BSON::ObjectId('5bb622413541594a3500013d')]}}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({:_id=>{:$in=>[BSON::ObjectId('5bb622413541594a3500013d')]}}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622413541594a3500013b')}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{:_id=>{:$in=>[BSON::ObjectId('5bb622413541594a3500013b')]}}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({:_id=>{:$in=>[BSON::ObjectId('5bb622413541594a3500013b')]}}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"41e93eba80d9ee61cab190af2ed5d669969d627dc421d230c0d6b71897b1bceb", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a3500013e')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a3500013e'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 146", "uid"=>"41e93eba80d9ee61cab190af2ed5d669969d627dc421d230c0d6b71897b1bceb", "secret"=>"98bacf5a8f69a9798a042fe228faa4fb11b22791c105ca2feaa94bda249e0e7c", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a3500013e'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 146", "uid"=>"41e93eba80d9ee61cab190af2ed5d669969d627dc421d230c0d6b71897b1bceb", "secret"=>"98bacf5a8f69a9798a042fe228faa4fb11b22791c105ca2feaa94bda249e0e7c", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"79a2c615b2d6b90650b3c6a72504bf3b89a5c2283ac4af3e236865adae59bbbd", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a3500013f')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a3500013f'), "application_id"=>BSON::ObjectId('5bb622413541594a3500013e'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "resource_owner_id"=>8, "token"=>"79a2c615b2d6b90650b3c6a72504bf3b89a5c2283ac4af3e236865adae59bbbd", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622413541594a3500013f'), "application_id"=>BSON::ObjectId('5bb622413541594a3500013e'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "resource_owner_id"=>8, "token"=>"79a2c615b2d6b90650b3c6a72504bf3b89a5c2283ac4af3e236865adae59bbbd", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:application_id=>BSON::ObjectId('5bb622413541594a3500013e')}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{:_id=>{:$in=>[BSON::ObjectId('5bb622413541594a3500013f')]}}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({:_id=>{:$in=>[BSON::ObjectId('5bb622413541594a3500013f')]}}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622413541594a3500013e')}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622413541594a3500013e')}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{:_id=>{:$in=>[BSON::ObjectId('5bb622413541594a3500013e')]}}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({:_id=>{:$in=>[BSON::ObjectId('5bb622413541594a3500013e')]}}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5f93d1ade7d105ba0e4a6931525852fafeb3129132370e06a7595a8442ce19fa", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000143')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8b40aa011dc29be173a1e2477d39699de52cbd27fc8fe43a1fcffb82906914ce", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000145')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8a34950b57c9c0cf9417080ee407f6bac449fee9c712777954c9d61396c168eb", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000146')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6333caab79113b63c3206dbc6efa4c44491eb5d48518b661bd3d280d39eebeb9", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000147')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000147'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 152", "uid"=>"6333caab79113b63c3206dbc6efa4c44491eb5d48518b661bd3d280d39eebeb9", "secret"=>"c63938612b60580caf050cef97101987ab4ebccf6be68ca196ff74a3dff28fd9", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000147'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 152", "uid"=>"6333caab79113b63c3206dbc6efa4c44491eb5d48518b661bd3d280d39eebeb9", "secret"=>"c63938612b60580caf050cef97101987ab4ebccf6be68ca196ff74a3dff28fd9", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"9045e52b830ea94bf936a914bc0bbccb1905da59804d14f938b33771bae5b5ad", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000149')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000149'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 153", "uid"=>"9045e52b830ea94bf936a914bc0bbccb1905da59804d14f938b33771bae5b5ad", "secret"=>"ef1b74ccd3607a89e19e8fab6c78c4f5ea5140f5109c3757e43caf63a056af19", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000149'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 153", "uid"=>"9045e52b830ea94bf936a914bc0bbccb1905da59804d14f938b33771bae5b5ad", "secret"=>"ef1b74ccd3607a89e19e8fab6c78c4f5ea5140f5109c3757e43caf63a056af19", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"20fc9082751dc5d02a617832ceda7888ea4c46fc27f10e1edbcf73354d575caa", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a3500014a')}}, {:_id=>1}).limit(-1) MONGODB (14.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a3500014a'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 154", "uid"=>"20fc9082751dc5d02a617832ceda7888ea4c46fc27f10e1edbcf73354d575caa", "secret"=>"073e7006501d0dbd0ec28d96b9c16f9de994cbf5b3f1ca662579d8b0bc064a0e", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (14.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a3500014a'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 154", "uid"=>"20fc9082751dc5d02a617832ceda7888ea4c46fc27f10e1edbcf73354d575caa", "secret"=>"073e7006501d0dbd0ec28d96b9c16f9de994cbf5b3f1ca662579d8b0bc064a0e", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (1.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"61ca0b845a64c16469feff6046bc918a21509f45eba43f28a15be24a47e2324d", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a3500014b')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a3500014b'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 155", "uid"=>"61ca0b845a64c16469feff6046bc918a21509f45eba43f28a15be24a47e2324d", "secret"=>"1a6ac55f549a47f4f0352b7e1276313feb5f679c25cd6245e9ae6f0652374ce4", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a3500014b'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 155", "uid"=>"61ca0b845a64c16469feff6046bc918a21509f45eba43f28a15be24a47e2324d", "secret"=>"1a6ac55f549a47f4f0352b7e1276313feb5f679c25cd6245e9ae6f0652374ce4", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"109dfce903cab161a5f4326e3e1f98bde97cb08d2e3a8f4f4fa0a5df87d2491a", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a3500014c')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a3500014c'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 156", "uid"=>"109dfce903cab161a5f4326e3e1f98bde97cb08d2e3a8f4f4fa0a5df87d2491a", "secret"=>"23cfa8fe94096b7d44167bce4f4458b421a41e5020a6b2de14c3a5d5beddaf88", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a3500014c'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 156", "uid"=>"109dfce903cab161a5f4326e3e1f98bde97cb08d2e3a8f4f4fa0a5df87d2491a", "secret"=>"23cfa8fe94096b7d44167bce4f4458b421a41e5020a6b2de14c3a5d5beddaf88", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4515e581980eff476252807159278005c2bab6becd8529b7b36b0337247738eb", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a3500014d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a3500014d'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 157", "uid"=>"4515e581980eff476252807159278005c2bab6becd8529b7b36b0337247738eb", "secret"=>"f122835243746d0afaabb90de57531d9e20b5ec3c499c82bf1f92469adbe7b75", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a3500014d'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 157", "uid"=>"4515e581980eff476252807159278005c2bab6becd8529b7b36b0337247738eb", "secret"=>"f122835243746d0afaabb90de57531d9e20b5ec3c499c82bf1f92469adbe7b75", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"35dfc8f05b587a744d421006e7bf9b86d5a3ca087f12a45bd4c7147f2c7fd9f7", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a3500014e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a3500014e'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 158", "uid"=>"35dfc8f05b587a744d421006e7bf9b86d5a3ca087f12a45bd4c7147f2c7fd9f7", "secret"=>"ff672040209c12a2bedb110caf0a4251a8d7abd21c5426b02955fb82045e8d92", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a3500014e'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 158", "uid"=>"35dfc8f05b587a744d421006e7bf9b86d5a3ca087f12a45bd4c7147f2c7fd9f7", "secret"=>"ff672040209c12a2bedb110caf0a4251a8d7abd21c5426b02955fb82045e8d92", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a3946ee3fa59ed1c8acdf82597c7593665879a4ff522af23e134fa24e36e636d", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a3500014f')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a3500014f'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 159", "uid"=>"a3946ee3fa59ed1c8acdf82597c7593665879a4ff522af23e134fa24e36e636d", "secret"=>"03988172dc56af273be3be0574915c582f167645d7a08312f9c59901b28a64d9", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a3500014f'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 159", "uid"=>"a3946ee3fa59ed1c8acdf82597c7593665879a4ff522af23e134fa24e36e636d", "secret"=>"03988172dc56af273be3be0574915c582f167645d7a08312f9c59901b28a64d9", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({}).sort([["name", 1]]) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f843f5c90e01e52b20b9161ad0353da39a2cfa93bf8650e0848bd4f1d8936e0f", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000150')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000150'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 160", "uid"=>"f843f5c90e01e52b20b9161ad0353da39a2cfa93bf8650e0848bd4f1d8936e0f", "secret"=>"0d753e96a60a2b61bfa00acfc438383f5855ea3b67371f10e57401788002c3ef", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000150'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 160", "uid"=>"f843f5c90e01e52b20b9161ad0353da39a2cfa93bf8650e0848bd4f1d8936e0f", "secret"=>"0d753e96a60a2b61bfa00acfc438383f5855ea3b67371f10e57401788002c3ef", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b9874a8604570c66a1ce53246b349b27a17c42bdb80e9cd5a6f358ec4bb913b8", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000151')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000151'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 161", "uid"=>"b9874a8604570c66a1ce53246b349b27a17c42bdb80e9cd5a6f358ec4bb913b8", "secret"=>"d3a6194c440b30937bc68416d0e9486dd98961997b37d24b8fe27a75ceee078b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000151'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 161", "uid"=>"b9874a8604570c66a1ce53246b349b27a17c42bdb80e9cd5a6f358ec4bb913b8", "secret"=>"d3a6194c440b30937bc68416d0e9486dd98961997b37d24b8fe27a75ceee078b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7323df1e9b9d7bea0055b2ef7f9653e0cb3defbb4488b0b3979741e9e98819cc", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000152')}}, {:_id=>1}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000152'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 162", "uid"=>"7323df1e9b9d7bea0055b2ef7f9653e0cb3defbb4488b0b3979741e9e98819cc", "secret"=>"3242f05ce9bc873dc7db1c3086df1a95383336bf9999cb3a7e466ea8ed1b0a94", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000152'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 162", "uid"=>"7323df1e9b9d7bea0055b2ef7f9653e0cb3defbb4488b0b3979741e9e98819cc", "secret"=>"3242f05ce9bc873dc7db1c3086df1a95383336bf9999cb3a7e466ea8ed1b0a94", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7a7f4ecb25c9e9915648b8c9c0a59bbb30eb1d302acecd47428799111f1c9168", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000153')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000153'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 163", "uid"=>"7a7f4ecb25c9e9915648b8c9c0a59bbb30eb1d302acecd47428799111f1c9168", "secret"=>"464dbfb5f34e87780c64353e6f617a000ca17cbf1a7bc95f9b831bf56cec5ce6", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000153'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 163", "uid"=>"7a7f4ecb25c9e9915648b8c9c0a59bbb30eb1d302acecd47428799111f1c9168", "secret"=>"464dbfb5f34e87780c64353e6f617a000ca17cbf1a7bc95f9b831bf56cec5ce6", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d3e66e55f1ebc287405cd5eaa7b320c1aa048dea6f0bd308fb81ae7679ecf2fd", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000154')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000154'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 164", "uid"=>"d3e66e55f1ebc287405cd5eaa7b320c1aa048dea6f0bd308fb81ae7679ecf2fd", "secret"=>"e65195c55d1b8ace178d7e3e4850844b6b844e12e3ba2ea4b59a215cdd3f7195", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000154'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 164", "uid"=>"d3e66e55f1ebc287405cd5eaa7b320c1aa048dea6f0bd308fb81ae7679ecf2fd", "secret"=>"e65195c55d1b8ace178d7e3e4850844b6b844e12e3ba2ea4b59a215cdd3f7195", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({}).sort([["name", -1]]) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"451187f1e4d21799a1af3d79a1acf1e0341ec0f8d971cbb88328773b01debb72", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000155')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000155'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Just another oauth app", "uid"=>"451187f1e4d21799a1af3d79a1acf1e0341ec0f8d971cbb88328773b01debb72", "secret"=>"04aebea6f9d2676c400f97927190835c69982980e445c524ad43562026a9b9c2", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000155'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Just another oauth app", "uid"=>"451187f1e4d21799a1af3d79a1acf1e0341ec0f8d971cbb88328773b01debb72", "secret"=>"04aebea6f9d2676c400f97927190835c69982980e445c524ad43562026a9b9c2", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Started GET "/oauth/applications/5bb622413541594a35000155" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by Doorkeeper::ApplicationsController#show as HTML Parameters: {"id"=>"5bb622413541594a35000155"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622413541594a35000155')}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (1.9ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/show.html.erb within layouts/doorkeeper/admin (6.3ms) Completed 200 OK in 20ms (Views: 18.4ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b37f38a9656e6a55f4df4293837ea068d5062131f438e7aa3a9ce2130a7fabc5", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000156')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000156'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"MyApp", "uid"=>"b37f38a9656e6a55f4df4293837ea068d5062131f438e7aa3a9ce2130a7fabc5", "secret"=>"0de24a31c528d8af6af89c3ade0eaf0beddae4a5f57b70ac3ba638a79afdb2cf", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000156'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"MyApp", "uid"=>"b37f38a9656e6a55f4df4293837ea068d5062131f438e7aa3a9ce2130a7fabc5", "secret"=>"0de24a31c528d8af6af89c3ade0eaf0beddae4a5f57b70ac3ba638a79afdb2cf", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Started GET "/oauth/authorize?client_id=b37f38a9656e6a55f4df4293837ea068d5062131f438e7aa3a9ce2130a7fabc5&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"b37f38a9656e6a55f4df4293837ea068d5062131f438e7aa3a9ce2130a7fabc5", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/sign_in Filter chain halted as :authenticate_resource_owner! rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (2.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b7c5deccdb706ab32dcef5f15df517b60a99123628cfb34ec5d118776ba138bb", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000157')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000157'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"MyApp", "uid"=>"b7c5deccdb706ab32dcef5f15df517b60a99123628cfb34ec5d118776ba138bb", "secret"=>"1ed3b7dd1bb3dc8d75782aff0ef3ac242d445081b897c5e8c7ac7c3c108aadaf", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000157'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"MyApp", "uid"=>"b7c5deccdb706ab32dcef5f15df517b60a99123628cfb34ec5d118776ba138bb", "secret"=>"1ed3b7dd1bb3dc8d75782aff0ef3ac242d445081b897c5e8c7ac7c3c108aadaf", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000158'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000158'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=b7c5deccdb706ab32dcef5f15df517b60a99123628cfb34ec5d118776ba138bb&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"b7c5deccdb706ab32dcef5f15df517b60a99123628cfb34ec5d118776ba138bb", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b7c5deccdb706ab32dcef5f15df517b60a99123628cfb34ec5d118776ba138bb"}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/error.html.erb within layouts/doorkeeper/application (0.6ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (3.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (3.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ad0e3e712385814c1e3a3bfb6458433cb9a105926b27529b275c2b2e21b56a93", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000159')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000159'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"MyApp", "uid"=>"ad0e3e712385814c1e3a3bfb6458433cb9a105926b27529b275c2b2e21b56a93", "secret"=>"f8d228e3e9ca99721a0b236e06d341e958b4be13f4f50d7818913ce42580af1e", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000159'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"MyApp", "uid"=>"ad0e3e712385814c1e3a3bfb6458433cb9a105926b27529b275c2b2e21b56a93", "secret"=>"f8d228e3e9ca99721a0b236e06d341e958b4be13f4f50d7818913ce42580af1e", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a3500015a'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622413541594a3500015a'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=ad0e3e712385814c1e3a3bfb6458433cb9a105926b27529b275c2b2e21b56a93&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"ad0e3e712385814c1e3a3bfb6458433cb9a105926b27529b275c2b2e21b56a93", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ad0e3e712385814c1e3a3bfb6458433cb9a105926b27529b275c2b2e21b56a93"}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/error.html.erb within layouts/doorkeeper/application (0.2ms) Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b85b4181028468a9f53bf832aa38e54945b8096a7e0e74702d791fe5bbe6b26b", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a3500015b')}}, {:_id=>1}).limit(-1) MONGODB (3.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a3500015b'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"MyApp", "uid"=>"b85b4181028468a9f53bf832aa38e54945b8096a7e0e74702d791fe5bbe6b26b", "secret"=>"bff4b0e0e5cc3c14179bedfd6e41de5009b90a4f682bc46f75d6daf71aecb429", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (3.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a3500015b'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"MyApp", "uid"=>"b85b4181028468a9f53bf832aa38e54945b8096a7e0e74702d791fe5bbe6b26b", "secret"=>"bff4b0e0e5cc3c14179bedfd6e41de5009b90a4f682bc46f75d6daf71aecb429", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a3500015c'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622413541594a3500015c'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=b85b4181028468a9f53bf832aa38e54945b8096a7e0e74702d791fe5bbe6b26b&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public+write" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"b85b4181028468a9f53bf832aa38e54945b8096a7e0e74702d791fe5bbe6b26b", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public write"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b85b4181028468a9f53bf832aa38e54945b8096a7e0e74702d791fe5bbe6b26b"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622413541594a3500015b'), :resource_owner_id=>BSON::ObjectId('5bb622413541594a3500015c'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.2ms) Completed 200 OK in 6ms (Views: 2.5ms | ActiveRecord: 0.0ms) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"9e4dfc2ab673accab2eda8a15eebc17adc310294ac0342e85a5da0c71a4c1a06", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a3500015d')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a3500015d'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"MyApp", "uid"=>"9e4dfc2ab673accab2eda8a15eebc17adc310294ac0342e85a5da0c71a4c1a06", "secret"=>"698e292a99f38e170dfdf8ad63dd345f6cb249b852fdf0b90d20d25672e44663", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a3500015d'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"MyApp", "uid"=>"9e4dfc2ab673accab2eda8a15eebc17adc310294ac0342e85a5da0c71a4c1a06", "secret"=>"698e292a99f38e170dfdf8ad63dd345f6cb249b852fdf0b90d20d25672e44663", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a3500015e'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622413541594a3500015e'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=9e4dfc2ab673accab2eda8a15eebc17adc310294ac0342e85a5da0c71a4c1a06&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"9e4dfc2ab673accab2eda8a15eebc17adc310294ac0342e85a5da0c71a4c1a06", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"9e4dfc2ab673accab2eda8a15eebc17adc310294ac0342e85a5da0c71a4c1a06"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622413541594a3500015d'), :resource_owner_id=>BSON::ObjectId('5bb622413541594a3500015e'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.0ms) Completed 200 OK in 7ms (Views: 2.3ms | ActiveRecord: 0.0ms) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"14b52e1bd6b88565d02fe5be591b4fdf08dc3fdd32859a6df7993e8820379fc1", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a3500015f')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a3500015f'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"MyApp", "uid"=>"14b52e1bd6b88565d02fe5be591b4fdf08dc3fdd32859a6df7993e8820379fc1", "secret"=>"cd7a4545bea3449ee6dafb5b7725b4adb07e37c1692c3f745c2d2bd6f81c4f32", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a3500015f'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"MyApp", "uid"=>"14b52e1bd6b88565d02fe5be591b4fdf08dc3fdd32859a6df7993e8820379fc1", "secret"=>"cd7a4545bea3449ee6dafb5b7725b4adb07e37c1692c3f745c2d2bd6f81c4f32", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000160'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000160'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize?client_id=14b52e1bd6b88565d02fe5be591b4fdf08dc3fdd32859a6df7993e8820379fc1&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"14b52e1bd6b88565d02fe5be591b4fdf08dc3fdd32859a6df7993e8820379fc1", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} Can't verify CSRF token authenticity Completed 422 Unprocessable Entity in 0ms (ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"55470815f6882f7f0f2a7487ef4c28a4b130e6f19336d33a6ecd55d9605cdb4e", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000161')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000161'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Oauth Dude", "uid"=>"55470815f6882f7f0f2a7487ef4c28a4b130e6f19336d33a6ecd55d9605cdb4e", "secret"=>"7b657b79e54f9336fcb60a31dd09c3365cff626072780a23b5f3e822e530b4bd", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000161'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Oauth Dude", "uid"=>"55470815f6882f7f0f2a7487ef4c28a4b130e6f19336d33a6ecd55d9605cdb4e", "secret"=>"7b657b79e54f9336fcb60a31dd09c3365cff626072780a23b5f3e822e530b4bd", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c164646fef1345a060d7e62a5eee42afea95f247e5f108d9d312e81f6e9a2c91", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000162')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000162'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Awesome App", "uid"=>"c164646fef1345a060d7e62a5eee42afea95f247e5f108d9d312e81f6e9a2c91", "secret"=>"067561d361b6c2924b9826eaba0442c3f0c3da2426457ff45022ef23bd3d28b4", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000162'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Awesome App", "uid"=>"c164646fef1345a060d7e62a5eee42afea95f247e5f108d9d312e81f6e9a2c91", "secret"=>"067561d361b6c2924b9826eaba0442c3f0c3da2426457ff45022ef23bd3d28b4", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Started GET "/oauth/applications" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by Doorkeeper::ApplicationsController#index as HTML MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({}).sort([["created_at", 1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (0.9ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (0.3ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/index.html.erb within layouts/doorkeeper/admin (6.5ms) Completed 200 OK in 10ms (Views: 9.2ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"668c662562aaa738f10ba00f9c69314bd30f25cf018a8f7637aa5fc9e3e05fb8", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000163')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000163'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 165", "uid"=>"668c662562aaa738f10ba00f9c69314bd30f25cf018a8f7637aa5fc9e3e05fb8", "secret"=>"aefcffb272e2bdec23ef386771f04a487272f20aa8ac4858bbbd63aaa887bc0d", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000163'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 165", "uid"=>"668c662562aaa738f10ba00f9c69314bd30f25cf018a8f7637aa5fc9e3e05fb8", "secret"=>"aefcffb272e2bdec23ef386771f04a487272f20aa8ac4858bbbd63aaa887bc0d", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000164'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000164'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by HomeController#sign_in as HTML MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=668c662562aaa738f10ba00f9c69314bd30f25cf018a8f7637aa5fc9e3e05fb8&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"668c662562aaa738f10ba00f9c69314bd30f25cf018a8f7637aa5fc9e3e05fb8", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"668c662562aaa738f10ba00f9c69314bd30f25cf018a8f7637aa5fc9e3e05fb8"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622413541594a35000163'), :resource_owner_id=>BSON::ObjectId('5bb622413541594a35000164'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.0ms) Completed 200 OK in 7ms (Views: 2.4ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"668c662562aaa738f10ba00f9c69314bd30f25cf018a8f7637aa5fc9e3e05fb8", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"", "commit"=>"Authorize"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"668c662562aaa738f10ba00f9c69314bd30f25cf018a8f7637aa5fc9e3e05fb8"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"13b250747424057182571ce10d09d0421413f1c9644cf5fea2472c41e33002b9", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000165')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000165'), "application_id"=>BSON::ObjectId('5bb622413541594a35000163'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622413541594a35000164'), "token"=>"13b250747424057182571ce10d09d0421413f1c9644cf5fea2472c41e33002b9", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000165'), "application_id"=>BSON::ObjectId('5bb622413541594a35000163'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622413541594a35000164'), "token"=>"13b250747424057182571ce10d09d0421413f1c9644cf5fea2472c41e33002b9", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=13b250747424057182571ce10d09d0421413f1c9644cf5fea2472c41e33002b9 Completed 302 Found in 6ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622413541594a35000163')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ad9a055aaf6f6d447c1f5097bf35d418856ac528045f11304ef7f3df07ee2a52", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000166')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000166'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 166", "uid"=>"ad9a055aaf6f6d447c1f5097bf35d418856ac528045f11304ef7f3df07ee2a52", "secret"=>"6f13814c410fea064ce5471e0448cbadaae18dad32a9b85ab9c21adc3f916406", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000166'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 166", "uid"=>"ad9a055aaf6f6d447c1f5097bf35d418856ac528045f11304ef7f3df07ee2a52", "secret"=>"6f13814c410fea064ce5471e0448cbadaae18dad32a9b85ab9c21adc3f916406", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000167'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000167'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ad9a055aaf6f6d447c1f5097bf35d418856ac528045f11304ef7f3df07ee2a52", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000166')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622413541594a35000166')}, :u=>{"_id"=>BSON::ObjectId('5bb622413541594a35000166'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 166", "uid"=>"ad9a055aaf6f6d447c1f5097bf35d418856ac528045f11304ef7f3df07ee2a52", "secret"=>"6f13814c410fea064ce5471e0448cbadaae18dad32a9b85ab9c21adc3f916406", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "owner_id"=>nil}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb622413541594a35000166')}, {"_id"=>BSON::ObjectId('5bb622413541594a35000166'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 166", "uid"=>"ad9a055aaf6f6d447c1f5097bf35d418856ac528045f11304ef7f3df07ee2a52", "secret"=>"6f13814c410fea064ce5471e0448cbadaae18dad32a9b85ab9c21adc3f916406", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "owner_id"=>nil}) Started GET "/oauth/authorize?client_id=ad9a055aaf6f6d447c1f5097bf35d418856ac528045f11304ef7f3df07ee2a52&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&response_type=code" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"ad9a055aaf6f6d447c1f5097bf35d418856ac528045f11304ef7f3df07ee2a52", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "response_type"=>"code"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ad9a055aaf6f6d447c1f5097bf35d418856ac528045f11304ef7f3df07ee2a52"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622413541594a35000166'), :resource_owner_id=>BSON::ObjectId('5bb622413541594a35000167'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.0ms) Completed 200 OK in 7ms (Views: 2.8ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"ad9a055aaf6f6d447c1f5097bf35d418856ac528045f11304ef7f3df07ee2a52", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "state"=>"", "response_type"=>"code", "scope"=>"", "commit"=>"Authorize"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ad9a055aaf6f6d447c1f5097bf35d418856ac528045f11304ef7f3df07ee2a52"}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"694bb43f2e1b1e65ad8ae9e93e00f778bb0f360d30d23ded8d5c59967dd625b4", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000168')}}, {:_id=>1}).limit(-1) MONGODB (2.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000168'), "application_id"=>BSON::ObjectId('5bb622413541594a35000166'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622413541594a35000167'), "token"=>"694bb43f2e1b1e65ad8ae9e93e00f778bb0f360d30d23ded8d5c59967dd625b4", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (2.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000168'), "application_id"=>BSON::ObjectId('5bb622413541594a35000166'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622413541594a35000167'), "token"=>"694bb43f2e1b1e65ad8ae9e93e00f778bb0f360d30d23ded8d5c59967dd625b4", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}) Redirected to http://www.example.com/oauth/authorize/native?code=694bb43f2e1b1e65ad8ae9e93e00f778bb0f360d30d23ded8d5c59967dd625b4 Completed 302 Found in 14ms (ActiveRecord: 0.0ms) Started GET "/oauth/authorize/native?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by Doorkeeper::AuthorizationsController#show as HTML Parameters: {"code"=>"[FILTERED]"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/show.html.erb within layouts/doorkeeper/application (0.6ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622413541594a35000166')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"162e6e30d627bbf375ca8fea3e6de43722db3d4f6aba149d0f30e0848681a418", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000169')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000169'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 167", "uid"=>"162e6e30d627bbf375ca8fea3e6de43722db3d4f6aba149d0f30e0848681a418", "secret"=>"e7f5f4b332254ebc15d8e23b9501741e04e6660f2c07b0a09d7413410b0b86d0", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000169'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 167", "uid"=>"162e6e30d627bbf375ca8fea3e6de43722db3d4f6aba149d0f30e0848681a418", "secret"=>"e7f5f4b332254ebc15d8e23b9501741e04e6660f2c07b0a09d7413410b0b86d0", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a3500016a'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622413541594a3500016a'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=162e6e30d627bbf375ca8fea3e6de43722db3d4f6aba149d0f30e0848681a418&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&state=return-me" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"162e6e30d627bbf375ca8fea3e6de43722db3d4f6aba149d0f30e0848681a418", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "state"=>"return-me"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"162e6e30d627bbf375ca8fea3e6de43722db3d4f6aba149d0f30e0848681a418"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622413541594a35000169'), :resource_owner_id=>BSON::ObjectId('5bb622413541594a3500016a'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.3ms) Completed 200 OK in 8ms (Views: 2.8ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"162e6e30d627bbf375ca8fea3e6de43722db3d4f6aba149d0f30e0848681a418", "redirect_uri"=>"https://app.com/callback", "state"=>"return-me", "response_type"=>"code", "scope"=>"", "commit"=>"Authorize"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"162e6e30d627bbf375ca8fea3e6de43722db3d4f6aba149d0f30e0848681a418"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"032a0cdd4c457e94c057a7cc7f2217e393e5c7bb2f6705a73f59ffd44d7dc705", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a3500016b')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a3500016b'), "application_id"=>BSON::ObjectId('5bb622413541594a35000169'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622413541594a3500016a'), "token"=>"032a0cdd4c457e94c057a7cc7f2217e393e5c7bb2f6705a73f59ffd44d7dc705", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622413541594a3500016b'), "application_id"=>BSON::ObjectId('5bb622413541594a35000169'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622413541594a3500016a'), "token"=>"032a0cdd4c457e94c057a7cc7f2217e393e5c7bb2f6705a73f59ffd44d7dc705", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=032a0cdd4c457e94c057a7cc7f2217e393e5c7bb2f6705a73f59ffd44d7dc705&state=return-me Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]&state=return-me" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]", "state"=>"return-me"} Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) MONGODB (3.0ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f2e471812978cb1ba1bee1011cdc1c926f785450e38dbbaa548269a305edc0e6", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a3500016c')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a3500016c'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 168", "uid"=>"f2e471812978cb1ba1bee1011cdc1c926f785450e38dbbaa548269a305edc0e6", "secret"=>"b049968ae5d70bce579c7e43a2da64f3c7cd647298c9b696069c073c420df820", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a3500016c'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 168", "uid"=>"f2e471812978cb1ba1bee1011cdc1c926f785450e38dbbaa548269a305edc0e6", "secret"=>"b049968ae5d70bce579c7e43a2da64f3c7cd647298c9b696069c073c420df820", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a3500016d'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622413541594a3500016d'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by HomeController#sign_in as HTML MONGODB (2.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=f2e471812978cb1ba1bee1011cdc1c926f785450e38dbbaa548269a305edc0e6&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"f2e471812978cb1ba1bee1011cdc1c926f785450e38dbbaa548269a305edc0e6", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f2e471812978cb1ba1bee1011cdc1c926f785450e38dbbaa548269a305edc0e6"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622413541594a3500016c'), :resource_owner_id=>BSON::ObjectId('5bb622413541594a3500016d'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.7ms) Completed 200 OK in 12ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"f2e471812978cb1ba1bee1011cdc1c926f785450e38dbbaa548269a305edc0e6", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"", "commit"=>"Authorize"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (6.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f2e471812978cb1ba1bee1011cdc1c926f785450e38dbbaa548269a305edc0e6"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"cc1703566a205747e2653bead5a3b9fe85ad2e6d64c2d9f3932e3d1bf3e05bd6", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a3500016e')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a3500016e'), "application_id"=>BSON::ObjectId('5bb622413541594a3500016c'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622413541594a3500016d'), "token"=>"cc1703566a205747e2653bead5a3b9fe85ad2e6d64c2d9f3932e3d1bf3e05bd6", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622413541594a3500016e'), "application_id"=>BSON::ObjectId('5bb622413541594a3500016c'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622413541594a3500016d'), "token"=>"cc1703566a205747e2653bead5a3b9fe85ad2e6d64c2d9f3932e3d1bf3e05bd6", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=cc1703566a205747e2653bead5a3b9fe85ad2e6d64c2d9f3932e3d1bf3e05bd6 Completed 302 Found in 12ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) Started POST "/oauth/token?code=[FILTERED]&client_id=f2e471812978cb1ba1bee1011cdc1c926f785450e38dbbaa548269a305edc0e6&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"f2e471812978cb1ba1bee1011cdc1c926f785450e38dbbaa548269a305edc0e6", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"cc1703566a205747e2653bead5a3b9fe85ad2e6d64c2d9f3932e3d1bf3e05bd6"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f2e471812978cb1ba1bee1011cdc1c926f785450e38dbbaa548269a305edc0e6"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb622413541594a3500016e')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622413541594a3500016e')}, :u=>{"_id"=>BSON::ObjectId('5bb622413541594a3500016e'), "application_id"=>BSON::ObjectId('5bb622413541594a3500016c'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622413541594a3500016d'), "token"=>"cc1703566a205747e2653bead5a3b9fe85ad2e6d64c2d9f3932e3d1bf3e05bd6", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb622413541594a3500016e')}, {"_id"=>BSON::ObjectId('5bb622413541594a3500016e'), "application_id"=>BSON::ObjectId('5bb622413541594a3500016c'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622413541594a3500016d'), "token"=>"cc1703566a205747e2653bead5a3b9fe85ad2e6d64c2d9f3932e3d1bf3e05bd6", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622413541594a3500016c')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622413541594a3500016c')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"1caa50d0cbc27a6637bf2e2b926b99206776af1545cba55a0dc2ca77e71cef38", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a3500016f')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a3500016f'), "application_id"=>BSON::ObjectId('5bb622413541594a3500016c'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622413541594a3500016d'), "token"=>"1caa50d0cbc27a6637bf2e2b926b99206776af1545cba55a0dc2ca77e71cef38", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622413541594a3500016f'), "application_id"=>BSON::ObjectId('5bb622413541594a3500016c'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622413541594a3500016d'), "token"=>"1caa50d0cbc27a6637bf2e2b926b99206776af1545cba55a0dc2ca77e71cef38", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 9ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622413541594a3500016c')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6e5c0aee43c7735a0e1f044ba3185c85c3ab0a5d8cad76c6e66201f5111afea9", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000170')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000170'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 169", "uid"=>"6e5c0aee43c7735a0e1f044ba3185c85c3ab0a5d8cad76c6e66201f5111afea9", "secret"=>"89574c602b37fba36332926e6c7f2fd5158b9bb0b02436aa9e3334f1a73bfc61", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000170'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 169", "uid"=>"6e5c0aee43c7735a0e1f044ba3185c85c3ab0a5d8cad76c6e66201f5111afea9", "secret"=>"89574c602b37fba36332926e6c7f2fd5158b9bb0b02436aa9e3334f1a73bfc61", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000171'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000171'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=6e5c0aee43c7735a0e1f044ba3185c85c3ab0a5d8cad76c6e66201f5111afea9&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"6e5c0aee43c7735a0e1f044ba3185c85c3ab0a5d8cad76c6e66201f5111afea9", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6e5c0aee43c7735a0e1f044ba3185c85c3ab0a5d8cad76c6e66201f5111afea9"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622413541594a35000170'), :resource_owner_id=>BSON::ObjectId('5bb622413541594a35000171'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.1ms) Completed 200 OK in 7ms (Views: 2.6ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"6e5c0aee43c7735a0e1f044ba3185c85c3ab0a5d8cad76c6e66201f5111afea9", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public", "commit"=>"Authorize"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6e5c0aee43c7735a0e1f044ba3185c85c3ab0a5d8cad76c6e66201f5111afea9"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"aa5e7bb6096591ec34cdefd3f929ec55fc253bf94136139b62952a07d8fe95cc", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000172')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000172'), "application_id"=>BSON::ObjectId('5bb622413541594a35000170'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622413541594a35000171'), "token"=>"aa5e7bb6096591ec34cdefd3f929ec55fc253bf94136139b62952a07d8fe95cc", "scopes"=>"public", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000172'), "application_id"=>BSON::ObjectId('5bb622413541594a35000170'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622413541594a35000171'), "token"=>"aa5e7bb6096591ec34cdefd3f929ec55fc253bf94136139b62952a07d8fe95cc", "scopes"=>"public", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=aa5e7bb6096591ec34cdefd3f929ec55fc253bf94136139b62952a07d8fe95cc Completed 302 Found in 6ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622413541594a35000170')}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7dc57b53f52d042cb6482e2b7cfa6226815e24f908883a7eae388ce3cca4acca", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000173')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000173'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 170", "uid"=>"7dc57b53f52d042cb6482e2b7cfa6226815e24f908883a7eae388ce3cca4acca", "secret"=>"42d9206cf645831c23f8251c94745c74a488b01c998fcad2128806ecb520d724", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000173'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Application 170", "uid"=>"7dc57b53f52d042cb6482e2b7cfa6226815e24f908883a7eae388ce3cca4acca", "secret"=>"42d9206cf645831c23f8251c94745c74a488b01c998fcad2128806ecb520d724", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000174'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000174'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=7dc57b53f52d042cb6482e2b7cfa6226815e24f908883a7eae388ce3cca4acca&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public+write" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"7dc57b53f52d042cb6482e2b7cfa6226815e24f908883a7eae388ce3cca4acca", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public write"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7dc57b53f52d042cb6482e2b7cfa6226815e24f908883a7eae388ce3cca4acca"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622413541594a35000173'), :resource_owner_id=>BSON::ObjectId('5bb622413541594a35000174'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.4ms) Completed 200 OK in 8ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"7dc57b53f52d042cb6482e2b7cfa6226815e24f908883a7eae388ce3cca4acca", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public write", "commit"=>"Authorize"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7dc57b53f52d042cb6482e2b7cfa6226815e24f908883a7eae388ce3cca4acca"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"4e859d12135ab36907eb2e313db6f482aa9b3bfe9f2e426ac0263f5d3cb2569b", :_id=>{:$ne=>BSON::ObjectId('5bb622413541594a35000175')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622413541594a35000175'), "application_id"=>BSON::ObjectId('5bb622413541594a35000173'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622413541594a35000174'), "token"=>"4e859d12135ab36907eb2e313db6f482aa9b3bfe9f2e426ac0263f5d3cb2569b", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622413541594a35000175'), "application_id"=>BSON::ObjectId('5bb622413541594a35000173'), "created_at"=>2018-10-04 14:22:57 UTC, "updated_at"=>2018-10-04 14:22:57 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622413541594a35000174'), "token"=>"4e859d12135ab36907eb2e313db6f482aa9b3bfe9f2e426ac0263f5d3cb2569b", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=4e859d12135ab36907eb2e313db6f482aa9b3bfe9f2e426ac0263f5d3cb2569b Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:22:57 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8dd29967f5cbb21ff3dda5d851d731d5700bea67c5491e048a71340391bd89f9", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a35000176')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a35000176'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 171", "uid"=>"8dd29967f5cbb21ff3dda5d851d731d5700bea67c5491e048a71340391bd89f9", "secret"=>"a646677f3e510591c96274f2140af831d7fb19a3337b8d4fa1952a17f9bff8bc", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622423541594a35000176'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 171", "uid"=>"8dd29967f5cbb21ff3dda5d851d731d5700bea67c5491e048a71340391bd89f9", "secret"=>"a646677f3e510591c96274f2140af831d7fb19a3337b8d4fa1952a17f9bff8bc", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a35000177'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622423541594a35000177'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:22:58 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:22:58 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:22:58 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=8dd29967f5cbb21ff3dda5d851d731d5700bea67c5491e048a71340391bd89f9&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=write" for 127.0.0.1 at 2018-10-04 17:22:58 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"8dd29967f5cbb21ff3dda5d851d731d5700bea67c5491e048a71340391bd89f9", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"write"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8dd29967f5cbb21ff3dda5d851d731d5700bea67c5491e048a71340391bd89f9"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622423541594a35000176'), :resource_owner_id=>BSON::ObjectId('5bb622423541594a35000177'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.1ms) Completed 200 OK in 7ms (Views: 2.4ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:22:58 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"8dd29967f5cbb21ff3dda5d851d731d5700bea67c5491e048a71340391bd89f9", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"write", "commit"=>"Authorize"} MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8dd29967f5cbb21ff3dda5d851d731d5700bea67c5491e048a71340391bd89f9"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"ed99070d853e8337a6a38fa0b790f699e286acfcbe2e75b75cbadc367ecf280b", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a35000178')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a35000178'), "application_id"=>BSON::ObjectId('5bb622423541594a35000176'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622423541594a35000177'), "token"=>"ed99070d853e8337a6a38fa0b790f699e286acfcbe2e75b75cbadc367ecf280b", "scopes"=>"write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622423541594a35000178'), "application_id"=>BSON::ObjectId('5bb622423541594a35000176'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622423541594a35000177'), "token"=>"ed99070d853e8337a6a38fa0b790f699e286acfcbe2e75b75cbadc367ecf280b", "scopes"=>"write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=ed99070d853e8337a6a38fa0b790f699e286acfcbe2e75b75cbadc367ecf280b Completed 302 Found in 6ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:22:58 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"40a9a3a542163fc67a3f66cfb1b57f725f714dd9bd7a3b0cf790294bdc8894de", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a35000179')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a35000179'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 172", "uid"=>"40a9a3a542163fc67a3f66cfb1b57f725f714dd9bd7a3b0cf790294bdc8894de", "secret"=>"66b8ad551db1683c69a05179616685f54409343a520d7e0862d30235c3572bae", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622423541594a35000179'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 172", "uid"=>"40a9a3a542163fc67a3f66cfb1b57f725f714dd9bd7a3b0cf790294bdc8894de", "secret"=>"66b8ad551db1683c69a05179616685f54409343a520d7e0862d30235c3572bae", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a3500017a'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622423541594a3500017a'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:22:58 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:22:58 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:22:58 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=40a9a3a542163fc67a3f66cfb1b57f725f714dd9bd7a3b0cf790294bdc8894de&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public+write" for 127.0.0.1 at 2018-10-04 17:22:58 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"40a9a3a542163fc67a3f66cfb1b57f725f714dd9bd7a3b0cf790294bdc8894de", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public write"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"40a9a3a542163fc67a3f66cfb1b57f725f714dd9bd7a3b0cf790294bdc8894de"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622423541594a35000179'), :resource_owner_id=>BSON::ObjectId('5bb622423541594a3500017a'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.2ms) Completed 200 OK in 7ms (Views: 2.5ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:22:58 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"40a9a3a542163fc67a3f66cfb1b57f725f714dd9bd7a3b0cf790294bdc8894de", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public write", "commit"=>"Authorize"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"40a9a3a542163fc67a3f66cfb1b57f725f714dd9bd7a3b0cf790294bdc8894de"}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"d792899f0bd876bbf6890f4726b5b9b7a860249e11abca2e4d9c6cb107b1e801", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a3500017b')}}, {:_id=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a3500017b'), "application_id"=>BSON::ObjectId('5bb622423541594a35000179'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622423541594a3500017a'), "token"=>"d792899f0bd876bbf6890f4726b5b9b7a860249e11abca2e4d9c6cb107b1e801", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622423541594a3500017b'), "application_id"=>BSON::ObjectId('5bb622423541594a35000179'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622423541594a3500017a'), "token"=>"d792899f0bd876bbf6890f4726b5b9b7a860249e11abca2e4d9c6cb107b1e801", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=d792899f0bd876bbf6890f4726b5b9b7a860249e11abca2e4d9c6cb107b1e801 Completed 302 Found in 12ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:22:58 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) Started POST "/oauth/token?code=[FILTERED]&client_id=40a9a3a542163fc67a3f66cfb1b57f725f714dd9bd7a3b0cf790294bdc8894de&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:22:58 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"40a9a3a542163fc67a3f66cfb1b57f725f714dd9bd7a3b0cf790294bdc8894de", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"d792899f0bd876bbf6890f4726b5b9b7a860249e11abca2e4d9c6cb107b1e801"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"40a9a3a542163fc67a3f66cfb1b57f725f714dd9bd7a3b0cf790294bdc8894de"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb622423541594a3500017b')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622423541594a3500017b')}, :u=>{"_id"=>BSON::ObjectId('5bb622423541594a3500017b'), "application_id"=>BSON::ObjectId('5bb622423541594a35000179'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622423541594a3500017a'), "token"=>"d792899f0bd876bbf6890f4726b5b9b7a860249e11abca2e4d9c6cb107b1e801", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb622423541594a3500017b')}, {"_id"=>BSON::ObjectId('5bb622423541594a3500017b'), "application_id"=>BSON::ObjectId('5bb622423541594a35000179'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622423541594a3500017a'), "token"=>"d792899f0bd876bbf6890f4726b5b9b7a860249e11abca2e4d9c6cb107b1e801", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622423541594a35000179')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622423541594a35000179')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f66ef300ef53487d540bf2b4210d4c7a7c9fda033670d20ed6ce187e0fa480da", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a3500017c')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a3500017c'), "application_id"=>BSON::ObjectId('5bb622423541594a35000179'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622423541594a3500017a'), "token"=>"f66ef300ef53487d540bf2b4210d4c7a7c9fda033670d20ed6ce187e0fa480da", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622423541594a3500017c'), "application_id"=>BSON::ObjectId('5bb622423541594a35000179'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622423541594a3500017a'), "token"=>"f66ef300ef53487d540bf2b4210d4c7a7c9fda033670d20ed6ce187e0fa480da", "expires_in"=>7200, "scopes"=>"public write"}) Completed 200 OK in 10ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622423541594a35000179')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c6c3d3faf1f57173131f0e19d70af39012b95ecb1deca709a2d9d6dd704829fd", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a3500017d')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a3500017d'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 173", "uid"=>"c6c3d3faf1f57173131f0e19d70af39012b95ecb1deca709a2d9d6dd704829fd", "secret"=>"2ddf6beaee814c73b24f883660b8f9c383231622769761efb5fe26ab3d1d339c", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622423541594a3500017d'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 173", "uid"=>"c6c3d3faf1f57173131f0e19d70af39012b95ecb1deca709a2d9d6dd704829fd", "secret"=>"2ddf6beaee814c73b24f883660b8f9c383231622769761efb5fe26ab3d1d339c", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a3500017e'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622423541594a3500017e'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:22:58 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:22:58 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:22:58 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"6cae35d0d9bca927386bf3b095de35c4731b7d44d1ad5e7964c7ce76da81163c", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a3500017f')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a3500017f'), "application_id"=>BSON::ObjectId('5bb622423541594a3500017d'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622423541594a3500017e'), "token"=>"6cae35d0d9bca927386bf3b095de35c4731b7d44d1ad5e7964c7ce76da81163c", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622423541594a3500017f'), "application_id"=>BSON::ObjectId('5bb622423541594a3500017d'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622423541594a3500017e'), "token"=>"6cae35d0d9bca927386bf3b095de35c4731b7d44d1ad5e7964c7ce76da81163c", "expires_in"=>7200, "scopes"=>"public write"}) Started GET "/oauth/authorize?client_id=c6c3d3faf1f57173131f0e19d70af39012b95ecb1deca709a2d9d6dd704829fd&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public" for 127.0.0.1 at 2018-10-04 17:22:58 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"c6c3d3faf1f57173131f0e19d70af39012b95ecb1deca709a2d9d6dd704829fd", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c6c3d3faf1f57173131f0e19d70af39012b95ecb1deca709a2d9d6dd704829fd"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622423541594a3500017d'), :resource_owner_id=>BSON::ObjectId('5bb622423541594a3500017e'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.1ms) Completed 200 OK in 7ms (Views: 2.5ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:22:58 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"c6c3d3faf1f57173131f0e19d70af39012b95ecb1deca709a2d9d6dd704829fd", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public", "commit"=>"Authorize"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c6c3d3faf1f57173131f0e19d70af39012b95ecb1deca709a2d9d6dd704829fd"}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"fa83ee27df13768989cd3a8761b862e26dd595525a8d01bdbd9b12e3d376426e", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a35000180')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a35000180'), "application_id"=>BSON::ObjectId('5bb622423541594a3500017d'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622423541594a3500017e'), "token"=>"fa83ee27df13768989cd3a8761b862e26dd595525a8d01bdbd9b12e3d376426e", "scopes"=>"public", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622423541594a35000180'), "application_id"=>BSON::ObjectId('5bb622423541594a3500017d'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622423541594a3500017e'), "token"=>"fa83ee27df13768989cd3a8761b862e26dd595525a8d01bdbd9b12e3d376426e", "scopes"=>"public", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=fa83ee27df13768989cd3a8761b862e26dd595525a8d01bdbd9b12e3d376426e Completed 302 Found in 9ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:22:58 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) Started POST "/oauth/token?code=[FILTERED]&client_id=c6c3d3faf1f57173131f0e19d70af39012b95ecb1deca709a2d9d6dd704829fd&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:22:58 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"c6c3d3faf1f57173131f0e19d70af39012b95ecb1deca709a2d9d6dd704829fd", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"fa83ee27df13768989cd3a8761b862e26dd595525a8d01bdbd9b12e3d376426e"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c6c3d3faf1f57173131f0e19d70af39012b95ecb1deca709a2d9d6dd704829fd"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb622423541594a35000180')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622423541594a35000180')}, :u=>{"_id"=>BSON::ObjectId('5bb622423541594a35000180'), "application_id"=>BSON::ObjectId('5bb622423541594a3500017d'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622423541594a3500017e'), "token"=>"fa83ee27df13768989cd3a8761b862e26dd595525a8d01bdbd9b12e3d376426e", "scopes"=>"public", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb622423541594a35000180')}, {"_id"=>BSON::ObjectId('5bb622423541594a35000180'), "application_id"=>BSON::ObjectId('5bb622423541594a3500017d'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622423541594a3500017e'), "token"=>"fa83ee27df13768989cd3a8761b862e26dd595525a8d01bdbd9b12e3d376426e", "scopes"=>"public", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622423541594a3500017d')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622423541594a3500017d')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"b6162784b8d5ee9215357bae7993a359073ba7903b6c77e0d6a19f8056a9b547", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a35000181')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a35000181'), "application_id"=>BSON::ObjectId('5bb622423541594a3500017d'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622423541594a3500017e'), "token"=>"b6162784b8d5ee9215357bae7993a359073ba7903b6c77e0d6a19f8056a9b547", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622423541594a35000181'), "application_id"=>BSON::ObjectId('5bb622423541594a3500017d'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622423541594a3500017e'), "token"=>"b6162784b8d5ee9215357bae7993a359073ba7903b6c77e0d6a19f8056a9b547", "expires_in"=>7200, "scopes"=>"public"}) Completed 200 OK in 8ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d116a914299bcc090939673b06faa8bda077456d84a8ab84ffb1521d08b3a789", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a35000182')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a35000182'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 174", "uid"=>"d116a914299bcc090939673b06faa8bda077456d84a8ab84ffb1521d08b3a789", "secret"=>"df732d3acc1e131c958821fdbd699db686dec725d50dfb0cd50b1e7687a8120d", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622423541594a35000182'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 174", "uid"=>"d116a914299bcc090939673b06faa8bda077456d84a8ab84ffb1521d08b3a789", "secret"=>"df732d3acc1e131c958821fdbd699db686dec725d50dfb0cd50b1e7687a8120d", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a35000183'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622423541594a35000183'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:22:58 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:22:58 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:22:58 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"c71a05de3c9eeed2d96ca3fc4dfc3eaadd45d30a26f765c3aba4f59045f2ac20", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a35000184')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a35000184'), "application_id"=>BSON::ObjectId('5bb622423541594a35000182'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622423541594a35000183'), "token"=>"c71a05de3c9eeed2d96ca3fc4dfc3eaadd45d30a26f765c3aba4f59045f2ac20", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622423541594a35000184'), "application_id"=>BSON::ObjectId('5bb622423541594a35000182'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622423541594a35000183'), "token"=>"c71a05de3c9eeed2d96ca3fc4dfc3eaadd45d30a26f765c3aba4f59045f2ac20", "expires_in"=>7200, "scopes"=>"public"}) Started GET "/oauth/authorize?client_id=d116a914299bcc090939673b06faa8bda077456d84a8ab84ffb1521d08b3a789&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public+write" for 127.0.0.1 at 2018-10-04 17:22:58 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"d116a914299bcc090939673b06faa8bda077456d84a8ab84ffb1521d08b3a789", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public write"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d116a914299bcc090939673b06faa8bda077456d84a8ab84ffb1521d08b3a789"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622423541594a35000182'), :resource_owner_id=>BSON::ObjectId('5bb622423541594a35000183'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.5ms) Completed 200 OK in 8ms (Views: 2.9ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:22:58 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"d116a914299bcc090939673b06faa8bda077456d84a8ab84ffb1521d08b3a789", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public write", "commit"=>"Authorize"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d116a914299bcc090939673b06faa8bda077456d84a8ab84ffb1521d08b3a789"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"a32ee9243065f0b6c23d87f5c1bf5fcaf71c6ee2c5b2273448c5a5d88e80cb7a", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a35000185')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a35000185'), "application_id"=>BSON::ObjectId('5bb622423541594a35000182'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622423541594a35000183'), "token"=>"a32ee9243065f0b6c23d87f5c1bf5fcaf71c6ee2c5b2273448c5a5d88e80cb7a", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622423541594a35000185'), "application_id"=>BSON::ObjectId('5bb622423541594a35000182'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622423541594a35000183'), "token"=>"a32ee9243065f0b6c23d87f5c1bf5fcaf71c6ee2c5b2273448c5a5d88e80cb7a", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=a32ee9243065f0b6c23d87f5c1bf5fcaf71c6ee2c5b2273448c5a5d88e80cb7a Completed 302 Found in 5ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:22:58 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) Started POST "/oauth/token?code=[FILTERED]&client_id=d116a914299bcc090939673b06faa8bda077456d84a8ab84ffb1521d08b3a789&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:22:58 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"d116a914299bcc090939673b06faa8bda077456d84a8ab84ffb1521d08b3a789", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"a32ee9243065f0b6c23d87f5c1bf5fcaf71c6ee2c5b2273448c5a5d88e80cb7a"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d116a914299bcc090939673b06faa8bda077456d84a8ab84ffb1521d08b3a789"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb622423541594a35000185')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622423541594a35000185')}, :u=>{"_id"=>BSON::ObjectId('5bb622423541594a35000185'), "application_id"=>BSON::ObjectId('5bb622423541594a35000182'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622423541594a35000183'), "token"=>"a32ee9243065f0b6c23d87f5c1bf5fcaf71c6ee2c5b2273448c5a5d88e80cb7a", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb622423541594a35000185')}, {"_id"=>BSON::ObjectId('5bb622423541594a35000185'), "application_id"=>BSON::ObjectId('5bb622423541594a35000182'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622423541594a35000183'), "token"=>"a32ee9243065f0b6c23d87f5c1bf5fcaf71c6ee2c5b2273448c5a5d88e80cb7a", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622423541594a35000182')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622423541594a35000182')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"6bcf22f6a918f8a861ea05d4e10678c41b76c737004ce6241c9d8d43c3e9c027", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a35000186')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a35000186'), "application_id"=>BSON::ObjectId('5bb622423541594a35000182'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622423541594a35000183'), "token"=>"6bcf22f6a918f8a861ea05d4e10678c41b76c737004ce6241c9d8d43c3e9c027", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622423541594a35000186'), "application_id"=>BSON::ObjectId('5bb622423541594a35000182'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622423541594a35000183'), "token"=>"6bcf22f6a918f8a861ea05d4e10678c41b76c737004ce6241c9d8d43c3e9c027", "expires_in"=>7200, "scopes"=>"public write"}) Completed 200 OK in 8ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"29b1762f0d9a43521826fdab1defcdb62a66f324120e08da0a3a579e90fb88cc", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a35000187')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a35000187'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 175", "uid"=>"29b1762f0d9a43521826fdab1defcdb62a66f324120e08da0a3a579e90fb88cc", "secret"=>"ea94b4bf900e9d8b9371438e961372fba02b197950b02b841e380283d6bb9efc", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622423541594a35000187'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 175", "uid"=>"29b1762f0d9a43521826fdab1defcdb62a66f324120e08da0a3a579e90fb88cc", "secret"=>"ea94b4bf900e9d8b9371438e961372fba02b197950b02b841e380283d6bb9efc", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Started GET "/oauth/applications/5bb622423541594a35000187" for 127.0.0.1 at 2018-10-04 17:22:58 +0300 Processing by Doorkeeper::ApplicationsController#show as HTML Parameters: {"id"=>"5bb622423541594a35000187"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622423541594a35000187')}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (0.3ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/show.html.erb within layouts/doorkeeper/admin (1.4ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.0ms) Started DELETE "/oauth/applications/5bb622423541594a35000187" for 127.0.0.1 at 2018-10-04 17:22:58 +0300 Processing by Doorkeeper::ApplicationsController#destroy as HTML Parameters: {"utf8"=>"✓", "commit"=>"Destroy", "id"=>"5bb622423541594a35000187"} MONGODB (2.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622423541594a35000187')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:application_id=>BSON::ObjectId('5bb622423541594a35000187')}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622423541594a35000187')}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622423541594a35000187')}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{:_id=>{:$in=>[BSON::ObjectId('5bb622423541594a35000187')]}}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({:_id=>{:$in=>[BSON::ObjectId('5bb622423541594a35000187')]}}) Redirected to http://www.example.com/oauth/applications Completed 302 Found in 6ms (ActiveRecord: 0.0ms) Started GET "/oauth/applications" for 127.0.0.1 at 2018-10-04 17:22:58 +0300 Processing by Doorkeeper::ApplicationsController#index as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({}).sort([["created_at", 1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/index.html.erb within layouts/doorkeeper/admin (1.0ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b6e0ea7d8ee9675a44ae2aa3b00121bd16ef0afcd7280e36853a26bcea0c48de", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a35000188')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a35000188'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 176", "uid"=>"b6e0ea7d8ee9675a44ae2aa3b00121bd16ef0afcd7280e36853a26bcea0c48de", "secret"=>"00f6581536223e53e10acdb19f28ac99351716b7d406768682f30a69b48a080c", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622423541594a35000188'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 176", "uid"=>"b6e0ea7d8ee9675a44ae2aa3b00121bd16ef0afcd7280e36853a26bcea0c48de", "secret"=>"00f6581536223e53e10acdb19f28ac99351716b7d406768682f30a69b48a080c", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Started GET "/oauth/applications" for 127.0.0.1 at 2018-10-04 17:22:58 +0300 Processing by Doorkeeper::ApplicationsController#index as HTML MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({}).sort([["created_at", 1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (0.3ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/index.html.erb within layouts/doorkeeper/admin (2.5ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started DELETE "/oauth/applications/5bb622423541594a35000188" for 127.0.0.1 at 2018-10-04 17:22:58 +0300 Processing by Doorkeeper::ApplicationsController#destroy as HTML Parameters: {"utf8"=>"✓", "commit"=>"Destroy", "id"=>"5bb622423541594a35000188"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622423541594a35000188')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:application_id=>BSON::ObjectId('5bb622423541594a35000188')}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622423541594a35000188')}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622423541594a35000188')}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{:_id=>{:$in=>[BSON::ObjectId('5bb622423541594a35000188')]}}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({:_id=>{:$in=>[BSON::ObjectId('5bb622423541594a35000188')]}}) Redirected to http://www.example.com/oauth/applications Completed 302 Found in 4ms (ActiveRecord: 0.0ms) Started GET "/oauth/applications" for 127.0.0.1 at 2018-10-04 17:22:58 +0300 Processing by Doorkeeper::ApplicationsController#index as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({}).sort([["created_at", 1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/index.html.erb within layouts/doorkeeper/admin (1.1ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (3.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (3.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"11b154b3ae97d9d934ce7df515f05a1d5caa3c5907b630572d6cdaadb0695fce", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a35000189')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a35000189'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 177", "uid"=>"11b154b3ae97d9d934ce7df515f05a1d5caa3c5907b630572d6cdaadb0695fce", "secret"=>"bb635f819ca3c6a08580f70b3277b2fcf238410d400fcf459cb66086806826e4", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622423541594a35000189'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 177", "uid"=>"11b154b3ae97d9d934ce7df515f05a1d5caa3c5907b630572d6cdaadb0695fce", "secret"=>"bb635f819ca3c6a08580f70b3277b2fcf238410d400fcf459cb66086806826e4", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ef316358c8635af7bd653b091b12ed1b00514e27e232c34b40ef1585e537366d", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a3500018a')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a3500018a'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 178", "uid"=>"ef316358c8635af7bd653b091b12ed1b00514e27e232c34b40ef1585e537366d", "secret"=>"ffd15bae48038180f8d56f9b634fff155b19acba8419fef44eb60a8a1502ea74", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622423541594a3500018a'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 178", "uid"=>"ef316358c8635af7bd653b091b12ed1b00514e27e232c34b40ef1585e537366d", "secret"=>"ffd15bae48038180f8d56f9b634fff155b19acba8419fef44eb60a8a1502ea74", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622423541594a3500018a')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{:application_id=>BSON::ObjectId('5bb622423541594a3500018a')}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622423541594a3500018a')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"9c3df4d574c456d5eb25bf87358cb6d26f1984835a9bf4bc955a6770dcfae068", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a3500018b')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a3500018b'), "application_id"=>BSON::ObjectId('5bb622423541594a3500018a'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>99, "token"=>"9c3df4d574c456d5eb25bf87358cb6d26f1984835a9bf4bc955a6770dcfae068", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622423541594a3500018b'), "application_id"=>BSON::ObjectId('5bb622423541594a3500018a'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>99, "token"=>"9c3df4d574c456d5eb25bf87358cb6d26f1984835a9bf4bc955a6770dcfae068", "expires_in"=>7200, "scopes"=>""}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622423541594a3500018a')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{:application_id=>BSON::ObjectId('5bb622423541594a3500018a')}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"50e08d475be0dc430afcfee207354f3f8593ac62d6406c76c2a5f08698b04f4b", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a3500018c')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a3500018c'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 179", "uid"=>"50e08d475be0dc430afcfee207354f3f8593ac62d6406c76c2a5f08698b04f4b", "secret"=>"3027928e830e4b96bb5fd5e566fb01e343555d14b8039e6548ddf7d67a6d09fe", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622423541594a3500018c'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 179", "uid"=>"50e08d475be0dc430afcfee207354f3f8593ac62d6406c76c2a5f08698b04f4b", "secret"=>"3027928e830e4b96bb5fd5e566fb01e343555d14b8039e6548ddf7d67a6d09fe", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"35bdc1584c68341668333995ad54f0e2f05fab3dd41fdb789e1eda09be8354ac", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a3500018d')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a3500018d'), "application_id"=>nil, "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>99, "token"=>"35bdc1584c68341668333995ad54f0e2f05fab3dd41fdb789e1eda09be8354ac", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622423541594a3500018d'), "application_id"=>nil, "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>99, "token"=>"35bdc1584c68341668333995ad54f0e2f05fab3dd41fdb789e1eda09be8354ac", "expires_in"=>7200, "scopes"=>""}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b97755e08189f58384e44e9a5e1b722eb012fa686373acee9458226c58ac805f", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a3500018e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a3500018e'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 180", "uid"=>"b97755e08189f58384e44e9a5e1b722eb012fa686373acee9458226c58ac805f", "secret"=>"24397300600b71efc99b605cdcf9d6e5b6ec575de9184d247d0aa56eafb05789", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622423541594a3500018e'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 180", "uid"=>"b97755e08189f58384e44e9a5e1b722eb012fa686373acee9458226c58ac805f", "secret"=>"24397300600b71efc99b605cdcf9d6e5b6ec575de9184d247d0aa56eafb05789", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (5.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"27aec139d6b56952c1cbf29d67f19063cfa22ad7ef246cba875d94e07697bfb2", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a3500018f')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a3500018f'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 181", "uid"=>"27aec139d6b56952c1cbf29d67f19063cfa22ad7ef246cba875d94e07697bfb2", "secret"=>"e6886d9f968fb952746299e75673f25ad96e952af8c080b4b86de9af87911b68", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622423541594a3500018f'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 181", "uid"=>"27aec139d6b56952c1cbf29d67f19063cfa22ad7ef246cba875d94e07697bfb2", "secret"=>"e6886d9f968fb952746299e75673f25ad96e952af8c080b4b86de9af87911b68", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a0104abce3f14195f918998ada82a6402fe20a1658b85f23163d5557a9f9d369", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a35000190')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a35000190'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 182", "uid"=>"a0104abce3f14195f918998ada82a6402fe20a1658b85f23163d5557a9f9d369", "secret"=>"163b43c958c30ce5e95dc2ec7604d30a92657820d3d1c308ecf8608b76b156ed", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622423541594a35000190'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 182", "uid"=>"a0104abce3f14195f918998ada82a6402fe20a1658b85f23163d5557a9f9d369", "secret"=>"163b43c958c30ce5e95dc2ec7604d30a92657820d3d1c308ecf8608b76b156ed", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622423541594a35000190')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"98e6cfd51cb9fc4240a426e7acfeed0bbdddb78aafeda9829188c146b6693288", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a35000191')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a35000191'), "application_id"=>BSON::ObjectId('5bb622423541594a35000190'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>99, "token"=>"98e6cfd51cb9fc4240a426e7acfeed0bbdddb78aafeda9829188c146b6693288", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622423541594a35000191'), "application_id"=>BSON::ObjectId('5bb622423541594a35000190'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>99, "token"=>"98e6cfd51cb9fc4240a426e7acfeed0bbdddb78aafeda9829188c146b6693288", "expires_in"=>7200}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622423541594a35000190'), :resource_owner_id=>99, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a4526a3c7814eb8e14d5975ad717648deb1e343c20ef22b749fd15127f4ea004", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a35000192')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a35000192'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 183", "uid"=>"a4526a3c7814eb8e14d5975ad717648deb1e343c20ef22b749fd15127f4ea004", "secret"=>"0217bc5629f6ce5c0cf31733aca3d48fdb5f3b4adb43203d3c075c4b8e9a7160", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622423541594a35000192'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 183", "uid"=>"a4526a3c7814eb8e14d5975ad717648deb1e343c20ef22b749fd15127f4ea004", "secret"=>"0217bc5629f6ce5c0cf31733aca3d48fdb5f3b4adb43203d3c075c4b8e9a7160", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622423541594a35000192')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"1843548f73a35d988a33653422a0523660e0dd701bca098d7e0f5ce228826cbe", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a35000193')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a35000193'), "application_id"=>BSON::ObjectId('5bb622423541594a35000192'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>99, "token"=>"1843548f73a35d988a33653422a0523660e0dd701bca098d7e0f5ce228826cbe", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622423541594a35000193'), "application_id"=>BSON::ObjectId('5bb622423541594a35000192'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>99, "token"=>"1843548f73a35d988a33653422a0523660e0dd701bca098d7e0f5ce228826cbe", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622423541594a35000192')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d8931c8002f443417791c00d444ae5b5eb242f25222ac54d3d632418ff43516f", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a35000194')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a35000194'), "application_id"=>BSON::ObjectId('5bb622423541594a35000192'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>99, "token"=>"d8931c8002f443417791c00d444ae5b5eb242f25222ac54d3d632418ff43516f", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622423541594a35000194'), "application_id"=>BSON::ObjectId('5bb622423541594a35000192'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>99, "token"=>"d8931c8002f443417791c00d444ae5b5eb242f25222ac54d3d632418ff43516f", "expires_in"=>7200, "scopes"=>""}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d8c5d462b974641c4ecec1c6f66c929e31db65a5251d8d7e94432572358883db", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a35000195')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a35000195'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 184", "uid"=>"d8c5d462b974641c4ecec1c6f66c929e31db65a5251d8d7e94432572358883db", "secret"=>"0f5cf6fc7e6e29af0ce8c831fe503fb7560780cad09705f98fce17bc3266ad84", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622423541594a35000195'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 184", "uid"=>"d8c5d462b974641c4ecec1c6f66c929e31db65a5251d8d7e94432572358883db", "secret"=>"0f5cf6fc7e6e29af0ce8c831fe503fb7560780cad09705f98fce17bc3266ad84", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622423541594a35000195')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"6537d43877eeca1cea109bd0d96ce24803c8ca0d4c5f4dc8cdba4c58e7dcc47a", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a35000196')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a35000196'), "application_id"=>BSON::ObjectId('5bb622423541594a35000195'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>99, "token"=>"6537d43877eeca1cea109bd0d96ce24803c8ca0d4c5f4dc8cdba4c58e7dcc47a", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622423541594a35000196'), "application_id"=>BSON::ObjectId('5bb622423541594a35000195'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>99, "token"=>"6537d43877eeca1cea109bd0d96ce24803c8ca0d4c5f4dc8cdba4c58e7dcc47a", "expires_in"=>7200, "scopes"=>""}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e9b95a61cbfcd004a1507c69ee741a4f3929da66787f68bced2a80551d3e9469", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a35000197')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a35000197'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 185", "uid"=>"e9b95a61cbfcd004a1507c69ee741a4f3929da66787f68bced2a80551d3e9469", "secret"=>"96335ee79748f3cf2d4b92d560a25d65e4b82155988b9e5a860cd9d851a0d836", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622423541594a35000197'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 185", "uid"=>"e9b95a61cbfcd004a1507c69ee741a4f3929da66787f68bced2a80551d3e9469", "secret"=>"96335ee79748f3cf2d4b92d560a25d65e4b82155988b9e5a860cd9d851a0d836", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622423541594a35000197')}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"48ef99693de32c677ac8d96f79d343d307955e2d686ab3b62277a5ecadaf2c1f", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a35000198')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a35000198'), "application_id"=>BSON::ObjectId('5bb622423541594a35000197'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>99, "token"=>"48ef99693de32c677ac8d96f79d343d307955e2d686ab3b62277a5ecadaf2c1f", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622423541594a35000198'), "application_id"=>BSON::ObjectId('5bb622423541594a35000197'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>99, "token"=>"48ef99693de32c677ac8d96f79d343d307955e2d686ab3b62277a5ecadaf2c1f", "expires_in"=>7200, "scopes"=>"public"}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e9f0b352714db98c9a92b9e76ebe708d0aa4316061fbccacd4d9918303679938", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a35000199')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a35000199'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 186", "uid"=>"e9f0b352714db98c9a92b9e76ebe708d0aa4316061fbccacd4d9918303679938", "secret"=>"7ae779fdd88f51026de5da70fdc380076014bfd829120322010605d8c598ce65", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622423541594a35000199'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 186", "uid"=>"e9f0b352714db98c9a92b9e76ebe708d0aa4316061fbccacd4d9918303679938", "secret"=>"7ae779fdd88f51026de5da70fdc380076014bfd829120322010605d8c598ce65", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c7269cf7d8d0ce6572f2915d7c7f10b2a3874e4910eef2e6a75ef3469949d461", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a3500019a')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a3500019a'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"OMG my app", "uid"=>"c7269cf7d8d0ce6572f2915d7c7f10b2a3874e4910eef2e6a75ef3469949d461", "secret"=>"6759cac6b94a93452075984e9d8dd05187f2c3a856ae21244ac4fbefe9ffdc5f", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622423541594a3500019a'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"OMG my app", "uid"=>"c7269cf7d8d0ce6572f2915d7c7f10b2a3874e4910eef2e6a75ef3469949d461", "secret"=>"6759cac6b94a93452075984e9d8dd05187f2c3a856ae21244ac4fbefe9ffdc5f", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Started GET "/oauth/applications/5bb622423541594a3500019a/edit" for 127.0.0.1 at 2018-10-04 17:22:58 +0300 Processing by Doorkeeper::ApplicationsController#edit as HTML Parameters: {"id"=>"5bb622423541594a3500019a"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622423541594a3500019a')}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_form.html.erb (4.3ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/edit.html.erb within layouts/doorkeeper/admin (5.5ms) Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.0ms) Started PATCH "/oauth/applications/5bb622423541594a3500019a" for 127.0.0.1 at 2018-10-04 17:22:58 +0300 Processing by Doorkeeper::ApplicationsController#update as HTML Parameters: {"utf8"=>"✓", "doorkeeper_application"=>{"name"=>"", "redirect_uri"=>"https://app.com/callback", "confidential"=>"0", "scopes"=>""}, "commit"=>"Submit", "id"=>"5bb622423541594a3500019a"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622423541594a3500019a')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c7269cf7d8d0ce6572f2915d7c7f10b2a3874e4910eef2e6a75ef3469949d461", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a3500019a')}}, {:_id=>1}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_form.html.erb (2.4ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/edit.html.erb within layouts/doorkeeper/admin (2.7ms) Completed 200 OK in 7ms (Views: 4.0ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4e11c55ea7d09f5de560bbbea77df0438d60351be1f1f86475f7dabd5be7e71c", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a3500019b')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a3500019b'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"OMG my app", "uid"=>"4e11c55ea7d09f5de560bbbea77df0438d60351be1f1f86475f7dabd5be7e71c", "secret"=>"94f90e1c3d75b23a331037443a7a0ded2c30649ee31ef2ef17d0fba417b7e514", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622423541594a3500019b'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"OMG my app", "uid"=>"4e11c55ea7d09f5de560bbbea77df0438d60351be1f1f86475f7dabd5be7e71c", "secret"=>"94f90e1c3d75b23a331037443a7a0ded2c30649ee31ef2ef17d0fba417b7e514", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Started GET "/oauth/applications/5bb622423541594a3500019b/edit" for 127.0.0.1 at 2018-10-04 17:22:58 +0300 Processing by Doorkeeper::ApplicationsController#edit as HTML Parameters: {"id"=>"5bb622423541594a3500019b"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622423541594a3500019b')}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_form.html.erb (2.3ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/edit.html.erb within layouts/doorkeeper/admin (2.6ms) Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started PATCH "/oauth/applications/5bb622423541594a3500019b" for 127.0.0.1 at 2018-10-04 17:22:58 +0300 Processing by Doorkeeper::ApplicationsController#update as HTML Parameters: {"utf8"=>"✓", "doorkeeper_application"=>{"name"=>"Serious app", "redirect_uri"=>"https://app.com/callback", "confidential"=>"0", "scopes"=>""}, "commit"=>"Submit", "id"=>"5bb622423541594a3500019b"} MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622423541594a3500019b')}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4e11c55ea7d09f5de560bbbea77df0438d60351be1f1f86475f7dabd5be7e71c", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a3500019b')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622423541594a3500019b')}, :u=>{"_id"=>BSON::ObjectId('5bb622423541594a3500019b'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Serious app", "uid"=>"4e11c55ea7d09f5de560bbbea77df0438d60351be1f1f86475f7dabd5be7e71c", "secret"=>"94f90e1c3d75b23a331037443a7a0ded2c30649ee31ef2ef17d0fba417b7e514", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "scopes"=>"", "owner_id"=>nil}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb622423541594a3500019b')}, {"_id"=>BSON::ObjectId('5bb622423541594a3500019b'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Serious app", "uid"=>"4e11c55ea7d09f5de560bbbea77df0438d60351be1f1f86475f7dabd5be7e71c", "secret"=>"94f90e1c3d75b23a331037443a7a0ded2c30649ee31ef2ef17d0fba417b7e514", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "scopes"=>"", "owner_id"=>nil}) Redirected to http://www.example.com/oauth/applications/5bb622423541594a3500019b Completed 302 Found in 9ms (ActiveRecord: 0.0ms) Started GET "/oauth/applications/5bb622423541594a3500019b" for 127.0.0.1 at 2018-10-04 17:22:58 +0300 Processing by Doorkeeper::ApplicationsController#show as HTML Parameters: {"id"=>"5bb622423541594a3500019b"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622423541594a3500019b')}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (0.3ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/show.html.erb within layouts/doorkeeper/admin (1.4ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"df4340ffe527e94f5358f1b1fe601d6434bacb8703dec21ba2647dec88cd141d", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a3500019d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a3500019d'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 187", "uid"=>"df4340ffe527e94f5358f1b1fe601d6434bacb8703dec21ba2647dec88cd141d", "secret"=>"73d177c740ac54d35983795484bc6155480ce14549cb576e09c15130b32c876b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622423541594a3500019d'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 187", "uid"=>"df4340ffe527e94f5358f1b1fe601d6434bacb8703dec21ba2647dec88cd141d", "secret"=>"73d177c740ac54d35983795484bc6155480ce14549cb576e09c15130b32c876b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"5e8c6d19c427149c3a078ddd5a660ea1f42b15395c25d51470a686a480c6ea78", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a3500019c')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a3500019c'), "application_id"=>BSON::ObjectId('5bb622423541594a3500019d'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>37, "token"=>"5e8c6d19c427149c3a078ddd5a660ea1f42b15395c25d51470a686a480c6ea78", "refresh_token"=>"refresh_token", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622423541594a3500019c'), "application_id"=>BSON::ObjectId('5bb622423541594a3500019d'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>37, "token"=>"5e8c6d19c427149c3a078ddd5a660ea1f42b15395c25d51470a686a480c6ea78", "refresh_token"=>"refresh_token", "expires_in"=>7200}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f69ec885f016e1b115b70a2f5a1a3e09b9e7ad216a81f594a3cc9ab792f98425", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a3500019f')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a3500019f'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 188", "uid"=>"f69ec885f016e1b115b70a2f5a1a3e09b9e7ad216a81f594a3cc9ab792f98425", "secret"=>"6b9d73f9b8fdc63c5b3499aa56f2965f6f0f1616190d1b78d3271683c4e4a67b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622423541594a3500019f'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 188", "uid"=>"f69ec885f016e1b115b70a2f5a1a3e09b9e7ad216a81f594a3cc9ab792f98425", "secret"=>"6b9d73f9b8fdc63c5b3499aa56f2965f6f0f1616190d1b78d3271683c4e4a67b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"1fc6fc00c82e90237631b52a805554912c714d6d3d822676d9ff176f87b6f532", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a3500019e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a3500019e'), "application_id"=>BSON::ObjectId('5bb622423541594a3500019f'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>38, "token"=>"1fc6fc00c82e90237631b52a805554912c714d6d3d822676d9ff176f87b6f532", "previous_refresh_token"=>"refresh_token", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622423541594a3500019e'), "application_id"=>BSON::ObjectId('5bb622423541594a3500019f'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>38, "token"=>"1fc6fc00c82e90237631b52a805554912c714d6d3d822676d9ff176f87b6f532", "previous_refresh_token"=>"refresh_token", "expires_in"=>7200}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"refresh_token"}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622423541594a3500019c')}, :u=>{"_id"=>BSON::ObjectId('5bb622423541594a3500019c'), "application_id"=>BSON::ObjectId('5bb622423541594a3500019d'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>37, "token"=>"5e8c6d19c427149c3a078ddd5a660ea1f42b15395c25d51470a686a480c6ea78", "refresh_token"=>"refresh_token", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622423541594a3500019c')}, {"_id"=>BSON::ObjectId('5bb622423541594a3500019c'), "application_id"=>BSON::ObjectId('5bb622423541594a3500019d'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>37, "token"=>"5e8c6d19c427149c3a078ddd5a660ea1f42b15395c25d51470a686a480c6ea78", "refresh_token"=>"refresh_token", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622423541594a3500019e')}, :u=>{"_id"=>BSON::ObjectId('5bb622423541594a3500019e'), "application_id"=>BSON::ObjectId('5bb622423541594a3500019f'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>38, "token"=>"1fc6fc00c82e90237631b52a805554912c714d6d3d822676d9ff176f87b6f532", "previous_refresh_token"=>"", "expires_in"=>7200}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622423541594a3500019e')}, {"_id"=>BSON::ObjectId('5bb622423541594a3500019e'), "application_id"=>BSON::ObjectId('5bb622423541594a3500019f'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>38, "token"=>"1fc6fc00c82e90237631b52a805554912c714d6d3d822676d9ff176f87b6f532", "previous_refresh_token"=>"", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622423541594a3500019c')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (13.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8fd4220fc23f87cbdc2ba8a08b828355e282a35fc6f0657dd5f2b8bb907691ec", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001a0')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a350001a0'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 189", "uid"=>"8fd4220fc23f87cbdc2ba8a08b828355e282a35fc6f0657dd5f2b8bb907691ec", "secret"=>"29c6e1de95f52ce08f6e57b1abbc9da48d5feff7a4c8e5f2d1829dc7beff0f62", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622423541594a350001a0'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 189", "uid"=>"8fd4220fc23f87cbdc2ba8a08b828355e282a35fc6f0657dd5f2b8bb907691ec", "secret"=>"29c6e1de95f52ce08f6e57b1abbc9da48d5feff7a4c8e5f2d1829dc7beff0f62", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a350001a1'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622423541594a350001a1'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"cdc99ec192df0e1a99081784b8596c15f2b45f467bbe0935b7bfeaab5b727844", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001a2')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a350001a2'), "application_id"=>BSON::ObjectId('5bb622423541594a350001a0'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622423541594a350001a1'), "token"=>"cdc99ec192df0e1a99081784b8596c15f2b45f467bbe0935b7bfeaab5b727844", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622423541594a350001a2'), "application_id"=>BSON::ObjectId('5bb622423541594a350001a0'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622423541594a350001a1'), "token"=>"cdc99ec192df0e1a99081784b8596c15f2b45f467bbe0935b7bfeaab5b727844", "expires_in"=>7200}) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:22:58 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"8fd4220fc23f87cbdc2ba8a08b828355e282a35fc6f0657dd5f2b8bb907691ec", "state"=>"", "redirect_uri"=>"https://app.com/callback", "response_type"=>"token", "commit"=>"Authorize"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8fd4220fc23f87cbdc2ba8a08b828355e282a35fc6f0657dd5f2b8bb907691ec"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622423541594a350001a0')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"2f5a63ebfd5c5f0dbbcaef9b33d249db4f980d9e509a746f1bb23b282382d864", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001a3')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a350001a3'), "application_id"=>BSON::ObjectId('5bb622423541594a350001a0'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622423541594a350001a1'), "token"=>"2f5a63ebfd5c5f0dbbcaef9b33d249db4f980d9e509a746f1bb23b282382d864", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622423541594a350001a3'), "application_id"=>BSON::ObjectId('5bb622423541594a350001a0'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622423541594a350001a1'), "token"=>"2f5a63ebfd5c5f0dbbcaef9b33d249db4f980d9e509a746f1bb23b282382d864", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=2f5a63ebfd5c5f0dbbcaef9b33d249db4f980d9e509a746f1bb23b282382d864&token_type=Bearer&expires_in=7200 Completed 302 Found in 7ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ba751cbda6c1338ec2cd277eac590c65564d195c1738cbe59844dfab436a85cf", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001a4')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a350001a4'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 190", "uid"=>"ba751cbda6c1338ec2cd277eac590c65564d195c1738cbe59844dfab436a85cf", "secret"=>"b86a1afbf1d69c15ea914ce3da3074b579e4574e4b2fdaa12322b423707d279a", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622423541594a350001a4'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 190", "uid"=>"ba751cbda6c1338ec2cd277eac590c65564d195c1738cbe59844dfab436a85cf", "secret"=>"b86a1afbf1d69c15ea914ce3da3074b579e4574e4b2fdaa12322b423707d279a", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a350001a5'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622423541594a350001a5'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"8033e445cc2d1423a4092a77b385297004b12aeb4ef60ea2dfc026431f46a002", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001a6')}}, {:_id=>1}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a350001a6'), "application_id"=>BSON::ObjectId('5bb622423541594a350001a4'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622423541594a350001a5'), "token"=>"8033e445cc2d1423a4092a77b385297004b12aeb4ef60ea2dfc026431f46a002", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622423541594a350001a6'), "application_id"=>BSON::ObjectId('5bb622423541594a350001a4'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622423541594a350001a5'), "token"=>"8033e445cc2d1423a4092a77b385297004b12aeb4ef60ea2dfc026431f46a002", "expires_in"=>7200}) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:22:58 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"ba751cbda6c1338ec2cd277eac590c65564d195c1738cbe59844dfab436a85cf", "state"=>"", "redirect_uri"=>"https://app.com/callback", "response_type"=>"token", "commit"=>"Authorize"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ba751cbda6c1338ec2cd277eac590c65564d195c1738cbe59844dfab436a85cf"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622423541594a350001a4'), :resource_owner_id=>BSON::ObjectId('5bb622423541594a350001a5'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Redirected to https://app.com/callback#access_token=8033e445cc2d1423a4092a77b385297004b12aeb4ef60ea2dfc026431f46a002&token_type=Bearer&expires_in=7200 Completed 302 Found in 4ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6f3145031f53dbc1d4f06799759366fa1d832005f48b24486a0135f3d53f99cd", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001a7')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a350001a7'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 191", "uid"=>"6f3145031f53dbc1d4f06799759366fa1d832005f48b24486a0135f3d53f99cd", "secret"=>"c23db2fccddf17cf0e425b17400f0bba7b0f620902cdc0354f9e148707377a71", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622423541594a350001a7'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 191", "uid"=>"6f3145031f53dbc1d4f06799759366fa1d832005f48b24486a0135f3d53f99cd", "secret"=>"c23db2fccddf17cf0e425b17400f0bba7b0f620902cdc0354f9e148707377a71", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6f3145031f53dbc1d4f06799759366fa1d832005f48b24486a0135f3d53f99cd", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001a7')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"9c099d1efc8dcc3823a623241bff0097fdd96fbda91916739bebf9e16697c2c9", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001a8')}}, {:_id=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a350001a8'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 192", "uid"=>"9c099d1efc8dcc3823a623241bff0097fdd96fbda91916739bebf9e16697c2c9", "secret"=>"f8c0ca77318861f43d1d6436d8f859fff02d8eed912e167eb8033935c67c8718", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622423541594a350001a8'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 192", "uid"=>"9c099d1efc8dcc3823a623241bff0097fdd96fbda91916739bebf9e16697c2c9", "secret"=>"f8c0ca77318861f43d1d6436d8f859fff02d8eed912e167eb8033935c67c8718", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"9c099d1efc8dcc3823a623241bff0097fdd96fbda91916739bebf9e16697c2c9", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001a8')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3c247175e3104c48e9ee2bf84e32bb610d16026c4c71e88ead59132b89e6202c", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001a9')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a350001a9'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 193", "uid"=>"3c247175e3104c48e9ee2bf84e32bb610d16026c4c71e88ead59132b89e6202c", "secret"=>"010e21d2e7c01faeefd9da8e35986607cb3a46177238271752aff7fc9fcf1b17", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622423541594a350001a9'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 193", "uid"=>"3c247175e3104c48e9ee2bf84e32bb610d16026c4c71e88ead59132b89e6202c", "secret"=>"010e21d2e7c01faeefd9da8e35986607cb3a46177238271752aff7fc9fcf1b17", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3c247175e3104c48e9ee2bf84e32bb610d16026c4c71e88ead59132b89e6202c", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001a9')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7d313ff6d1b11512ea2df993056ebd3abe27300207780fdf0c3c5e5522ff8063", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001aa')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a350001aa'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 194", "uid"=>"7d313ff6d1b11512ea2df993056ebd3abe27300207780fdf0c3c5e5522ff8063", "secret"=>"e99812e7632abddcbbf5733911df8ac3220818145d2821870dd4ad9fd3f24542", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622423541594a350001aa'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 194", "uid"=>"7d313ff6d1b11512ea2df993056ebd3abe27300207780fdf0c3c5e5522ff8063", "secret"=>"e99812e7632abddcbbf5733911df8ac3220818145d2821870dd4ad9fd3f24542", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7d313ff6d1b11512ea2df993056ebd3abe27300207780fdf0c3c5e5522ff8063", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001aa')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"9f38283fb3092f556e143ddcbd9c36bd2ebd01be66c8babd1be058bf75f18873", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001ab')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a350001ab'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 195", "uid"=>"9f38283fb3092f556e143ddcbd9c36bd2ebd01be66c8babd1be058bf75f18873", "secret"=>"3441c6c6bd7d27a7b9fa257fd83a5baac6bf28ff64bde8ce4d15783abf01e57f", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622423541594a350001ab'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 195", "uid"=>"9f38283fb3092f556e143ddcbd9c36bd2ebd01be66c8babd1be058bf75f18873", "secret"=>"3441c6c6bd7d27a7b9fa257fd83a5baac6bf28ff64bde8ce4d15783abf01e57f", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"9f38283fb3092f556e143ddcbd9c36bd2ebd01be66c8babd1be058bf75f18873", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001ab')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0d53f76bb3d5c78d446a62fa315b669e8caa9a97b5891c3ea8171cb412e82eb5", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001ac')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a350001ac'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 196", "uid"=>"0d53f76bb3d5c78d446a62fa315b669e8caa9a97b5891c3ea8171cb412e82eb5", "secret"=>"c50ea2669e3f32d3acdba2ee60e5b830f394cde619a3b16728dd52e524d6a50d", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622423541594a350001ac'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 196", "uid"=>"0d53f76bb3d5c78d446a62fa315b669e8caa9a97b5891c3ea8171cb412e82eb5", "secret"=>"c50ea2669e3f32d3acdba2ee60e5b830f394cde619a3b16728dd52e524d6a50d", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (2.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0d53f76bb3d5c78d446a62fa315b669e8caa9a97b5891c3ea8171cb412e82eb5", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001ac')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (2.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (3.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f25ad9b4b148a7f3fafdfc43cdc5c58f36d110edfa3c8d47f0743b58b08e6eae", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001ad')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a350001ad'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 197", "uid"=>"f25ad9b4b148a7f3fafdfc43cdc5c58f36d110edfa3c8d47f0743b58b08e6eae", "secret"=>"ae20956910c7026b5e38e13e2ee4d0b5249f22ae19cb7f09aafcc20467dcf700", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622423541594a350001ad'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 197", "uid"=>"f25ad9b4b148a7f3fafdfc43cdc5c58f36d110edfa3c8d47f0743b58b08e6eae", "secret"=>"ae20956910c7026b5e38e13e2ee4d0b5249f22ae19cb7f09aafcc20467dcf700", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f25ad9b4b148a7f3fafdfc43cdc5c58f36d110edfa3c8d47f0743b58b08e6eae", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001ad')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a63e892e495a34474354e0a9ab946ab66e74352b91a080dbd0f2ba462a5e66a7", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001ae')}}, {:_id=>1}).limit(-1) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a350001ae'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 198", "uid"=>"a63e892e495a34474354e0a9ab946ab66e74352b91a080dbd0f2ba462a5e66a7", "secret"=>"457d88d0445d56a10f703fc072d9167d5dfa737df825782b3cd02cd8b03dfe93", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (2.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622423541594a350001ae'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 198", "uid"=>"a63e892e495a34474354e0a9ab946ab66e74352b91a080dbd0f2ba462a5e66a7", "secret"=>"457d88d0445d56a10f703fc072d9167d5dfa737df825782b3cd02cd8b03dfe93", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a63e892e495a34474354e0a9ab946ab66e74352b91a080dbd0f2ba462a5e66a7", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001ae')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (4.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (4.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"185aca760c1c79f6569efa24af0eb189426545123dbfe12546154c2287d2095b", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001af')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a350001af'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 199", "uid"=>"185aca760c1c79f6569efa24af0eb189426545123dbfe12546154c2287d2095b", "secret"=>"420280c2227465e9179443a89b0d6c3e96f3da71a66c08589bd406793f7f3a0f", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622423541594a350001af'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 199", "uid"=>"185aca760c1c79f6569efa24af0eb189426545123dbfe12546154c2287d2095b", "secret"=>"420280c2227465e9179443a89b0d6c3e96f3da71a66c08589bd406793f7f3a0f", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"185aca760c1c79f6569efa24af0eb189426545123dbfe12546154c2287d2095b", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001af')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3c4720c164045119e07cd638e735a5567d5366ba7d4bed783d6d597938951457", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001b0')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a350001b0'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 200", "uid"=>"3c4720c164045119e07cd638e735a5567d5366ba7d4bed783d6d597938951457", "secret"=>"0ec328fdb29df516001116c044a01ecc0e2775e1d4ff95982f4b80a168d7c524", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622423541594a350001b0'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 200", "uid"=>"3c4720c164045119e07cd638e735a5567d5366ba7d4bed783d6d597938951457", "secret"=>"0ec328fdb29df516001116c044a01ecc0e2775e1d4ff95982f4b80a168d7c524", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3c4720c164045119e07cd638e735a5567d5366ba7d4bed783d6d597938951457", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001b0')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (5.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (5.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (9.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (10.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b4db06361a056985baaf1f534f2813a0e814380fc48d4742d7c8584fc57c6453", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001b1')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6a8478d1ff521e586b91ae36416d2c8a60cc0898e2b8bf72c4374ad179cd1752", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001b2')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f4e5e434c61890e9ebfb1398da686c659ce49a88e45d730971a8429a4e1eff7d", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001b3')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a350001b3'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 203", "uid"=>"f4e5e434c61890e9ebfb1398da686c659ce49a88e45d730971a8429a4e1eff7d", "secret"=>"76921a7e9d3e414ef47a1f56d41fc4364264682344b9845713ee1dd60b152623", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622423541594a350001b3'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 203", "uid"=>"f4e5e434c61890e9ebfb1398da686c659ce49a88e45d730971a8429a4e1eff7d", "secret"=>"76921a7e9d3e414ef47a1f56d41fc4364264682344b9845713ee1dd60b152623", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f4e5e434c61890e9ebfb1398da686c659ce49a88e45d730971a8429a4e1eff7d", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001b3')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3934285fffd9dbe9913e6accc8c62f7a993855733507ab2cc6f8a50f14a96bda", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001b4')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a350001b4'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 204", "uid"=>"3934285fffd9dbe9913e6accc8c62f7a993855733507ab2cc6f8a50f14a96bda", "secret"=>"631306bb9c9b5c929ba328f864409bfc5b6910754fa72794c78c1c962a9bfb1b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622423541594a350001b4'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 204", "uid"=>"3934285fffd9dbe9913e6accc8c62f7a993855733507ab2cc6f8a50f14a96bda", "secret"=>"631306bb9c9b5c929ba328f864409bfc5b6910754fa72794c78c1c962a9bfb1b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3934285fffd9dbe9913e6accc8c62f7a993855733507ab2cc6f8a50f14a96bda", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001b4')}}, {:_id=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3934285fffd9dbe9913e6accc8c62f7a993855733507ab2cc6f8a50f14a96bda", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001b4')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (3.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (3.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a5ee590b29520731d388b98492c67ae9d4b28f1e1a26191344f39556691f8e36", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001b5')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a350001b5'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 205", "uid"=>"a5ee590b29520731d388b98492c67ae9d4b28f1e1a26191344f39556691f8e36", "secret"=>"41663da54722784e94437e7473ebf65d72ac4e0e9499ac3fb51cc88ca88f69d7", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622423541594a350001b5'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 205", "uid"=>"a5ee590b29520731d388b98492c67ae9d4b28f1e1a26191344f39556691f8e36", "secret"=>"41663da54722784e94437e7473ebf65d72ac4e0e9499ac3fb51cc88ca88f69d7", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (2.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a5ee590b29520731d388b98492c67ae9d4b28f1e1a26191344f39556691f8e36", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001b5')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"164d8c32e374efddb34b3ccebe9eeb09aff46b07fab7aac0bdda229ea2b98719", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001b6')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a350001b6'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 206", "uid"=>"164d8c32e374efddb34b3ccebe9eeb09aff46b07fab7aac0bdda229ea2b98719", "secret"=>"8fb5bdec1cef1383cfdda97365aded8cb1814fcb5a9ed2890f53edd1d6aab460", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622423541594a350001b6'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 206", "uid"=>"164d8c32e374efddb34b3ccebe9eeb09aff46b07fab7aac0bdda229ea2b98719", "secret"=>"8fb5bdec1cef1383cfdda97365aded8cb1814fcb5a9ed2890f53edd1d6aab460", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"164d8c32e374efddb34b3ccebe9eeb09aff46b07fab7aac0bdda229ea2b98719", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001b6')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"17bd0b8d81d6b8bfa378849bc426c19b08bd3902efd1d6b0c3253b98951babe4", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001b7')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a350001b7'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 207", "uid"=>"17bd0b8d81d6b8bfa378849bc426c19b08bd3902efd1d6b0c3253b98951babe4", "secret"=>"347a2c9f28149b6a6d5410dd76035f0a2da78f66865dbbd59c9a0096854880f5", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622423541594a350001b7'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 207", "uid"=>"17bd0b8d81d6b8bfa378849bc426c19b08bd3902efd1d6b0c3253b98951babe4", "secret"=>"347a2c9f28149b6a6d5410dd76035f0a2da78f66865dbbd59c9a0096854880f5", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (3.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"17bd0b8d81d6b8bfa378849bc426c19b08bd3902efd1d6b0c3253b98951babe4", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001b7')}}, {:_id=>1}).limit(-1) MONGODB (4.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e7a9d1e4996ab8298b9daccd7cbcd9ef4e1e10dff27557390733a01b1b3cb68d", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001b9')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a350001b9'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 208", "uid"=>"e7a9d1e4996ab8298b9daccd7cbcd9ef4e1e10dff27557390733a01b1b3cb68d", "secret"=>"c9d57cbfff1fa66ba1570d3cf6c04574c4853f18a8d359bb25d77f9142eefe54", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622423541594a350001b9'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 208", "uid"=>"e7a9d1e4996ab8298b9daccd7cbcd9ef4e1e10dff27557390733a01b1b3cb68d", "secret"=>"c9d57cbfff1fa66ba1570d3cf6c04574c4853f18a8d359bb25d77f9142eefe54", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"521fea2a5fd1c6b8c1a52d96ae46da13ae4920721201807f235544df24f7e8a8", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001b8')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"d336ef74b51599b61211786f404f41741b60fe54177c16698bed6ccf4876b5dd", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001b8')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a350001b8'), "application_id"=>BSON::ObjectId('5bb622423541594a350001b9'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>39, "token"=>"521fea2a5fd1c6b8c1a52d96ae46da13ae4920721201807f235544df24f7e8a8", "refresh_token"=>"d336ef74b51599b61211786f404f41741b60fe54177c16698bed6ccf4876b5dd", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622423541594a350001b8'), "application_id"=>BSON::ObjectId('5bb622423541594a350001b9'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>39, "token"=>"521fea2a5fd1c6b8c1a52d96ae46da13ae4920721201807f235544df24f7e8a8", "refresh_token"=>"d336ef74b51599b61211786f404f41741b60fe54177c16698bed6ccf4876b5dd", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e7a9d1e4996ab8298b9daccd7cbcd9ef4e1e10dff27557390733a01b1b3cb68d"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"92e06ce3ee0202f9f6da668087772bbde4cdc48facb7c2b9e752ff9200baf716", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001bb')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a350001bb'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 209", "uid"=>"92e06ce3ee0202f9f6da668087772bbde4cdc48facb7c2b9e752ff9200baf716", "secret"=>"53745017861295bb584d2a7af12dd4829fda817e4dca1fd1591ec796a3a1abf3", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622423541594a350001bb'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 209", "uid"=>"92e06ce3ee0202f9f6da668087772bbde4cdc48facb7c2b9e752ff9200baf716", "secret"=>"53745017861295bb584d2a7af12dd4829fda817e4dca1fd1591ec796a3a1abf3", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (10.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"0b5b0847d012c1f991ebfac19fe46bd3aa5e11af7861bacf16aa1f802ad9b8bf", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001ba')}}, {:_id=>1}).limit(-1) MONGODB (3.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"40aeec1c2d9f2c968df438187df325fcd2c2a27c0ba8ab62ec0f384aa2c71b2e", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001ba')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a350001ba'), "application_id"=>BSON::ObjectId('5bb622423541594a350001bb'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>40, "token"=>"0b5b0847d012c1f991ebfac19fe46bd3aa5e11af7861bacf16aa1f802ad9b8bf", "refresh_token"=>"40aeec1c2d9f2c968df438187df325fcd2c2a27c0ba8ab62ec0f384aa2c71b2e", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622423541594a350001ba'), "application_id"=>BSON::ObjectId('5bb622423541594a350001bb'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "resource_owner_id"=>40, "token"=>"0b5b0847d012c1f991ebfac19fe46bd3aa5e11af7861bacf16aa1f802ad9b8bf", "refresh_token"=>"40aeec1c2d9f2c968df438187df325fcd2c2a27c0ba8ab62ec0f384aa2c71b2e", "expires_in"=>7200}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"92e06ce3ee0202f9f6da668087772bbde4cdc48facb7c2b9e752ff9200baf716"}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"50982d35de4aa37b016334420f5e3d68d32a78243518297d0a24bf9a05ef47f3", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001bc')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a350001bc'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 210", "uid"=>"50982d35de4aa37b016334420f5e3d68d32a78243518297d0a24bf9a05ef47f3", "secret"=>"b73cf2bc78bd479c57d9f2277511b39506211f295ed83209596852225fadc881", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622423541594a350001bc'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 210", "uid"=>"50982d35de4aa37b016334420f5e3d68d32a78243518297d0a24bf9a05ef47f3", "secret"=>"b73cf2bc78bd479c57d9f2277511b39506211f295ed83209596852225fadc881", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a23a00051601b22a1e2b7f7a5a0cfc04198299e43873e8935f725fc5f600891e", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001be')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a350001be'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 211", "uid"=>"a23a00051601b22a1e2b7f7a5a0cfc04198299e43873e8935f725fc5f600891e", "secret"=>"c79ef67eed82dfb0bbddfbb8557e15b16a1e1399057cf8b63da510775e1abc34", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622423541594a350001be'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:22:58 UTC, "name"=>"Application 211", "uid"=>"a23a00051601b22a1e2b7f7a5a0cfc04198299e43873e8935f725fc5f600891e", "secret"=>"c79ef67eed82dfb0bbddfbb8557e15b16a1e1399057cf8b63da510775e1abc34", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"1d6dfecf9be336a945a62f47b83c1b1a4868f3d5a8d4076642165b9235520a23", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001bd')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"7dd9dcfec12aa8ca630ee7cc7ee3141403620328ab315e5c893797b59fb6e990", :_id=>{:$ne=>BSON::ObjectId('5bb622423541594a350001bd')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622423541594a350001bd'), "application_id"=>BSON::ObjectId('5bb622423541594a350001be'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>41, "token"=>"1d6dfecf9be336a945a62f47b83c1b1a4868f3d5a8d4076642165b9235520a23", "refresh_token"=>"7dd9dcfec12aa8ca630ee7cc7ee3141403620328ab315e5c893797b59fb6e990", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622423541594a350001bd'), "application_id"=>BSON::ObjectId('5bb622423541594a350001be'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>41, "token"=>"1d6dfecf9be336a945a62f47b83c1b1a4868f3d5a8d4076642165b9235520a23", "refresh_token"=>"7dd9dcfec12aa8ca630ee7cc7ee3141403620328ab315e5c893797b59fb6e990", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a23a00051601b22a1e2b7f7a5a0cfc04198299e43873e8935f725fc5f600891e"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622423541594a350001bd')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622423541594a350001bd')}, :u=>{"_id"=>BSON::ObjectId('5bb622423541594a350001bd'), "application_id"=>BSON::ObjectId('5bb622423541594a350001be'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>41, "token"=>"1d6dfecf9be336a945a62f47b83c1b1a4868f3d5a8d4076642165b9235520a23", "refresh_token"=>"7dd9dcfec12aa8ca630ee7cc7ee3141403620328ab315e5c893797b59fb6e990", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622423541594a350001bd')}, {"_id"=>BSON::ObjectId('5bb622423541594a350001bd'), "application_id"=>BSON::ObjectId('5bb622423541594a350001be'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>41, "token"=>"1d6dfecf9be336a945a62f47b83c1b1a4868f3d5a8d4076642165b9235520a23", "refresh_token"=>"7dd9dcfec12aa8ca630ee7cc7ee3141403620328ab315e5c893797b59fb6e990", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622423541594a350001be')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"194f005a27b37d9214b169c579f32b8f30ad5fc1ad7d0ae8fa1bea50177ce26d", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001bf')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"8734ad6df74d4e33beaae0c4bb53f683709223447869899e44759e6528aea110", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001bf')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001bf'), "application_id"=>BSON::ObjectId('5bb622423541594a350001be'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>41, "token"=>"194f005a27b37d9214b169c579f32b8f30ad5fc1ad7d0ae8fa1bea50177ce26d", "refresh_token"=>"8734ad6df74d4e33beaae0c4bb53f683709223447869899e44759e6528aea110", "expires_in"=>120, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001bf'), "application_id"=>BSON::ObjectId('5bb622423541594a350001be'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>41, "token"=>"194f005a27b37d9214b169c579f32b8f30ad5fc1ad7d0ae8fa1bea50177ce26d", "refresh_token"=>"8734ad6df74d4e33beaae0c4bb53f683709223447869899e44759e6528aea110", "expires_in"=>120, "scopes"=>""}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"370fbf56638c6693a9c25f2ce6e3ae88ad449fda10fc0eb25db60c43fa2d47c6", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001c1')}}, {:_id=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001c1'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 212", "uid"=>"370fbf56638c6693a9c25f2ce6e3ae88ad449fda10fc0eb25db60c43fa2d47c6", "secret"=>"edb585f3674be3d492be07dac7d3b72bd9588c0dd0f222c82fee6763bc88ca1c", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001c1'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 212", "uid"=>"370fbf56638c6693a9c25f2ce6e3ae88ad449fda10fc0eb25db60c43fa2d47c6", "secret"=>"edb585f3674be3d492be07dac7d3b72bd9588c0dd0f222c82fee6763bc88ca1c", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"dd6a0c6685204e3a8868f0bc614ee21fe1c1f00f29c249fd5c327782078fdfd5", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001c0')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"a9efe93b30f17d8fa5cdec6665264b234d15b0a4b38d9277d57ee2691c7b4159", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001c0')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001c0'), "application_id"=>BSON::ObjectId('5bb622433541594a350001c1'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>42, "token"=>"dd6a0c6685204e3a8868f0bc614ee21fe1c1f00f29c249fd5c327782078fdfd5", "refresh_token"=>"a9efe93b30f17d8fa5cdec6665264b234d15b0a4b38d9277d57ee2691c7b4159", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001c0'), "application_id"=>BSON::ObjectId('5bb622433541594a350001c1'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>42, "token"=>"dd6a0c6685204e3a8868f0bc614ee21fe1c1f00f29c249fd5c327782078fdfd5", "refresh_token"=>"a9efe93b30f17d8fa5cdec6665264b234d15b0a4b38d9277d57ee2691c7b4159", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"370fbf56638c6693a9c25f2ce6e3ae88ad449fda10fc0eb25db60c43fa2d47c6"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7aff1eb21c9413aec4d15d66e113ef21b60c4f096cd78d78bdd4de1de79935f3", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001c3')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001c3'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 213", "uid"=>"7aff1eb21c9413aec4d15d66e113ef21b60c4f096cd78d78bdd4de1de79935f3", "secret"=>"5b7e98d012db360c409efcdb6949472060a86fe65e7bc8d7884c1acb34da6123", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001c3'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 213", "uid"=>"7aff1eb21c9413aec4d15d66e113ef21b60c4f096cd78d78bdd4de1de79935f3", "secret"=>"5b7e98d012db360c409efcdb6949472060a86fe65e7bc8d7884c1acb34da6123", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"abf7d1c25141dd7c34b7a55be0e4b23cffc002cdc13f434e1a2f8d6220d5801b", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001c2')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"b96ea9a008c93b8bce561ed5ddb28f4e47c29e1657ed45636be8799ed3786efa", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001c2')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001c2'), "application_id"=>BSON::ObjectId('5bb622433541594a350001c3'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>43, "token"=>"abf7d1c25141dd7c34b7a55be0e4b23cffc002cdc13f434e1a2f8d6220d5801b", "refresh_token"=>"b96ea9a008c93b8bce561ed5ddb28f4e47c29e1657ed45636be8799ed3786efa", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001c2'), "application_id"=>BSON::ObjectId('5bb622433541594a350001c3'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>43, "token"=>"abf7d1c25141dd7c34b7a55be0e4b23cffc002cdc13f434e1a2f8d6220d5801b", "refresh_token"=>"b96ea9a008c93b8bce561ed5ddb28f4e47c29e1657ed45636be8799ed3786efa", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7aff1eb21c9413aec4d15d66e113ef21b60c4f096cd78d78bdd4de1de79935f3"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622433541594a350001c2')}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622433541594a350001c2')}, :u=>{"_id"=>BSON::ObjectId('5bb622433541594a350001c2'), "application_id"=>BSON::ObjectId('5bb622433541594a350001c3'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>43, "token"=>"abf7d1c25141dd7c34b7a55be0e4b23cffc002cdc13f434e1a2f8d6220d5801b", "refresh_token"=>"b96ea9a008c93b8bce561ed5ddb28f4e47c29e1657ed45636be8799ed3786efa", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622433541594a350001c2')}, {"_id"=>BSON::ObjectId('5bb622433541594a350001c2'), "application_id"=>BSON::ObjectId('5bb622433541594a350001c3'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>43, "token"=>"abf7d1c25141dd7c34b7a55be0e4b23cffc002cdc13f434e1a2f8d6220d5801b", "refresh_token"=>"b96ea9a008c93b8bce561ed5ddb28f4e47c29e1657ed45636be8799ed3786efa", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622433541594a350001c3')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"4bdd60ef9b56e1abce3e63d34551e39013ea43b845a9d9a0bfd47b79f9d0f91e", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001c4')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"e2b2d476de8f67d856485958439ff5cef1012f5595452fc54aaaf60df257a2e6", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001c4')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001c4'), "application_id"=>BSON::ObjectId('5bb622433541594a350001c3'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>43, "token"=>"4bdd60ef9b56e1abce3e63d34551e39013ea43b845a9d9a0bfd47b79f9d0f91e", "refresh_token"=>"e2b2d476de8f67d856485958439ff5cef1012f5595452fc54aaaf60df257a2e6", "expires_in"=>1234, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001c4'), "application_id"=>BSON::ObjectId('5bb622433541594a350001c3'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>43, "token"=>"4bdd60ef9b56e1abce3e63d34551e39013ea43b845a9d9a0bfd47b79f9d0f91e", "refresh_token"=>"e2b2d476de8f67d856485958439ff5cef1012f5595452fc54aaaf60df257a2e6", "expires_in"=>1234, "scopes"=>""}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622433541594a350001c3')}).limit(-1) MONGODB (2.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622433541594a350001c3')}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"08f30620b01b586f3981b72c859e2dc4178df2c174fe06ae22702e3a15b989d4", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001c6')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001c6'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 214", "uid"=>"08f30620b01b586f3981b72c859e2dc4178df2c174fe06ae22702e3a15b989d4", "secret"=>"7782d63ccbb68bf8f0d31ee3eea156742861bf2e38fd92c23c60fab7c4be55d1", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001c6'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 214", "uid"=>"08f30620b01b586f3981b72c859e2dc4178df2c174fe06ae22702e3a15b989d4", "secret"=>"7782d63ccbb68bf8f0d31ee3eea156742861bf2e38fd92c23c60fab7c4be55d1", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"a6ea1d07af9781c7b0980407ec280533619c01ec77293bd6f135a69ae021555f", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001c5')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"9fc01dab4af60696039f0bf811305948f2191b5985af8a87fee6e948b0e9df83", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001c5')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001c5'), "application_id"=>BSON::ObjectId('5bb622433541594a350001c6'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>44, "token"=>"a6ea1d07af9781c7b0980407ec280533619c01ec77293bd6f135a69ae021555f", "refresh_token"=>"9fc01dab4af60696039f0bf811305948f2191b5985af8a87fee6e948b0e9df83", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001c5'), "application_id"=>BSON::ObjectId('5bb622433541594a350001c6'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>44, "token"=>"a6ea1d07af9781c7b0980407ec280533619c01ec77293bd6f135a69ae021555f", "refresh_token"=>"9fc01dab4af60696039f0bf811305948f2191b5985af8a87fee6e948b0e9df83", "expires_in"=>7200}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"a6ea1d07af9781c7b0980407ec280533619c01ec77293bd6f135a69ae021555f", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001c5')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"9fc01dab4af60696039f0bf811305948f2191b5985af8a87fee6e948b0e9df83", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001c5')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622433541594a350001c5')}, :u=>{"_id"=>BSON::ObjectId('5bb622433541594a350001c5'), "application_id"=>BSON::ObjectId('5bb622433541594a350001c6'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>44, "token"=>"a6ea1d07af9781c7b0980407ec280533619c01ec77293bd6f135a69ae021555f", "refresh_token"=>"9fc01dab4af60696039f0bf811305948f2191b5985af8a87fee6e948b0e9df83", "expires_in"=>-1}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622433541594a350001c5')}, {"_id"=>BSON::ObjectId('5bb622433541594a350001c5'), "application_id"=>BSON::ObjectId('5bb622433541594a350001c6'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>44, "token"=>"a6ea1d07af9781c7b0980407ec280533619c01ec77293bd6f135a69ae021555f", "refresh_token"=>"9fc01dab4af60696039f0bf811305948f2191b5985af8a87fee6e948b0e9df83", "expires_in"=>-1}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"08f30620b01b586f3981b72c859e2dc4178df2c174fe06ae22702e3a15b989d4"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0dadee718b1bedc42a6a66d54f42aa8352e4114d96291a920227a0567a9cbe3a", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001c8')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001c8'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 215", "uid"=>"0dadee718b1bedc42a6a66d54f42aa8352e4114d96291a920227a0567a9cbe3a", "secret"=>"eb5d57f642e8b8d3938ae6d211de5d08f819a8d3ec322491e58f7046af30b0af", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001c8'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 215", "uid"=>"0dadee718b1bedc42a6a66d54f42aa8352e4114d96291a920227a0567a9cbe3a", "secret"=>"eb5d57f642e8b8d3938ae6d211de5d08f819a8d3ec322491e58f7046af30b0af", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"3653ee3411e33dc9c0e65fadc647547515dc42b1304e8e86c26fe700ac6d67c5", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001c7')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"c217af59e4958611c325566497d0d4f37ab466d9d82a2e8ebb4fcff09023a54a", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001c7')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001c7'), "application_id"=>BSON::ObjectId('5bb622433541594a350001c8'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>45, "token"=>"3653ee3411e33dc9c0e65fadc647547515dc42b1304e8e86c26fe700ac6d67c5", "refresh_token"=>"c217af59e4958611c325566497d0d4f37ab466d9d82a2e8ebb4fcff09023a54a", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001c7'), "application_id"=>BSON::ObjectId('5bb622433541594a350001c8'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>45, "token"=>"3653ee3411e33dc9c0e65fadc647547515dc42b1304e8e86c26fe700ac6d67c5", "refresh_token"=>"c217af59e4958611c325566497d0d4f37ab466d9d82a2e8ebb4fcff09023a54a", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0dadee718b1bedc42a6a66d54f42aa8352e4114d96291a920227a0567a9cbe3a"}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622433541594a350001c7')}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622433541594a350001c7')}, :u=>{"_id"=>BSON::ObjectId('5bb622433541594a350001c7'), "application_id"=>BSON::ObjectId('5bb622433541594a350001c8'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>45, "token"=>"3653ee3411e33dc9c0e65fadc647547515dc42b1304e8e86c26fe700ac6d67c5", "refresh_token"=>"c217af59e4958611c325566497d0d4f37ab466d9d82a2e8ebb4fcff09023a54a", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622433541594a350001c7')}, {"_id"=>BSON::ObjectId('5bb622433541594a350001c7'), "application_id"=>BSON::ObjectId('5bb622433541594a350001c8'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>45, "token"=>"3653ee3411e33dc9c0e65fadc647547515dc42b1304e8e86c26fe700ac6d67c5", "refresh_token"=>"c217af59e4958611c325566497d0d4f37ab466d9d82a2e8ebb4fcff09023a54a", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622433541594a350001c8')}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"33c91abc36a53b7939c9a120791685b9c3c0724f207b0fee67773963db787f84", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001c9')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"dd7717749be2163c0a07a3c061bb33e6271481a27606ee0df1ea5f285f9256ac", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001c9')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001c9'), "application_id"=>BSON::ObjectId('5bb622433541594a350001c8'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>45, "token"=>"33c91abc36a53b7939c9a120791685b9c3c0724f207b0fee67773963db787f84", "refresh_token"=>"dd7717749be2163c0a07a3c061bb33e6271481a27606ee0df1ea5f285f9256ac", "expires_in"=>120, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001c9'), "application_id"=>BSON::ObjectId('5bb622433541594a350001c8'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>45, "token"=>"33c91abc36a53b7939c9a120791685b9c3c0724f207b0fee67773963db787f84", "refresh_token"=>"dd7717749be2163c0a07a3c061bb33e6271481a27606ee0df1ea5f285f9256ac", "expires_in"=>120, "scopes"=>""}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c96ce1cb164e908eb65b68d06a898b1a4ccbf89e9a5faba9f8548f8951b97fb8", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001cb')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001cb'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 216", "uid"=>"c96ce1cb164e908eb65b68d06a898b1a4ccbf89e9a5faba9f8548f8951b97fb8", "secret"=>"aa2bc16885608b2b0c2925f8fa0a23b76afc6dd2ae54347b523d0ecb3bfac345", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001cb'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 216", "uid"=>"c96ce1cb164e908eb65b68d06a898b1a4ccbf89e9a5faba9f8548f8951b97fb8", "secret"=>"aa2bc16885608b2b0c2925f8fa0a23b76afc6dd2ae54347b523d0ecb3bfac345", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"b7175bab180a36bce0bc0c8c774f826922784dcf7b05a61d401ec71331eb47f5", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001ca')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"8d4a1133deab67bc359a9782658e2847ef21d136b6f172d4f427d08901dee6a5", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001ca')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001ca'), "application_id"=>BSON::ObjectId('5bb622433541594a350001cb'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>46, "token"=>"b7175bab180a36bce0bc0c8c774f826922784dcf7b05a61d401ec71331eb47f5", "refresh_token"=>"8d4a1133deab67bc359a9782658e2847ef21d136b6f172d4f427d08901dee6a5", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001ca'), "application_id"=>BSON::ObjectId('5bb622433541594a350001cb'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>46, "token"=>"b7175bab180a36bce0bc0c8c774f826922784dcf7b05a61d401ec71331eb47f5", "refresh_token"=>"8d4a1133deab67bc359a9782658e2847ef21d136b6f172d4f427d08901dee6a5", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622433541594a350001ca')}, :u=>{"_id"=>BSON::ObjectId('5bb622433541594a350001ca'), "application_id"=>BSON::ObjectId('5bb622433541594a350001cb'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>46, "token"=>"b7175bab180a36bce0bc0c8c774f826922784dcf7b05a61d401ec71331eb47f5", "refresh_token"=>"8d4a1133deab67bc359a9782658e2847ef21d136b6f172d4f427d08901dee6a5", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622433541594a350001ca')}, {"_id"=>BSON::ObjectId('5bb622433541594a350001ca'), "application_id"=>BSON::ObjectId('5bb622433541594a350001cb'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>46, "token"=>"b7175bab180a36bce0bc0c8c774f826922784dcf7b05a61d401ec71331eb47f5", "refresh_token"=>"8d4a1133deab67bc359a9782658e2847ef21d136b6f172d4f427d08901dee6a5", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c96ce1cb164e908eb65b68d06a898b1a4ccbf89e9a5faba9f8548f8951b97fb8"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"bc91085f0a5d86b971f778d016b3e231fa7349c02bfc53e072fad40434d5f41c", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001cd')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001cd'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 217", "uid"=>"bc91085f0a5d86b971f778d016b3e231fa7349c02bfc53e072fad40434d5f41c", "secret"=>"9b242f42e3e18dfc128554a938aa3b49ec5b04a7ad47417fb7f311ae5c84a0ae", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001cd'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 217", "uid"=>"bc91085f0a5d86b971f778d016b3e231fa7349c02bfc53e072fad40434d5f41c", "secret"=>"9b242f42e3e18dfc128554a938aa3b49ec5b04a7ad47417fb7f311ae5c84a0ae", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"778677591ade4914a753a84bfef59c68b2f609703331a78cb4ad9e71914056da", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001cc')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"11ad5bfa3c5b14ac3789ff8375ec7e5588eb74238c9910b25849118426ec1ba7", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001cc')}}, {:_id=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001cc'), "application_id"=>BSON::ObjectId('5bb622433541594a350001cd'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>47, "token"=>"778677591ade4914a753a84bfef59c68b2f609703331a78cb4ad9e71914056da", "refresh_token"=>"11ad5bfa3c5b14ac3789ff8375ec7e5588eb74238c9910b25849118426ec1ba7", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001cc'), "application_id"=>BSON::ObjectId('5bb622433541594a350001cd'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>47, "token"=>"778677591ade4914a753a84bfef59c68b2f609703331a78cb4ad9e71914056da", "refresh_token"=>"11ad5bfa3c5b14ac3789ff8375ec7e5588eb74238c9910b25849118426ec1ba7", "expires_in"=>7200}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622433541594a350001cd')}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{:application_id=>BSON::ObjectId('5bb622433541594a350001cd')}, "fields"=>nil}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"bc91085f0a5d86b971f778d016b3e231fa7349c02bfc53e072fad40434d5f41c"}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622433541594a350001cc')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622433541594a350001cc')}, :u=>{"_id"=>BSON::ObjectId('5bb622433541594a350001cc'), "application_id"=>BSON::ObjectId('5bb622433541594a350001cd'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>47, "token"=>"778677591ade4914a753a84bfef59c68b2f609703331a78cb4ad9e71914056da", "refresh_token"=>"11ad5bfa3c5b14ac3789ff8375ec7e5588eb74238c9910b25849118426ec1ba7", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622433541594a350001cc')}, {"_id"=>BSON::ObjectId('5bb622433541594a350001cc'), "application_id"=>BSON::ObjectId('5bb622433541594a350001cd'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>47, "token"=>"778677591ade4914a753a84bfef59c68b2f609703331a78cb4ad9e71914056da", "refresh_token"=>"11ad5bfa3c5b14ac3789ff8375ec7e5588eb74238c9910b25849118426ec1ba7", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622433541594a350001cd')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"55d088a3281262a1d2811b0155106c7805debb631a69a394c0e3b80ea5febcb6", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001ce')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"90816264d405939e80d2d8cd12445eeba06efdcfa149870001f5330c04288ec6", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001ce')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001ce'), "application_id"=>BSON::ObjectId('5bb622433541594a350001cd'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>47, "token"=>"55d088a3281262a1d2811b0155106c7805debb631a69a394c0e3b80ea5febcb6", "refresh_token"=>"90816264d405939e80d2d8cd12445eeba06efdcfa149870001f5330c04288ec6", "expires_in"=>120, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001ce'), "application_id"=>BSON::ObjectId('5bb622433541594a350001cd'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>47, "token"=>"55d088a3281262a1d2811b0155106c7805debb631a69a394c0e3b80ea5febcb6", "refresh_token"=>"90816264d405939e80d2d8cd12445eeba06efdcfa149870001f5330c04288ec6", "expires_in"=>120, "scopes"=>""}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622433541594a350001cd')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{:application_id=>BSON::ObjectId('5bb622433541594a350001cd')}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622433541594a350001cd')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622433541594a350001cd')}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"12fb5b5b52bfbebf39cf1c4860bdd79858b82e388a01ab4d1fb1d8b0869d6836", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001d0')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001d0'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 218", "uid"=>"12fb5b5b52bfbebf39cf1c4860bdd79858b82e388a01ab4d1fb1d8b0869d6836", "secret"=>"ee80c2aeb9fd0d9fa55deb76820ec6b123a6ff289076021160adc13c098a5695", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001d0'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 218", "uid"=>"12fb5b5b52bfbebf39cf1c4860bdd79858b82e388a01ab4d1fb1d8b0869d6836", "secret"=>"ee80c2aeb9fd0d9fa55deb76820ec6b123a6ff289076021160adc13c098a5695", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"369b6172c668a2db60cf1e70277beebd906a57bb083b0a5fbc4acbe3642cec64", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001cf')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"426728071e04ccd8d01fcb926706fa5063a93cc80d67662d1adfe60d85870b27", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001cf')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001cf'), "application_id"=>BSON::ObjectId('5bb622433541594a350001d0'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>48, "token"=>"369b6172c668a2db60cf1e70277beebd906a57bb083b0a5fbc4acbe3642cec64", "refresh_token"=>"426728071e04ccd8d01fcb926706fa5063a93cc80d67662d1adfe60d85870b27", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001cf'), "application_id"=>BSON::ObjectId('5bb622433541594a350001d0'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>48, "token"=>"369b6172c668a2db60cf1e70277beebd906a57bb083b0a5fbc4acbe3642cec64", "refresh_token"=>"426728071e04ccd8d01fcb926706fa5063a93cc80d67662d1adfe60d85870b27", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"12fb5b5b52bfbebf39cf1c4860bdd79858b82e388a01ab4d1fb1d8b0869d6836"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622433541594a350001cf')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622433541594a350001d0')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f66579101ef265611e387d5e7ccd7279e108c86255f9295ae85674c78034ddd5", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001d1')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"202126206518ed8d4454309f95f34016fc21d6c897c287462268431940855204", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001d1')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001d1'), "application_id"=>BSON::ObjectId('5bb622433541594a350001d0'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>48, "token"=>"f66579101ef265611e387d5e7ccd7279e108c86255f9295ae85674c78034ddd5", "refresh_token"=>"202126206518ed8d4454309f95f34016fc21d6c897c287462268431940855204", "previous_refresh_token"=>"426728071e04ccd8d01fcb926706fa5063a93cc80d67662d1adfe60d85870b27", "expires_in"=>1234, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001d1'), "application_id"=>BSON::ObjectId('5bb622433541594a350001d0'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>48, "token"=>"f66579101ef265611e387d5e7ccd7279e108c86255f9295ae85674c78034ddd5", "refresh_token"=>"202126206518ed8d4454309f95f34016fc21d6c897c287462268431940855204", "previous_refresh_token"=>"426728071e04ccd8d01fcb926706fa5063a93cc80d67662d1adfe60d85870b27", "expires_in"=>1234, "scopes"=>""}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1dd877bb4dee048382281dc171054b70502f92fbb3ddd4c58161a9cfe3dfb50c", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001d3')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001d3'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 219", "uid"=>"1dd877bb4dee048382281dc171054b70502f92fbb3ddd4c58161a9cfe3dfb50c", "secret"=>"3a52b560d7d0c2317b3300782d62c048371f79f160f3982ac0178e2abd1d8662", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001d3'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 219", "uid"=>"1dd877bb4dee048382281dc171054b70502f92fbb3ddd4c58161a9cfe3dfb50c", "secret"=>"3a52b560d7d0c2317b3300782d62c048371f79f160f3982ac0178e2abd1d8662", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"749d67265e060d340b2dba6753af09ec338337826b726d592108354eac67425b", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001d2')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"73b11103031adf36af7395efd0843926d2e8be439fa57a6425f651f7352cee1f", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001d2')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001d2'), "application_id"=>BSON::ObjectId('5bb622433541594a350001d3'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>49, "token"=>"749d67265e060d340b2dba6753af09ec338337826b726d592108354eac67425b", "refresh_token"=>"73b11103031adf36af7395efd0843926d2e8be439fa57a6425f651f7352cee1f", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001d2'), "application_id"=>BSON::ObjectId('5bb622433541594a350001d3'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>49, "token"=>"749d67265e060d340b2dba6753af09ec338337826b726d592108354eac67425b", "refresh_token"=>"73b11103031adf36af7395efd0843926d2e8be439fa57a6425f651f7352cee1f", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1dd877bb4dee048382281dc171054b70502f92fbb3ddd4c58161a9cfe3dfb50c"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622433541594a350001d2')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622433541594a350001d3')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"c7a49f31b65cf5262680b39feee08fbd25ad85d8539fa2b9d42ac41e0fa10399", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001d4')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"b616f99ed5af027817acb80937cedac6ec8e674e5552b9c7086891a9dabaa5c2", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001d4')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001d4'), "application_id"=>BSON::ObjectId('5bb622433541594a350001d3'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>49, "token"=>"c7a49f31b65cf5262680b39feee08fbd25ad85d8539fa2b9d42ac41e0fa10399", "refresh_token"=>"b616f99ed5af027817acb80937cedac6ec8e674e5552b9c7086891a9dabaa5c2", "previous_refresh_token"=>"73b11103031adf36af7395efd0843926d2e8be439fa57a6425f651f7352cee1f", "expires_in"=>1234, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001d4'), "application_id"=>BSON::ObjectId('5bb622433541594a350001d3'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>49, "token"=>"c7a49f31b65cf5262680b39feee08fbd25ad85d8539fa2b9d42ac41e0fa10399", "refresh_token"=>"b616f99ed5af027817acb80937cedac6ec8e674e5552b9c7086891a9dabaa5c2", "previous_refresh_token"=>"73b11103031adf36af7395efd0843926d2e8be439fa57a6425f651f7352cee1f", "expires_in"=>1234, "scopes"=>""}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622433541594a350001d3')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622433541594a350001d3')}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b7d99ee26dc01eb73dcbadc93ffea1eee65a72de867bebfeba8d4460fa1c54da", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001d6')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001d6'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 220", "uid"=>"b7d99ee26dc01eb73dcbadc93ffea1eee65a72de867bebfeba8d4460fa1c54da", "secret"=>"4068ac2eb4d1d79040a4e8812987e1d27641fa31da4aaf94003d9126bd755a2f", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001d6'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 220", "uid"=>"b7d99ee26dc01eb73dcbadc93ffea1eee65a72de867bebfeba8d4460fa1c54da", "secret"=>"4068ac2eb4d1d79040a4e8812987e1d27641fa31da4aaf94003d9126bd755a2f", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"983813a1e3a81d6944df6ddae0477559cf75813ef4a94ffc8428042727db8147", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001d5')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"593f0fa249638f1188385a48bdf3e481845345ee66728dbcde75b33ab2354a69", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001d5')}}, {:_id=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001d5'), "application_id"=>BSON::ObjectId('5bb622433541594a350001d6'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>50, "token"=>"983813a1e3a81d6944df6ddae0477559cf75813ef4a94ffc8428042727db8147", "refresh_token"=>"593f0fa249638f1188385a48bdf3e481845345ee66728dbcde75b33ab2354a69", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001d5'), "application_id"=>BSON::ObjectId('5bb622433541594a350001d6'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>50, "token"=>"983813a1e3a81d6944df6ddae0477559cf75813ef4a94ffc8428042727db8147", "refresh_token"=>"593f0fa249638f1188385a48bdf3e481845345ee66728dbcde75b33ab2354a69", "expires_in"=>7200}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622433541594a350001d6')}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{:application_id=>BSON::ObjectId('5bb622433541594a350001d6')}, "fields"=>nil}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b7d99ee26dc01eb73dcbadc93ffea1eee65a72de867bebfeba8d4460fa1c54da"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622433541594a350001d5')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622433541594a350001d6')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"b1812433cd0438b00733fe83de8f573e13c0924bb03d1fc7efb2212965854540", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001d7')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"c205e9d3097ddfaf8ed196efdb8f1398836ee2201d301c917f75aaeae2f71444", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001d7')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001d7'), "application_id"=>BSON::ObjectId('5bb622433541594a350001d6'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>50, "token"=>"b1812433cd0438b00733fe83de8f573e13c0924bb03d1fc7efb2212965854540", "refresh_token"=>"c205e9d3097ddfaf8ed196efdb8f1398836ee2201d301c917f75aaeae2f71444", "previous_refresh_token"=>"593f0fa249638f1188385a48bdf3e481845345ee66728dbcde75b33ab2354a69", "expires_in"=>1234, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001d7'), "application_id"=>BSON::ObjectId('5bb622433541594a350001d6'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>50, "token"=>"b1812433cd0438b00733fe83de8f573e13c0924bb03d1fc7efb2212965854540", "refresh_token"=>"c205e9d3097ddfaf8ed196efdb8f1398836ee2201d301c917f75aaeae2f71444", "previous_refresh_token"=>"593f0fa249638f1188385a48bdf3e481845345ee66728dbcde75b33ab2354a69", "expires_in"=>1234, "scopes"=>""}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622433541594a350001d6')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{:application_id=>BSON::ObjectId('5bb622433541594a350001d6')}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"a3403d0eca9201bde7e93bd7b3c5e5c93d2822ce053d3dcb55f7ca213f1487c3", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001d8')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"50a89091fc47717b0df427d3c8a263ed45b35d25cf1975bb602672830e6c7263", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001d8')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001d8'), "application_id"=>nil, "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>51, "token"=>"a3403d0eca9201bde7e93bd7b3c5e5c93d2822ce053d3dcb55f7ca213f1487c3", "refresh_token"=>"50a89091fc47717b0df427d3c8a263ed45b35d25cf1975bb602672830e6c7263", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001d8'), "application_id"=>nil, "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>51, "token"=>"a3403d0eca9201bde7e93bd7b3c5e5c93d2822ce053d3dcb55f7ca213f1487c3", "refresh_token"=>"50a89091fc47717b0df427d3c8a263ed45b35d25cf1975bb602672830e6c7263", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622433541594a350001d8')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622433541594a350001d8')}, :u=>{"_id"=>BSON::ObjectId('5bb622433541594a350001d8'), "application_id"=>nil, "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>51, "token"=>"a3403d0eca9201bde7e93bd7b3c5e5c93d2822ce053d3dcb55f7ca213f1487c3", "refresh_token"=>"50a89091fc47717b0df427d3c8a263ed45b35d25cf1975bb602672830e6c7263", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622433541594a350001d8')}, {"_id"=>BSON::ObjectId('5bb622433541594a350001d8'), "application_id"=>nil, "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>51, "token"=>"a3403d0eca9201bde7e93bd7b3c5e5c93d2822ce053d3dcb55f7ca213f1487c3", "refresh_token"=>"50a89091fc47717b0df427d3c8a263ed45b35d25cf1975bb602672830e6c7263", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"2e34762ded00f1e002fe0b8335d1cd7a775b93214b58d3d5041a9965607faf63", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001d9')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"a205ccb2849bc4f21f5f23453e54a7975c7cdddfc6983b6fefed479effbc7b57", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001d9')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001d9'), "application_id"=>nil, "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>51, "token"=>"2e34762ded00f1e002fe0b8335d1cd7a775b93214b58d3d5041a9965607faf63", "refresh_token"=>"a205ccb2849bc4f21f5f23453e54a7975c7cdddfc6983b6fefed479effbc7b57", "expires_in"=>120, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001d9'), "application_id"=>nil, "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>51, "token"=>"2e34762ded00f1e002fe0b8335d1cd7a775b93214b58d3d5041a9965607faf63", "refresh_token"=>"a205ccb2849bc4f21f5f23453e54a7975c7cdddfc6983b6fefed479effbc7b57", "expires_in"=>120, "scopes"=>""}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (2.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"87079994feeb5d78cf86c24dbc2830ab2980c1fa4b56fb518ba3fca79f30429e", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001db')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001db'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 221", "uid"=>"87079994feeb5d78cf86c24dbc2830ab2980c1fa4b56fb518ba3fca79f30429e", "secret"=>"b6b04113d9fffc4fa483b36238745b0d50422947f537ce3b53360873b0ec9b88", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001db'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 221", "uid"=>"87079994feeb5d78cf86c24dbc2830ab2980c1fa4b56fb518ba3fca79f30429e", "secret"=>"b6b04113d9fffc4fa483b36238745b0d50422947f537ce3b53360873b0ec9b88", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d4c74a67f3ab90ad9b29a3b60021e246b00f0a5bbab98a9b99e7f8b1171a89fc", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001da')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"fc38274f50daeda604093372da26fabd5b848f4d2c559a4d3bb58d2e1ae907ea", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001da')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001da'), "application_id"=>BSON::ObjectId('5bb622433541594a350001db'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>52, "token"=>"d4c74a67f3ab90ad9b29a3b60021e246b00f0a5bbab98a9b99e7f8b1171a89fc", "refresh_token"=>"fc38274f50daeda604093372da26fabd5b848f4d2c559a4d3bb58d2e1ae907ea", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001da'), "application_id"=>BSON::ObjectId('5bb622433541594a350001db'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>52, "token"=>"d4c74a67f3ab90ad9b29a3b60021e246b00f0a5bbab98a9b99e7f8b1171a89fc", "refresh_token"=>"fc38274f50daeda604093372da26fabd5b848f4d2c559a4d3bb58d2e1ae907ea", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"87079994feeb5d78cf86c24dbc2830ab2980c1fa4b56fb518ba3fca79f30429e"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"629abd4cba3d4e5af7bd463739bf0a7ed2aed954c01227dced448eb0ee761a74", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001dd')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001dd'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 222", "uid"=>"629abd4cba3d4e5af7bd463739bf0a7ed2aed954c01227dced448eb0ee761a74", "secret"=>"9d296c54b02feda7efd904bf3c2a853aa2174a88abf8a26c05924fc4e74dba53", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001dd'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 222", "uid"=>"629abd4cba3d4e5af7bd463739bf0a7ed2aed954c01227dced448eb0ee761a74", "secret"=>"9d296c54b02feda7efd904bf3c2a853aa2174a88abf8a26c05924fc4e74dba53", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"7f0af92569947c3ead3bb384077f4bb5a37410843e4696b39a703669eec42f72", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001dc')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"ab0244c6424395780a7ec6459992f6967c908a038f0922135ab9c75d82485ee3", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001dc')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001dc'), "application_id"=>BSON::ObjectId('5bb622433541594a350001dd'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>53, "token"=>"7f0af92569947c3ead3bb384077f4bb5a37410843e4696b39a703669eec42f72", "refresh_token"=>"ab0244c6424395780a7ec6459992f6967c908a038f0922135ab9c75d82485ee3", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001dc'), "application_id"=>BSON::ObjectId('5bb622433541594a350001dd'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>53, "token"=>"7f0af92569947c3ead3bb384077f4bb5a37410843e4696b39a703669eec42f72", "refresh_token"=>"ab0244c6424395780a7ec6459992f6967c908a038f0922135ab9c75d82485ee3", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"629abd4cba3d4e5af7bd463739bf0a7ed2aed954c01227dced448eb0ee761a74"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622433541594a350001dc')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622433541594a350001dc')}, :u=>{"_id"=>BSON::ObjectId('5bb622433541594a350001dc'), "application_id"=>BSON::ObjectId('5bb622433541594a350001dd'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>53, "token"=>"7f0af92569947c3ead3bb384077f4bb5a37410843e4696b39a703669eec42f72", "refresh_token"=>"ab0244c6424395780a7ec6459992f6967c908a038f0922135ab9c75d82485ee3", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC, "scopes"=>"public write"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622433541594a350001dc')}, {"_id"=>BSON::ObjectId('5bb622433541594a350001dc'), "application_id"=>BSON::ObjectId('5bb622433541594a350001dd'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>53, "token"=>"7f0af92569947c3ead3bb384077f4bb5a37410843e4696b39a703669eec42f72", "refresh_token"=>"ab0244c6424395780a7ec6459992f6967c908a038f0922135ab9c75d82485ee3", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC, "scopes"=>"public write"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622433541594a350001dd')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"0b0b877530dbcc2a035b279fc0f9dcee10c4bce917fc973cb45833f154d8688f", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001de')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"d58d8ee5d9781c3620f8e63441219d09863d7eac6f1fc0b5ebc8b5dce6653c51", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001de')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001de'), "application_id"=>BSON::ObjectId('5bb622433541594a350001dd'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>53, "token"=>"0b0b877530dbcc2a035b279fc0f9dcee10c4bce917fc973cb45833f154d8688f", "refresh_token"=>"d58d8ee5d9781c3620f8e63441219d09863d7eac6f1fc0b5ebc8b5dce6653c51", "expires_in"=>120, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001de'), "application_id"=>BSON::ObjectId('5bb622433541594a350001dd'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>53, "token"=>"0b0b877530dbcc2a035b279fc0f9dcee10c4bce917fc973cb45833f154d8688f", "refresh_token"=>"d58d8ee5d9781c3620f8e63441219d09863d7eac6f1fc0b5ebc8b5dce6653c51", "expires_in"=>120, "scopes"=>"public"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a0fbecb819e86e2d16fd9c196fdeedc7ef5f6d7fdae22ead3fad123560d5a098", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001e0')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001e0'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 223", "uid"=>"a0fbecb819e86e2d16fd9c196fdeedc7ef5f6d7fdae22ead3fad123560d5a098", "secret"=>"2b291742522c506559de89071957ce97c5782529ca38f3cf5ff30f2ef92aa509", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001e0'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 223", "uid"=>"a0fbecb819e86e2d16fd9c196fdeedc7ef5f6d7fdae22ead3fad123560d5a098", "secret"=>"2b291742522c506559de89071957ce97c5782529ca38f3cf5ff30f2ef92aa509", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"9e52a6abbadb5c15d6e55495108027ebc7db95a4810c99db0bd5d6a369ac8006", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001df')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"f9d92c73cff3e571d0a3f6b49b5cae4ac20004400ee998f43c326d6f393faf63", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001df')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001df'), "application_id"=>BSON::ObjectId('5bb622433541594a350001e0'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>54, "token"=>"9e52a6abbadb5c15d6e55495108027ebc7db95a4810c99db0bd5d6a369ac8006", "refresh_token"=>"f9d92c73cff3e571d0a3f6b49b5cae4ac20004400ee998f43c326d6f393faf63", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001df'), "application_id"=>BSON::ObjectId('5bb622433541594a350001e0'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>54, "token"=>"9e52a6abbadb5c15d6e55495108027ebc7db95a4810c99db0bd5d6a369ac8006", "refresh_token"=>"f9d92c73cff3e571d0a3f6b49b5cae4ac20004400ee998f43c326d6f393faf63", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a0fbecb819e86e2d16fd9c196fdeedc7ef5f6d7fdae22ead3fad123560d5a098"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"06cf3f5eff6725dcb39338d0094bba5728693fb8d6b28fc2fdfe23b9dc4a1cfe", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001e2')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001e2'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 224", "uid"=>"06cf3f5eff6725dcb39338d0094bba5728693fb8d6b28fc2fdfe23b9dc4a1cfe", "secret"=>"03c11db1211ed6934dcce297b16de1e80d6339e24cdd3959f340d3a744fcc959", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001e2'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 224", "uid"=>"06cf3f5eff6725dcb39338d0094bba5728693fb8d6b28fc2fdfe23b9dc4a1cfe", "secret"=>"03c11db1211ed6934dcce297b16de1e80d6339e24cdd3959f340d3a744fcc959", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (3.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d6e01e764a5d3978b222dad0dcdff126ac0fd7221778f9487c668a1df34a5abd", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001e1')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"d37cb1307e47f357d3fb254a165bb9f1106b68c17f4212e9f9a62be1eb2e4fa6", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001e1')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001e1'), "application_id"=>BSON::ObjectId('5bb622433541594a350001e2'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>55, "token"=>"d6e01e764a5d3978b222dad0dcdff126ac0fd7221778f9487c668a1df34a5abd", "refresh_token"=>"d37cb1307e47f357d3fb254a165bb9f1106b68c17f4212e9f9a62be1eb2e4fa6", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001e1'), "application_id"=>BSON::ObjectId('5bb622433541594a350001e2'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>55, "token"=>"d6e01e764a5d3978b222dad0dcdff126ac0fd7221778f9487c668a1df34a5abd", "refresh_token"=>"d37cb1307e47f357d3fb254a165bb9f1106b68c17f4212e9f9a62be1eb2e4fa6", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (2.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"06cf3f5eff6725dcb39338d0094bba5728693fb8d6b28fc2fdfe23b9dc4a1cfe"}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622433541594a350001e1')}).limit(-1) MONGODB (10.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622433541594a350001e1')}, :u=>{"_id"=>BSON::ObjectId('5bb622433541594a350001e1'), "application_id"=>BSON::ObjectId('5bb622433541594a350001e2'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>55, "token"=>"d6e01e764a5d3978b222dad0dcdff126ac0fd7221778f9487c668a1df34a5abd", "refresh_token"=>"d37cb1307e47f357d3fb254a165bb9f1106b68c17f4212e9f9a62be1eb2e4fa6", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC, "scopes"=>"public write"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (10.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622433541594a350001e1')}, {"_id"=>BSON::ObjectId('5bb622433541594a350001e1'), "application_id"=>BSON::ObjectId('5bb622433541594a350001e2'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>55, "token"=>"d6e01e764a5d3978b222dad0dcdff126ac0fd7221778f9487c668a1df34a5abd", "refresh_token"=>"d37cb1307e47f357d3fb254a165bb9f1106b68c17f4212e9f9a62be1eb2e4fa6", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC, "scopes"=>"public write"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622433541594a350001e2')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"ada3b131064355fb24e7bf7828ed6419776349d0c6e94d262f646b0117afd1f5", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001e3')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"71aafcccff43e75743e9554181326eefd48043fdb61246a7282cbdf95cbe0e92", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001e3')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001e3'), "application_id"=>BSON::ObjectId('5bb622433541594a350001e2'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>55, "token"=>"ada3b131064355fb24e7bf7828ed6419776349d0c6e94d262f646b0117afd1f5", "refresh_token"=>"71aafcccff43e75743e9554181326eefd48043fdb61246a7282cbdf95cbe0e92", "expires_in"=>120, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001e3'), "application_id"=>BSON::ObjectId('5bb622433541594a350001e2'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>55, "token"=>"ada3b131064355fb24e7bf7828ed6419776349d0c6e94d262f646b0117afd1f5", "refresh_token"=>"71aafcccff43e75743e9554181326eefd48043fdb61246a7282cbdf95cbe0e92", "expires_in"=>120, "scopes"=>"public write"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2803e627707bf26cdbcb39b56b2b29dcc3b3d0574516f7dde49a9a175892a729", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001e5')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001e5'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 225", "uid"=>"2803e627707bf26cdbcb39b56b2b29dcc3b3d0574516f7dde49a9a175892a729", "secret"=>"b1fe0f8327c9a949893c14450ef5bb9fe832493a126b4b458b099ee66e4ceb2c", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001e5'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 225", "uid"=>"2803e627707bf26cdbcb39b56b2b29dcc3b3d0574516f7dde49a9a175892a729", "secret"=>"b1fe0f8327c9a949893c14450ef5bb9fe832493a126b4b458b099ee66e4ceb2c", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (2.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"9a56b3a894acb41db4c60fb7dddbfc3cf9be67c18aba6d176e1565b1506c093b", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001e4')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"7c833e6a685ec75170938d21e36fa8e0a68d42abf2593aaa942938672e825b82", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001e4')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001e4'), "application_id"=>BSON::ObjectId('5bb622433541594a350001e5'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>56, "token"=>"9a56b3a894acb41db4c60fb7dddbfc3cf9be67c18aba6d176e1565b1506c093b", "refresh_token"=>"7c833e6a685ec75170938d21e36fa8e0a68d42abf2593aaa942938672e825b82", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001e4'), "application_id"=>BSON::ObjectId('5bb622433541594a350001e5'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>56, "token"=>"9a56b3a894acb41db4c60fb7dddbfc3cf9be67c18aba6d176e1565b1506c093b", "refresh_token"=>"7c833e6a685ec75170938d21e36fa8e0a68d42abf2593aaa942938672e825b82", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2803e627707bf26cdbcb39b56b2b29dcc3b3d0574516f7dde49a9a175892a729"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622433541594a350001e4')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622433541594a350001e4')}, :u=>{"_id"=>BSON::ObjectId('5bb622433541594a350001e4'), "application_id"=>BSON::ObjectId('5bb622433541594a350001e5'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>56, "token"=>"9a56b3a894acb41db4c60fb7dddbfc3cf9be67c18aba6d176e1565b1506c093b", "refresh_token"=>"7c833e6a685ec75170938d21e36fa8e0a68d42abf2593aaa942938672e825b82", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC, "scopes"=>"public write"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622433541594a350001e4')}, {"_id"=>BSON::ObjectId('5bb622433541594a350001e4'), "application_id"=>BSON::ObjectId('5bb622433541594a350001e5'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>56, "token"=>"9a56b3a894acb41db4c60fb7dddbfc3cf9be67c18aba6d176e1565b1506c093b", "refresh_token"=>"7c833e6a685ec75170938d21e36fa8e0a68d42abf2593aaa942938672e825b82", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC, "scopes"=>"public write"}) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622433541594a350001e5')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d926549e4e3eae00e10cf0e7fa55e0eb70e74d1354bd708f2eb8767e2d6a4495", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001e6')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"b6397298fb44e1fe067332c96c55ab7ae1a6e6d65c5341ccc7a77056504a7700", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001e6')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001e6'), "application_id"=>BSON::ObjectId('5bb622433541594a350001e5'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>56, "token"=>"d926549e4e3eae00e10cf0e7fa55e0eb70e74d1354bd708f2eb8767e2d6a4495", "refresh_token"=>"b6397298fb44e1fe067332c96c55ab7ae1a6e6d65c5341ccc7a77056504a7700", "expires_in"=>120, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001e6'), "application_id"=>BSON::ObjectId('5bb622433541594a350001e5'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>56, "token"=>"d926549e4e3eae00e10cf0e7fa55e0eb70e74d1354bd708f2eb8767e2d6a4495", "refresh_token"=>"b6397298fb44e1fe067332c96c55ab7ae1a6e6d65c5341ccc7a77056504a7700", "expires_in"=>120, "scopes"=>"public"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (3.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (4.0ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"63121ce409c8527e64a41f9ed1eccace97d66cd057cee9bc539caf1e494388b5", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001e7')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001e7'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 226", "uid"=>"63121ce409c8527e64a41f9ed1eccace97d66cd057cee9bc539caf1e494388b5", "secret"=>"d038c5370ff981faf8bbfba206ea39218c64e173920c884052964808133c0f5a", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001e7'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 226", "uid"=>"63121ce409c8527e64a41f9ed1eccace97d66cd057cee9bc539caf1e494388b5", "secret"=>"d038c5370ff981faf8bbfba206ea39218c64e173920c884052964808133c0f5a", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"a620d6c89f4e781c8ca9121cf9ec3dbcf9df1100690a0f33e9040b3adfe5b097", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001e8')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001e8'), "application_id"=>BSON::ObjectId('5bb622433541594a350001e7'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>9, "token"=>"a620d6c89f4e781c8ca9121cf9ec3dbcf9df1100690a0f33e9040b3adfe5b097", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001e8'), "application_id"=>BSON::ObjectId('5bb622433541594a350001e7'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>9, "token"=>"a620d6c89f4e781c8ca9121cf9ec3dbcf9df1100690a0f33e9040b3adfe5b097", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) Started POST "/oauth/token?code=[FILTERED]&client_id=63121ce409c8527e64a41f9ed1eccace97d66cd057cee9bc539caf1e494388b5&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:22:59 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"63121ce409c8527e64a41f9ed1eccace97d66cd057cee9bc539caf1e494388b5", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"a620d6c89f4e781c8ca9121cf9ec3dbcf9df1100690a0f33e9040b3adfe5b097"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"63121ce409c8527e64a41f9ed1eccace97d66cd057cee9bc539caf1e494388b5"}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb622433541594a350001e8')}).limit(-1) Completed 401 Unauthorized in 6ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (2.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::ApplicationsController#index as HTML Redirected to http://test.host/ Filter chain halted as :authenticate_admin! rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_applications", "query"=>{}, "fields"=>nil}).limit(-1) Processing by Doorkeeper::ApplicationsController#create as HTML Parameters: {"doorkeeper_application"=>{"name"=>"Example", "redirect_uri"=>"https://example.com"}} Redirected to http://test.host/ Filter chain halted as :authenticate_admin! rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_applications", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"93dddfdea6aadbf0a738144f4b6ae5bf504cf41365a0d788aae4a7ee2692bdc2", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001e9')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001e9'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 227", "uid"=>"93dddfdea6aadbf0a738144f4b6ae5bf504cf41365a0d788aae4a7ee2692bdc2", "secret"=>"e7adf9f7af1e9fab1017d433b96c23963bdbacbd3d21f92b587fffbaa91e2588", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001e9'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 227", "uid"=>"93dddfdea6aadbf0a738144f4b6ae5bf504cf41365a0d788aae4a7ee2692bdc2", "secret"=>"e7adf9f7af1e9fab1017d433b96c23963bdbacbd3d21f92b587fffbaa91e2588", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::ApplicationsController#update as HTML Parameters: {"doorkeeper_application"=>{"name"=>"Example", "redirect_uri"=>"https://example.com"}, "id"=>"5bb622433541594a350001e9"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622433541594a350001e9')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"93dddfdea6aadbf0a738144f4b6ae5bf504cf41365a0d788aae4a7ee2692bdc2", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001e9')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622433541594a350001e9')}, :u=>{"_id"=>BSON::ObjectId('5bb622433541594a350001e9'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Example", "uid"=>"93dddfdea6aadbf0a738144f4b6ae5bf504cf41365a0d788aae4a7ee2692bdc2", "secret"=>"e7adf9f7af1e9fab1017d433b96c23963bdbacbd3d21f92b587fffbaa91e2588", "redirect_uri"=>"https://example.com", "owner_id"=>nil}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb622433541594a350001e9')}, {"_id"=>BSON::ObjectId('5bb622433541594a350001e9'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Example", "uid"=>"93dddfdea6aadbf0a738144f4b6ae5bf504cf41365a0d788aae4a7ee2692bdc2", "secret"=>"e7adf9f7af1e9fab1017d433b96c23963bdbacbd3d21f92b587fffbaa91e2588", "redirect_uri"=>"https://example.com", "owner_id"=>nil}) Redirected to http://test.host/oauth/applications/5bb622433541594a350001e9 Completed 302 Found in 12ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622433541594a350001e9')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"71c53ebb6de13b39b81f277b7703df579b651b47829f872deadb14ca93ff378e", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001ea')}}, {:_id=>1}).limit(-1) MONGODB (3.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001ea'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 228", "uid"=>"71c53ebb6de13b39b81f277b7703df579b651b47829f872deadb14ca93ff378e", "secret"=>"38cf2e4343f55e15d4aeec23a3b833c7823076bb6000babba8b86ff844872fef", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (3.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001ea'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 228", "uid"=>"71c53ebb6de13b39b81f277b7703df579b651b47829f872deadb14ca93ff378e", "secret"=>"38cf2e4343f55e15d4aeec23a3b833c7823076bb6000babba8b86ff844872fef", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (4.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"9aff818d40f38e9c61aa903a5dce83d871c145322c084a072148c957ee56970a", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001eb')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001eb'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 229", "uid"=>"9aff818d40f38e9c61aa903a5dce83d871c145322c084a072148c957ee56970a", "secret"=>"21b550d46779aa4e92326d7f2fcea35d4a22812f725020fe0eed62585947929e", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001eb'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 229", "uid"=>"9aff818d40f38e9c61aa903a5dce83d871c145322c084a072148c957ee56970a", "secret"=>"21b550d46779aa4e92326d7f2fcea35d4a22812f725020fe0eed62585947929e", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::ApplicationsController#index as HTML MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({}).sort([["created_at", 1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (0.3ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (0.2ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/index.html.erb within layouts/doorkeeper/admin (3.1ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c15f8f2d6ca06ec93c632174f244ce4d8a6eac55084ca9d44896c25f15d6c22e", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001ec')}}, {:_id=>1}).limit(-1) MONGODB (4.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001ec'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 230", "uid"=>"c15f8f2d6ca06ec93c632174f244ce4d8a6eac55084ca9d44896c25f15d6c22e", "secret"=>"5d4860071d76b48efd73956bf1e83c45bc0d551fdd7a16a2de94b0485548f13e", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (4.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001ec'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 230", "uid"=>"c15f8f2d6ca06ec93c632174f244ce4d8a6eac55084ca9d44896c25f15d6c22e", "secret"=>"5d4860071d76b48efd73956bf1e83c45bc0d551fdd7a16a2de94b0485548f13e", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::ApplicationsController#update as HTML Parameters: {"doorkeeper_application"=>{"uid"=>"1A2B3C4D", "secret"=>"1A2B3C4D"}, "id"=>"5bb622433541594a350001ec"} MONGODB (2.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622433541594a350001ec')}).limit(-1) Unpermitted parameters: uid, secret MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c15f8f2d6ca06ec93c632174f244ce4d8a6eac55084ca9d44896c25f15d6c22e", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001ec')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622433541594a350001ec')}, :u=>{"_id"=>BSON::ObjectId('5bb622433541594a350001ec'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 230", "uid"=>"c15f8f2d6ca06ec93c632174f244ce4d8a6eac55084ca9d44896c25f15d6c22e", "secret"=>"5d4860071d76b48efd73956bf1e83c45bc0d551fdd7a16a2de94b0485548f13e", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb622433541594a350001ec')}, {"_id"=>BSON::ObjectId('5bb622433541594a350001ec'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 230", "uid"=>"c15f8f2d6ca06ec93c632174f244ce4d8a6eac55084ca9d44896c25f15d6c22e", "secret"=>"5d4860071d76b48efd73956bf1e83c45bc0d551fdd7a16a2de94b0485548f13e", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Redirected to http://test.host/oauth/applications/5bb622433541594a350001ec Completed 302 Found in 8ms (ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622433541594a350001ec')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_applications", "query"=>{}, "fields"=>nil}).limit(-1) Processing by Doorkeeper::ApplicationsController#create as HTML Parameters: {"doorkeeper_application"=>{"name"=>"Example", "redirect_uri"=>"https://example.com"}} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"14d209d84f2c4cfd5c7cdbfc1edad586eee8457f2fc8c95bf1707d9fd595b60c", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001ed')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001ed'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Example", "uid"=>"14d209d84f2c4cfd5c7cdbfc1edad586eee8457f2fc8c95bf1707d9fd595b60c", "secret"=>"9e0b8d20f3ad70f011444ce015ab11cfeffe4a00cd5391fc290034bf00cc31cb", "redirect_uri"=>"https://example.com", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001ed'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Example", "uid"=>"14d209d84f2c4cfd5c7cdbfc1edad586eee8457f2fc8c95bf1707d9fd595b60c", "secret"=>"9e0b8d20f3ad70f011444ce015ab11cfeffe4a00cd5391fc290034bf00cc31cb", "redirect_uri"=>"https://example.com", "owner_id"=>nil}) Redirected to http://test.host/oauth/applications/5bb622433541594a350001ed Completed 302 Found in 3ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_applications", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"594806470edc5b87e09f9064b9d04081976b3598df8608ca23b88d89fc3cf1f1", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001ef')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001ef'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 231", "uid"=>"594806470edc5b87e09f9064b9d04081976b3598df8608ca23b88d89fc3cf1f1", "secret"=>"22bdaef51b10611c085780cb5ac6270f219e1182739560506d5223eb18a6d452", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001ef'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 231", "uid"=>"594806470edc5b87e09f9064b9d04081976b3598df8608ca23b88d89fc3cf1f1", "secret"=>"22bdaef51b10611c085780cb5ac6270f219e1182739560506d5223eb18a6d452", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"59badb783bd920188f099d47d223eab5c92d963c48bd3c37a9d836481815c007", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001ee')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001ee'), "application_id"=>BSON::ObjectId('5bb622433541594a350001ef'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>10, "token"=>"59badb783bd920188f099d47d223eab5c92d963c48bd3c37a9d836481815c007", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001ee'), "application_id"=>BSON::ObjectId('5bb622433541594a350001ef'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>10, "token"=>"59badb783bd920188f099d47d223eab5c92d963c48bd3c37a9d836481815c007", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622433541594a350001ee')}, :u=>{"_id"=>BSON::ObjectId('5bb622433541594a350001ee'), "application_id"=>BSON::ObjectId('5bb622433541594a350001ef'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>10, "token"=>"59badb783bd920188f099d47d223eab5c92d963c48bd3c37a9d836481815c007", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb622433541594a350001ee')}, {"_id"=>BSON::ObjectId('5bb622433541594a350001ee'), "application_id"=>BSON::ObjectId('5bb622433541594a350001ef'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>10, "token"=>"59badb783bd920188f099d47d223eab5c92d963c48bd3c37a9d836481815c007", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e7c018c8a1446d5afebfb3b927fc8fcf9ad9bb80f71dbc194a34a02cd6ff21e9", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001f1')}}, {:_id=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001f1'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 232", "uid"=>"e7c018c8a1446d5afebfb3b927fc8fcf9ad9bb80f71dbc194a34a02cd6ff21e9", "secret"=>"ee7e8524ad86bb056b863b318e33e8a56008980bacce0827116542595ea109b9", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001f1'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 232", "uid"=>"e7c018c8a1446d5afebfb3b927fc8fcf9ad9bb80f71dbc194a34a02cd6ff21e9", "secret"=>"ee7e8524ad86bb056b863b318e33e8a56008980bacce0827116542595ea109b9", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"26f1f7528e3818221c78fa758bf5cef9b55d09674d1692dc4de3b4de553693a6", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001f0')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001f0'), "application_id"=>BSON::ObjectId('5bb622433541594a350001f1'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>11, "token"=>"26f1f7528e3818221c78fa758bf5cef9b55d09674d1692dc4de3b4de553693a6", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001f0'), "application_id"=>BSON::ObjectId('5bb622433541594a350001f1'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>11, "token"=>"26f1f7528e3818221c78fa758bf5cef9b55d09674d1692dc4de3b4de553693a6", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"82d07333b47d72c3774399d9a28940fbe9344f9d0046948294065f286f59e3e2", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001f3')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001f3'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 233", "uid"=>"82d07333b47d72c3774399d9a28940fbe9344f9d0046948294065f286f59e3e2", "secret"=>"21853025283a157fdfbfec7cdb5b57e7fa036cd069beb2d56898eec221388b50", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001f3'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 233", "uid"=>"82d07333b47d72c3774399d9a28940fbe9344f9d0046948294065f286f59e3e2", "secret"=>"21853025283a157fdfbfec7cdb5b57e7fa036cd069beb2d56898eec221388b50", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"26371610989fdfd19a81a8c2f454d85bff219d86814f639dbf0f21a836034ece", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001f2')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001f2'), "application_id"=>BSON::ObjectId('5bb622433541594a350001f3'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>12, "token"=>"26371610989fdfd19a81a8c2f454d85bff219d86814f639dbf0f21a836034ece", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001f2'), "application_id"=>BSON::ObjectId('5bb622433541594a350001f3'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>12, "token"=>"26371610989fdfd19a81a8c2f454d85bff219d86814f639dbf0f21a836034ece", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb622433541594a350001f2')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622433541594a350001f3')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb622433541594a350001f2')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622433541594a350001f2')}, :u=>{"_id"=>BSON::ObjectId('5bb622433541594a350001f2'), "application_id"=>BSON::ObjectId('5bb622433541594a350001f3'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>12, "token"=>"26371610989fdfd19a81a8c2f454d85bff219d86814f639dbf0f21a836034ece", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb622433541594a350001f2')}, {"_id"=>BSON::ObjectId('5bb622433541594a350001f2'), "application_id"=>BSON::ObjectId('5bb622433541594a350001f3'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>12, "token"=>"26371610989fdfd19a81a8c2f454d85bff219d86814f639dbf0f21a836034ece", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622433541594a350001f3')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622433541594a350001f3')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f3b5590cdca70c2281689ac3c03e5579e4d1e4083c3e2ad2362564dec6a8daf5", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001f4')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001f4'), "application_id"=>BSON::ObjectId('5bb622433541594a350001f3'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>12, "token"=>"f3b5590cdca70c2281689ac3c03e5579e4d1e4083c3e2ad2362564dec6a8daf5", "expires_in"=>172800, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001f4'), "application_id"=>BSON::ObjectId('5bb622433541594a350001f3'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>12, "token"=>"f3b5590cdca70c2281689ac3c03e5579e4d1e4083c3e2ad2362564dec6a8daf5", "expires_in"=>172800, "scopes"=>"public write"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb622433541594a350001f2')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (3.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2781d2e8c495737923b883442f259f660c91f957f9c11c7a5c16b060d2ca1cae", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001f6')}}, {:_id=>1}).limit(-1) MONGODB (3.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001f6'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 234", "uid"=>"2781d2e8c495737923b883442f259f660c91f957f9c11c7a5c16b060d2ca1cae", "secret"=>"5f1dcfeff1675879ed5618c86baf88c3233f33cd85c030697aaeb0ba46ec08ea", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (3.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001f6'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 234", "uid"=>"2781d2e8c495737923b883442f259f660c91f957f9c11c7a5c16b060d2ca1cae", "secret"=>"5f1dcfeff1675879ed5618c86baf88c3233f33cd85c030697aaeb0ba46ec08ea", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"b4fe8d4297b0e0711b76bd79fa5e53f9c5c99fede4230bdb86adeb1b4eea924c", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001f5')}}, {:_id=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001f5'), "application_id"=>BSON::ObjectId('5bb622433541594a350001f6'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>13, "token"=>"b4fe8d4297b0e0711b76bd79fa5e53f9c5c99fede4230bdb86adeb1b4eea924c", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001f5'), "application_id"=>BSON::ObjectId('5bb622433541594a350001f6'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>13, "token"=>"b4fe8d4297b0e0711b76bd79fa5e53f9c5c99fede4230bdb86adeb1b4eea924c", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb622433541594a350001f5')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622433541594a350001f5')}, :u=>{"_id"=>BSON::ObjectId('5bb622433541594a350001f5'), "application_id"=>BSON::ObjectId('5bb622433541594a350001f6'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>13, "token"=>"b4fe8d4297b0e0711b76bd79fa5e53f9c5c99fede4230bdb86adeb1b4eea924c", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb622433541594a350001f5')}, {"_id"=>BSON::ObjectId('5bb622433541594a350001f5'), "application_id"=>BSON::ObjectId('5bb622433541594a350001f6'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>13, "token"=>"b4fe8d4297b0e0711b76bd79fa5e53f9c5c99fede4230bdb86adeb1b4eea924c", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622433541594a350001f6')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622433541594a350001f6')}).limit(-1) MONGODB (4.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"68ad8891776fc8571142ba6467aced3ef496ad7790abcabe601ec2eee763fcbc", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001f7')}}, {:_id=>1}).limit(-1) MONGODB (2.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001f7'), "application_id"=>BSON::ObjectId('5bb622433541594a350001f6'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>13, "token"=>"68ad8891776fc8571142ba6467aced3ef496ad7790abcabe601ec2eee763fcbc", "expires_in"=>172800, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (2.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001f7'), "application_id"=>BSON::ObjectId('5bb622433541594a350001f6'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>13, "token"=>"68ad8891776fc8571142ba6467aced3ef496ad7790abcabe601ec2eee763fcbc", "expires_in"=>172800, "scopes"=>"public write"}) MONGODB (3.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (4.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4a65137d216e517378f803f32c53122e887a14ed0b266539e9a62e6de4b9ded5", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001f9')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001f9'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 235", "uid"=>"4a65137d216e517378f803f32c53122e887a14ed0b266539e9a62e6de4b9ded5", "secret"=>"5ff9361d664bb826cb5db7496ad75a770774d7ab342b6a2e2ef0b0ef4c292af7", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001f9'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 235", "uid"=>"4a65137d216e517378f803f32c53122e887a14ed0b266539e9a62e6de4b9ded5", "secret"=>"5ff9361d664bb826cb5db7496ad75a770774d7ab342b6a2e2ef0b0ef4c292af7", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"61b974c65c3e8442351359e503241311c28318f44d62f4d53e5a18cc76c36386", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001f8')}}, {:_id=>1}).limit(-1) MONGODB (4.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001f8'), "application_id"=>BSON::ObjectId('5bb622433541594a350001f9'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>14, "token"=>"61b974c65c3e8442351359e503241311c28318f44d62f4d53e5a18cc76c36386", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (5.2ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001f8'), "application_id"=>BSON::ObjectId('5bb622433541594a350001f9'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>14, "token"=>"61b974c65c3e8442351359e503241311c28318f44d62f4d53e5a18cc76c36386", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (3.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (4.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (5.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"090be891d5600aba2ca71528f7dc764f59cd3f656afb335f2091863fc9aaf6a4", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001fb')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001fb'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 236", "uid"=>"090be891d5600aba2ca71528f7dc764f59cd3f656afb335f2091863fc9aaf6a4", "secret"=>"c71b3fa7c38c996ba633afd4a4647a1ad911cb61e182d0d266eb9a3836fac436", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (2.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001fb'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 236", "uid"=>"090be891d5600aba2ca71528f7dc764f59cd3f656afb335f2091863fc9aaf6a4", "secret"=>"c71b3fa7c38c996ba633afd4a4647a1ad911cb61e182d0d266eb9a3836fac436", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"9a8770903e2767a2d6390db01ac9e8f880f15b9c4f2e1b409c2d5c4a25555ed2", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001fa')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001fa'), "application_id"=>BSON::ObjectId('5bb622433541594a350001fb'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>15, "token"=>"9a8770903e2767a2d6390db01ac9e8f880f15b9c4f2e1b409c2d5c4a25555ed2", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001fa'), "application_id"=>BSON::ObjectId('5bb622433541594a350001fb'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>15, "token"=>"9a8770903e2767a2d6390db01ac9e8f880f15b9c4f2e1b409c2d5c4a25555ed2", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e0e4df428aed7eaa0142b882bf050ae32c4212a65bcb2404c4111f88ea76e6a2", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001fd')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001fd'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 237", "uid"=>"e0e4df428aed7eaa0142b882bf050ae32c4212a65bcb2404c4111f88ea76e6a2", "secret"=>"6eb3de8824cdd10c49c0e1e9624fd3af81d31b42efeda5adbce76e089d1f6b83", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001fd'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 237", "uid"=>"e0e4df428aed7eaa0142b882bf050ae32c4212a65bcb2404c4111f88ea76e6a2", "secret"=>"6eb3de8824cdd10c49c0e1e9624fd3af81d31b42efeda5adbce76e089d1f6b83", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"ab562835c3ad5222cd2763b6b2800f32838983c76993b16d8c800503f232ce16", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001fc')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001fc'), "application_id"=>BSON::ObjectId('5bb622433541594a350001fd'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>16, "token"=>"ab562835c3ad5222cd2763b6b2800f32838983c76993b16d8c800503f232ce16", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (6.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001fc'), "application_id"=>BSON::ObjectId('5bb622433541594a350001fd'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>16, "token"=>"ab562835c3ad5222cd2763b6b2800f32838983c76993b16d8c800503f232ce16", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622433541594a350001fd')}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"2a7ae035935758bdced4185e210490ef6856036edc00c6edcc7a78d28755901d", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001fe')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001fe'), "application_id"=>BSON::ObjectId('5bb622433541594a350001fd'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>16, "token"=>"2a7ae035935758bdced4185e210490ef6856036edc00c6edcc7a78d28755901d", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001fe'), "application_id"=>BSON::ObjectId('5bb622433541594a350001fd'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>16, "token"=>"2a7ae035935758bdced4185e210490ef6856036edc00c6edcc7a78d28755901d", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb622433541594a350001fc')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622433541594a350001fc')}, :u=>{"_id"=>BSON::ObjectId('5bb622433541594a350001fc'), "application_id"=>BSON::ObjectId('5bb622433541594a350001fd'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>16, "token"=>"ab562835c3ad5222cd2763b6b2800f32838983c76993b16d8c800503f232ce16", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb622433541594a350001fc')}, {"_id"=>BSON::ObjectId('5bb622433541594a350001fc'), "application_id"=>BSON::ObjectId('5bb622433541594a350001fd'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>16, "token"=>"ab562835c3ad5222cd2763b6b2800f32838983c76993b16d8c800503f232ce16", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622433541594a350001fd')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622433541594a350001fd'), :resource_owner_id=>16, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0f20b967d351e491a20e344966b0c77dfa4aeb7d3d2b20d98960a26152091cff", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a35000200')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a35000200'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 238", "uid"=>"0f20b967d351e491a20e344966b0c77dfa4aeb7d3d2b20d98960a26152091cff", "secret"=>"0771a7b6a833cac521f36deba989b0c1c521150f23313471abaeb6e311dfead7", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622433541594a35000200'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 238", "uid"=>"0f20b967d351e491a20e344966b0c77dfa4aeb7d3d2b20d98960a26152091cff", "secret"=>"0771a7b6a833cac521f36deba989b0c1c521150f23313471abaeb6e311dfead7", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"2c482e5b2985948b4ecbc6e2c68b7e8d0b2a65de56efeda92364adc1db247cf6", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a350001ff')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a350001ff'), "application_id"=>BSON::ObjectId('5bb622433541594a35000200'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>17, "token"=>"2c482e5b2985948b4ecbc6e2c68b7e8d0b2a65de56efeda92364adc1db247cf6", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622433541594a350001ff'), "application_id"=>BSON::ObjectId('5bb622433541594a35000200'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>17, "token"=>"2c482e5b2985948b4ecbc6e2c68b7e8d0b2a65de56efeda92364adc1db247cf6", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a8da4bdf5f35924026a48b58ddb5518661eeee4f0d82d07549601f11773718d7", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a35000201')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a35000201'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 239", "uid"=>"a8da4bdf5f35924026a48b58ddb5518661eeee4f0d82d07549601f11773718d7", "secret"=>"0108fa49162bcd86e4a3c05fcf6c4e9fe4c29df717166353aee14b567618cec8", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622433541594a35000201'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 239", "uid"=>"a8da4bdf5f35924026a48b58ddb5518661eeee4f0d82d07549601f11773718d7", "secret"=>"0108fa49162bcd86e4a3c05fcf6c4e9fe4c29df717166353aee14b567618cec8", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (4.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"23ca8752c4b0384f0615c422974dc462ff9f0f445281cbaaab9f6dbc76a789cb", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a35000203')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a35000203'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 240", "uid"=>"23ca8752c4b0384f0615c422974dc462ff9f0f445281cbaaab9f6dbc76a789cb", "secret"=>"36f912a373e9bf432bc3b3c32e8ae9d6f1b593b18371e2ef5789310013d27f94", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622433541594a35000203'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 240", "uid"=>"23ca8752c4b0384f0615c422974dc462ff9f0f445281cbaaab9f6dbc76a789cb", "secret"=>"36f912a373e9bf432bc3b3c32e8ae9d6f1b593b18371e2ef5789310013d27f94", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"0291fa9e23e32f29e9526c64a7d0a0c15e10cb78472f6229bbe0b65304895d48", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a35000202')}}, {:_id=>1}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a35000202'), "application_id"=>BSON::ObjectId('5bb622433541594a35000203'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>18, "token"=>"0291fa9e23e32f29e9526c64a7d0a0c15e10cb78472f6229bbe0b65304895d48", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622433541594a35000202'), "application_id"=>BSON::ObjectId('5bb622433541594a35000203'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>18, "token"=>"0291fa9e23e32f29e9526c64a7d0a0c15e10cb78472f6229bbe0b65304895d48", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622433541594a35000203')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{:application_id=>BSON::ObjectId('5bb622433541594a35000203')}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb622433541594a35000202')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622433541594a35000202')}, :u=>{"_id"=>BSON::ObjectId('5bb622433541594a35000202'), "application_id"=>BSON::ObjectId('5bb622433541594a35000203'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>18, "token"=>"0291fa9e23e32f29e9526c64a7d0a0c15e10cb78472f6229bbe0b65304895d48", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb622433541594a35000202')}, {"_id"=>BSON::ObjectId('5bb622433541594a35000202'), "application_id"=>BSON::ObjectId('5bb622433541594a35000203'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>18, "token"=>"0291fa9e23e32f29e9526c64a7d0a0c15e10cb78472f6229bbe0b65304895d48", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622433541594a35000203')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622433541594a35000203')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"ec3af7438c0bde54e7eef50fbbe30c5f5610e4e6323979732b72b75e007bd87e", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a35000204')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a35000204'), "application_id"=>BSON::ObjectId('5bb622433541594a35000203'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>18, "token"=>"ec3af7438c0bde54e7eef50fbbe30c5f5610e4e6323979732b72b75e007bd87e", "expires_in"=>172800, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622433541594a35000204'), "application_id"=>BSON::ObjectId('5bb622433541594a35000203'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>18, "token"=>"ec3af7438c0bde54e7eef50fbbe30c5f5610e4e6323979732b72b75e007bd87e", "expires_in"=>172800, "scopes"=>"public write"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622433541594a35000203')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{:application_id=>BSON::ObjectId('5bb622433541594a35000203')}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b4d58c9cef42901f8b3ea90c20be22ab92dae364a234dec0a76cedf667e84ab4", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a35000206')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a35000206'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 241", "uid"=>"b4d58c9cef42901f8b3ea90c20be22ab92dae364a234dec0a76cedf667e84ab4", "secret"=>"6bf7cdfa37044d9dac7acbced399b05e2e4a19e1020ad0fefe622f6096257ecb", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622433541594a35000206'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 241", "uid"=>"b4d58c9cef42901f8b3ea90c20be22ab92dae364a234dec0a76cedf667e84ab4", "secret"=>"6bf7cdfa37044d9dac7acbced399b05e2e4a19e1020ad0fefe622f6096257ecb", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"d6bcdae54ded6045a55f976a7d887ef8833cbd165cd24fc5f3f71a48f0ec0fee", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a35000205')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a35000205'), "application_id"=>BSON::ObjectId('5bb622433541594a35000206'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>19, "token"=>"d6bcdae54ded6045a55f976a7d887ef8833cbd165cd24fc5f3f71a48f0ec0fee", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622433541594a35000205'), "application_id"=>BSON::ObjectId('5bb622433541594a35000206'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>19, "token"=>"d6bcdae54ded6045a55f976a7d887ef8833cbd165cd24fc5f3f71a48f0ec0fee", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb622433541594a35000205')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622433541594a35000205')}, :u=>{"_id"=>BSON::ObjectId('5bb622433541594a35000205'), "application_id"=>BSON::ObjectId('5bb622433541594a35000206'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>19, "token"=>"d6bcdae54ded6045a55f976a7d887ef8833cbd165cd24fc5f3f71a48f0ec0fee", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (3.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb622433541594a35000205')}, {"_id"=>BSON::ObjectId('5bb622433541594a35000205'), "application_id"=>BSON::ObjectId('5bb622433541594a35000206'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>19, "token"=>"d6bcdae54ded6045a55f976a7d887ef8833cbd165cd24fc5f3f71a48f0ec0fee", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622433541594a35000206')}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622433541594a35000206')}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"52df196457cecdba857789ea7f22d75bfdbb819bc55242372e70b421a3fab822", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a35000207')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a35000207'), "application_id"=>BSON::ObjectId('5bb622433541594a35000206'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>19, "token"=>"52df196457cecdba857789ea7f22d75bfdbb819bc55242372e70b421a3fab822", "expires_in"=>172800, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622433541594a35000207'), "application_id"=>BSON::ObjectId('5bb622433541594a35000206'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>19, "token"=>"52df196457cecdba857789ea7f22d75bfdbb819bc55242372e70b421a3fab822", "expires_in"=>172800, "scopes"=>"public write"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"72fef953d5a8f049819271adeb342cd56bf684563f1b695e86679da1cdc9e4ca", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a35000209')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a35000209'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 242", "uid"=>"72fef953d5a8f049819271adeb342cd56bf684563f1b695e86679da1cdc9e4ca", "secret"=>"89b882cedd32a306800810ea1ca8247b61900448c1bcf844bd9580e94a8281ac", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622433541594a35000209'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 242", "uid"=>"72fef953d5a8f049819271adeb342cd56bf684563f1b695e86679da1cdc9e4ca", "secret"=>"89b882cedd32a306800810ea1ca8247b61900448c1bcf844bd9580e94a8281ac", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"b294ad450812c50b4a2a16c2fa20f04ddd542294424ca8648f4fc92e93fafc48", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a35000208')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a35000208'), "application_id"=>BSON::ObjectId('5bb622433541594a35000209'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>20, "token"=>"b294ad450812c50b4a2a16c2fa20f04ddd542294424ca8648f4fc92e93fafc48", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622433541594a35000208'), "application_id"=>BSON::ObjectId('5bb622433541594a35000209'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>20, "token"=>"b294ad450812c50b4a2a16c2fa20f04ddd542294424ca8648f4fc92e93fafc48", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8624a4b1ed50f8bb83ce9fdece7d9b25eefbc6ed5877ec8bc56ef3937a3761ff", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a3500020b')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a3500020b'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 243", "uid"=>"8624a4b1ed50f8bb83ce9fdece7d9b25eefbc6ed5877ec8bc56ef3937a3761ff", "secret"=>"64ce7c37362102be538449461f51702af5d865c3e30eb46e1cf186b305ae2b65", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622433541594a3500020b'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 243", "uid"=>"8624a4b1ed50f8bb83ce9fdece7d9b25eefbc6ed5877ec8bc56ef3937a3761ff", "secret"=>"64ce7c37362102be538449461f51702af5d865c3e30eb46e1cf186b305ae2b65", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"f1ba12a1be84bf6849594857627d14ea26ed1e3a1592187cf2187534a6f7a0c7", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a3500020a')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a3500020a'), "application_id"=>BSON::ObjectId('5bb622433541594a3500020b'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>21, "token"=>"f1ba12a1be84bf6849594857627d14ea26ed1e3a1592187cf2187534a6f7a0c7", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622433541594a3500020a'), "application_id"=>BSON::ObjectId('5bb622433541594a3500020b'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>21, "token"=>"f1ba12a1be84bf6849594857627d14ea26ed1e3a1592187cf2187534a6f7a0c7", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ad9bef76e8de1a752377b08f86cc6877b882d89b7da121e9e3b28edf93d9ba45", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a3500020d')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a3500020d'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 244", "uid"=>"ad9bef76e8de1a752377b08f86cc6877b882d89b7da121e9e3b28edf93d9ba45", "secret"=>"e8b1c6db5852aab45b13b56a0aa69084a43172fd61e13b42d351eb021f0b9ad7", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622433541594a3500020d'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 244", "uid"=>"ad9bef76e8de1a752377b08f86cc6877b882d89b7da121e9e3b28edf93d9ba45", "secret"=>"e8b1c6db5852aab45b13b56a0aa69084a43172fd61e13b42d351eb021f0b9ad7", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"315947823b8ba84e6597f26857eebfca9e772038da2b166458f6c35c870e2e45", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a3500020c')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a3500020c'), "application_id"=>BSON::ObjectId('5bb622433541594a3500020d'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>22, "token"=>"315947823b8ba84e6597f26857eebfca9e772038da2b166458f6c35c870e2e45", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622433541594a3500020c'), "application_id"=>BSON::ObjectId('5bb622433541594a3500020d'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>22, "token"=>"315947823b8ba84e6597f26857eebfca9e772038da2b166458f6c35c870e2e45", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"03bfe2000e0c622087d44466e67c7604568248ee2891dc5c70ac64bf95da9392", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a3500020f')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a3500020f'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 245", "uid"=>"03bfe2000e0c622087d44466e67c7604568248ee2891dc5c70ac64bf95da9392", "secret"=>"7b1d4fcd07fb2a4d1987e3a3cc2295948d876d0a38c445ea8f037e1eb0a3690d", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622433541594a3500020f'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 245", "uid"=>"03bfe2000e0c622087d44466e67c7604568248ee2891dc5c70ac64bf95da9392", "secret"=>"7b1d4fcd07fb2a4d1987e3a3cc2295948d876d0a38c445ea8f037e1eb0a3690d", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"0efc3bcbfa81f5681ffcb01a84fbd3b86f4d50b67f667fb454448f43c96da9f2", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a3500020e')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a3500020e'), "application_id"=>BSON::ObjectId('5bb622433541594a3500020f'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>23, "token"=>"0efc3bcbfa81f5681ffcb01a84fbd3b86f4d50b67f667fb454448f43c96da9f2", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622433541594a3500020e'), "application_id"=>BSON::ObjectId('5bb622433541594a3500020f'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>23, "token"=>"0efc3bcbfa81f5681ffcb01a84fbd3b86f4d50b67f667fb454448f43c96da9f2", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8035489fc2054b9e6f274437c7019cdf6f32ec960cf3ff2dfad52ef28afcfcc3", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a35000211')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a35000211'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 246", "uid"=>"8035489fc2054b9e6f274437c7019cdf6f32ec960cf3ff2dfad52ef28afcfcc3", "secret"=>"1689b686d00e36c40d3b87f65a7586391b29cf41537b724ad0761892395e84b5", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622433541594a35000211'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Application 246", "uid"=>"8035489fc2054b9e6f274437c7019cdf6f32ec960cf3ff2dfad52ef28afcfcc3", "secret"=>"1689b686d00e36c40d3b87f65a7586391b29cf41537b724ad0761892395e84b5", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"4c0884f1eeafe36c7d5ee62a948d2eb2cc96ed538d8e3797f3fe42afc63faf01", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a35000210')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a35000210'), "application_id"=>BSON::ObjectId('5bb622433541594a35000211'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>24, "token"=>"4c0884f1eeafe36c7d5ee62a948d2eb2cc96ed538d8e3797f3fe42afc63faf01", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622433541594a35000210'), "application_id"=>BSON::ObjectId('5bb622433541594a35000211'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>24, "token"=>"4c0884f1eeafe36c7d5ee62a948d2eb2cc96ed538d8e3797f3fe42afc63faf01", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a35000212'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622433541594a35000212'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"56278b2932c7fc9b0c9a89d36d069341198755d66fca0cf8480daa49fcb0c4d0", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a35000213')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a35000213'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Amazing Client App", "uid"=>"56278b2932c7fc9b0c9a89d36d069341198755d66fca0cf8480daa49fcb0c4d0", "secret"=>"7823c95dff1cf7bdb9eead7ed704f690406c09189a0fe2a34cbb57effbd04424", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622433541594a35000213'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Amazing Client App", "uid"=>"56278b2932c7fc9b0c9a89d36d069341198755d66fca0cf8480daa49fcb0c4d0", "secret"=>"7823c95dff1cf7bdb9eead7ed704f690406c09189a0fe2a34cbb57effbd04424", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"859f091bddea69fe14f562b595c779f1f226ece619f14d929e40aa92a526ed20", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a35000214')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a35000214'), "application_id"=>BSON::ObjectId('5bb622433541594a35000213'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622433541594a35000212'), "token"=>"859f091bddea69fe14f562b595c779f1f226ece619f14d929e40aa92a526ed20", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622433541594a35000214'), "application_id"=>BSON::ObjectId('5bb622433541594a35000213'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622433541594a35000212'), "token"=>"859f091bddea69fe14f562b595c779f1f226ece619f14d929e40aa92a526ed20", "expires_in"=>7200}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3d4fc5d790bfebf6ab61d4c1c0ae5b2b70356166f5304619ca472a91752a9615", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a35000215')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a35000215'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Another Client App", "uid"=>"3d4fc5d790bfebf6ab61d4c1c0ae5b2b70356166f5304619ca472a91752a9615", "secret"=>"409e2fb498af567308f275f794866ea9c8c1e54c0f55d2122455d8a9deff2865", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622433541594a35000215'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Another Client App", "uid"=>"3d4fc5d790bfebf6ab61d4c1c0ae5b2b70356166f5304619ca472a91752a9615", "secret"=>"409e2fb498af567308f275f794866ea9c8c1e54c0f55d2122455d8a9deff2865", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a35000216'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622433541594a35000216'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (1.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"ea820255e1663c6c96c43d9ba106456003878dd35245a01f91c6fa1e39434d7e", :_id=>{:$ne=>BSON::ObjectId('5bb622433541594a35000217')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622433541594a35000217'), "application_id"=>BSON::ObjectId('5bb622433541594a35000215'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622433541594a35000216'), "token"=>"ea820255e1663c6c96c43d9ba106456003878dd35245a01f91c6fa1e39434d7e", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622433541594a35000217'), "application_id"=>BSON::ObjectId('5bb622433541594a35000215'), "created_at"=>2018-10-04 14:22:59 UTC, "updated_at"=>2018-10-04 14:22:59 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622433541594a35000216'), "token"=>"ea820255e1663c6c96c43d9ba106456003878dd35245a01f91c6fa1e39434d7e", "expires_in"=>7200}) Started GET "/oauth/authorized_applications" for 127.0.0.1 at 2018-10-04 17:22:59 +0300 Processing by Doorkeeper::AuthorizedApplicationsController#index as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:resource_owner_id=>BSON::ObjectId('5bb622433541594a35000212'), :revoked_at=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>{:$in=>[BSON::ObjectId('5bb622433541594a35000213')]}}) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorized_applications/_delete_form.html.erb (0.9ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorized_applications/index.html.erb within layouts/doorkeeper/application (2.5ms) Completed 200 OK in 14ms (Views: 11.8ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a35000218'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622443541594a35000218'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"88354e0fff1b195a0fd53e28293f46a357eb49dc67fd49e46f1ff15ae7d0ddb5", :_id=>{:$ne=>BSON::ObjectId('5bb622443541594a35000219')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a35000219'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Amazing Client App", "uid"=>"88354e0fff1b195a0fd53e28293f46a357eb49dc67fd49e46f1ff15ae7d0ddb5", "secret"=>"43be73537f40fa58a1d933bb727f8054fba6a88efca1d706c90323f618ea0bbc", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622443541594a35000219'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Amazing Client App", "uid"=>"88354e0fff1b195a0fd53e28293f46a357eb49dc67fd49e46f1ff15ae7d0ddb5", "secret"=>"43be73537f40fa58a1d933bb727f8054fba6a88efca1d706c90323f618ea0bbc", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"ae791623780766c02912ecf5b1bf2866e9b92fc08890dc999ad981833d81c030", :_id=>{:$ne=>BSON::ObjectId('5bb622443541594a3500021a')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a3500021a'), "application_id"=>BSON::ObjectId('5bb622443541594a35000219'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622443541594a35000218'), "token"=>"ae791623780766c02912ecf5b1bf2866e9b92fc08890dc999ad981833d81c030", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622443541594a3500021a'), "application_id"=>BSON::ObjectId('5bb622443541594a35000219'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622443541594a35000218'), "token"=>"ae791623780766c02912ecf5b1bf2866e9b92fc08890dc999ad981833d81c030", "expires_in"=>7200}) Started GET "/oauth/authorized_applications" for 127.0.0.1 at 2018-10-04 17:23:00 +0300 Processing by Doorkeeper::AuthorizedApplicationsController#index as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:resource_owner_id=>BSON::ObjectId('5bb622443541594a35000218'), :revoked_at=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>{:$in=>[BSON::ObjectId('5bb622443541594a35000219')]}}) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorized_applications/_delete_form.html.erb (0.4ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorized_applications/index.html.erb within layouts/doorkeeper/application (0.9ms) Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started DELETE "/oauth/authorized_applications/5bb622443541594a35000219" for 127.0.0.1 at 2018-10-04 17:23:00 +0300 Processing by Doorkeeper::AuthorizedApplicationsController#destroy as HTML Parameters: {"utf8"=>"✓", "commit"=>"Revoke", "id"=>"5bb622443541594a35000219"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622443541594a35000219'), :resource_owner_id=>BSON::ObjectId('5bb622443541594a35000218'), :revoked_at=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622443541594a3500021a')}, :u=>{"_id"=>BSON::ObjectId('5bb622443541594a3500021a'), "application_id"=>BSON::ObjectId('5bb622443541594a35000219'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622443541594a35000218'), "token"=>"ae791623780766c02912ecf5b1bf2866e9b92fc08890dc999ad981833d81c030", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622443541594a3500021a')}, {"_id"=>BSON::ObjectId('5bb622443541594a3500021a'), "application_id"=>BSON::ObjectId('5bb622443541594a35000219'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622443541594a35000218'), "token"=>"ae791623780766c02912ecf5b1bf2866e9b92fc08890dc999ad981833d81c030", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Redirected to http://www.example.com/oauth/authorized_applications Completed 302 Found in 3ms (ActiveRecord: 0.0ms) Started GET "/oauth/authorized_applications" for 127.0.0.1 at 2018-10-04 17:23:00 +0300 Processing by Doorkeeper::AuthorizedApplicationsController#index as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:resource_owner_id=>BSON::ObjectId('5bb622443541594a35000218'), :revoked_at=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>[]}) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorized_applications/index.html.erb within layouts/doorkeeper/application (0.2ms) Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a3500021b'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622443541594a3500021b'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"36a84ea513c68164ac79aaeeda15d41ad6a618e5029578a9a5fa69151f1241a4", :_id=>{:$ne=>BSON::ObjectId('5bb622443541594a3500021c')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a3500021c'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Amazing Client App", "uid"=>"36a84ea513c68164ac79aaeeda15d41ad6a618e5029578a9a5fa69151f1241a4", "secret"=>"b69dff22af0a5a32319d91714cd6db5ff64c55fa0dd40086ee934290ee408642", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622443541594a3500021c'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Amazing Client App", "uid"=>"36a84ea513c68164ac79aaeeda15d41ad6a618e5029578a9a5fa69151f1241a4", "secret"=>"b69dff22af0a5a32319d91714cd6db5ff64c55fa0dd40086ee934290ee408642", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"8b50036540ebc5011e9d7aa4626b3ed794875087d74bc25661b5db38863d1ee2", :_id=>{:$ne=>BSON::ObjectId('5bb622443541594a3500021d')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a3500021d'), "application_id"=>BSON::ObjectId('5bb622443541594a3500021c'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622443541594a3500021b'), "token"=>"8b50036540ebc5011e9d7aa4626b3ed794875087d74bc25661b5db38863d1ee2", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622443541594a3500021d'), "application_id"=>BSON::ObjectId('5bb622443541594a3500021c'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622443541594a3500021b'), "token"=>"8b50036540ebc5011e9d7aa4626b3ed794875087d74bc25661b5db38863d1ee2", "expires_in"=>7200}) Started GET "/oauth/authorized_applications" for 127.0.0.1 at 2018-10-04 17:23:00 +0300 Processing by Doorkeeper::AuthorizedApplicationsController#index as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:resource_owner_id=>BSON::ObjectId('5bb622443541594a3500021b'), :revoked_at=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>{:$in=>[BSON::ObjectId('5bb622443541594a3500021c')]}}) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorized_applications/_delete_form.html.erb (0.3ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorized_applications/index.html.erb within layouts/doorkeeper/application (0.8ms) Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8f4548aba7fa2524a7420ded1a54c4b079be0cef032336256ccbcdde7b5532cc", :_id=>{:$ne=>BSON::ObjectId('5bb622443541594a3500021e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a3500021e'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 247", "uid"=>"8f4548aba7fa2524a7420ded1a54c4b079be0cef032336256ccbcdde7b5532cc", "secret"=>"415f15fc45aaa3e649cc8215f89479888cff68b354e108e096f8052903e27f18", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622443541594a3500021e'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 247", "uid"=>"8f4548aba7fa2524a7420ded1a54c4b079be0cef032336256ccbcdde7b5532cc", "secret"=>"415f15fc45aaa3e649cc8215f89479888cff68b354e108e096f8052903e27f18", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"d802e8b515ca4cd8c8babc20b2cd6d235fa0b5cedbf234dec32b9ae6f1ab9103", :_id=>{:$ne=>BSON::ObjectId('5bb622443541594a3500021f')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a3500021f'), "application_id"=>BSON::ObjectId('5bb622443541594a3500021e'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "resource_owner_id"=>25, "token"=>"d802e8b515ca4cd8c8babc20b2cd6d235fa0b5cedbf234dec32b9ae6f1ab9103", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622443541594a3500021f'), "application_id"=>BSON::ObjectId('5bb622443541594a3500021e'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "resource_owner_id"=>25, "token"=>"d802e8b515ca4cd8c8babc20b2cd6d235fa0b5cedbf234dec32b9ae6f1ab9103", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token?code=[FILTERED]&client_id=8f4548aba7fa2524a7420ded1a54c4b079be0cef032336256ccbcdde7b5532cc&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:23:00 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"8f4548aba7fa2524a7420ded1a54c4b079be0cef032336256ccbcdde7b5532cc", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"d802e8b515ca4cd8c8babc20b2cd6d235fa0b5cedbf234dec32b9ae6f1ab9103"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8f4548aba7fa2524a7420ded1a54c4b079be0cef032336256ccbcdde7b5532cc"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb622443541594a3500021f')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622443541594a3500021f')}, :u=>{"_id"=>BSON::ObjectId('5bb622443541594a3500021f'), "application_id"=>BSON::ObjectId('5bb622443541594a3500021e'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "resource_owner_id"=>25, "token"=>"d802e8b515ca4cd8c8babc20b2cd6d235fa0b5cedbf234dec32b9ae6f1ab9103", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb622443541594a3500021f')}, {"_id"=>BSON::ObjectId('5bb622443541594a3500021f'), "application_id"=>BSON::ObjectId('5bb622443541594a3500021e'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "resource_owner_id"=>25, "token"=>"d802e8b515ca4cd8c8babc20b2cd6d235fa0b5cedbf234dec32b9ae6f1ab9103", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622443541594a3500021e')}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622443541594a3500021e')}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"0ccdfeb66b22d2a53384f2484dee208d41632ee142df594dd55671582b095d6a", :_id=>{:$ne=>BSON::ObjectId('5bb622443541594a35000220')}}, {:_id=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a35000220'), "application_id"=>BSON::ObjectId('5bb622443541594a3500021e'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "resource_owner_id"=>25, "token"=>"0ccdfeb66b22d2a53384f2484dee208d41632ee142df594dd55671582b095d6a", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622443541594a35000220'), "application_id"=>BSON::ObjectId('5bb622443541594a3500021e'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "resource_owner_id"=>25, "token"=>"0ccdfeb66b22d2a53384f2484dee208d41632ee142df594dd55671582b095d6a", "expires_in"=>7200, "scopes"=>"public write"}) Completed 200 OK in 15ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code=[FILTERED]&client_id=8f4548aba7fa2524a7420ded1a54c4b079be0cef032336256ccbcdde7b5532cc&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:23:00 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"8f4548aba7fa2524a7420ded1a54c4b079be0cef032336256ccbcdde7b5532cc", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"d802e8b515ca4cd8c8babc20b2cd6d235fa0b5cedbf234dec32b9ae6f1ab9103"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8f4548aba7fa2524a7420ded1a54c4b079be0cef032336256ccbcdde7b5532cc"}).limit(-1) Completed 401 Unauthorized in 2ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6ca2a213dfe395178fef88e661e94b510fd5ae837cc40682584dee2c6284aca3", :_id=>{:$ne=>BSON::ObjectId('5bb622443541594a35000221')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a35000221'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 248", "uid"=>"6ca2a213dfe395178fef88e661e94b510fd5ae837cc40682584dee2c6284aca3", "secret"=>"e261f109bd2cb65559c827ece8b566d5a516a61298cba93ffaf0a25a24a62b89", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622443541594a35000221'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 248", "uid"=>"6ca2a213dfe395178fef88e661e94b510fd5ae837cc40682584dee2c6284aca3", "secret"=>"e261f109bd2cb65559c827ece8b566d5a516a61298cba93ffaf0a25a24a62b89", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"00f791703ad31aaf9265e6993cc4296199c4f806f99ee77763670ac9bc37c205", :_id=>{:$ne=>BSON::ObjectId('5bb622443541594a35000222')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a35000222'), "application_id"=>BSON::ObjectId('5bb622443541594a35000221'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "resource_owner_id"=>26, "token"=>"00f791703ad31aaf9265e6993cc4296199c4f806f99ee77763670ac9bc37c205", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622443541594a35000222'), "application_id"=>BSON::ObjectId('5bb622443541594a35000221'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "resource_owner_id"=>26, "token"=>"00f791703ad31aaf9265e6993cc4296199c4f806f99ee77763670ac9bc37c205", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token?code=[FILTERED]&client_id=6ca2a213dfe395178fef88e661e94b510fd5ae837cc40682584dee2c6284aca3&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:23:00 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"6ca2a213dfe395178fef88e661e94b510fd5ae837cc40682584dee2c6284aca3", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"invalid"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6ca2a213dfe395178fef88e661e94b510fd5ae837cc40682584dee2c6284aca3"}).limit(-1) Completed 401 Unauthorized in 2ms MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (7.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a35000223'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (7.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622443541594a35000223'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f8fde4cf7a9afe7c696d092d38eeb5eaf2948d9f57f17daa92c2c17ab3865fd4", :_id=>{:$ne=>BSON::ObjectId('5bb622443541594a35000224')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a35000224'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 249", "uid"=>"f8fde4cf7a9afe7c696d092d38eeb5eaf2948d9f57f17daa92c2c17ab3865fd4", "secret"=>"c05136c535c9ebce171dc07041aefe5c5b0e8be277dbd10d72d854c68e7b08da", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622443541594a35000224'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 249", "uid"=>"f8fde4cf7a9afe7c696d092d38eeb5eaf2948d9f57f17daa92c2c17ab3865fd4", "secret"=>"c05136c535c9ebce171dc07041aefe5c5b0e8be277dbd10d72d854c68e7b08da", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622443541594a35000224')}, :u=>{"_id"=>BSON::ObjectId('5bb622443541594a35000224'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 249", "uid"=>"f8fde4cf7a9afe7c696d092d38eeb5eaf2948d9f57f17daa92c2c17ab3865fd4", "secret"=>"c05136c535c9ebce171dc07041aefe5c5b0e8be277dbd10d72d854c68e7b08da", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "owner_id"=>nil}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb622443541594a35000224')}, {"_id"=>BSON::ObjectId('5bb622443541594a35000224'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 249", "uid"=>"f8fde4cf7a9afe7c696d092d38eeb5eaf2948d9f57f17daa92c2c17ab3865fd4", "secret"=>"c05136c535c9ebce171dc07041aefe5c5b0e8be277dbd10d72d854c68e7b08da", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"f8fde4cf7a9afe7c696d092d38eeb5eaf2948d9f57f17daa92c2c17ab3865fd4", "response_type"=>"token", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f8fde4cf7a9afe7c696d092d38eeb5eaf2948d9f57f17daa92c2c17ab3865fd4"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622443541594a35000224')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"1d5801a6cf5c34bee6600bb5eb70159573e3d69b0f4beaaf5b14a8be27d6d4df", :_id=>{:$ne=>BSON::ObjectId('5bb622443541594a35000225')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a35000225'), "application_id"=>BSON::ObjectId('5bb622443541594a35000224'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622443541594a35000223'), "token"=>"1d5801a6cf5c34bee6600bb5eb70159573e3d69b0f4beaaf5b14a8be27d6d4df", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622443541594a35000225'), "application_id"=>BSON::ObjectId('5bb622443541594a35000224'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622443541594a35000223'), "token"=>"1d5801a6cf5c34bee6600bb5eb70159573e3d69b0f4beaaf5b14a8be27d6d4df", "expires_in"=>7200, "scopes"=>""}) Redirected to http://test.host/oauth/token/info?access_token=1d5801a6cf5c34bee6600bb5eb70159573e3d69b0f4beaaf5b14a8be27d6d4df Completed 302 Found in 10ms (ActiveRecord: 0.0ms) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a35000226'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622443541594a35000226'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1f62d96295a10248a8263b8c9b6364f7cb7646dd17fc16e1e3822a0f401c5f5e", :_id=>{:$ne=>BSON::ObjectId('5bb622443541594a35000227')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a35000227'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 250", "uid"=>"1f62d96295a10248a8263b8c9b6364f7cb7646dd17fc16e1e3822a0f401c5f5e", "secret"=>"51df61336629f2895695e890034ddb20f187ffa4b8fd660a4cdb9251d41f3ddf", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622443541594a35000227'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 250", "uid"=>"1f62d96295a10248a8263b8c9b6364f7cb7646dd17fc16e1e3822a0f401c5f5e", "secret"=>"51df61336629f2895695e890034ddb20f187ffa4b8fd660a4cdb9251d41f3ddf", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622443541594a35000227')}, :u=>{"_id"=>BSON::ObjectId('5bb622443541594a35000227'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 250", "uid"=>"1f62d96295a10248a8263b8c9b6364f7cb7646dd17fc16e1e3822a0f401c5f5e", "secret"=>"51df61336629f2895695e890034ddb20f187ffa4b8fd660a4cdb9251d41f3ddf", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "owner_id"=>nil}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb622443541594a35000227')}, {"_id"=>BSON::ObjectId('5bb622443541594a35000227'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 250", "uid"=>"1f62d96295a10248a8263b8c9b6364f7cb7646dd17fc16e1e3822a0f401c5f5e", "secret"=>"51df61336629f2895695e890034ddb20f187ffa4b8fd660a4cdb9251d41f3ddf", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"1f62d96295a10248a8263b8c9b6364f7cb7646dd17fc16e1e3822a0f401c5f5e", "response_type"=>"token", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1f62d96295a10248a8263b8c9b6364f7cb7646dd17fc16e1e3822a0f401c5f5e"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622443541594a35000227')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"572bbb7abb6efd04593943532956ef77fe61d729500f7acf5fcd8731facd0d16", :_id=>{:$ne=>BSON::ObjectId('5bb622443541594a35000228')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a35000228'), "application_id"=>BSON::ObjectId('5bb622443541594a35000227'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622443541594a35000226'), "token"=>"572bbb7abb6efd04593943532956ef77fe61d729500f7acf5fcd8731facd0d16", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622443541594a35000228'), "application_id"=>BSON::ObjectId('5bb622443541594a35000227'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622443541594a35000226'), "token"=>"572bbb7abb6efd04593943532956ef77fe61d729500f7acf5fcd8731facd0d16", "expires_in"=>7200, "scopes"=>""}) Redirected to http://test.host/oauth/token/info?access_token=572bbb7abb6efd04593943532956ef77fe61d729500f7acf5fcd8731facd0d16 Completed 302 Found in 5ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a35000229'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622443541594a35000229'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (13.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c1bfd49e91763864647036e7167f93393f9515e993696952d012f5612dd14b50", :_id=>{:$ne=>BSON::ObjectId('5bb622443541594a3500022a')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a3500022a'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 251", "uid"=>"c1bfd49e91763864647036e7167f93393f9515e993696952d012f5612dd14b50", "secret"=>"52626a0317b02aa40d50a69c548ae93563589e865e00db395bc3742536ae049d", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622443541594a3500022a'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 251", "uid"=>"c1bfd49e91763864647036e7167f93393f9515e993696952d012f5612dd14b50", "secret"=>"52626a0317b02aa40d50a69c548ae93563589e865e00db395bc3742536ae049d", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622443541594a3500022a')}, :u=>{"_id"=>BSON::ObjectId('5bb622443541594a3500022a'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 251", "uid"=>"c1bfd49e91763864647036e7167f93393f9515e993696952d012f5612dd14b50", "secret"=>"52626a0317b02aa40d50a69c548ae93563589e865e00db395bc3742536ae049d", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "owner_id"=>nil}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb622443541594a3500022a')}, {"_id"=>BSON::ObjectId('5bb622443541594a3500022a'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 251", "uid"=>"c1bfd49e91763864647036e7167f93393f9515e993696952d012f5612dd14b50", "secret"=>"52626a0317b02aa40d50a69c548ae93563589e865e00db395bc3742536ae049d", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"c1bfd49e91763864647036e7167f93393f9515e993696952d012f5612dd14b50", "response_type"=>"token", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c1bfd49e91763864647036e7167f93393f9515e993696952d012f5612dd14b50"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622443541594a3500022a')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"8642dc8d7dd7f8bd0bdb402264faa826a88bbebf3c5b07ca22ec8b48a97e5d89", :_id=>{:$ne=>BSON::ObjectId('5bb622443541594a3500022b')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a3500022b'), "application_id"=>BSON::ObjectId('5bb622443541594a3500022a'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622443541594a35000229'), "token"=>"8642dc8d7dd7f8bd0bdb402264faa826a88bbebf3c5b07ca22ec8b48a97e5d89", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622443541594a3500022b'), "application_id"=>BSON::ObjectId('5bb622443541594a3500022a'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622443541594a35000229'), "token"=>"8642dc8d7dd7f8bd0bdb402264faa826a88bbebf3c5b07ca22ec8b48a97e5d89", "expires_in"=>7200, "scopes"=>""}) Redirected to http://test.host/oauth/token/info?access_token=8642dc8d7dd7f8bd0bdb402264faa826a88bbebf3c5b07ca22ec8b48a97e5d89 Completed 302 Found in 22ms (ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a3500022c'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622443541594a3500022c'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a0297b4f4b1d1e8adaa67787bf2a2130f9bf146833ab698c8a19bf3e3c4cb120", :_id=>{:$ne=>BSON::ObjectId('5bb622443541594a3500022d')}}, {:_id=>1}).limit(-1) MONGODB (3.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a3500022d'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 252", "uid"=>"a0297b4f4b1d1e8adaa67787bf2a2130f9bf146833ab698c8a19bf3e3c4cb120", "secret"=>"18bd8ebea6da6dfb347af8f076e9816b3692117ab6d95ed8488ac765170371b1", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (3.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622443541594a3500022d'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 252", "uid"=>"a0297b4f4b1d1e8adaa67787bf2a2130f9bf146833ab698c8a19bf3e3c4cb120", "secret"=>"18bd8ebea6da6dfb347af8f076e9816b3692117ab6d95ed8488ac765170371b1", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622443541594a3500022d')}, :u=>{"_id"=>BSON::ObjectId('5bb622443541594a3500022d'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 252", "uid"=>"a0297b4f4b1d1e8adaa67787bf2a2130f9bf146833ab698c8a19bf3e3c4cb120", "secret"=>"18bd8ebea6da6dfb347af8f076e9816b3692117ab6d95ed8488ac765170371b1", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "owner_id"=>nil}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb622443541594a3500022d')}, {"_id"=>BSON::ObjectId('5bb622443541594a3500022d'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 252", "uid"=>"a0297b4f4b1d1e8adaa67787bf2a2130f9bf146833ab698c8a19bf3e3c4cb120", "secret"=>"18bd8ebea6da6dfb347af8f076e9816b3692117ab6d95ed8488ac765170371b1", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"a0297b4f4b1d1e8adaa67787bf2a2130f9bf146833ab698c8a19bf3e3c4cb120", "response_type"=>"code", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"} MONGODB (4.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a0297b4f4b1d1e8adaa67787bf2a2130f9bf146833ab698c8a19bf3e3c4cb120"}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"b8d8b005ae5a362a2c7bfcf9469cddc070ab1c632e8d0e92834fa387a798f071", :_id=>{:$ne=>BSON::ObjectId('5bb622443541594a3500022e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a3500022e'), "application_id"=>BSON::ObjectId('5bb622443541594a3500022d'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622443541594a3500022c'), "token"=>"b8d8b005ae5a362a2c7bfcf9469cddc070ab1c632e8d0e92834fa387a798f071", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622443541594a3500022e'), "application_id"=>BSON::ObjectId('5bb622443541594a3500022d'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622443541594a3500022c'), "token"=>"b8d8b005ae5a362a2c7bfcf9469cddc070ab1c632e8d0e92834fa387a798f071", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}) Redirected to http://test.host/oauth/authorize/native?code=b8d8b005ae5a362a2c7bfcf9469cddc070ab1c632e8d0e92834fa387a798f071 Completed 302 Found in 9ms (ActiveRecord: 0.0ms) MONGODB (5.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (4.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (5.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a3500022f'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622443541594a3500022f'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"af18bf3e0d6308f420104ce09a094706ededabd6c6ea229251bbfac2598249b7", :_id=>{:$ne=>BSON::ObjectId('5bb622443541594a35000230')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a35000230'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 253", "uid"=>"af18bf3e0d6308f420104ce09a094706ededabd6c6ea229251bbfac2598249b7", "secret"=>"446e927262bf64bd1e6d2d905ca6e3469967ed71cb50844ebfdee158b9053da7", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622443541594a35000230'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 253", "uid"=>"af18bf3e0d6308f420104ce09a094706ededabd6c6ea229251bbfac2598249b7", "secret"=>"446e927262bf64bd1e6d2d905ca6e3469967ed71cb50844ebfdee158b9053da7", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622443541594a35000230')}, :u=>{"_id"=>BSON::ObjectId('5bb622443541594a35000230'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 253", "uid"=>"af18bf3e0d6308f420104ce09a094706ededabd6c6ea229251bbfac2598249b7", "secret"=>"446e927262bf64bd1e6d2d905ca6e3469967ed71cb50844ebfdee158b9053da7", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "owner_id"=>nil}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb622443541594a35000230')}, {"_id"=>BSON::ObjectId('5bb622443541594a35000230'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 253", "uid"=>"af18bf3e0d6308f420104ce09a094706ededabd6c6ea229251bbfac2598249b7", "secret"=>"446e927262bf64bd1e6d2d905ca6e3469967ed71cb50844ebfdee158b9053da7", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"af18bf3e0d6308f420104ce09a094706ededabd6c6ea229251bbfac2598249b7", "response_type"=>"code", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"af18bf3e0d6308f420104ce09a094706ededabd6c6ea229251bbfac2598249b7"}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"b84f10c6dabb63e8ca9c74431f34f2ccaa922d6c339946a918b90d0f09752eea", :_id=>{:$ne=>BSON::ObjectId('5bb622443541594a35000231')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a35000231'), "application_id"=>BSON::ObjectId('5bb622443541594a35000230'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622443541594a3500022f'), "token"=>"b84f10c6dabb63e8ca9c74431f34f2ccaa922d6c339946a918b90d0f09752eea", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622443541594a35000231'), "application_id"=>BSON::ObjectId('5bb622443541594a35000230'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622443541594a3500022f'), "token"=>"b84f10c6dabb63e8ca9c74431f34f2ccaa922d6c339946a918b90d0f09752eea", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}) Redirected to http://test.host/oauth/authorize/native?code=b84f10c6dabb63e8ca9c74431f34f2ccaa922d6c339946a918b90d0f09752eea Completed 302 Found in 5ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a35000232'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622443541594a35000232'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f1cbfa6412f31179de37186e42c9fddf936bb1effc1888aff4110b228c4509d3", :_id=>{:$ne=>BSON::ObjectId('5bb622443541594a35000233')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a35000233'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 254", "uid"=>"f1cbfa6412f31179de37186e42c9fddf936bb1effc1888aff4110b228c4509d3", "secret"=>"4d14de5aae9631ef11848aaaf388b85702ae007e5c2826f19a906f7d4e410b1b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622443541594a35000233'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 254", "uid"=>"f1cbfa6412f31179de37186e42c9fddf936bb1effc1888aff4110b228c4509d3", "secret"=>"4d14de5aae9631ef11848aaaf388b85702ae007e5c2826f19a906f7d4e410b1b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622443541594a35000233')}, :u=>{"_id"=>BSON::ObjectId('5bb622443541594a35000233'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 254", "uid"=>"f1cbfa6412f31179de37186e42c9fddf936bb1effc1888aff4110b228c4509d3", "secret"=>"4d14de5aae9631ef11848aaaf388b85702ae007e5c2826f19a906f7d4e410b1b", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "owner_id"=>nil}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (2.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb622443541594a35000233')}, {"_id"=>BSON::ObjectId('5bb622443541594a35000233'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 254", "uid"=>"f1cbfa6412f31179de37186e42c9fddf936bb1effc1888aff4110b228c4509d3", "secret"=>"4d14de5aae9631ef11848aaaf388b85702ae007e5c2826f19a906f7d4e410b1b", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"f1cbfa6412f31179de37186e42c9fddf936bb1effc1888aff4110b228c4509d3", "response_type"=>"code", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"} MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f1cbfa6412f31179de37186e42c9fddf936bb1effc1888aff4110b228c4509d3"}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"aa6d209baa90d7af3a53412599e3804b02b4336d7afce96db09e83859ac7653f", :_id=>{:$ne=>BSON::ObjectId('5bb622443541594a35000234')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a35000234'), "application_id"=>BSON::ObjectId('5bb622443541594a35000233'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622443541594a35000232'), "token"=>"aa6d209baa90d7af3a53412599e3804b02b4336d7afce96db09e83859ac7653f", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622443541594a35000234'), "application_id"=>BSON::ObjectId('5bb622443541594a35000233'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622443541594a35000232'), "token"=>"aa6d209baa90d7af3a53412599e3804b02b4336d7afce96db09e83859ac7653f", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}) Redirected to http://test.host/oauth/authorize/native?code=aa6d209baa90d7af3a53412599e3804b02b4336d7afce96db09e83859ac7653f Completed 302 Found in 15ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (8.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (8.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (47.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a35000235'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (47.8ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622443541594a35000235'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2bcd0bda86bd9d14ab93db1fc40cd8bcfdf3c13bba6406e01257fa3dc5daab37", :_id=>{:$ne=>BSON::ObjectId('5bb622443541594a35000236')}}, {:_id=>1}).limit(-1) MONGODB (12.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a35000236'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 255", "uid"=>"2bcd0bda86bd9d14ab93db1fc40cd8bcfdf3c13bba6406e01257fa3dc5daab37", "secret"=>"b66dcf67ef25cd58a448e4277fecfdae7f87b643a6567977e5f5be7ffad2cee3", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (13.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622443541594a35000236'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 255", "uid"=>"2bcd0bda86bd9d14ab93db1fc40cd8bcfdf3c13bba6406e01257fa3dc5daab37", "secret"=>"b66dcf67ef25cd58a448e4277fecfdae7f87b643a6567977e5f5be7ffad2cee3", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622443541594a35000236')}, :u=>{"_id"=>BSON::ObjectId('5bb622443541594a35000236'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 255", "uid"=>"2bcd0bda86bd9d14ab93db1fc40cd8bcfdf3c13bba6406e01257fa3dc5daab37", "secret"=>"b66dcf67ef25cd58a448e4277fecfdae7f87b643a6567977e5f5be7ffad2cee3", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "owner_id"=>nil}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb622443541594a35000236')}, {"_id"=>BSON::ObjectId('5bb622443541594a35000236'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 255", "uid"=>"2bcd0bda86bd9d14ab93db1fc40cd8bcfdf3c13bba6406e01257fa3dc5daab37", "secret"=>"b66dcf67ef25cd58a448e4277fecfdae7f87b643a6567977e5f5be7ffad2cee3", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"2bcd0bda86bd9d14ab93db1fc40cd8bcfdf3c13bba6406e01257fa3dc5daab37", "response_type"=>"code", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2bcd0bda86bd9d14ab93db1fc40cd8bcfdf3c13bba6406e01257fa3dc5daab37"}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"a5a8e1ab93cc64a2663044a09101b78ea727e4d047bd0c66a4caed72e439426f", :_id=>{:$ne=>BSON::ObjectId('5bb622443541594a35000237')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a35000237'), "application_id"=>BSON::ObjectId('5bb622443541594a35000236'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622443541594a35000235'), "token"=>"a5a8e1ab93cc64a2663044a09101b78ea727e4d047bd0c66a4caed72e439426f", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622443541594a35000237'), "application_id"=>BSON::ObjectId('5bb622443541594a35000236'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622443541594a35000235'), "token"=>"a5a8e1ab93cc64a2663044a09101b78ea727e4d047bd0c66a4caed72e439426f", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}) Redirected to http://test.host/oauth/authorize/a5a8e1ab93cc64a2663044a09101b78ea727e4d047bd0c66a4caed72e439426f Completed 302 Found in 5ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a35000238'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622443541594a35000238'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"536db570f70b2443b6e22f93ca4a98b993dd22824caa4a44525cfaebae5c0616", :_id=>{:$ne=>BSON::ObjectId('5bb622443541594a35000239')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a35000239'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 256", "uid"=>"536db570f70b2443b6e22f93ca4a98b993dd22824caa4a44525cfaebae5c0616", "secret"=>"38258621142c3d46ac2401b66caef4f82a5e96a6fab55b5f5b48cc347fc15b73", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622443541594a35000239'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 256", "uid"=>"536db570f70b2443b6e22f93ca4a98b993dd22824caa4a44525cfaebae5c0616", "secret"=>"38258621142c3d46ac2401b66caef4f82a5e96a6fab55b5f5b48cc347fc15b73", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622443541594a35000239')}, :u=>{"_id"=>BSON::ObjectId('5bb622443541594a35000239'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 256", "uid"=>"536db570f70b2443b6e22f93ca4a98b993dd22824caa4a44525cfaebae5c0616", "secret"=>"38258621142c3d46ac2401b66caef4f82a5e96a6fab55b5f5b48cc347fc15b73", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "owner_id"=>nil}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb622443541594a35000239')}, {"_id"=>BSON::ObjectId('5bb622443541594a35000239'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 256", "uid"=>"536db570f70b2443b6e22f93ca4a98b993dd22824caa4a44525cfaebae5c0616", "secret"=>"38258621142c3d46ac2401b66caef4f82a5e96a6fab55b5f5b48cc347fc15b73", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"536db570f70b2443b6e22f93ca4a98b993dd22824caa4a44525cfaebae5c0616", "response_type"=>"code", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"536db570f70b2443b6e22f93ca4a98b993dd22824caa4a44525cfaebae5c0616"}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"cc12d8b90f72edebb578fe6828ea55df7faa754805043d8f1c93e76f8953e1ab", :_id=>{:$ne=>BSON::ObjectId('5bb622443541594a3500023a')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a3500023a'), "application_id"=>BSON::ObjectId('5bb622443541594a35000239'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622443541594a35000238'), "token"=>"cc12d8b90f72edebb578fe6828ea55df7faa754805043d8f1c93e76f8953e1ab", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622443541594a3500023a'), "application_id"=>BSON::ObjectId('5bb622443541594a35000239'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622443541594a35000238'), "token"=>"cc12d8b90f72edebb578fe6828ea55df7faa754805043d8f1c93e76f8953e1ab", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}) Redirected to http://test.host/oauth/authorize/cc12d8b90f72edebb578fe6828ea55df7faa754805043d8f1c93e76f8953e1ab Completed 302 Found in 5ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a3500023b'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622443541594a3500023b'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"20deeca413f03f5863ea2d9681d9293f8c3dd59940ac85a141470b60822b3b2c", :_id=>{:$ne=>BSON::ObjectId('5bb622443541594a3500023c')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a3500023c'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 257", "uid"=>"20deeca413f03f5863ea2d9681d9293f8c3dd59940ac85a141470b60822b3b2c", "secret"=>"d940fe357bca0a185c82b5b820abf931675b03208fa505c6cd1e324103feaf9f", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622443541594a3500023c'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 257", "uid"=>"20deeca413f03f5863ea2d9681d9293f8c3dd59940ac85a141470b60822b3b2c", "secret"=>"d940fe357bca0a185c82b5b820abf931675b03208fa505c6cd1e324103feaf9f", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622443541594a3500023c')}, :u=>{"_id"=>BSON::ObjectId('5bb622443541594a3500023c'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 257", "uid"=>"20deeca413f03f5863ea2d9681d9293f8c3dd59940ac85a141470b60822b3b2c", "secret"=>"d940fe357bca0a185c82b5b820abf931675b03208fa505c6cd1e324103feaf9f", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "owner_id"=>nil}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb622443541594a3500023c')}, {"_id"=>BSON::ObjectId('5bb622443541594a3500023c'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 257", "uid"=>"20deeca413f03f5863ea2d9681d9293f8c3dd59940ac85a141470b60822b3b2c", "secret"=>"d940fe357bca0a185c82b5b820abf931675b03208fa505c6cd1e324103feaf9f", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"20deeca413f03f5863ea2d9681d9293f8c3dd59940ac85a141470b60822b3b2c", "response_type"=>"code", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"20deeca413f03f5863ea2d9681d9293f8c3dd59940ac85a141470b60822b3b2c"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"1e3e609cb5855740bd02d60584e935ff89776ac1c1cd679507e19ab48df5aa33", :_id=>{:$ne=>BSON::ObjectId('5bb622443541594a3500023d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a3500023d'), "application_id"=>BSON::ObjectId('5bb622443541594a3500023c'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622443541594a3500023b'), "token"=>"1e3e609cb5855740bd02d60584e935ff89776ac1c1cd679507e19ab48df5aa33", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622443541594a3500023d'), "application_id"=>BSON::ObjectId('5bb622443541594a3500023c'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622443541594a3500023b'), "token"=>"1e3e609cb5855740bd02d60584e935ff89776ac1c1cd679507e19ab48df5aa33", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}) Redirected to http://test.host/oauth/authorize/1e3e609cb5855740bd02d60584e935ff89776ac1c1cd679507e19ab48df5aa33 Completed 302 Found in 5ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a3500023e'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622443541594a3500023e'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"an_invalid"=>"request"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>""}).limit(-1) Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/error.html.erb within layouts/doorkeeper/application (0.3ms) Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a3500023f'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622443541594a3500023f'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"an_invalid"=>"request"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>""}).limit(-1) Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/error.html.erb within layouts/doorkeeper/application (0.3ms) Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a35000240'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622443541594a35000240'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"bef810878a65e9fc43daf655c82812973d54450bc14ad598e3a71dffa9097562", :_id=>{:$ne=>BSON::ObjectId('5bb622443541594a35000241')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a35000241'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 258", "uid"=>"bef810878a65e9fc43daf655c82812973d54450bc14ad598e3a71dffa9097562", "secret"=>"0802f2f7ec18e550c8fe40047a6884f7a6199b1532bbe6b451e2a6c4cecef117", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622443541594a35000241'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 258", "uid"=>"bef810878a65e9fc43daf655c82812973d54450bc14ad598e3a71dffa9097562", "secret"=>"0802f2f7ec18e550c8fe40047a6884f7a6199b1532bbe6b451e2a6c4cecef117", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622443541594a35000241')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"c1d56b5bfaf8c8f0e7d3949c5dd0c39b648e653fa241e89250ea928f12d0ce78", :_id=>{:$ne=>BSON::ObjectId('5bb622443541594a35000242')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a35000242'), "application_id"=>BSON::ObjectId('5bb622443541594a35000241'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622443541594a35000240'), "token"=>"c1d56b5bfaf8c8f0e7d3949c5dd0c39b648e653fa241e89250ea928f12d0ce78", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622443541594a35000242'), "application_id"=>BSON::ObjectId('5bb622443541594a35000241'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622443541594a35000240'), "token"=>"c1d56b5bfaf8c8f0e7d3949c5dd0c39b648e653fa241e89250ea928f12d0ce78", "expires_in"=>7200}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"bef810878a65e9fc43daf655c82812973d54450bc14ad598e3a71dffa9097562", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"bef810878a65e9fc43daf655c82812973d54450bc14ad598e3a71dffa9097562"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622443541594a35000241'), :resource_owner_id=>BSON::ObjectId('5bb622443541594a35000240'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Redirected to https://app.com/callback#access_token=c1d56b5bfaf8c8f0e7d3949c5dd0c39b648e653fa241e89250ea928f12d0ce78&token_type=Bearer&expires_in=7200 Completed 302 Found in 3ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a35000243'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622443541594a35000243'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f26e41a2e0b6ba8349ddafcf9897d4a70a4ad4bf82a6d42c0312a2353e19fbe0", :_id=>{:$ne=>BSON::ObjectId('5bb622443541594a35000244')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a35000244'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 259", "uid"=>"f26e41a2e0b6ba8349ddafcf9897d4a70a4ad4bf82a6d42c0312a2353e19fbe0", "secret"=>"bf8ea52d878f4a4d127865f0fb0c02cb0d28d9bf9a4360b5670ad31207cb9983", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622443541594a35000244'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 259", "uid"=>"f26e41a2e0b6ba8349ddafcf9897d4a70a4ad4bf82a6d42c0312a2353e19fbe0", "secret"=>"bf8ea52d878f4a4d127865f0fb0c02cb0d28d9bf9a4360b5670ad31207cb9983", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622443541594a35000244')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"4f17e0eb8c72c79233bf13f8343cc4384f0b5dcc9aae1a60c6be51669b3b24ae", :_id=>{:$ne=>BSON::ObjectId('5bb622443541594a35000245')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a35000245'), "application_id"=>BSON::ObjectId('5bb622443541594a35000244'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622443541594a35000243'), "token"=>"4f17e0eb8c72c79233bf13f8343cc4384f0b5dcc9aae1a60c6be51669b3b24ae", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622443541594a35000245'), "application_id"=>BSON::ObjectId('5bb622443541594a35000244'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622443541594a35000243'), "token"=>"4f17e0eb8c72c79233bf13f8343cc4384f0b5dcc9aae1a60c6be51669b3b24ae", "expires_in"=>7200}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"f26e41a2e0b6ba8349ddafcf9897d4a70a4ad4bf82a6d42c0312a2353e19fbe0", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f26e41a2e0b6ba8349ddafcf9897d4a70a4ad4bf82a6d42c0312a2353e19fbe0"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622443541594a35000244'), :resource_owner_id=>BSON::ObjectId('5bb622443541594a35000243'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Redirected to https://app.com/callback#access_token=4f17e0eb8c72c79233bf13f8343cc4384f0b5dcc9aae1a60c6be51669b3b24ae&token_type=Bearer&expires_in=7200 Completed 302 Found in 3ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a35000246'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622443541594a35000246'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f50aadaf10db19c84ac25fbb01272421e56caa2b89e9623fa8d3483df73ecfe5", :_id=>{:$ne=>BSON::ObjectId('5bb622443541594a35000247')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a35000247'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 260", "uid"=>"f50aadaf10db19c84ac25fbb01272421e56caa2b89e9623fa8d3483df73ecfe5", "secret"=>"46c0370a5658f280eac582b3858a0a7df757d70c729445429d4c11eadec8336a", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622443541594a35000247'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 260", "uid"=>"f50aadaf10db19c84ac25fbb01272421e56caa2b89e9623fa8d3483df73ecfe5", "secret"=>"46c0370a5658f280eac582b3858a0a7df757d70c729445429d4c11eadec8336a", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"f50aadaf10db19c84ac25fbb01272421e56caa2b89e9623fa8d3483df73ecfe5", "response_type"=>"token", "scope"=>"invalid", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f50aadaf10db19c84ac25fbb01272421e56caa2b89e9623fa8d3483df73ecfe5"}).limit(-1) Redirected to https://app.com/callback#error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed. Completed 302 Found in 2ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a35000248'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622443541594a35000248'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"17f97e460f30ac0fc7239b13ede286cf081fe0371471616a373df7cf309c47cf", :_id=>{:$ne=>BSON::ObjectId('5bb622443541594a35000249')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a35000249'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 261", "uid"=>"17f97e460f30ac0fc7239b13ede286cf081fe0371471616a373df7cf309c47cf", "secret"=>"9848586518136bce72d5ba73dbf5bdc0a3802cc49e1ab4a0923932fc003389e4", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622443541594a35000249'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 261", "uid"=>"17f97e460f30ac0fc7239b13ede286cf081fe0371471616a373df7cf309c47cf", "secret"=>"9848586518136bce72d5ba73dbf5bdc0a3802cc49e1ab4a0923932fc003389e4", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"17f97e460f30ac0fc7239b13ede286cf081fe0371471616a373df7cf309c47cf", "response_type"=>"token", "scope"=>"invalid", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"17f97e460f30ac0fc7239b13ede286cf081fe0371471616a373df7cf309c47cf"}).limit(-1) Redirected to https://app.com/callback#error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed. Completed 302 Found in 1ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a3500024a'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622443541594a3500024a'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"794a6094ab5f83d32fb612d19a8a0ef2a5a5b9d102d6c57801331945ae7bee19", :_id=>{:$ne=>BSON::ObjectId('5bb622443541594a3500024b')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a3500024b'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 262", "uid"=>"794a6094ab5f83d32fb612d19a8a0ef2a5a5b9d102d6c57801331945ae7bee19", "secret"=>"40341db14817f2af5fb4600ed00a0fffc42949bc31ef4e485107ab549533accd", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622443541594a3500024b'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 262", "uid"=>"794a6094ab5f83d32fb612d19a8a0ef2a5a5b9d102d6c57801331945ae7bee19", "secret"=>"40341db14817f2af5fb4600ed00a0fffc42949bc31ef4e485107ab549533accd", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"794a6094ab5f83d32fb612d19a8a0ef2a5a5b9d102d6c57801331945ae7bee19", "response_type"=>"token", "scope"=>"invalid", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"794a6094ab5f83d32fb612d19a8a0ef2a5a5b9d102d6c57801331945ae7bee19"}).limit(-1) Redirected to https://app.com/callback#error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed. Completed 302 Found in 2ms (ActiveRecord: 0.0ms) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a3500024c'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622443541594a3500024c'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"fd22f0c17d5b53da85531c7d76ca6d33175bf02733918ae0df5c799f5ffd5dfa", :_id=>{:$ne=>BSON::ObjectId('5bb622443541594a3500024d')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a3500024d'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 263", "uid"=>"fd22f0c17d5b53da85531c7d76ca6d33175bf02733918ae0df5c799f5ffd5dfa", "secret"=>"cae48fe539f4cafa0c4b23730265d5a5965bd17e0e6b4d11183ceb78acc62412", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622443541594a3500024d'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 263", "uid"=>"fd22f0c17d5b53da85531c7d76ca6d33175bf02733918ae0df5c799f5ffd5dfa", "secret"=>"cae48fe539f4cafa0c4b23730265d5a5965bd17e0e6b4d11183ceb78acc62412", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"fd22f0c17d5b53da85531c7d76ca6d33175bf02733918ae0df5c799f5ffd5dfa", "response_type"=>"token", "scope"=>"invalid", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"fd22f0c17d5b53da85531c7d76ca6d33175bf02733918ae0df5c799f5ffd5dfa"}).limit(-1) Redirected to https://app.com/callback#error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed. Completed 302 Found in 2ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (7.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (7.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a3500024e'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622443541594a3500024e'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6c7b9dfd572b43d7af5ac803601c74d893aef31f9108a0c8b9014d94de21ac71", :_id=>{:$ne=>BSON::ObjectId('5bb622443541594a3500024f')}}, {:_id=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a3500024f'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 264", "uid"=>"6c7b9dfd572b43d7af5ac803601c74d893aef31f9108a0c8b9014d94de21ac71", "secret"=>"3d4b2cee165099e00d70fd5d9f2f9e3e4c910e4da4296e3a8477bcd9637ad4b3", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622443541594a3500024f'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 264", "uid"=>"6c7b9dfd572b43d7af5ac803601c74d893aef31f9108a0c8b9014d94de21ac71", "secret"=>"3d4b2cee165099e00d70fd5d9f2f9e3e4c910e4da4296e3a8477bcd9637ad4b3", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"6c7b9dfd572b43d7af5ac803601c74d893aef31f9108a0c8b9014d94de21ac71", "response_type"=>"token", "scope"=>"invalid", "redirect_uri"=>"https://app.com/callback"} MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6c7b9dfd572b43d7af5ac803601c74d893aef31f9108a0c8b9014d94de21ac71"}).limit(-1) Redirected to https://app.com/callback#error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed. Completed 302 Found in 4ms (ActiveRecord: 0.0ms) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a35000250'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622443541594a35000250'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"740c662524d38650aee151b4a988234d4ed3ed4af92e4ea9bd0a2ed676cb5cbd", :_id=>{:$ne=>BSON::ObjectId('5bb622443541594a35000251')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a35000251'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 265", "uid"=>"740c662524d38650aee151b4a988234d4ed3ed4af92e4ea9bd0a2ed676cb5cbd", "secret"=>"c24cf1f902f5f5912ebc7be8e9ded1bb6145ae81ddff8d2f8f53213ff6ad366e", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622443541594a35000251'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 265", "uid"=>"740c662524d38650aee151b4a988234d4ed3ed4af92e4ea9bd0a2ed676cb5cbd", "secret"=>"c24cf1f902f5f5912ebc7be8e9ded1bb6145ae81ddff8d2f8f53213ff6ad366e", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"740c662524d38650aee151b4a988234d4ed3ed4af92e4ea9bd0a2ed676cb5cbd", "response_type"=>"token", "scope"=>"invalid", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"740c662524d38650aee151b4a988234d4ed3ed4af92e4ea9bd0a2ed676cb5cbd"}).limit(-1) Redirected to https://app.com/callback#error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed. Completed 302 Found in 2ms (ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a35000252'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622443541594a35000252'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c6d3bcf1186e6b5b98b4b8b44987010bcc3320533135f98d9e2be8ff44437321", :_id=>{:$ne=>BSON::ObjectId('5bb622443541594a35000253')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a35000253'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 266", "uid"=>"c6d3bcf1186e6b5b98b4b8b44987010bcc3320533135f98d9e2be8ff44437321", "secret"=>"2cc9919122ac082d7691fe4aae4192d1fa85df163b864d6a509589b212974a0e", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622443541594a35000253'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "name"=>"Application 266", "uid"=>"c6d3bcf1186e6b5b98b4b8b44987010bcc3320533135f98d9e2be8ff44437321", "secret"=>"2cc9919122ac082d7691fe4aae4192d1fa85df163b864d6a509589b212974a0e", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"c6d3bcf1186e6b5b98b4b8b44987010bcc3320533135f98d9e2be8ff44437321", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c6d3bcf1186e6b5b98b4b8b44987010bcc3320533135f98d9e2be8ff44437321"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622443541594a35000253')}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"6383284da17479053aee0f71d68c1d1f922f294e3bb7b5b5b9796089c95ab418", :_id=>{:$ne=>BSON::ObjectId('5bb622443541594a35000254')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622443541594a35000254'), "application_id"=>BSON::ObjectId('5bb622443541594a35000253'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622443541594a35000252'), "token"=>"6383284da17479053aee0f71d68c1d1f922f294e3bb7b5b5b9796089c95ab418", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622443541594a35000254'), "application_id"=>BSON::ObjectId('5bb622443541594a35000253'), "created_at"=>2018-10-04 14:23:00 UTC, "updated_at"=>2018-10-04 14:23:00 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622443541594a35000252'), "token"=>"6383284da17479053aee0f71d68c1d1f922f294e3bb7b5b5b9796089c95ab418", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=6383284da17479053aee0f71d68c1d1f922f294e3bb7b5b5b9796089c95ab418&token_type=Bearer&expires_in=7200 Completed 302 Found in 8ms (ActiveRecord: 0.0ms) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622453541594a35000255'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622453541594a35000255'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b7cfde649eb034a5ebf5b1d26149481440af0f845588fd59dcb4c2a80ecbb612", :_id=>{:$ne=>BSON::ObjectId('5bb622453541594a35000256')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622453541594a35000256'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Application 267", "uid"=>"b7cfde649eb034a5ebf5b1d26149481440af0f845588fd59dcb4c2a80ecbb612", "secret"=>"877cc97227773c1baeaea25740593d252b3fe16adaa13f78053a789901eea78e", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622453541594a35000256'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Application 267", "uid"=>"b7cfde649eb034a5ebf5b1d26149481440af0f845588fd59dcb4c2a80ecbb612", "secret"=>"877cc97227773c1baeaea25740593d252b3fe16adaa13f78053a789901eea78e", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"b7cfde649eb034a5ebf5b1d26149481440af0f845588fd59dcb4c2a80ecbb612", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b7cfde649eb034a5ebf5b1d26149481440af0f845588fd59dcb4c2a80ecbb612"}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622453541594a35000256')}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"5e9832e6938a08ddbdeec6e67f38d4c07125cadac3346ef5d446cb39c999e64b", :_id=>{:$ne=>BSON::ObjectId('5bb622453541594a35000257')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622453541594a35000257'), "application_id"=>BSON::ObjectId('5bb622453541594a35000256'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622453541594a35000255'), "token"=>"5e9832e6938a08ddbdeec6e67f38d4c07125cadac3346ef5d446cb39c999e64b", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622453541594a35000257'), "application_id"=>BSON::ObjectId('5bb622453541594a35000256'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622453541594a35000255'), "token"=>"5e9832e6938a08ddbdeec6e67f38d4c07125cadac3346ef5d446cb39c999e64b", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=5e9832e6938a08ddbdeec6e67f38d4c07125cadac3346ef5d446cb39c999e64b&token_type=Bearer&expires_in=7200 Completed 302 Found in 26ms (ActiveRecord: 0.0ms) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622453541594a35000258'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622453541594a35000258'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0550faf467fe6feb355d538211894610340a5e82640a82158eb17351bf0f920d", :_id=>{:$ne=>BSON::ObjectId('5bb622453541594a35000259')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622453541594a35000259'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Application 268", "uid"=>"0550faf467fe6feb355d538211894610340a5e82640a82158eb17351bf0f920d", "secret"=>"3a656d819d5ae9f7bd618178b5cb6972f3253df98ebef7844d5f5df283099214", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622453541594a35000259'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Application 268", "uid"=>"0550faf467fe6feb355d538211894610340a5e82640a82158eb17351bf0f920d", "secret"=>"3a656d819d5ae9f7bd618178b5cb6972f3253df98ebef7844d5f5df283099214", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"0550faf467fe6feb355d538211894610340a5e82640a82158eb17351bf0f920d", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0550faf467fe6feb355d538211894610340a5e82640a82158eb17351bf0f920d"}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622453541594a35000259')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"90dea338cd3c1dde8af0b577d215109605c2ae337d62392d088be3396d38f411", :_id=>{:$ne=>BSON::ObjectId('5bb622453541594a3500025a')}}, {:_id=>1}).limit(-1) MONGODB (3.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622453541594a3500025a'), "application_id"=>BSON::ObjectId('5bb622453541594a35000259'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622453541594a35000258'), "token"=>"90dea338cd3c1dde8af0b577d215109605c2ae337d62392d088be3396d38f411", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (4.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622453541594a3500025a'), "application_id"=>BSON::ObjectId('5bb622453541594a35000259'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622453541594a35000258'), "token"=>"90dea338cd3c1dde8af0b577d215109605c2ae337d62392d088be3396d38f411", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=90dea338cd3c1dde8af0b577d215109605c2ae337d62392d088be3396d38f411&token_type=Bearer&expires_in=7200 Completed 302 Found in 10ms (ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622453541594a3500025b'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622453541594a3500025b'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8ad485969032e293439b4f7dc77de3b4fc0d5659ed2b1b7bc75e3a147fe21804", :_id=>{:$ne=>BSON::ObjectId('5bb622453541594a3500025c')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622453541594a3500025c'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Application 269", "uid"=>"8ad485969032e293439b4f7dc77de3b4fc0d5659ed2b1b7bc75e3a147fe21804", "secret"=>"7c0cb2b57790839e87d9097252049b134c3d8e953cdf06ea9b36983d62c17354", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622453541594a3500025c'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Application 269", "uid"=>"8ad485969032e293439b4f7dc77de3b4fc0d5659ed2b1b7bc75e3a147fe21804", "secret"=>"7c0cb2b57790839e87d9097252049b134c3d8e953cdf06ea9b36983d62c17354", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"8ad485969032e293439b4f7dc77de3b4fc0d5659ed2b1b7bc75e3a147fe21804", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8ad485969032e293439b4f7dc77de3b4fc0d5659ed2b1b7bc75e3a147fe21804"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622453541594a3500025c')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"bb651a075ba91086068d2aa18c1516d8a7b55f13456d504e3701996131df87b5", :_id=>{:$ne=>BSON::ObjectId('5bb622453541594a3500025d')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622453541594a3500025d'), "application_id"=>BSON::ObjectId('5bb622453541594a3500025c'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622453541594a3500025b'), "token"=>"bb651a075ba91086068d2aa18c1516d8a7b55f13456d504e3701996131df87b5", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622453541594a3500025d'), "application_id"=>BSON::ObjectId('5bb622453541594a3500025c'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622453541594a3500025b'), "token"=>"bb651a075ba91086068d2aa18c1516d8a7b55f13456d504e3701996131df87b5", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=bb651a075ba91086068d2aa18c1516d8a7b55f13456d504e3701996131df87b5&token_type=Bearer&expires_in=7200 Completed 302 Found in 5ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (3.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (3.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622453541594a3500025e'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622453541594a3500025e'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (2.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"416ae261c4eb96eef97ed0ff7de7021e39156da22775e827560b1f63a0f2d9fd", :_id=>{:$ne=>BSON::ObjectId('5bb622453541594a3500025f')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622453541594a3500025f'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Application 270", "uid"=>"416ae261c4eb96eef97ed0ff7de7021e39156da22775e827560b1f63a0f2d9fd", "secret"=>"1526f379b7f9e0e5949f62c517604f443941d50c9999548c06946977f92853a8", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622453541594a3500025f'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Application 270", "uid"=>"416ae261c4eb96eef97ed0ff7de7021e39156da22775e827560b1f63a0f2d9fd", "secret"=>"1526f379b7f9e0e5949f62c517604f443941d50c9999548c06946977f92853a8", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"416ae261c4eb96eef97ed0ff7de7021e39156da22775e827560b1f63a0f2d9fd", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"416ae261c4eb96eef97ed0ff7de7021e39156da22775e827560b1f63a0f2d9fd"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622453541594a3500025f')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"3ae3ea1ef0e8352f2c59132b8b710139ef51f7bfda9a6c51172636c80289ded0", :_id=>{:$ne=>BSON::ObjectId('5bb622453541594a35000260')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622453541594a35000260'), "application_id"=>BSON::ObjectId('5bb622453541594a3500025f'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622453541594a3500025e'), "token"=>"3ae3ea1ef0e8352f2c59132b8b710139ef51f7bfda9a6c51172636c80289ded0", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622453541594a35000260'), "application_id"=>BSON::ObjectId('5bb622453541594a3500025f'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622453541594a3500025e'), "token"=>"3ae3ea1ef0e8352f2c59132b8b710139ef51f7bfda9a6c51172636c80289ded0", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=3ae3ea1ef0e8352f2c59132b8b710139ef51f7bfda9a6c51172636c80289ded0&token_type=Bearer&expires_in=7200 Completed 302 Found in 10ms (ActiveRecord: 0.0ms) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622453541594a35000261'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622453541594a35000261'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"55639d411bbe5d8b7bbb6a685ac30bcce4d89c133ae5e3c1bc269993e71ff53b", :_id=>{:$ne=>BSON::ObjectId('5bb622453541594a35000262')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622453541594a35000262'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Application 271", "uid"=>"55639d411bbe5d8b7bbb6a685ac30bcce4d89c133ae5e3c1bc269993e71ff53b", "secret"=>"5adde0a6377a63ee25360b752dbfcf9e6e493cf8708f6bbc011e816c59aafc10", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622453541594a35000262'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Application 271", "uid"=>"55639d411bbe5d8b7bbb6a685ac30bcce4d89c133ae5e3c1bc269993e71ff53b", "secret"=>"5adde0a6377a63ee25360b752dbfcf9e6e493cf8708f6bbc011e816c59aafc10", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"55639d411bbe5d8b7bbb6a685ac30bcce4d89c133ae5e3c1bc269993e71ff53b", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"55639d411bbe5d8b7bbb6a685ac30bcce4d89c133ae5e3c1bc269993e71ff53b"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622453541594a35000262')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"490239922e948ed9c911e27cc85bfc93db4795c4237cada811059f33fe4486e9", :_id=>{:$ne=>BSON::ObjectId('5bb622453541594a35000263')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622453541594a35000263'), "application_id"=>BSON::ObjectId('5bb622453541594a35000262'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622453541594a35000261'), "token"=>"490239922e948ed9c911e27cc85bfc93db4795c4237cada811059f33fe4486e9", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622453541594a35000263'), "application_id"=>BSON::ObjectId('5bb622453541594a35000262'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622453541594a35000261'), "token"=>"490239922e948ed9c911e27cc85bfc93db4795c4237cada811059f33fe4486e9", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=490239922e948ed9c911e27cc85bfc93db4795c4237cada811059f33fe4486e9&token_type=Bearer&expires_in=7200 Completed 302 Found in 5ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622453541594a35000264'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622453541594a35000264'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7f24ed1c363b768bf911d1e8b4a7fddd4f2356af883a036f4961e5bd7a4f1bcf", :_id=>{:$ne=>BSON::ObjectId('5bb622453541594a35000265')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622453541594a35000265'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Application 272", "uid"=>"7f24ed1c363b768bf911d1e8b4a7fddd4f2356af883a036f4961e5bd7a4f1bcf", "secret"=>"1e798c064b5cd52cde21a1f8798744bcb69bd3007efc7581136eb0030054da03", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622453541594a35000265'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Application 272", "uid"=>"7f24ed1c363b768bf911d1e8b4a7fddd4f2356af883a036f4961e5bd7a4f1bcf", "secret"=>"1e798c064b5cd52cde21a1f8798744bcb69bd3007efc7581136eb0030054da03", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"7f24ed1c363b768bf911d1e8b4a7fddd4f2356af883a036f4961e5bd7a4f1bcf", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7f24ed1c363b768bf911d1e8b4a7fddd4f2356af883a036f4961e5bd7a4f1bcf"}).limit(-1) MONGODB (3.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622453541594a35000265')}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"12385f47876128b2016f38d5e28d4f726435e1e49147e55397723716bf637852", :_id=>{:$ne=>BSON::ObjectId('5bb622453541594a35000266')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622453541594a35000266'), "application_id"=>BSON::ObjectId('5bb622453541594a35000265'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622453541594a35000264'), "token"=>"12385f47876128b2016f38d5e28d4f726435e1e49147e55397723716bf637852", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622453541594a35000266'), "application_id"=>BSON::ObjectId('5bb622453541594a35000265'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622453541594a35000264'), "token"=>"12385f47876128b2016f38d5e28d4f726435e1e49147e55397723716bf637852", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=12385f47876128b2016f38d5e28d4f726435e1e49147e55397723716bf637852&token_type=Bearer&expires_in=7200 Completed 302 Found in 11ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622453541594a35000267'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622453541594a35000267'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6197af0b8d6d96e1ec672c8b6578658c955ced15eccdd532e5538b9cd27cc25c", :_id=>{:$ne=>BSON::ObjectId('5bb622453541594a35000268')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622453541594a35000268'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Application 273", "uid"=>"6197af0b8d6d96e1ec672c8b6578658c955ced15eccdd532e5538b9cd27cc25c", "secret"=>"059a4bdfd588f58a6d25727b6e7ff297e47bee526b11668cb0d9c0c08b935ca2", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622453541594a35000268'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Application 273", "uid"=>"6197af0b8d6d96e1ec672c8b6578658c955ced15eccdd532e5538b9cd27cc25c", "secret"=>"059a4bdfd588f58a6d25727b6e7ff297e47bee526b11668cb0d9c0c08b935ca2", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"6197af0b8d6d96e1ec672c8b6578658c955ced15eccdd532e5538b9cd27cc25c", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6197af0b8d6d96e1ec672c8b6578658c955ced15eccdd532e5538b9cd27cc25c"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622453541594a35000268')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"3a216ab2215edcf55669f3f9c767c7a780323f5090f6f5a4c5f5306efbfe76f9", :_id=>{:$ne=>BSON::ObjectId('5bb622453541594a35000269')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622453541594a35000269'), "application_id"=>BSON::ObjectId('5bb622453541594a35000268'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622453541594a35000267'), "token"=>"3a216ab2215edcf55669f3f9c767c7a780323f5090f6f5a4c5f5306efbfe76f9", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622453541594a35000269'), "application_id"=>BSON::ObjectId('5bb622453541594a35000268'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622453541594a35000267'), "token"=>"3a216ab2215edcf55669f3f9c767c7a780323f5090f6f5a4c5f5306efbfe76f9", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=3a216ab2215edcf55669f3f9c767c7a780323f5090f6f5a4c5f5306efbfe76f9&token_type=Bearer&expires_in=7200 Completed 302 Found in 5ms (ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622453541594a3500026a'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622453541594a3500026a'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b26a467d1bf8f85be9b03118ac522f7121541ee855753a71439fa5dcf22f4b5e", :_id=>{:$ne=>BSON::ObjectId('5bb622453541594a3500026b')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622453541594a3500026b'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Application 274", "uid"=>"b26a467d1bf8f85be9b03118ac522f7121541ee855753a71439fa5dcf22f4b5e", "secret"=>"a3f1b2e543ca7c3a747f6c6cb4f0035a1dfa03702876a934001375aec749c092", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622453541594a3500026b'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Application 274", "uid"=>"b26a467d1bf8f85be9b03118ac522f7121541ee855753a71439fa5dcf22f4b5e", "secret"=>"a3f1b2e543ca7c3a747f6c6cb4f0035a1dfa03702876a934001375aec749c092", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"b26a467d1bf8f85be9b03118ac522f7121541ee855753a71439fa5dcf22f4b5e", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b26a467d1bf8f85be9b03118ac522f7121541ee855753a71439fa5dcf22f4b5e"}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622453541594a3500026b')}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"a8f438b0f0e356832da7c431893f6dac1fab73c9d916592ea8e66bdd63e3f317", :_id=>{:$ne=>BSON::ObjectId('5bb622453541594a3500026c')}}, {:_id=>1}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622453541594a3500026c'), "application_id"=>BSON::ObjectId('5bb622453541594a3500026b'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622453541594a3500026a'), "token"=>"a8f438b0f0e356832da7c431893f6dac1fab73c9d916592ea8e66bdd63e3f317", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (2.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622453541594a3500026c'), "application_id"=>BSON::ObjectId('5bb622453541594a3500026b'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622453541594a3500026a'), "token"=>"a8f438b0f0e356832da7c431893f6dac1fab73c9d916592ea8e66bdd63e3f317", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=a8f438b0f0e356832da7c431893f6dac1fab73c9d916592ea8e66bdd63e3f317&token_type=Bearer&expires_in=7200 Completed 302 Found in 12ms (ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622453541594a3500026d'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622453541594a3500026d'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"88b13f3a51ae88b281e3869969e9678c0340defce8965774d16c5c6fd3aa6ceb", :_id=>{:$ne=>BSON::ObjectId('5bb622453541594a3500026e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622453541594a3500026e'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Application 275", "uid"=>"88b13f3a51ae88b281e3869969e9678c0340defce8965774d16c5c6fd3aa6ceb", "secret"=>"be6b66d11cdaff907c997ac0c59304e752cd63a3ccf8c051ff2a36a2d363fa72", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622453541594a3500026e'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Application 275", "uid"=>"88b13f3a51ae88b281e3869969e9678c0340defce8965774d16c5c6fd3aa6ceb", "secret"=>"be6b66d11cdaff907c997ac0c59304e752cd63a3ccf8c051ff2a36a2d363fa72", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"88b13f3a51ae88b281e3869969e9678c0340defce8965774d16c5c6fd3aa6ceb", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"88b13f3a51ae88b281e3869969e9678c0340defce8965774d16c5c6fd3aa6ceb"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622453541594a3500026e')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"8dad218f0db0ec5de20250c0ff60d71d0e45c3dcec52ff13fd02a31781793b90", :_id=>{:$ne=>BSON::ObjectId('5bb622453541594a3500026f')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622453541594a3500026f'), "application_id"=>BSON::ObjectId('5bb622453541594a3500026e'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622453541594a3500026d'), "token"=>"8dad218f0db0ec5de20250c0ff60d71d0e45c3dcec52ff13fd02a31781793b90", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622453541594a3500026f'), "application_id"=>BSON::ObjectId('5bb622453541594a3500026e'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622453541594a3500026d'), "token"=>"8dad218f0db0ec5de20250c0ff60d71d0e45c3dcec52ff13fd02a31781793b90", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=8dad218f0db0ec5de20250c0ff60d71d0e45c3dcec52ff13fd02a31781793b90&token_type=Bearer&expires_in=7200 Completed 302 Found in 5ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622453541594a35000270'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622453541594a35000270'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e8f33115bfd9ae8b4153d0f238b0a688d090d6e383a51ff3cbc7075a7465d48f", :_id=>{:$ne=>BSON::ObjectId('5bb622453541594a35000271')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622453541594a35000271'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Application 276", "uid"=>"e8f33115bfd9ae8b4153d0f238b0a688d090d6e383a51ff3cbc7075a7465d48f", "secret"=>"62b5427210197aceac2938c0cbeb9ab8390b6afe6a2e7005ef7f8a187bbcd1ea", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622453541594a35000271'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Application 276", "uid"=>"e8f33115bfd9ae8b4153d0f238b0a688d090d6e383a51ff3cbc7075a7465d48f", "secret"=>"62b5427210197aceac2938c0cbeb9ab8390b6afe6a2e7005ef7f8a187bbcd1ea", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"e8f33115bfd9ae8b4153d0f238b0a688d090d6e383a51ff3cbc7075a7465d48f", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e8f33115bfd9ae8b4153d0f238b0a688d090d6e383a51ff3cbc7075a7465d48f"}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622453541594a35000271')}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"0a9c55c8d3193dc3d3e89ad1a66465506d5403e7f85ec99b6f2f1efbc2472d14", :_id=>{:$ne=>BSON::ObjectId('5bb622453541594a35000272')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622453541594a35000272'), "application_id"=>BSON::ObjectId('5bb622453541594a35000271'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622453541594a35000270'), "token"=>"0a9c55c8d3193dc3d3e89ad1a66465506d5403e7f85ec99b6f2f1efbc2472d14", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622453541594a35000272'), "application_id"=>BSON::ObjectId('5bb622453541594a35000271'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622453541594a35000270'), "token"=>"0a9c55c8d3193dc3d3e89ad1a66465506d5403e7f85ec99b6f2f1efbc2472d14", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=0a9c55c8d3193dc3d3e89ad1a66465506d5403e7f85ec99b6f2f1efbc2472d14&token_type=Bearer&expires_in=7200 Completed 302 Found in 8ms (ActiveRecord: 0.0ms) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622453541594a35000273'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622453541594a35000273'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"75195f3df4b171e1ceac959192e59d517ae79cd81ace3002d131a2a66d2fb3d3", :_id=>{:$ne=>BSON::ObjectId('5bb622453541594a35000274')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622453541594a35000274'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Application 277", "uid"=>"75195f3df4b171e1ceac959192e59d517ae79cd81ace3002d131a2a66d2fb3d3", "secret"=>"465805f6df98c3c12742c6b0a3fc58747e571120df2c9a2108c10fb278a8615d", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622453541594a35000274'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Application 277", "uid"=>"75195f3df4b171e1ceac959192e59d517ae79cd81ace3002d131a2a66d2fb3d3", "secret"=>"465805f6df98c3c12742c6b0a3fc58747e571120df2c9a2108c10fb278a8615d", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"75195f3df4b171e1ceac959192e59d517ae79cd81ace3002d131a2a66d2fb3d3", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"75195f3df4b171e1ceac959192e59d517ae79cd81ace3002d131a2a66d2fb3d3"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622453541594a35000274')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"fb44d20241d9dacda4c9dcdfdfa3cbfeb96c43741fa84128f7708a8623de4254", :_id=>{:$ne=>BSON::ObjectId('5bb622453541594a35000275')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622453541594a35000275'), "application_id"=>BSON::ObjectId('5bb622453541594a35000274'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622453541594a35000273'), "token"=>"fb44d20241d9dacda4c9dcdfdfa3cbfeb96c43741fa84128f7708a8623de4254", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622453541594a35000275'), "application_id"=>BSON::ObjectId('5bb622453541594a35000274'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622453541594a35000273'), "token"=>"fb44d20241d9dacda4c9dcdfdfa3cbfeb96c43741fa84128f7708a8623de4254", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=fb44d20241d9dacda4c9dcdfdfa3cbfeb96c43741fa84128f7708a8623de4254&token_type=Bearer&expires_in=7200 Completed 302 Found in 5ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622453541594a35000276'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622453541594a35000276'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (2.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ada0572e050505712dd9cc83f4aa122f4c471d522ce85c09ee419c2254b143ec", :_id=>{:$ne=>BSON::ObjectId('5bb622453541594a35000277')}}, {:_id=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622453541594a35000277'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Application 278", "uid"=>"ada0572e050505712dd9cc83f4aa122f4c471d522ce85c09ee419c2254b143ec", "secret"=>"88a366d47e7f5bb0aaa4fd7682de404bf21b0040245ec7d4a6e89f187dc5bc0d", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622453541594a35000277'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"Application 278", "uid"=>"ada0572e050505712dd9cc83f4aa122f4c471d522ce85c09ee419c2254b143ec", "secret"=>"88a366d47e7f5bb0aaa4fd7682de404bf21b0040245ec7d4a6e89f187dc5bc0d", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"ada0572e050505712dd9cc83f4aa122f4c471d522ce85c09ee419c2254b143ec", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ada0572e050505712dd9cc83f4aa122f4c471d522ce85c09ee419c2254b143ec"}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622453541594a35000277')}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"6d8467b458526048b0d6b303cb6d3ae30209448baada8ea7a179f4dea4bb7dab", :_id=>{:$ne=>BSON::ObjectId('5bb622453541594a35000278')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622453541594a35000278'), "application_id"=>BSON::ObjectId('5bb622453541594a35000277'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622453541594a35000276'), "token"=>"6d8467b458526048b0d6b303cb6d3ae30209448baada8ea7a179f4dea4bb7dab", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622453541594a35000278'), "application_id"=>BSON::ObjectId('5bb622453541594a35000277'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622453541594a35000276'), "token"=>"6d8467b458526048b0d6b303cb6d3ae30209448baada8ea7a179f4dea4bb7dab", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=6d8467b458526048b0d6b303cb6d3ae30209448baada8ea7a179f4dea4bb7dab&token_type=Bearer&expires_in=7200 Completed 302 Found in 9ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (5.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Started GET "/oauth/applications/new" for 127.0.0.1 at 2018-10-04 17:23:01 +0300 Processing by Doorkeeper::ApplicationsController#new as HTML Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_form.html.erb (2.4ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/new.html.erb within layouts/doorkeeper/admin (3.3ms) Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started POST "/oauth/applications" for 127.0.0.1 at 2018-10-04 17:23:01 +0300 Processing by Doorkeeper::ApplicationsController#create as HTML Parameters: {"utf8"=>"✓", "doorkeeper_application"=>{"name"=>"My Application", "redirect_uri"=>"https://example.com", "confidential"=>"0", "scopes"=>""}, "commit"=>"Submit"} MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d66dfbe3c7bba5bcc9737e1c4702c768dbbe5c9b9141793124a0157f490f002f", :_id=>{:$ne=>BSON::ObjectId('5bb622453541594a3500027c')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622453541594a3500027c'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"My Application", "uid"=>"d66dfbe3c7bba5bcc9737e1c4702c768dbbe5c9b9141793124a0157f490f002f", "secret"=>"29bfa4de246645e38d30b77fac1b994109a40e94bb962bdfff7e300415d985b8", "redirect_uri"=>"https://example.com", "confidential"=>false, "scopes"=>"", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622453541594a3500027c'), "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "name"=>"My Application", "uid"=>"d66dfbe3c7bba5bcc9737e1c4702c768dbbe5c9b9141793124a0157f490f002f", "secret"=>"29bfa4de246645e38d30b77fac1b994109a40e94bb962bdfff7e300415d985b8", "redirect_uri"=>"https://example.com", "confidential"=>false, "scopes"=>"", "owner_id"=>nil}) Redirected to http://www.example.com/oauth/applications/5bb622453541594a3500027c Completed 302 Found in 6ms (ActiveRecord: 0.0ms) Started GET "/oauth/applications/5bb622453541594a3500027c" for 127.0.0.1 at 2018-10-04 17:23:01 +0300 Processing by Doorkeeper::ApplicationsController#show as HTML Parameters: {"id"=>"5bb622453541594a3500027c"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622453541594a3500027c')}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (0.3ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/show.html.erb within layouts/doorkeeper/admin (1.3ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.0ms) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Started GET "/oauth/applications/new" for 127.0.0.1 at 2018-10-04 17:23:01 +0300 Processing by Doorkeeper::ApplicationsController#new as HTML Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_form.html.erb (2.2ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/new.html.erb within layouts/doorkeeper/admin (2.5ms) Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST "/oauth/applications" for 127.0.0.1 at 2018-10-04 17:23:01 +0300 Processing by Doorkeeper::ApplicationsController#create as HTML Parameters: {"utf8"=>"✓", "doorkeeper_application"=>{"name"=>"", "redirect_uri"=>"", "confidential"=>"0", "scopes"=>""}, "commit"=>"Submit"} MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"9bf5d258ba8cf8279816438b7539ef59c3e8c0d1ca0832c458a1f71ab27ea6f5", :_id=>{:$ne=>BSON::ObjectId('5bb622453541594a3500027e')}}, {:_id=>1}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_form.html.erb (4.9ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/new.html.erb within layouts/doorkeeper/admin (5.3ms) Completed 200 OK in 12ms (Views: 7.2ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"8067c519659b364f39f03c531b07c7b4059a764a1459d56d7f91f77d4d5fab16", :_id=>{:$ne=>BSON::ObjectId('5bb622453541594a3500027f')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622453541594a3500027f'), "application_id"=>nil, "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "resource_owner_id"=>nil, "token"=>"8067c519659b364f39f03c531b07c7b4059a764a1459d56d7f91f77d4d5fab16", "expires_in"=>100, "scopes"=>"phone"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622453541594a3500027f'), "application_id"=>nil, "created_at"=>2018-10-04 14:23:01 UTC, "updated_at"=>2018-10-04 14:23:01 UTC, "resource_owner_id"=>nil, "token"=>"8067c519659b364f39f03c531b07c7b4059a764a1459d56d7f91f77d4d5fab16", "expires_in"=>100, "scopes"=>"phone"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Filter chain halted as # rendered or redirected Completed 404 Not Found in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Filter chain halted as # rendered or redirected Completed 403 Forbidden in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Rendered text template (0.0ms) Filter chain halted as # rendered or redirected Completed 403 Forbidden in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Rendered text template (0.0ms) Filter chain halted as # rendered or redirected Completed 404 Not Found in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Filter chain halted as :doorkeeper_authorize! rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Rendered text template (0.0ms) Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"bearer_token"=>"1A2BC3"} Rendered text template (0.1ms) Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) Processing by AnonymousController#index as HTML Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#show as HTML Parameters: {"access_token"=>"[FILTERED]", "id"=>"4"} Filter chain halted as :doorkeeper_authorize! rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Filter chain halted as :doorkeeper_authorize! rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#show as HTML Parameters: {"access_token"=>"[FILTERED]", "id"=>"4"} Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Rendered text template (0.0ms) Filter chain halted as :doorkeeper_authorize! rendered or redirected Completed 401 Unauthorized in 7ms (Views: 6.1ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Filter chain halted as :doorkeeper_authorize! rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Filter chain halted as # rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8e55cf50bdf6565bf67cfda15204091abc04f8607333fb1d8eb8f836f45e08e4", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a35000281')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a35000281'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 279", "uid"=>"8e55cf50bdf6565bf67cfda15204091abc04f8607333fb1d8eb8f836f45e08e4", "secret"=>"38a1454ed8807560d0f377cad891f9d65adbcfdaee4f57a711d8b37214d1890e", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a35000281'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 279", "uid"=>"8e55cf50bdf6565bf67cfda15204091abc04f8607333fb1d8eb8f836f45e08e4", "secret"=>"38a1454ed8807560d0f377cad891f9d65adbcfdaee4f57a711d8b37214d1890e", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"8d3d4b459d3989971c3233b9d6d5d8afecbfb10e5c37ce2ce91b08023f4237c0", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a35000280')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"9c12e36b611bbc12c6034b6da08782677b24329c51a4bc34727dcc8b826bd638", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a35000283')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a35000283'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 280", "uid"=>"9c12e36b611bbc12c6034b6da08782677b24329c51a4bc34727dcc8b826bd638", "secret"=>"e328f15c50b67364d6a413814d40e52469a8d4b9cc987d7cd0ca2bb539719b22", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a35000283'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 280", "uid"=>"9c12e36b611bbc12c6034b6da08782677b24329c51a4bc34727dcc8b826bd638", "secret"=>"e328f15c50b67364d6a413814d40e52469a8d4b9cc987d7cd0ca2bb539719b22", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"f974f68f55926f8549d202363824cacda7efb4f93f89a7e51432d3cebe94d0c9", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a35000282')}}, {:_id=>1}).limit(-1) MONGODB (2.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a35000282'), "application_id"=>BSON::ObjectId('5bb622463541594a35000283'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>28, "token"=>"f974f68f55926f8549d202363824cacda7efb4f93f89a7e51432d3cebe94d0c9", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (3.0ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622463541594a35000282'), "application_id"=>BSON::ObjectId('5bb622463541594a35000283'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>28, "token"=>"f974f68f55926f8549d202363824cacda7efb4f93f89a7e51432d3cebe94d0c9", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (1.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>nil, :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a35000282')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e0e4aadb88bcdf5468e6b7bd4be9460e6adf1d96d3c08974a61af84556dc0d2b", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a35000285')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a35000285'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 281", "uid"=>"e0e4aadb88bcdf5468e6b7bd4be9460e6adf1d96d3c08974a61af84556dc0d2b", "secret"=>"f49102ca6f46bd494498a7b25321ec11327f5e8d20ef8297e5ce1f2524471359", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a35000285'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 281", "uid"=>"e0e4aadb88bcdf5468e6b7bd4be9460e6adf1d96d3c08974a61af84556dc0d2b", "secret"=>"f49102ca6f46bd494498a7b25321ec11327f5e8d20ef8297e5ce1f2524471359", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"bafc37431d82b18809bb5e19bd3206eddb5a303ba99fa5d66791c76ecc86c4ca", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a35000284')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"29a3e93afd7fe3641069198c52c1e84980ca547b35d763fb3f210c41f926f609", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a35000287')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a35000287'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 282", "uid"=>"29a3e93afd7fe3641069198c52c1e84980ca547b35d763fb3f210c41f926f609", "secret"=>"179afa05d1a351ed89605adc87ca43e6ae2bcaa7845e266234a4963a6e40f679", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (4.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a35000287'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 282", "uid"=>"29a3e93afd7fe3641069198c52c1e84980ca547b35d763fb3f210c41f926f609", "secret"=>"179afa05d1a351ed89605adc87ca43e6ae2bcaa7845e266234a4963a6e40f679", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"5ce6783c12b26322236caa81b56da22ce05459ac3de5f791f913e9d0ad5b904a", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a35000286')}}, {:_id=>1}).limit(-1) MONGODB (4.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c2b6b959b95ebd591fac29034cdcad23b5507287740ff4648b48f2d3694ae9c4", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a35000289')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a35000289'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 283", "uid"=>"c2b6b959b95ebd591fac29034cdcad23b5507287740ff4648b48f2d3694ae9c4", "secret"=>"8335dc7d609598fae083744c52145790a6340768974cb86378b315ab83d8b644", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a35000289'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 283", "uid"=>"c2b6b959b95ebd591fac29034cdcad23b5507287740ff4648b48f2d3694ae9c4", "secret"=>"8335dc7d609598fae083744c52145790a6340768974cb86378b315ab83d8b644", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"c8fc63dcbd8b8a98d3a1d6e1c9d4dd7d800e1b7b47887cfffd859823791486e4", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a35000288')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4eb99acb126e888f850151858c49653dbac8df3beb56f9ccc71e4915dcd850ec", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a3500028b')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a3500028b'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 284", "uid"=>"4eb99acb126e888f850151858c49653dbac8df3beb56f9ccc71e4915dcd850ec", "secret"=>"af9fd94d0e11990e9938b93b724b16634108940d8b169bdfb99f9847212ae9ab", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a3500028b'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 284", "uid"=>"4eb99acb126e888f850151858c49653dbac8df3beb56f9ccc71e4915dcd850ec", "secret"=>"af9fd94d0e11990e9938b93b724b16634108940d8b169bdfb99f9847212ae9ab", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"50644ded16af69fe5d1c03128a2bae85f864710b47316a234b1ce4b5aac36dfd", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a3500028a')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (3.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (3.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b7e14e3528b9fd8717ed2111e7be189d4e9e86979544b12f77a4850531f154b5", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a3500028d')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a3500028d'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 285", "uid"=>"b7e14e3528b9fd8717ed2111e7be189d4e9e86979544b12f77a4850531f154b5", "secret"=>"336e10739867c43f26fce6843e2b686132b1ac5a84925acc101481ccfaee4d54", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a3500028d'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 285", "uid"=>"b7e14e3528b9fd8717ed2111e7be189d4e9e86979544b12f77a4850531f154b5", "secret"=>"336e10739867c43f26fce6843e2b686132b1ac5a84925acc101481ccfaee4d54", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"f4279aadaeb89de2c34a2d0ef27bc0deb8bb7525a479f33c9c75d3583fb3e27a", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a3500028c')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a3500028c'), "application_id"=>BSON::ObjectId('5bb622463541594a3500028d'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>33, "token"=>"f4279aadaeb89de2c34a2d0ef27bc0deb8bb7525a479f33c9c75d3583fb3e27a", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622463541594a3500028c'), "application_id"=>BSON::ObjectId('5bb622463541594a3500028d'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>33, "token"=>"f4279aadaeb89de2c34a2d0ef27bc0deb8bb7525a479f33c9c75d3583fb3e27a", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f732e72a4c982e5ceaeefc1a47feee0cdc4977d99ea460c47d9a8e069da10663", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a3500028f')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a3500028f'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 286", "uid"=>"f732e72a4c982e5ceaeefc1a47feee0cdc4977d99ea460c47d9a8e069da10663", "secret"=>"b521daab7e2bd442b894565aa76eaf5e15645e396d865db4394f9e9b5a5c8fee", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a3500028f'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 286", "uid"=>"f732e72a4c982e5ceaeefc1a47feee0cdc4977d99ea460c47d9a8e069da10663", "secret"=>"b521daab7e2bd442b894565aa76eaf5e15645e396d865db4394f9e9b5a5c8fee", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"c3ad956de57f9cb82988a1ea5398c7704b684b19bcc014928698d93b1aa07d46", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a3500028e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a3500028e'), "application_id"=>BSON::ObjectId('5bb622463541594a3500028f'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>34, "token"=>"c3ad956de57f9cb82988a1ea5398c7704b684b19bcc014928698d93b1aa07d46", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622463541594a3500028e'), "application_id"=>BSON::ObjectId('5bb622463541594a3500028f'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>34, "token"=>"c3ad956de57f9cb82988a1ea5398c7704b684b19bcc014928698d93b1aa07d46", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"f4279aadaeb89de2c34a2d0ef27bc0deb8bb7525a479f33c9c75d3583fb3e27a", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a3500028e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1b7f72caa6da1b6bdbb52aa87f933b0ff028d80415f2bccf296a485eb9af2a0d", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a35000291')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a35000291'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 287", "uid"=>"1b7f72caa6da1b6bdbb52aa87f933b0ff028d80415f2bccf296a485eb9af2a0d", "secret"=>"a0f30c31c86152ec6b887b3713b0bf03c4f70e34d950dc853a5b929197973689", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a35000291'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 287", "uid"=>"1b7f72caa6da1b6bdbb52aa87f933b0ff028d80415f2bccf296a485eb9af2a0d", "secret"=>"a0f30c31c86152ec6b887b3713b0bf03c4f70e34d950dc853a5b929197973689", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"9da531db2850e0c195b6df122e453a4b1c4d810e368e905033a0dfa8a9f7cbb1", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a35000290')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a35000290'), "application_id"=>BSON::ObjectId('5bb622463541594a35000291'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>35, "token"=>"9da531db2850e0c195b6df122e453a4b1c4d810e368e905033a0dfa8a9f7cbb1", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622463541594a35000290'), "application_id"=>BSON::ObjectId('5bb622463541594a35000291'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>35, "token"=>"9da531db2850e0c195b6df122e453a4b1c4d810e368e905033a0dfa8a9f7cbb1", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5611c99dcd6678e06879fc215dd6e4fed2b2bfd83caa3c6cf59ad23ed9ed67c1", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a35000293')}}, {:_id=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a35000293'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 288", "uid"=>"5611c99dcd6678e06879fc215dd6e4fed2b2bfd83caa3c6cf59ad23ed9ed67c1", "secret"=>"23498dc667f1f4fa8c96de5f1d966ee4ee34a5713d90301ef011dedd214859b1", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a35000293'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 288", "uid"=>"5611c99dcd6678e06879fc215dd6e4fed2b2bfd83caa3c6cf59ad23ed9ed67c1", "secret"=>"23498dc667f1f4fa8c96de5f1d966ee4ee34a5713d90301ef011dedd214859b1", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"30c3125887d28c720d5d95e743a8f1907c866068896f2e17c4e154f13317ee58", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a35000292')}}, {:_id=>1}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a35000292'), "application_id"=>BSON::ObjectId('5bb622463541594a35000293'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>36, "token"=>"30c3125887d28c720d5d95e743a8f1907c866068896f2e17c4e154f13317ee58", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (2.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622463541594a35000292'), "application_id"=>BSON::ObjectId('5bb622463541594a35000293'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>36, "token"=>"30c3125887d28c720d5d95e743a8f1907c866068896f2e17c4e154f13317ee58", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"9da531db2850e0c195b6df122e453a4b1c4d810e368e905033a0dfa8a9f7cbb1", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a35000292')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d8ca7da126fb48cc0ef9b4a05596da840cdb54bea8737d7028ed363960a2c4da", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a35000295')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a35000295'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 289", "uid"=>"d8ca7da126fb48cc0ef9b4a05596da840cdb54bea8737d7028ed363960a2c4da", "secret"=>"ae0f502d3b4b2517345d4f495000c7e2e2fa97e07f0c225a462f73cc44d1acb0", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a35000295'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 289", "uid"=>"d8ca7da126fb48cc0ef9b4a05596da840cdb54bea8737d7028ed363960a2c4da", "secret"=>"ae0f502d3b4b2517345d4f495000c7e2e2fa97e07f0c225a462f73cc44d1acb0", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8cc73f6856a6be9f26d4bff1f3ef6799227d3758b3a5793b1c4a8e845a4fc8c6", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a35000297')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a35000297'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 290", "uid"=>"8cc73f6856a6be9f26d4bff1f3ef6799227d3758b3a5793b1c4a8e845a4fc8c6", "secret"=>"56f27b90c98a2b7a06e9329dc348d0d0c612a175d113e414160146564d79727d", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a35000297'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 290", "uid"=>"8cc73f6856a6be9f26d4bff1f3ef6799227d3758b3a5793b1c4a8e845a4fc8c6", "secret"=>"56f27b90c98a2b7a06e9329dc348d0d0c612a175d113e414160146564d79727d", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"cb92a8fca94a6bd58b1135a5ffd07669b7b6d1ebbde60704a79138863d7f4736", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a35000299')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a35000299'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 291", "uid"=>"cb92a8fca94a6bd58b1135a5ffd07669b7b6d1ebbde60704a79138863d7f4736", "secret"=>"32d02a09d4df0fb59d9cecb6edff0a0ead4a11f279f037b36385b2db4ff3fe37", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a35000299'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 291", "uid"=>"cb92a8fca94a6bd58b1135a5ffd07669b7b6d1ebbde60704a79138863d7f4736", "secret"=>"32d02a09d4df0fb59d9cecb6edff0a0ead4a11f279f037b36385b2db4ff3fe37", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"a7b7cf41646839f381fe7963aa7321eee8734b353bd5267f9c8ce9daeba1dc9a", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a35000298')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a35000298'), "application_id"=>BSON::ObjectId('5bb622463541594a35000299'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>39, "token"=>"a7b7cf41646839f381fe7963aa7321eee8734b353bd5267f9c8ce9daeba1dc9a", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622463541594a35000298'), "application_id"=>BSON::ObjectId('5bb622463541594a35000299'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>39, "token"=>"a7b7cf41646839f381fe7963aa7321eee8734b353bd5267f9c8ce9daeba1dc9a", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c97c11ec2a5b18cb8aeaf7b81e748caf6ff960452d7f26c0578299368018c76e", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a3500029b')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a3500029b'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 292", "uid"=>"c97c11ec2a5b18cb8aeaf7b81e748caf6ff960452d7f26c0578299368018c76e", "secret"=>"2b5a4a9e0e402543842cb207f2cf8b2b18d5436a51600b1f2ea05c5ebb7bf93e", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a3500029b'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 292", "uid"=>"c97c11ec2a5b18cb8aeaf7b81e748caf6ff960452d7f26c0578299368018c76e", "secret"=>"2b5a4a9e0e402543842cb207f2cf8b2b18d5436a51600b1f2ea05c5ebb7bf93e", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"6ef2dd909ec227378e5b58518b3fa62034d40273c2d5c343c5619c9b2171358c", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a3500029a')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a3500029a'), "application_id"=>BSON::ObjectId('5bb622463541594a3500029b'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>40, "token"=>"6ef2dd909ec227378e5b58518b3fa62034d40273c2d5c343c5619c9b2171358c", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622463541594a3500029a'), "application_id"=>BSON::ObjectId('5bb622463541594a3500029b'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>40, "token"=>"6ef2dd909ec227378e5b58518b3fa62034d40273c2d5c343c5619c9b2171358c", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622463541594a3500029a')}, :u=>{"_id"=>BSON::ObjectId('5bb622463541594a3500029a'), "application_id"=>BSON::ObjectId('5bb622463541594a3500029b'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>40, "token"=>"6ef2dd909ec227378e5b58518b3fa62034d40273c2d5c343c5619c9b2171358c", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb622463541594a3500029a')}, {"_id"=>BSON::ObjectId('5bb622463541594a3500029a'), "application_id"=>BSON::ObjectId('5bb622463541594a3500029b'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>40, "token"=>"6ef2dd909ec227378e5b58518b3fa62034d40273c2d5c343c5619c9b2171358c", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0e59ee99b1c73c4a75863ea7d44cb7d090ead9072d918bd635bebf5094f22d8f", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a3500029c')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a3500029c'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 293", "uid"=>"0e59ee99b1c73c4a75863ea7d44cb7d090ead9072d918bd635bebf5094f22d8f", "secret"=>"71df69a2104542a3c767f79c431d15c3002d6014caca4596e1ad018e2319aa58", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a3500029c'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 293", "uid"=>"0e59ee99b1c73c4a75863ea7d44cb7d090ead9072d918bd635bebf5094f22d8f", "secret"=>"71df69a2104542a3c767f79c431d15c3002d6014caca4596e1ad018e2319aa58", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a3500029d'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622463541594a3500029d'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:02 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:23:02 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:02 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=0e59ee99b1c73c4a75863ea7d44cb7d090ead9072d918bd635bebf5094f22d8f&response_type=token" for 127.0.0.1 at 2018-10-04 17:23:02 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"0e59ee99b1c73c4a75863ea7d44cb7d090ead9072d918bd635bebf5094f22d8f", "response_type"=>"token"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (4.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0e59ee99b1c73c4a75863ea7d44cb7d090ead9072d918bd635bebf5094f22d8f"}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/error.html.erb within layouts/doorkeeper/application (0.4ms) Completed 200 OK in 9ms (Views: 2.6ms | ActiveRecord: 0.0ms) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.1ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2548e311a6648deb231737bed48e772a183cfe607fc67c1de8b3aaf11109acfd", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a3500029e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a3500029e'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 294", "uid"=>"2548e311a6648deb231737bed48e772a183cfe607fc67c1de8b3aaf11109acfd", "secret"=>"f9d2638f4e5f1da8d17d838eed0df0cb6dd1ec422e4ea2106c4327e0b2d20262", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a3500029e'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 294", "uid"=>"2548e311a6648deb231737bed48e772a183cfe607fc67c1de8b3aaf11109acfd", "secret"=>"f9d2638f4e5f1da8d17d838eed0df0cb6dd1ec422e4ea2106c4327e0b2d20262", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a3500029f'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622463541594a3500029f'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:02 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:23:02 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:02 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=token" for 127.0.0.1 at 2018-10-04 17:23:02 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"redirect_uri"=>"https://app.com/callback", "response_type"=>"token"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>""}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/error.html.erb within layouts/doorkeeper/application (0.2ms) Completed 200 OK in 4ms (Views: 1.6ms | ActiveRecord: 0.0ms) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"31975e91349110a50b0f1f4f563ad1c6cdf7be34ce9e4800a115f503dd06820a", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002a0')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002a0'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 295", "uid"=>"31975e91349110a50b0f1f4f563ad1c6cdf7be34ce9e4800a115f503dd06820a", "secret"=>"64c82925c49427f12be0d187ffe98eecb82018018924c937f12f687feedd9f0e", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002a0'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 295", "uid"=>"31975e91349110a50b0f1f4f563ad1c6cdf7be34ce9e4800a115f503dd06820a", "secret"=>"64c82925c49427f12be0d187ffe98eecb82018018924c937f12f687feedd9f0e", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002a1'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002a1'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:02 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:23:02 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:02 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=invalid&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=token" for 127.0.0.1 at 2018-10-04 17:23:02 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"invalid", "redirect_uri"=>"https://app.com/callback", "response_type"=>"token"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"invalid"}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/error.html.erb within layouts/doorkeeper/application (0.2ms) Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.0ms) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"56a2ba3763f00a9049d93617096ea56db06f54cc27bb2e4b5a9561f0596fe9ff", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002a2')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002a2'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 296", "uid"=>"56a2ba3763f00a9049d93617096ea56db06f54cc27bb2e4b5a9561f0596fe9ff", "secret"=>"0749c4d9c01a03c92ed488f87bb586456b8e49725be044030e8b6e84293865c3", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002a2'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 296", "uid"=>"56a2ba3763f00a9049d93617096ea56db06f54cc27bb2e4b5a9561f0596fe9ff", "secret"=>"0749c4d9c01a03c92ed488f87bb586456b8e49725be044030e8b6e84293865c3", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002a3'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002a3'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:02 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:23:02 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:02 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=56a2ba3763f00a9049d93617096ea56db06f54cc27bb2e4b5a9561f0596fe9ff&redirect_uri=invalid&response_type=token" for 127.0.0.1 at 2018-10-04 17:23:02 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"56a2ba3763f00a9049d93617096ea56db06f54cc27bb2e4b5a9561f0596fe9ff", "redirect_uri"=>"invalid", "response_type"=>"token"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"56a2ba3763f00a9049d93617096ea56db06f54cc27bb2e4b5a9561f0596fe9ff"}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/error.html.erb within layouts/doorkeeper/application (0.2ms) Completed 200 OK in 4ms (Views: 1.6ms | ActiveRecord: 0.0ms) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"801551b01bc2ae424dcbc9fb8c0c13975c8901e2fc157c4c21d84e732e791c70", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002a4')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002a4'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 297", "uid"=>"801551b01bc2ae424dcbc9fb8c0c13975c8901e2fc157c4c21d84e732e791c70", "secret"=>"59e72953c1133f11ba3c66fc1836ceaf109391dffcf4ebb3e7e36b8b14f904f2", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002a4'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 297", "uid"=>"801551b01bc2ae424dcbc9fb8c0c13975c8901e2fc157c4c21d84e732e791c70", "secret"=>"59e72953c1133f11ba3c66fc1836ceaf109391dffcf4ebb3e7e36b8b14f904f2", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"55d51f52a2563eb2d18c2fa41f8b9c84e819f4c92861883c8a9cc6e74c00ed25", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002a5')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002a5'), "application_id"=>BSON::ObjectId('5bb622463541594a350002a4'), "created_at"=>2017-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>57, "token"=>"55d51f52a2563eb2d18c2fa41f8b9c84e819f4c92861883c8a9cc6e74c00ed25", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002a5'), "application_id"=>BSON::ObjectId('5bb622463541594a350002a4'), "created_at"=>2017-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>57, "token"=>"55d51f52a2563eb2d18c2fa41f8b9c84e819f4c92861883c8a9cc6e74c00ed25", "expires_in"=>7200}) Processing by Doorkeeper::TokensController#introspect as HTML Parameters: {"token"=>"55d51f52a2563eb2d18c2fa41f8b9c84e819f4c92861883c8a9cc6e74c00ed25"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"55d51f52a2563eb2d18c2fa41f8b9c84e819f4c92861883c8a9cc6e74c00ed25"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"801551b01bc2ae424dcbc9fb8c0c13975c8901e2fc157c4c21d84e732e791c70"}).limit(-1) Completed 200 OK in 2ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1918994016010bd024f6a5642dcea0671f1f47496955c0a1907913cb1d6be029", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002a6')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002a6'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 298", "uid"=>"1918994016010bd024f6a5642dcea0671f1f47496955c0a1907913cb1d6be029", "secret"=>"02fefdcf11703621355f17b0e9e2027bc8462203329085fb6aa9ecbf1fdfb77d", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002a6'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 298", "uid"=>"1918994016010bd024f6a5642dcea0671f1f47496955c0a1907913cb1d6be029", "secret"=>"02fefdcf11703621355f17b0e9e2027bc8462203329085fb6aa9ecbf1fdfb77d", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"ff7476da94188d1ce001b527894cef9e233f9b8cbf49b76563695cef8d12c441", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002a7')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002a7'), "application_id"=>BSON::ObjectId('5bb622463541594a350002a6'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>58, "token"=>"ff7476da94188d1ce001b527894cef9e233f9b8cbf49b76563695cef8d12c441", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002a7'), "application_id"=>BSON::ObjectId('5bb622463541594a350002a6'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>58, "token"=>"ff7476da94188d1ce001b527894cef9e233f9b8cbf49b76563695cef8d12c441", "expires_in"=>7200}) Processing by Doorkeeper::TokensController#introspect as HTML Parameters: {"token"=>"ff7476da94188d1ce001b527894cef9e233f9b8cbf49b76563695cef8d12c441"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"ff7476da94188d1ce001b527894cef9e233f9b8cbf49b76563695cef8d12c441"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1918994016010bd024f6a5642dcea0671f1f47496955c0a1907913cb1d6be029"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622463541594a350002a6')}).limit(-1) Completed 200 OK in 3ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8fd6de8ba9cad6e1b7af542b9d88509db161d2d677a35fe65b50bc8598440bf7", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002a9')}}, {:_id=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002a9'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 299", "uid"=>"8fd6de8ba9cad6e1b7af542b9d88509db161d2d677a35fe65b50bc8598440bf7", "secret"=>"f541625dbef5ed93d667d233a0398b5cb686663aa49af28df6d8a1dae303358a", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002a9'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 299", "uid"=>"8fd6de8ba9cad6e1b7af542b9d88509db161d2d677a35fe65b50bc8598440bf7", "secret"=>"f541625dbef5ed93d667d233a0398b5cb686663aa49af28df6d8a1dae303358a", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"fc8cc5cdfa8c5fcdd28fa73b970de47fa08117eecf896213feebee5af4cb8c37", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002a8')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002a8'), "application_id"=>BSON::ObjectId('5bb622463541594a350002a9'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>59, "token"=>"fc8cc5cdfa8c5fcdd28fa73b970de47fa08117eecf896213feebee5af4cb8c37", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002a8'), "application_id"=>BSON::ObjectId('5bb622463541594a350002a9'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>59, "token"=>"fc8cc5cdfa8c5fcdd28fa73b970de47fa08117eecf896213feebee5af4cb8c37", "expires_in"=>7200}) Processing by Doorkeeper::TokensController#introspect as HTML Parameters: {"token"=>"fc8cc5cdfa8c5fcdd28fa73b970de47fa08117eecf896213feebee5af4cb8c37"} MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"fc8cc5cdfa8c5fcdd28fa73b970de47fa08117eecf896213feebee5af4cb8c37"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"123123"}).limit(-1) Completed 401 Unauthorized in 2ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c90b86c043b3dabc83f12fcb7aafeeb917700d510777b8769706e0535953fb60", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002aa')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002aa'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 300", "uid"=>"c90b86c043b3dabc83f12fcb7aafeeb917700d510777b8769706e0535953fb60", "secret"=>"e51353d930af03282e3b1f0eb6d1423cf53bcc51ed5bf8904fbd42794fed31b6", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002aa'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 300", "uid"=>"c90b86c043b3dabc83f12fcb7aafeeb917700d510777b8769706e0535953fb60", "secret"=>"e51353d930af03282e3b1f0eb6d1423cf53bcc51ed5bf8904fbd42794fed31b6", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"96654d475a3c64c08743b3c6dbc318fb7a56cba9ef01d0ab85aa460ae1446742", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002ab')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002ab'), "application_id"=>BSON::ObjectId('5bb622463541594a350002aa'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>60, "token"=>"96654d475a3c64c08743b3c6dbc318fb7a56cba9ef01d0ab85aa460ae1446742", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002ab'), "application_id"=>BSON::ObjectId('5bb622463541594a350002aa'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>60, "token"=>"96654d475a3c64c08743b3c6dbc318fb7a56cba9ef01d0ab85aa460ae1446742", "expires_in"=>7200}) Processing by Doorkeeper::TokensController#introspect as HTML Parameters: {"token"=>"96654d475a3c64c08743b3c6dbc318fb7a56cba9ef01d0ab85aa460ae1446742"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"96654d475a3c64c08743b3c6dbc318fb7a56cba9ef01d0ab85aa460ae1446742"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"96654d475a3c64c08743b3c6dbc318fb7a56cba9ef01d0ab85aa460ae1446742"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622463541594a350002ab')}, :u=>{"_id"=>BSON::ObjectId('5bb622463541594a350002ab'), "application_id"=>BSON::ObjectId('5bb622463541594a350002aa'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>60, "token"=>"96654d475a3c64c08743b3c6dbc318fb7a56cba9ef01d0ab85aa460ae1446742", "previous_refresh_token"=>"", "expires_in"=>7200}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (2.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622463541594a350002ab')}, {"_id"=>BSON::ObjectId('5bb622463541594a350002ab'), "application_id"=>BSON::ObjectId('5bb622463541594a350002aa'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>60, "token"=>"96654d475a3c64c08743b3c6dbc318fb7a56cba9ef01d0ab85aa460ae1446742", "previous_refresh_token"=>"", "expires_in"=>7200}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622463541594a350002aa')}).limit(-1) Completed 200 OK in 11ms MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2d3dcc96dc0c74658c8167822f5f2912b57897c8925f675ef19a819cbca70647", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002ac')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002ac'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 301", "uid"=>"2d3dcc96dc0c74658c8167822f5f2912b57897c8925f675ef19a819cbca70647", "secret"=>"0f3940e7181dfd81999170b97737df3c14cd746bfa3b03514363d6c1009ccd44", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002ac'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 301", "uid"=>"2d3dcc96dc0c74658c8167822f5f2912b57897c8925f675ef19a819cbca70647", "secret"=>"0f3940e7181dfd81999170b97737df3c14cd746bfa3b03514363d6c1009ccd44", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"9b643737e0da4197849b52ad0a36056542c7e53d57bc4c56ef963272afae8bc9", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002ad')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002ad'), "application_id"=>BSON::ObjectId('5bb622463541594a350002ac'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>61, "token"=>"9b643737e0da4197849b52ad0a36056542c7e53d57bc4c56ef963272afae8bc9", "expires_in"=>7200, "revoked_at"=>2017-10-04 00:00:00 UTC}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002ad'), "application_id"=>BSON::ObjectId('5bb622463541594a350002ac'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>61, "token"=>"9b643737e0da4197849b52ad0a36056542c7e53d57bc4c56ef963272afae8bc9", "expires_in"=>7200, "revoked_at"=>2017-10-04 00:00:00 UTC}) Processing by Doorkeeper::TokensController#introspect as HTML Parameters: {"token"=>"9b643737e0da4197849b52ad0a36056542c7e53d57bc4c56ef963272afae8bc9"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"9b643737e0da4197849b52ad0a36056542c7e53d57bc4c56ef963272afae8bc9"}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2d3dcc96dc0c74658c8167822f5f2912b57897c8925f675ef19a819cbca70647"}).limit(-1) Completed 200 OK in 3ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"de2d66f13177441fe4bde140e9b013baf71018cc642c5d07023ec029424b110f", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002ae')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002ae'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 302", "uid"=>"de2d66f13177441fe4bde140e9b013baf71018cc642c5d07023ec029424b110f", "secret"=>"5053ff8ea9be083c4a9342e4c41f738509c63e366707ea09c3e737cdd413edca", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002ae'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 302", "uid"=>"de2d66f13177441fe4bde140e9b013baf71018cc642c5d07023ec029424b110f", "secret"=>"5053ff8ea9be083c4a9342e4c41f738509c63e366707ea09c3e737cdd413edca", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (2.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2cf93c8bace88fb793dc3963e6799ebfb73ade489491f455f3b471af79130ba1", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002af')}}, {:_id=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002af'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 303", "uid"=>"2cf93c8bace88fb793dc3963e6799ebfb73ade489491f455f3b471af79130ba1", "secret"=>"f47743cfa83dc13ac7503070bc64d106b9f1de98c5261c7774786bbc68b77d8f", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002af'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 303", "uid"=>"2cf93c8bace88fb793dc3963e6799ebfb73ade489491f455f3b471af79130ba1", "secret"=>"f47743cfa83dc13ac7503070bc64d106b9f1de98c5261c7774786bbc68b77d8f", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"5fc1ea480b76198d995c20a8cc801feae023bfadcf2b5e27a0e25dcb906dffe2", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002b0')}}, {:_id=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002b0'), "application_id"=>BSON::ObjectId('5bb622463541594a350002af'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>62, "token"=>"5fc1ea480b76198d995c20a8cc801feae023bfadcf2b5e27a0e25dcb906dffe2", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002b0'), "application_id"=>BSON::ObjectId('5bb622463541594a350002af'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>62, "token"=>"5fc1ea480b76198d995c20a8cc801feae023bfadcf2b5e27a0e25dcb906dffe2", "expires_in"=>7200}) Processing by Doorkeeper::TokensController#introspect as HTML Parameters: {"token"=>"5fc1ea480b76198d995c20a8cc801feae023bfadcf2b5e27a0e25dcb906dffe2"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"5fc1ea480b76198d995c20a8cc801feae023bfadcf2b5e27a0e25dcb906dffe2"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"de2d66f13177441fe4bde140e9b013baf71018cc642c5d07023ec029424b110f"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622463541594a350002af')}).limit(-1) Completed 200 OK in 3ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (8.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (8.9ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"902e27619a6ada1311133754c8e24a462da1510ff765cb93715736c18079458b", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002b2')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002b2'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 304", "uid"=>"902e27619a6ada1311133754c8e24a462da1510ff765cb93715736c18079458b", "secret"=>"aae5de8bb95b4ecd1f152264af4d490384e5a8f7ce974ece4daf9d7516a1e0ec", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002b2'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 304", "uid"=>"902e27619a6ada1311133754c8e24a462da1510ff765cb93715736c18079458b", "secret"=>"aae5de8bb95b4ecd1f152264af4d490384e5a8f7ce974ece4daf9d7516a1e0ec", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d892b337a905c99779edae9abc6a6b48b87e6e293f547afd19aa2bca424d8dcf", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002b1')}}, {:_id=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002b1'), "application_id"=>BSON::ObjectId('5bb622463541594a350002b2'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>63, "token"=>"d892b337a905c99779edae9abc6a6b48b87e6e293f547afd19aa2bca424d8dcf", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002b1'), "application_id"=>BSON::ObjectId('5bb622463541594a350002b2'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>63, "token"=>"d892b337a905c99779edae9abc6a6b48b87e6e293f547afd19aa2bca424d8dcf", "expires_in"=>7200}) Processing by Doorkeeper::TokensController#introspect as HTML Parameters: {"token"=>"d892b337a905c99779edae9abc6a6b48b87e6e293f547afd19aa2bca424d8dcf"} MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d892b337a905c99779edae9abc6a6b48b87e6e293f547afd19aa2bca424d8dcf"}).limit(-1) Completed 401 Unauthorized in 3ms MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"15d03efa99fc1aa854cf929302843a4f85ed1b3a924f2d9df3b3098edfeda7cc", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002b3')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002b3'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 305", "uid"=>"15d03efa99fc1aa854cf929302843a4f85ed1b3a924f2d9df3b3098edfeda7cc", "secret"=>"2df376d1e2fae79af6c8ac778c22ab9680d5d4f0404ee902320c509290a12acb", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002b3'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 305", "uid"=>"15d03efa99fc1aa854cf929302843a4f85ed1b3a924f2d9df3b3098edfeda7cc", "secret"=>"2df376d1e2fae79af6c8ac778c22ab9680d5d4f0404ee902320c509290a12acb", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::TokensController#introspect as HTML Parameters: {"token"=>"2582da40b8e3817dc919a2a1c18eb199"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"2582da40b8e3817dc919a2a1c18eb199"}).limit(-1) MONGODB (5.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"2582da40b8e3817dc919a2a1c18eb199"}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"15d03efa99fc1aa854cf929302843a4f85ed1b3a924f2d9df3b3098edfeda7cc"}).limit(-1) Completed 200 OK in 8ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4245add2f9b839d047567535f238f32d20c087374a2c4144b206927b727c28ad", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002b4')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002b4'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 306", "uid"=>"4245add2f9b839d047567535f238f32d20c087374a2c4144b206927b727c28ad", "secret"=>"74a0e98a481b82f5f30cf07eb176f19b441b13895e20fa6bf87ef766ab7c88f2", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002b4'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 306", "uid"=>"4245add2f9b839d047567535f238f32d20c087374a2c4144b206927b727c28ad", "secret"=>"74a0e98a481b82f5f30cf07eb176f19b441b13895e20fa6bf87ef766ab7c88f2", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"ba52b8546ad5b6efc750b49b82c739ccf79628a90a9d72afa7f05f632563ac0e", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002b5')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002b5'), "application_id"=>nil, "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>64, "token"=>"ba52b8546ad5b6efc750b49b82c739ccf79628a90a9d72afa7f05f632563ac0e", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002b5'), "application_id"=>nil, "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>64, "token"=>"ba52b8546ad5b6efc750b49b82c739ccf79628a90a9d72afa7f05f632563ac0e", "expires_in"=>7200}) Processing by Doorkeeper::TokensController#introspect as HTML Parameters: {"token"=>"ba52b8546ad5b6efc750b49b82c739ccf79628a90a9d72afa7f05f632563ac0e"} MONGODB (9.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"ba52b8546ad5b6efc750b49b82c739ccf79628a90a9d72afa7f05f632563ac0e"}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4245add2f9b839d047567535f238f32d20c087374a2c4144b206927b727c28ad"}).limit(-1) Completed 200 OK in 16ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (3.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (3.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (2.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokensController#revoke as HTML MONGODB (13.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f7227cefaf2252c83a02dfbbdbb7562e9bb79c7895ccdebd2d52ef14f63f3f19", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002b6')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002b6'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 307", "uid"=>"f7227cefaf2252c83a02dfbbdbb7562e9bb79c7895ccdebd2d52ef14f63f3f19", "secret"=>"ae397329fd0663f2a91ac19e22177ced2c98f06b22af2fa9ea47f6b423f32384", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002b6'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 307", "uid"=>"f7227cefaf2252c83a02dfbbdbb7562e9bb79c7895ccdebd2d52ef14f63f3f19", "secret"=>"ae397329fd0663f2a91ac19e22177ced2c98f06b22af2fa9ea47f6b423f32384", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"2313c32c91c5dae230dc4180c3c3b31938aba60488635f23414f2d7c4dd521a2", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002b7')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002b7'), "application_id"=>BSON::ObjectId('5bb622463541594a350002b6'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>65, "token"=>"2313c32c91c5dae230dc4180c3c3b31938aba60488635f23414f2d7c4dd521a2", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002b7'), "application_id"=>BSON::ObjectId('5bb622463541594a350002b6'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>65, "token"=>"2313c32c91c5dae230dc4180c3c3b31938aba60488635f23414f2d7c4dd521a2", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622463541594a350002b7')}, :u=>{"_id"=>BSON::ObjectId('5bb622463541594a350002b7'), "application_id"=>BSON::ObjectId('5bb622463541594a350002b6'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>65, "token"=>"2313c32c91c5dae230dc4180c3c3b31938aba60488635f23414f2d7c4dd521a2", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622463541594a350002b7')}, {"_id"=>BSON::ObjectId('5bb622463541594a350002b7'), "application_id"=>BSON::ObjectId('5bb622463541594a350002b6'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>65, "token"=>"2313c32c91c5dae230dc4180c3c3b31938aba60488635f23414f2d7c4dd521a2", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 22ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622463541594a350002b7')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokensController#revoke as HTML MONGODB (4.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"285a8fb6169a1d67024807ee219d279dcdd89182b6715f961ae32040901c77ab", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002b8')}}, {:_id=>1}).limit(-1) MONGODB (4.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002b8'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 308", "uid"=>"285a8fb6169a1d67024807ee219d279dcdd89182b6715f961ae32040901c77ab", "secret"=>"b064f07c68fcd09ee581aaf8eef2dea8bb9e56f05cba993a7dc06570c916fb06", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (4.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002b8'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 308", "uid"=>"285a8fb6169a1d67024807ee219d279dcdd89182b6715f961ae32040901c77ab", "secret"=>"b064f07c68fcd09ee581aaf8eef2dea8bb9e56f05cba993a7dc06570c916fb06", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (3.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"1a571b93503893a0e3ad3f7e87a0d5398c8ed1926dd38fdbbe7c8ccf65244ed9", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002b9')}}, {:_id=>1}).limit(-1) MONGODB (4.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002b9'), "application_id"=>BSON::ObjectId('5bb622463541594a350002b8'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>66, "token"=>"1a571b93503893a0e3ad3f7e87a0d5398c8ed1926dd38fdbbe7c8ccf65244ed9", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (4.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002b9'), "application_id"=>BSON::ObjectId('5bb622463541594a350002b8'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>66, "token"=>"1a571b93503893a0e3ad3f7e87a0d5398c8ed1926dd38fdbbe7c8ccf65244ed9", "expires_in"=>7200}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622463541594a350002b9')}, :u=>{"_id"=>BSON::ObjectId('5bb622463541594a350002b9'), "application_id"=>BSON::ObjectId('5bb622463541594a350002b8'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>66, "token"=>"1a571b93503893a0e3ad3f7e87a0d5398c8ed1926dd38fdbbe7c8ccf65244ed9", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622463541594a350002b9')}, {"_id"=>BSON::ObjectId('5bb622463541594a350002b9'), "application_id"=>BSON::ObjectId('5bb622463541594a350002b8'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>66, "token"=>"1a571b93503893a0e3ad3f7e87a0d5398c8ed1926dd38fdbbe7c8ccf65244ed9", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 25ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokensController#revoke as HTML MONGODB (6.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3534aacc645027b76307bddead5b34ab0ff2ea0aee5fa825a8eea82c76b775cd", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002ba')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002ba'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 309", "uid"=>"3534aacc645027b76307bddead5b34ab0ff2ea0aee5fa825a8eea82c76b775cd", "secret"=>"eb0391551999ec4ff632aa9eba5651dcfb0df32b27b7a37f72d70723fec540dd", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002ba'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 309", "uid"=>"3534aacc645027b76307bddead5b34ab0ff2ea0aee5fa825a8eea82c76b775cd", "secret"=>"eb0391551999ec4ff632aa9eba5651dcfb0df32b27b7a37f72d70723fec540dd", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (2.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"9cbdeb9dd14099921f611985349ee1a370017d343b2e8fe5db6e2da8bafbd304", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002bb')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002bb'), "application_id"=>BSON::ObjectId('5bb622463541594a350002ba'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>67, "token"=>"9cbdeb9dd14099921f611985349ee1a370017d343b2e8fe5db6e2da8bafbd304", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002bb'), "application_id"=>BSON::ObjectId('5bb622463541594a350002ba'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>67, "token"=>"9cbdeb9dd14099921f611985349ee1a370017d343b2e8fe5db6e2da8bafbd304", "expires_in"=>7200}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"bde3114dc01b564e1c3685c7ff5cb1c688638da433b7dba4c063e7d6a5b14c1d", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002bc')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002bc'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 310", "uid"=>"bde3114dc01b564e1c3685c7ff5cb1c688638da433b7dba4c063e7d6a5b14c1d", "secret"=>"a0a4aa6cacef49cbd2767845620cf5421076e36b22e2c14be6a25cf5ac9290eb", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002bc'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 310", "uid"=>"bde3114dc01b564e1c3685c7ff5cb1c688638da433b7dba4c063e7d6a5b14c1d", "secret"=>"a0a4aa6cacef49cbd2767845620cf5421076e36b22e2c14be6a25cf5ac9290eb", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) Completed 200 OK in 20ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622463541594a350002bb')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokensController#revoke as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"572c6763504ab8077619148805ddc3320b3c20b6810a06a47e55ca63d840e2b2", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002bd')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002bd'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 311", "uid"=>"572c6763504ab8077619148805ddc3320b3c20b6810a06a47e55ca63d840e2b2", "secret"=>"1c4d1152f9faf39db733f1770a668c8ed20851cd7b335c7aed503231d5162a9d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002bd'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 311", "uid"=>"572c6763504ab8077619148805ddc3320b3c20b6810a06a47e55ca63d840e2b2", "secret"=>"1c4d1152f9faf39db733f1770a668c8ed20851cd7b335c7aed503231d5162a9d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"1da4a6cc63824f83976b8cef71c51fe533b22c8f5d854c94d117576c6a703d6f", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002be')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002be'), "application_id"=>BSON::ObjectId('5bb622463541594a350002bd'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>68, "token"=>"1da4a6cc63824f83976b8cef71c51fe533b22c8f5d854c94d117576c6a703d6f", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002be'), "application_id"=>BSON::ObjectId('5bb622463541594a350002bd'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>68, "token"=>"1da4a6cc63824f83976b8cef71c51fe533b22c8f5d854c94d117576c6a703d6f", "expires_in"=>7200}) MONGODB (2.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a9da679de99ec794980f2c42147fac59d7abd4e0cb47f4d1229d0d6b6432ceb5", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002bf')}}, {:_id=>1}).limit(-1) MONGODB (5.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002bf'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 312", "uid"=>"a9da679de99ec794980f2c42147fac59d7abd4e0cb47f4d1229d0d6b6432ceb5", "secret"=>"82bcdb010702678bd60141845c460688c0c4864674d51d253919dbfa930276da", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (5.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002bf'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 312", "uid"=>"a9da679de99ec794980f2c42147fac59d7abd4e0cb47f4d1229d0d6b6432ceb5", "secret"=>"82bcdb010702678bd60141845c460688c0c4864674d51d253919dbfa930276da", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) Completed 200 OK in 30ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokensController#revoke as HTML MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"552d60712cb54c54e0fab9cecf651a712e4024444d1018e87af28704fe2cfde6", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002c0')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002c0'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 313", "uid"=>"552d60712cb54c54e0fab9cecf651a712e4024444d1018e87af28704fe2cfde6", "secret"=>"eb6c0d3417befff17a874e68c349a62f0318936b524300b0943f49502c8b84ce", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002c0'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 313", "uid"=>"552d60712cb54c54e0fab9cecf651a712e4024444d1018e87af28704fe2cfde6", "secret"=>"eb6c0d3417befff17a874e68c349a62f0318936b524300b0943f49502c8b84ce", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"50340afa868b0a23a64929fed5c129107eeaf59aa0af7f10ee56eb04a467f1ed", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002c1')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002c1'), "application_id"=>BSON::ObjectId('5bb622463541594a350002c0'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>69, "token"=>"50340afa868b0a23a64929fed5c129107eeaf59aa0af7f10ee56eb04a467f1ed", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002c1'), "application_id"=>BSON::ObjectId('5bb622463541594a350002c0'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>69, "token"=>"50340afa868b0a23a64929fed5c129107eeaf59aa0af7f10ee56eb04a467f1ed", "expires_in"=>7200}) MONGODB (4.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622463541594a350002c1')}, :u=>{"_id"=>BSON::ObjectId('5bb622463541594a350002c1'), "application_id"=>BSON::ObjectId('5bb622463541594a350002c0'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>69, "token"=>"50340afa868b0a23a64929fed5c129107eeaf59aa0af7f10ee56eb04a467f1ed", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (5.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622463541594a350002c1')}, {"_id"=>BSON::ObjectId('5bb622463541594a350002c1'), "application_id"=>BSON::ObjectId('5bb622463541594a350002c0'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>69, "token"=>"50340afa868b0a23a64929fed5c129107eeaf59aa0af7f10ee56eb04a467f1ed", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 13ms MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokensController#revoke as HTML MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"28bb17c2cd595d0fc48357b9c013914983afcb5f5091b11d525ec9a7f27fac99", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002c2')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002c2'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 314", "uid"=>"28bb17c2cd595d0fc48357b9c013914983afcb5f5091b11d525ec9a7f27fac99", "secret"=>"3f48c33688fafb95fa412080016ff6ff25cc43f3027f48459be587d1689f1822", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002c2'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 314", "uid"=>"28bb17c2cd595d0fc48357b9c013914983afcb5f5091b11d525ec9a7f27fac99", "secret"=>"3f48c33688fafb95fa412080016ff6ff25cc43f3027f48459be587d1689f1822", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"53d7ba0927ce0a7353d889382a8666675c49b610f43d99285ed2f8d8f5ed9af1", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002c3')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002c3'), "application_id"=>BSON::ObjectId('5bb622463541594a350002c2'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>70, "token"=>"53d7ba0927ce0a7353d889382a8666675c49b610f43d99285ed2f8d8f5ed9af1", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002c3'), "application_id"=>BSON::ObjectId('5bb622463541594a350002c2'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>70, "token"=>"53d7ba0927ce0a7353d889382a8666675c49b610f43d99285ed2f8d8f5ed9af1", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622463541594a350002c3')}, :u=>{"_id"=>BSON::ObjectId('5bb622463541594a350002c3'), "application_id"=>BSON::ObjectId('5bb622463541594a350002c2'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>70, "token"=>"53d7ba0927ce0a7353d889382a8666675c49b610f43d99285ed2f8d8f5ed9af1", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622463541594a350002c3')}, {"_id"=>BSON::ObjectId('5bb622463541594a350002c3'), "application_id"=>BSON::ObjectId('5bb622463541594a350002c2'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>70, "token"=>"53d7ba0927ce0a7353d889382a8666675c49b610f43d99285ed2f8d8f5ed9af1", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 8ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622463541594a350002c3')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokensController#create as HTML Completed 401 Unauthorized in 0ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokensController#create as HTML Completed 200 OK in 0ms MONGODB (3.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokensController#create as HTML Completed 401 Unauthorized in 0ms MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f5475bf263959b508a4fd74458dce86ac2a015bd1e8743b92dab907923a8bc84", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002c4')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002c4'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 315", "uid"=>"f5475bf263959b508a4fd74458dce86ac2a015bd1e8743b92dab907923a8bc84", "secret"=>"0ed60db31fa0be6d274aaf1589fae6a6fa634026e3de90907b0a0deceb5663b5", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002c4'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 315", "uid"=>"f5475bf263959b508a4fd74458dce86ac2a015bd1e8743b92dab907923a8bc84", "secret"=>"0ed60db31fa0be6d274aaf1589fae6a6fa634026e3de90907b0a0deceb5663b5", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"0d5ab76c74558282bee11712e7289ed79c9f2aa3ff36de4d80f80ca7f3b49f16", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002c5')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"a8a1ecb5a5b9cbbbe0f06cfc2e2e9c1dca75828456595cb3601aafb04c471804", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002c5')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002c5'), "application_id"=>BSON::ObjectId('5bb622463541594a350002c4'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>1, "token"=>"0d5ab76c74558282bee11712e7289ed79c9f2aa3ff36de4d80f80ca7f3b49f16", "refresh_token"=>"a8a1ecb5a5b9cbbbe0f06cfc2e2e9c1dca75828456595cb3601aafb04c471804", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002c5'), "application_id"=>BSON::ObjectId('5bb622463541594a350002c4'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>1, "token"=>"0d5ab76c74558282bee11712e7289ed79c9f2aa3ff36de4d80f80ca7f3b49f16", "refresh_token"=>"a8a1ecb5a5b9cbbbe0f06cfc2e2e9c1dca75828456595cb3601aafb04c471804", "expires_in"=>7200}) Started POST "/oauth/token?refresh_token=[FILTERED]&client_id=f5475bf263959b508a4fd74458dce86ac2a015bd1e8743b92dab907923a8bc84&client_secret=[FILTERED]&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:23:02 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"refresh_token"=>"[FILTERED]", "client_id"=>"f5475bf263959b508a4fd74458dce86ac2a015bd1e8743b92dab907923a8bc84", "client_secret"=>"[FILTERED]", "grant_type"=>"refresh_token"} MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"a8a1ecb5a5b9cbbbe0f06cfc2e2e9c1dca75828456595cb3601aafb04c471804"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f5475bf263959b508a4fd74458dce86ac2a015bd1e8743b92dab907923a8bc84"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622463541594a350002c5')}).limit(-1) Completed 401 Unauthorized in 4ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"803f8abddcb501ba0b0c7e390909c428bc02299bc8ff5c7cdad0484596214512", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002c6')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002c6'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 316", "uid"=>"803f8abddcb501ba0b0c7e390909c428bc02299bc8ff5c7cdad0484596214512", "secret"=>"f7e8994e680db2a934a1f8cf03db9c6b144f648c2a03d9a306ebac45bb4ad183", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002c6'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 316", "uid"=>"803f8abddcb501ba0b0c7e390909c428bc02299bc8ff5c7cdad0484596214512", "secret"=>"f7e8994e680db2a934a1f8cf03db9c6b144f648c2a03d9a306ebac45bb4ad183", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"2668b99a55b514c2e31d1f32b092ab40f05c0e1af9cb88990b754895e59adce7", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002c7')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"030e8e8a0526f24c2e8235c54f9316331031248a917236cdd1bdf8066ef619ad", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002c7')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002c7'), "application_id"=>BSON::ObjectId('5bb622463541594a350002c6'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>1, "token"=>"2668b99a55b514c2e31d1f32b092ab40f05c0e1af9cb88990b754895e59adce7", "refresh_token"=>"030e8e8a0526f24c2e8235c54f9316331031248a917236cdd1bdf8066ef619ad", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002c7'), "application_id"=>BSON::ObjectId('5bb622463541594a350002c6'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>1, "token"=>"2668b99a55b514c2e31d1f32b092ab40f05c0e1af9cb88990b754895e59adce7", "refresh_token"=>"030e8e8a0526f24c2e8235c54f9316331031248a917236cdd1bdf8066ef619ad", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622463541594a350002c7')}, :u=>{"_id"=>BSON::ObjectId('5bb622463541594a350002c7'), "application_id"=>BSON::ObjectId('5bb622463541594a350002c6'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>1, "token"=>"2668b99a55b514c2e31d1f32b092ab40f05c0e1af9cb88990b754895e59adce7", "refresh_token"=>"030e8e8a0526f24c2e8235c54f9316331031248a917236cdd1bdf8066ef619ad", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622463541594a350002c7')}, {"_id"=>BSON::ObjectId('5bb622463541594a350002c7'), "application_id"=>BSON::ObjectId('5bb622463541594a350002c6'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>1, "token"=>"2668b99a55b514c2e31d1f32b092ab40f05c0e1af9cb88990b754895e59adce7", "refresh_token"=>"030e8e8a0526f24c2e8235c54f9316331031248a917236cdd1bdf8066ef619ad", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Started POST "/oauth/token?refresh_token=[FILTERED]&client_id=803f8abddcb501ba0b0c7e390909c428bc02299bc8ff5c7cdad0484596214512&client_secret=[FILTERED]&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:23:02 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"refresh_token"=>"[FILTERED]", "client_id"=>"803f8abddcb501ba0b0c7e390909c428bc02299bc8ff5c7cdad0484596214512", "client_secret"=>"[FILTERED]", "grant_type"=>"refresh_token"} MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"030e8e8a0526f24c2e8235c54f9316331031248a917236cdd1bdf8066ef619ad"}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"803f8abddcb501ba0b0c7e390909c428bc02299bc8ff5c7cdad0484596214512"}).limit(-1) Completed 401 Unauthorized in 10ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1b69a3c2c2741e4e596ff4c59b82227860b10a857113417297586317ccfb9da7", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002c8')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002c8'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 317", "uid"=>"1b69a3c2c2741e4e596ff4c59b82227860b10a857113417297586317ccfb9da7", "secret"=>"99e4257db1462edd67217482d9f97567591ba630ba602d6c62d9c0feb16528a8", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002c8'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 317", "uid"=>"1b69a3c2c2741e4e596ff4c59b82227860b10a857113417297586317ccfb9da7", "secret"=>"99e4257db1462edd67217482d9f97567591ba630ba602d6c62d9c0feb16528a8", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"459913004686036d841e823af09eccc5baffa8f70b2d4e2e73637f6e61002216", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002c9')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"fe2be2adcf087ddf660730b02398cc1111969c3dec7fa18ad244ebd5b3348425", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002c9')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002c9'), "application_id"=>BSON::ObjectId('5bb622463541594a350002c8'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>1, "token"=>"459913004686036d841e823af09eccc5baffa8f70b2d4e2e73637f6e61002216", "refresh_token"=>"fe2be2adcf087ddf660730b02398cc1111969c3dec7fa18ad244ebd5b3348425", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002c9'), "application_id"=>BSON::ObjectId('5bb622463541594a350002c8'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>1, "token"=>"459913004686036d841e823af09eccc5baffa8f70b2d4e2e73637f6e61002216", "refresh_token"=>"fe2be2adcf087ddf660730b02398cc1111969c3dec7fa18ad244ebd5b3348425", "expires_in"=>7200}) Started POST "/oauth/token?refresh_token=[FILTERED]&client_id=1b69a3c2c2741e4e596ff4c59b82227860b10a857113417297586317ccfb9da7&client_secret=[FILTERED]&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:23:02 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"refresh_token"=>"[FILTERED]", "client_id"=>"1b69a3c2c2741e4e596ff4c59b82227860b10a857113417297586317ccfb9da7", "client_secret"=>"[FILTERED]", "grant_type"=>"refresh_token"} MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"invalid"}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1b69a3c2c2741e4e596ff4c59b82227860b10a857113417297586317ccfb9da7"}).limit(-1) Completed 401 Unauthorized in 7ms MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"abeaec226a8e5ee0b27e09e896954d60e55ed40ef6d0100df30f74ae00c43988", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002ca')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002ca'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 318", "uid"=>"abeaec226a8e5ee0b27e09e896954d60e55ed40ef6d0100df30f74ae00c43988", "secret"=>"6d12c4f042a6db32ff69ef859ac5a085ae50f3c14facae47b671478dced18e95", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002ca'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 318", "uid"=>"abeaec226a8e5ee0b27e09e896954d60e55ed40ef6d0100df30f74ae00c43988", "secret"=>"6d12c4f042a6db32ff69ef859ac5a085ae50f3c14facae47b671478dced18e95", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d6862bdfc21b9e929bb345b3d172c2d4ff3edf9b25593be51ee24ea23513ce66", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002cb')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"e21171d7dafaba48f434e12cadf0202e8b20832943fdb7c6331a697ff3bdd7f9", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002cb')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002cb'), "application_id"=>BSON::ObjectId('5bb622463541594a350002ca'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>1, "token"=>"d6862bdfc21b9e929bb345b3d172c2d4ff3edf9b25593be51ee24ea23513ce66", "refresh_token"=>"e21171d7dafaba48f434e12cadf0202e8b20832943fdb7c6331a697ff3bdd7f9", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002cb'), "application_id"=>BSON::ObjectId('5bb622463541594a350002ca'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>1, "token"=>"d6862bdfc21b9e929bb345b3d172c2d4ff3edf9b25593be51ee24ea23513ce66", "refresh_token"=>"e21171d7dafaba48f434e12cadf0202e8b20832943fdb7c6331a697ff3bdd7f9", "expires_in"=>7200}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622463541594a350002cb')}, :u=>{"_id"=>BSON::ObjectId('5bb622463541594a350002cb'), "application_id"=>BSON::ObjectId('5bb622463541594a350002ca'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>1, "token"=>"d6862bdfc21b9e929bb345b3d172c2d4ff3edf9b25593be51ee24ea23513ce66", "refresh_token"=>"e21171d7dafaba48f434e12cadf0202e8b20832943fdb7c6331a697ff3bdd7f9", "expires_in"=>-100}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622463541594a350002cb')}, {"_id"=>BSON::ObjectId('5bb622463541594a350002cb'), "application_id"=>BSON::ObjectId('5bb622463541594a350002ca'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>1, "token"=>"d6862bdfc21b9e929bb345b3d172c2d4ff3edf9b25593be51ee24ea23513ce66", "refresh_token"=>"e21171d7dafaba48f434e12cadf0202e8b20832943fdb7c6331a697ff3bdd7f9", "expires_in"=>-100}) Started POST "/oauth/token?refresh_token=[FILTERED]&client_id=abeaec226a8e5ee0b27e09e896954d60e55ed40ef6d0100df30f74ae00c43988&client_secret=[FILTERED]&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:23:02 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"refresh_token"=>"[FILTERED]", "client_id"=>"abeaec226a8e5ee0b27e09e896954d60e55ed40ef6d0100df30f74ae00c43988", "client_secret"=>"[FILTERED]", "grant_type"=>"refresh_token"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"e21171d7dafaba48f434e12cadf0202e8b20832943fdb7c6331a697ff3bdd7f9"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"abeaec226a8e5ee0b27e09e896954d60e55ed40ef6d0100df30f74ae00c43988"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622463541594a350002cb')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622463541594a350002cb')}, :u=>{"_id"=>BSON::ObjectId('5bb622463541594a350002cb'), "application_id"=>BSON::ObjectId('5bb622463541594a350002ca'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>1, "token"=>"d6862bdfc21b9e929bb345b3d172c2d4ff3edf9b25593be51ee24ea23513ce66", "refresh_token"=>"e21171d7dafaba48f434e12cadf0202e8b20832943fdb7c6331a697ff3bdd7f9", "expires_in"=>-100, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622463541594a350002cb')}, {"_id"=>BSON::ObjectId('5bb622463541594a350002cb'), "application_id"=>BSON::ObjectId('5bb622463541594a350002ca'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>1, "token"=>"d6862bdfc21b9e929bb345b3d172c2d4ff3edf9b25593be51ee24ea23513ce66", "refresh_token"=>"e21171d7dafaba48f434e12cadf0202e8b20832943fdb7c6331a697ff3bdd7f9", "expires_in"=>-100, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622463541594a350002ca')}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"94c1df7b4a3a1d9271a09c3db942804883de07aacf5f12f8950fd6b6998c165d", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002cc')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"10156e73c0b72f39d811e0a89f5062b2cfb108c8088887f4e4acfa814abe45bc", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002cc')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002cc'), "application_id"=>BSON::ObjectId('5bb622463541594a350002ca'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>1, "token"=>"94c1df7b4a3a1d9271a09c3db942804883de07aacf5f12f8950fd6b6998c165d", "refresh_token"=>"10156e73c0b72f39d811e0a89f5062b2cfb108c8088887f4e4acfa814abe45bc", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002cc'), "application_id"=>BSON::ObjectId('5bb622463541594a350002ca'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>1, "token"=>"94c1df7b4a3a1d9271a09c3db942804883de07aacf5f12f8950fd6b6998c165d", "refresh_token"=>"10156e73c0b72f39d811e0a89f5062b2cfb108c8088887f4e4acfa814abe45bc", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 13ms MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622463541594a350002cb')}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3993f0f779c91299f51027159c200af7412550e5b185e4ce1cac927101fa4ab5", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002cd')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002cd'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 319", "uid"=>"3993f0f779c91299f51027159c200af7412550e5b185e4ce1cac927101fa4ab5", "secret"=>"f98b52da1ef357bccaba357769c2ebb3763447bebb93bbf7760b44987bcb2b9b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002cd'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 319", "uid"=>"3993f0f779c91299f51027159c200af7412550e5b185e4ce1cac927101fa4ab5", "secret"=>"f98b52da1ef357bccaba357769c2ebb3763447bebb93bbf7760b44987bcb2b9b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"5d8eb6541555d41055beaa786a38c64a9ea559850fa86a4dd7b55743e15b6c3b", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002ce')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"63e7a5a014a44a7e04daafbcd39f70aa9d61667fd8b10ec372da991742c3a5c4", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002ce')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002ce'), "application_id"=>BSON::ObjectId('5bb622463541594a350002cd'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>1, "token"=>"5d8eb6541555d41055beaa786a38c64a9ea559850fa86a4dd7b55743e15b6c3b", "refresh_token"=>"63e7a5a014a44a7e04daafbcd39f70aa9d61667fd8b10ec372da991742c3a5c4", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002ce'), "application_id"=>BSON::ObjectId('5bb622463541594a350002cd'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>1, "token"=>"5d8eb6541555d41055beaa786a38c64a9ea559850fa86a4dd7b55743e15b6c3b", "refresh_token"=>"63e7a5a014a44a7e04daafbcd39f70aa9d61667fd8b10ec372da991742c3a5c4", "expires_in"=>7200}) Started POST "/oauth/token?refresh_token=[FILTERED]&client_id=3993f0f779c91299f51027159c200af7412550e5b185e4ce1cac927101fa4ab5&client_secret=[FILTERED]&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:23:02 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"refresh_token"=>"[FILTERED]", "client_id"=>"3993f0f779c91299f51027159c200af7412550e5b185e4ce1cac927101fa4ab5", "client_secret"=>"[FILTERED]", "grant_type"=>"refresh_token"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"63e7a5a014a44a7e04daafbcd39f70aa9d61667fd8b10ec372da991742c3a5c4"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3993f0f779c91299f51027159c200af7412550e5b185e4ce1cac927101fa4ab5"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622463541594a350002ce')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622463541594a350002ce')}, :u=>{"_id"=>BSON::ObjectId('5bb622463541594a350002ce'), "application_id"=>BSON::ObjectId('5bb622463541594a350002cd'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>1, "token"=>"5d8eb6541555d41055beaa786a38c64a9ea559850fa86a4dd7b55743e15b6c3b", "refresh_token"=>"63e7a5a014a44a7e04daafbcd39f70aa9d61667fd8b10ec372da991742c3a5c4", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622463541594a350002ce')}, {"_id"=>BSON::ObjectId('5bb622463541594a350002ce'), "application_id"=>BSON::ObjectId('5bb622463541594a350002cd'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>1, "token"=>"5d8eb6541555d41055beaa786a38c64a9ea559850fa86a4dd7b55743e15b6c3b", "refresh_token"=>"63e7a5a014a44a7e04daafbcd39f70aa9d61667fd8b10ec372da991742c3a5c4", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622463541594a350002cd')}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"fbb94c52707eadbeae460c37b4267ed466ecc461c0a7ebd3ce20f5d4037f2596", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002cf')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"042127f60c5b66c39ae8fdadc3749fb3269973d9d1d13c000c252735026fdd3b", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002cf')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002cf'), "application_id"=>BSON::ObjectId('5bb622463541594a350002cd'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>1, "token"=>"fbb94c52707eadbeae460c37b4267ed466ecc461c0a7ebd3ce20f5d4037f2596", "refresh_token"=>"042127f60c5b66c39ae8fdadc3749fb3269973d9d1d13c000c252735026fdd3b", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002cf'), "application_id"=>BSON::ObjectId('5bb622463541594a350002cd'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>1, "token"=>"fbb94c52707eadbeae460c37b4267ed466ecc461c0a7ebd3ce20f5d4037f2596", "refresh_token"=>"042127f60c5b66c39ae8fdadc3749fb3269973d9d1d13c000c252735026fdd3b", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 16ms MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622463541594a350002ce')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e75fb37c2021c4e8d2410ea27b671e60d3cbe2085efd31e7e6f57d34b35e16c8", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002d0')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002d0'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 320", "uid"=>"e75fb37c2021c4e8d2410ea27b671e60d3cbe2085efd31e7e6f57d34b35e16c8", "secret"=>"2977e5bb94f7bb008f512fb76d1f8a560276686683d1284904d8df089e065469", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002d0'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 320", "uid"=>"e75fb37c2021c4e8d2410ea27b671e60d3cbe2085efd31e7e6f57d34b35e16c8", "secret"=>"2977e5bb94f7bb008f512fb76d1f8a560276686683d1284904d8df089e065469", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"423a1d2bbf876b2fcf238b8aeebb7ad6ac7077ca291fb3124983472cd37221f9", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002d1')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"9997e99a391dc8c086e9ec7060c38780a0ac928c649d3ad519ec44b9320e57af", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002d1')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002d1'), "application_id"=>BSON::ObjectId('5bb622463541594a350002d0'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>1, "token"=>"423a1d2bbf876b2fcf238b8aeebb7ad6ac7077ca291fb3124983472cd37221f9", "refresh_token"=>"9997e99a391dc8c086e9ec7060c38780a0ac928c649d3ad519ec44b9320e57af", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002d1'), "application_id"=>BSON::ObjectId('5bb622463541594a350002d0'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>1, "token"=>"423a1d2bbf876b2fcf238b8aeebb7ad6ac7077ca291fb3124983472cd37221f9", "refresh_token"=>"9997e99a391dc8c086e9ec7060c38780a0ac928c649d3ad519ec44b9320e57af", "expires_in"=>7200}) Started POST "/oauth/token?refresh_token=[FILTERED]&client_id=e75fb37c2021c4e8d2410ea27b671e60d3cbe2085efd31e7e6f57d34b35e16c8&client_secret=[FILTERED]&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:23:02 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"refresh_token"=>"[FILTERED]", "client_id"=>"e75fb37c2021c4e8d2410ea27b671e60d3cbe2085efd31e7e6f57d34b35e16c8", "client_secret"=>"[FILTERED]", "grant_type"=>"refresh_token"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"9997e99a391dc8c086e9ec7060c38780a0ac928c649d3ad519ec44b9320e57af"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e75fb37c2021c4e8d2410ea27b671e60d3cbe2085efd31e7e6f57d34b35e16c8"}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622463541594a350002d1')}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622463541594a350002d0')}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"fb57f9ecd38c721fccca8b1bb83f2fee08b93564974bf62e38cf25602dc51d8d", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002d2')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"7278a97ee1a0723b62e5bff25d51edc5c31c1ac1ed0ab80b0d9e4d684b622a20", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002d2')}}, {:_id=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002d2'), "application_id"=>BSON::ObjectId('5bb622463541594a350002d0'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>1, "token"=>"fb57f9ecd38c721fccca8b1bb83f2fee08b93564974bf62e38cf25602dc51d8d", "refresh_token"=>"7278a97ee1a0723b62e5bff25d51edc5c31c1ac1ed0ab80b0d9e4d684b622a20", "previous_refresh_token"=>"9997e99a391dc8c086e9ec7060c38780a0ac928c649d3ad519ec44b9320e57af", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002d2'), "application_id"=>BSON::ObjectId('5bb622463541594a350002d0'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>1, "token"=>"fb57f9ecd38c721fccca8b1bb83f2fee08b93564974bf62e38cf25602dc51d8d", "refresh_token"=>"7278a97ee1a0723b62e5bff25d51edc5c31c1ac1ed0ab80b0d9e4d684b622a20", "previous_refresh_token"=>"9997e99a391dc8c086e9ec7060c38780a0ac928c649d3ad519ec44b9320e57af", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 16ms MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622463541594a350002d1')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"148050e22c44aaebe85701ed939713b553207daf9e8bd63411b9a0ab98b6e575", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002d3')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002d3'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 321", "uid"=>"148050e22c44aaebe85701ed939713b553207daf9e8bd63411b9a0ab98b6e575", "secret"=>"e1f61505b9297a294cb0928ba84e42b79e4c0b2bd623bceaebbc177b72a983dd", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002d3'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 321", "uid"=>"148050e22c44aaebe85701ed939713b553207daf9e8bd63411b9a0ab98b6e575", "secret"=>"e1f61505b9297a294cb0928ba84e42b79e4c0b2bd623bceaebbc177b72a983dd", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d453fb83361d79717376e05f5723c289ec299c29b674842ef40468595b0f2b12", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002d4')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"eab696e46937da64e76ffaeb1ad8dabfdb646d5ddf09f372272c9d2aa601b09e", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002d4')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002d4'), "application_id"=>BSON::ObjectId('5bb622463541594a350002d3'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>1, "token"=>"d453fb83361d79717376e05f5723c289ec299c29b674842ef40468595b0f2b12", "refresh_token"=>"eab696e46937da64e76ffaeb1ad8dabfdb646d5ddf09f372272c9d2aa601b09e", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002d4'), "application_id"=>BSON::ObjectId('5bb622463541594a350002d3'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>1, "token"=>"d453fb83361d79717376e05f5723c289ec299c29b674842ef40468595b0f2b12", "refresh_token"=>"eab696e46937da64e76ffaeb1ad8dabfdb646d5ddf09f372272c9d2aa601b09e", "expires_in"=>7200}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622463541594a350002d4')}, :u=>{"_id"=>BSON::ObjectId('5bb622463541594a350002d4'), "application_id"=>BSON::ObjectId('5bb622463541594a350002d3'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>1, "token"=>"d453fb83361d79717376e05f5723c289ec299c29b674842ef40468595b0f2b12", "refresh_token"=>"eab696e46937da64e76ffaeb1ad8dabfdb646d5ddf09f372272c9d2aa601b09e", "expires_in"=>-100}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622463541594a350002d4')}, {"_id"=>BSON::ObjectId('5bb622463541594a350002d4'), "application_id"=>BSON::ObjectId('5bb622463541594a350002d3'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>1, "token"=>"d453fb83361d79717376e05f5723c289ec299c29b674842ef40468595b0f2b12", "refresh_token"=>"eab696e46937da64e76ffaeb1ad8dabfdb646d5ddf09f372272c9d2aa601b09e", "expires_in"=>-100}) Started POST "/oauth/token?refresh_token=[FILTERED]&client_id=148050e22c44aaebe85701ed939713b553207daf9e8bd63411b9a0ab98b6e575&client_secret=[FILTERED]&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:23:02 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"refresh_token"=>"[FILTERED]", "client_id"=>"148050e22c44aaebe85701ed939713b553207daf9e8bd63411b9a0ab98b6e575", "client_secret"=>"[FILTERED]", "grant_type"=>"refresh_token"} MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"eab696e46937da64e76ffaeb1ad8dabfdb646d5ddf09f372272c9d2aa601b09e"}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"148050e22c44aaebe85701ed939713b553207daf9e8bd63411b9a0ab98b6e575"}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622463541594a350002d4')}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622463541594a350002d3')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"3a78597696f4cababe1b44dfc8659a22440af7e81074d4951812fcd480bbc6cd", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002d5')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"55886716c4369f2fe03ae5143fbbce85fc66e8c1d3d5b874523b238199a93e37", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002d5')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002d5'), "application_id"=>BSON::ObjectId('5bb622463541594a350002d3'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>1, "token"=>"3a78597696f4cababe1b44dfc8659a22440af7e81074d4951812fcd480bbc6cd", "refresh_token"=>"55886716c4369f2fe03ae5143fbbce85fc66e8c1d3d5b874523b238199a93e37", "previous_refresh_token"=>"eab696e46937da64e76ffaeb1ad8dabfdb646d5ddf09f372272c9d2aa601b09e", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002d5'), "application_id"=>BSON::ObjectId('5bb622463541594a350002d3'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>1, "token"=>"3a78597696f4cababe1b44dfc8659a22440af7e81074d4951812fcd480bbc6cd", "refresh_token"=>"55886716c4369f2fe03ae5143fbbce85fc66e8c1d3d5b874523b238199a93e37", "previous_refresh_token"=>"eab696e46937da64e76ffaeb1ad8dabfdb646d5ddf09f372272c9d2aa601b09e", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 17ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622463541594a350002d4')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7aa4107625a8a7a8cf5854a7267596ddbc1afcb764a543d8484f80f12ed9faed", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002d6')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002d6'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 322", "uid"=>"7aa4107625a8a7a8cf5854a7267596ddbc1afcb764a543d8484f80f12ed9faed", "secret"=>"4aa98a0d1381f2ebe1a8511df0a4ec737b2fa37068ae03340ea079ad46afce0d", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002d6'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "name"=>"Application 322", "uid"=>"7aa4107625a8a7a8cf5854a7267596ddbc1afcb764a543d8484f80f12ed9faed", "secret"=>"4aa98a0d1381f2ebe1a8511df0a4ec737b2fa37068ae03340ea079ad46afce0d", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"4d89685a443868d65388ad02d168555a0ae9c03fd23ecdb302887842dfc75c31", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002d7')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002d7'), "application_id"=>BSON::ObjectId('5bb622463541594a350002d6'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>41, "token"=>"4d89685a443868d65388ad02d168555a0ae9c03fd23ecdb302887842dfc75c31", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002d7'), "application_id"=>BSON::ObjectId('5bb622463541594a350002d6'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>41, "token"=>"4d89685a443868d65388ad02d168555a0ae9c03fd23ecdb302887842dfc75c31", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token?code=[FILTERED]&client_id=7aa4107625a8a7a8cf5854a7267596ddbc1afcb764a543d8484f80f12ed9faed&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:23:02 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"7aa4107625a8a7a8cf5854a7267596ddbc1afcb764a543d8484f80f12ed9faed", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"4d89685a443868d65388ad02d168555a0ae9c03fd23ecdb302887842dfc75c31"}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7aa4107625a8a7a8cf5854a7267596ddbc1afcb764a543d8484f80f12ed9faed"}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb622463541594a350002d7')}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622463541594a350002d7')}, :u=>{"_id"=>BSON::ObjectId('5bb622463541594a350002d7'), "application_id"=>BSON::ObjectId('5bb622463541594a350002d6'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>41, "token"=>"4d89685a443868d65388ad02d168555a0ae9c03fd23ecdb302887842dfc75c31", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb622463541594a350002d7')}, {"_id"=>BSON::ObjectId('5bb622463541594a350002d7'), "application_id"=>BSON::ObjectId('5bb622463541594a350002d6'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:02 UTC, "resource_owner_id"=>41, "token"=>"4d89685a443868d65388ad02d168555a0ae9c03fd23ecdb302887842dfc75c31", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622463541594a350002d6')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622463541594a350002d6')}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"446194c0c5c70690199324ebf0e167dca1fd9c062dcaec49955411cf3166b76d", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002d8')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"bcd660193a44a258cbb7349b255b718b9ea9d56b63aa697c6a1c8fbb5c188ec0", :_id=>{:$ne=>BSON::ObjectId('5bb622463541594a350002d8')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622463541594a350002d8'), "application_id"=>BSON::ObjectId('5bb622463541594a350002d6'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>41, "token"=>"446194c0c5c70690199324ebf0e167dca1fd9c062dcaec49955411cf3166b76d", "refresh_token"=>"bcd660193a44a258cbb7349b255b718b9ea9d56b63aa697c6a1c8fbb5c188ec0", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622463541594a350002d8'), "application_id"=>BSON::ObjectId('5bb622463541594a350002d6'), "created_at"=>2018-10-04 14:23:02 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>41, "token"=>"446194c0c5c70690199324ebf0e167dca1fd9c062dcaec49955411cf3166b76d", "refresh_token"=>"bcd660193a44a258cbb7349b255b718b9ea9d56b63aa697c6a1c8fbb5c188ec0", "expires_in"=>7200, "scopes"=>"public write"}) Completed 200 OK in 17ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb622463541594a350002d7')}).limit(-1) Started POST "/oauth/token?refresh_token=[FILTERED]&client_id=7aa4107625a8a7a8cf5854a7267596ddbc1afcb764a543d8484f80f12ed9faed&client_secret=[FILTERED]&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:23:03 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"refresh_token"=>"[FILTERED]", "client_id"=>"7aa4107625a8a7a8cf5854a7267596ddbc1afcb764a543d8484f80f12ed9faed", "client_secret"=>"[FILTERED]", "grant_type"=>"refresh_token"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"bcd660193a44a258cbb7349b255b718b9ea9d56b63aa697c6a1c8fbb5c188ec0"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7aa4107625a8a7a8cf5854a7267596ddbc1afcb764a543d8484f80f12ed9faed"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622463541594a350002d8')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622463541594a350002d6')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"c980c0814bf56a0b50727b632c8e9f41a4f6e8c7b068e62d59ef3775040e6310", :_id=>{:$ne=>BSON::ObjectId('5bb622473541594a350002d9')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"a91fcdcb235ee9d8bcd3d2f3c03c55b349c1a9f1884b8708d28784be3786716b", :_id=>{:$ne=>BSON::ObjectId('5bb622473541594a350002d9')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622473541594a350002d9'), "application_id"=>BSON::ObjectId('5bb622463541594a350002d6'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>41, "token"=>"c980c0814bf56a0b50727b632c8e9f41a4f6e8c7b068e62d59ef3775040e6310", "refresh_token"=>"a91fcdcb235ee9d8bcd3d2f3c03c55b349c1a9f1884b8708d28784be3786716b", "previous_refresh_token"=>"bcd660193a44a258cbb7349b255b718b9ea9d56b63aa697c6a1c8fbb5c188ec0", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622473541594a350002d9'), "application_id"=>BSON::ObjectId('5bb622463541594a350002d6'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>41, "token"=>"c980c0814bf56a0b50727b632c8e9f41a4f6e8c7b068e62d59ef3775040e6310", "refresh_token"=>"a91fcdcb235ee9d8bcd3d2f3c03c55b349c1a9f1884b8708d28784be3786716b", "previous_refresh_token"=>"bcd660193a44a258cbb7349b255b718b9ea9d56b63aa697c6a1c8fbb5c188ec0", "expires_in"=>7200, "scopes"=>"public write"}) Completed 200 OK in 7ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (4.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (4.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"607089135fc45ef5319d01ceeebe3cbe7a8a076f481bfc2e40cba14e11a33007", :_id=>{:$ne=>BSON::ObjectId('5bb622473541594a350002da')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622473541594a350002da'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "name"=>"Application 323", "uid"=>"607089135fc45ef5319d01ceeebe3cbe7a8a076f481bfc2e40cba14e11a33007", "secret"=>"e113de3bb68a0d88aacb85ecc0066a9fd1f1fa5a65fc6c3fdc5171d65770a5df", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622473541594a350002da'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "name"=>"Application 323", "uid"=>"607089135fc45ef5319d01ceeebe3cbe7a8a076f481bfc2e40cba14e11a33007", "secret"=>"e113de3bb68a0d88aacb85ecc0066a9fd1f1fa5a65fc6c3fdc5171d65770a5df", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622473541594a350002db'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622473541594a350002db'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "name"=>"Joe", "password"=>"sekret"}) Started POST "/oauth/token?code&client_id=607089135fc45ef5319d01ceeebe3cbe7a8a076f481bfc2e40cba14e11a33007&client_secret=[FILTERED]&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:23:03 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"607089135fc45ef5319d01ceeebe3cbe7a8a076f481bfc2e40cba14e11a33007", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"607089135fc45ef5319d01ceeebe3cbe7a8a076f481bfc2e40cba14e11a33007"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622473541594a350002da')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e6ad09ef6bae1b750e6b0bbf4d85538e9832cf65f9e883696586893b35faf736", :_id=>{:$ne=>BSON::ObjectId('5bb622473541594a350002dc')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"a29ecf9b8a33bf8a2c20c376caad12e3137b46ddbb8a1dbab2b4dd4d86c166a2", :_id=>{:$ne=>BSON::ObjectId('5bb622473541594a350002dc')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622473541594a350002dc'), "application_id"=>BSON::ObjectId('5bb622473541594a350002da'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002db'), "token"=>"e6ad09ef6bae1b750e6b0bbf4d85538e9832cf65f9e883696586893b35faf736", "refresh_token"=>"a29ecf9b8a33bf8a2c20c376caad12e3137b46ddbb8a1dbab2b4dd4d86c166a2", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622473541594a350002dc'), "application_id"=>BSON::ObjectId('5bb622473541594a350002da'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002db'), "token"=>"e6ad09ef6bae1b750e6b0bbf4d85538e9832cf65f9e883696586893b35faf736", "refresh_token"=>"a29ecf9b8a33bf8a2c20c376caad12e3137b46ddbb8a1dbab2b4dd4d86c166a2", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 7ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622473541594a350002da'), :resource_owner_id=>BSON::ObjectId('5bb622473541594a350002db'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622473541594a350002dc')}, :u=>{"_id"=>BSON::ObjectId('5bb622473541594a350002dc'), "application_id"=>BSON::ObjectId('5bb622473541594a350002da'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002db'), "token"=>"e6ad09ef6bae1b750e6b0bbf4d85538e9832cf65f9e883696586893b35faf736", "refresh_token"=>"a29ecf9b8a33bf8a2c20c376caad12e3137b46ddbb8a1dbab2b4dd4d86c166a2", "expires_in"=>7200, "scopes"=>""}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622473541594a350002dc')}, {"_id"=>BSON::ObjectId('5bb622473541594a350002dc'), "application_id"=>BSON::ObjectId('5bb622473541594a350002da'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002db'), "token"=>"e6ad09ef6bae1b750e6b0bbf4d85538e9832cf65f9e883696586893b35faf736", "refresh_token"=>"a29ecf9b8a33bf8a2c20c376caad12e3137b46ddbb8a1dbab2b4dd4d86c166a2", "expires_in"=>7200, "scopes"=>""}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"2a1ab1130ee559de4dcc4eb3efffdb04618c23040db563faa7b28e3aa815f72f", :_id=>{:$ne=>BSON::ObjectId('5bb622473541594a350002dd')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"8cdfd60c156bf388ffd67b88ed65054b9f2258a8b33034615efb8575be72c394", :_id=>{:$ne=>BSON::ObjectId('5bb622473541594a350002dd')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622473541594a350002dd'), "application_id"=>BSON::ObjectId('5bb622473541594a350002da'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002db'), "token"=>"2a1ab1130ee559de4dcc4eb3efffdb04618c23040db563faa7b28e3aa815f72f", "refresh_token"=>"8cdfd60c156bf388ffd67b88ed65054b9f2258a8b33034615efb8575be72c394", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (4.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622473541594a350002dd'), "application_id"=>BSON::ObjectId('5bb622473541594a350002da'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002db'), "token"=>"2a1ab1130ee559de4dcc4eb3efffdb04618c23040db563faa7b28e3aa815f72f", "refresh_token"=>"8cdfd60c156bf388ffd67b88ed65054b9f2258a8b33034615efb8575be72c394", "expires_in"=>7200}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622473541594a350002dd')}, :u=>{"_id"=>BSON::ObjectId('5bb622473541594a350002dd'), "application_id"=>BSON::ObjectId('5bb622473541594a350002da'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002db'), "token"=>"2a1ab1130ee559de4dcc4eb3efffdb04618c23040db563faa7b28e3aa815f72f", "refresh_token"=>"8cdfd60c156bf388ffd67b88ed65054b9f2258a8b33034615efb8575be72c394", "expires_in"=>-100}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622473541594a350002dd')}, {"_id"=>BSON::ObjectId('5bb622473541594a350002dd'), "application_id"=>BSON::ObjectId('5bb622473541594a350002da'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002db'), "token"=>"2a1ab1130ee559de4dcc4eb3efffdb04618c23040db563faa7b28e3aa815f72f", "refresh_token"=>"8cdfd60c156bf388ffd67b88ed65054b9f2258a8b33034615efb8575be72c394", "expires_in"=>-100}) Started POST "/oauth/token?refresh_token=[FILTERED]&client_id=607089135fc45ef5319d01ceeebe3cbe7a8a076f481bfc2e40cba14e11a33007&client_secret=[FILTERED]&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:23:03 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"refresh_token"=>"[FILTERED]", "client_id"=>"607089135fc45ef5319d01ceeebe3cbe7a8a076f481bfc2e40cba14e11a33007", "client_secret"=>"[FILTERED]", "grant_type"=>"refresh_token"} MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"8cdfd60c156bf388ffd67b88ed65054b9f2258a8b33034615efb8575be72c394"}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"607089135fc45ef5319d01ceeebe3cbe7a8a076f481bfc2e40cba14e11a33007"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622473541594a350002dd')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622473541594a350002dd')}, :u=>{"_id"=>BSON::ObjectId('5bb622473541594a350002dd'), "application_id"=>BSON::ObjectId('5bb622473541594a350002da'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002db'), "token"=>"2a1ab1130ee559de4dcc4eb3efffdb04618c23040db563faa7b28e3aa815f72f", "refresh_token"=>"8cdfd60c156bf388ffd67b88ed65054b9f2258a8b33034615efb8575be72c394", "expires_in"=>-100, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622473541594a350002dd')}, {"_id"=>BSON::ObjectId('5bb622473541594a350002dd'), "application_id"=>BSON::ObjectId('5bb622473541594a350002da'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002db'), "token"=>"2a1ab1130ee559de4dcc4eb3efffdb04618c23040db563faa7b28e3aa815f72f", "refresh_token"=>"8cdfd60c156bf388ffd67b88ed65054b9f2258a8b33034615efb8575be72c394", "expires_in"=>-100, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622473541594a350002da')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"6b9459c3abe275d5a22174bf0ed3549a10e1016aa3311f3b526f5d59e576df1a", :_id=>{:$ne=>BSON::ObjectId('5bb622473541594a350002de')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"31df72ba32f60c81ef123f635980fa6e29b59623a45f7bc23e0b4134c11d6056", :_id=>{:$ne=>BSON::ObjectId('5bb622473541594a350002de')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622473541594a350002de'), "application_id"=>BSON::ObjectId('5bb622473541594a350002da'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002db'), "token"=>"6b9459c3abe275d5a22174bf0ed3549a10e1016aa3311f3b526f5d59e576df1a", "refresh_token"=>"31df72ba32f60c81ef123f635980fa6e29b59623a45f7bc23e0b4134c11d6056", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622473541594a350002de'), "application_id"=>BSON::ObjectId('5bb622473541594a350002da'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002db'), "token"=>"6b9459c3abe275d5a22174bf0ed3549a10e1016aa3311f3b526f5d59e576df1a", "refresh_token"=>"31df72ba32f60c81ef123f635980fa6e29b59623a45f7bc23e0b4134c11d6056", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 11ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622473541594a350002da'), :resource_owner_id=>BSON::ObjectId('5bb622473541594a350002db'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622473541594a350002dd')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"18b5cfe57afe092b3ec8b9938163e90b35219204c617c4a7e3932b3b0a1fdb44", :_id=>{:$ne=>BSON::ObjectId('5bb622473541594a350002df')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622473541594a350002df'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "name"=>"Application 324", "uid"=>"18b5cfe57afe092b3ec8b9938163e90b35219204c617c4a7e3932b3b0a1fdb44", "secret"=>"5ebab39a0590a33ec60511b7bd36dc398ac576280550d919bc8d9fd99c81ac4e", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622473541594a350002df'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "name"=>"Application 324", "uid"=>"18b5cfe57afe092b3ec8b9938163e90b35219204c617c4a7e3932b3b0a1fdb44", "secret"=>"5ebab39a0590a33ec60511b7bd36dc398ac576280550d919bc8d9fd99c81ac4e", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622473541594a350002e0'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622473541594a350002e0'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "name"=>"Joe", "password"=>"sekret"}) Started POST "/oauth/token?code&client_id=18b5cfe57afe092b3ec8b9938163e90b35219204c617c4a7e3932b3b0a1fdb44&client_secret=[FILTERED]&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:23:03 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"18b5cfe57afe092b3ec8b9938163e90b35219204c617c4a7e3932b3b0a1fdb44", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"18b5cfe57afe092b3ec8b9938163e90b35219204c617c4a7e3932b3b0a1fdb44"}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622473541594a350002df')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f1fb2246c39cc8f4c8bebed66075ef2c9db79d3149ffd8957aa70e234a39a6d7", :_id=>{:$ne=>BSON::ObjectId('5bb622473541594a350002e1')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"af5946841a094b525b95e2424e01005a9b2d29f10fda981deb6c5afa3ef0136c", :_id=>{:$ne=>BSON::ObjectId('5bb622473541594a350002e1')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622473541594a350002e1'), "application_id"=>BSON::ObjectId('5bb622473541594a350002df'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002e0'), "token"=>"f1fb2246c39cc8f4c8bebed66075ef2c9db79d3149ffd8957aa70e234a39a6d7", "refresh_token"=>"af5946841a094b525b95e2424e01005a9b2d29f10fda981deb6c5afa3ef0136c", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622473541594a350002e1'), "application_id"=>BSON::ObjectId('5bb622473541594a350002df'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002e0'), "token"=>"f1fb2246c39cc8f4c8bebed66075ef2c9db79d3149ffd8957aa70e234a39a6d7", "refresh_token"=>"af5946841a094b525b95e2424e01005a9b2d29f10fda981deb6c5afa3ef0136c", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 11ms MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622473541594a350002df'), :resource_owner_id=>BSON::ObjectId('5bb622473541594a350002e0'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622473541594a350002e1')}, :u=>{"_id"=>BSON::ObjectId('5bb622473541594a350002e1'), "application_id"=>BSON::ObjectId('5bb622473541594a350002df'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002e0'), "token"=>"f1fb2246c39cc8f4c8bebed66075ef2c9db79d3149ffd8957aa70e234a39a6d7", "refresh_token"=>"af5946841a094b525b95e2424e01005a9b2d29f10fda981deb6c5afa3ef0136c", "expires_in"=>7200, "scopes"=>""}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622473541594a350002e1')}, {"_id"=>BSON::ObjectId('5bb622473541594a350002e1'), "application_id"=>BSON::ObjectId('5bb622473541594a350002df'), "created_at"=>2018-10-04 14:22:58 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002e0'), "token"=>"f1fb2246c39cc8f4c8bebed66075ef2c9db79d3149ffd8957aa70e234a39a6d7", "refresh_token"=>"af5946841a094b525b95e2424e01005a9b2d29f10fda981deb6c5afa3ef0136c", "expires_in"=>7200, "scopes"=>""}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d34af17ff91661035efd52a5d38710838ca6b1039624ae2f2a9852d1f5f3e420", :_id=>{:$ne=>BSON::ObjectId('5bb622473541594a350002e2')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"fd383569f21c9e079a043e322d5007d2008c740cfc806275390a217109782ad9", :_id=>{:$ne=>BSON::ObjectId('5bb622473541594a350002e2')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622473541594a350002e2'), "application_id"=>BSON::ObjectId('5bb622473541594a350002df'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002e0'), "token"=>"d34af17ff91661035efd52a5d38710838ca6b1039624ae2f2a9852d1f5f3e420", "refresh_token"=>"fd383569f21c9e079a043e322d5007d2008c740cfc806275390a217109782ad9", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622473541594a350002e2'), "application_id"=>BSON::ObjectId('5bb622473541594a350002df'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002e0'), "token"=>"d34af17ff91661035efd52a5d38710838ca6b1039624ae2f2a9852d1f5f3e420", "refresh_token"=>"fd383569f21c9e079a043e322d5007d2008c740cfc806275390a217109782ad9", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622473541594a350002e2')}, :u=>{"_id"=>BSON::ObjectId('5bb622473541594a350002e2'), "application_id"=>BSON::ObjectId('5bb622473541594a350002df'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002e0'), "token"=>"d34af17ff91661035efd52a5d38710838ca6b1039624ae2f2a9852d1f5f3e420", "refresh_token"=>"fd383569f21c9e079a043e322d5007d2008c740cfc806275390a217109782ad9", "expires_in"=>-100}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622473541594a350002e2')}, {"_id"=>BSON::ObjectId('5bb622473541594a350002e2'), "application_id"=>BSON::ObjectId('5bb622473541594a350002df'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002e0'), "token"=>"d34af17ff91661035efd52a5d38710838ca6b1039624ae2f2a9852d1f5f3e420", "refresh_token"=>"fd383569f21c9e079a043e322d5007d2008c740cfc806275390a217109782ad9", "expires_in"=>-100}) Started POST "/oauth/token?refresh_token=[FILTERED]&client_id=18b5cfe57afe092b3ec8b9938163e90b35219204c617c4a7e3932b3b0a1fdb44&client_secret=[FILTERED]&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:23:03 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"refresh_token"=>"[FILTERED]", "client_id"=>"18b5cfe57afe092b3ec8b9938163e90b35219204c617c4a7e3932b3b0a1fdb44", "client_secret"=>"[FILTERED]", "grant_type"=>"refresh_token"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"fd383569f21c9e079a043e322d5007d2008c740cfc806275390a217109782ad9"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"18b5cfe57afe092b3ec8b9938163e90b35219204c617c4a7e3932b3b0a1fdb44"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622473541594a350002e2')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622473541594a350002df')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"578331f83dc83627095bc3c0f34afd69743f868c7b48944e404b4e7faf7d011f", :_id=>{:$ne=>BSON::ObjectId('5bb622473541594a350002e3')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"e66748752e73d16fc24130affb578bf9519a27b433be5fc299e973ad9782ba17", :_id=>{:$ne=>BSON::ObjectId('5bb622473541594a350002e3')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622473541594a350002e3'), "application_id"=>BSON::ObjectId('5bb622473541594a350002df'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002e0'), "token"=>"578331f83dc83627095bc3c0f34afd69743f868c7b48944e404b4e7faf7d011f", "refresh_token"=>"e66748752e73d16fc24130affb578bf9519a27b433be5fc299e973ad9782ba17", "previous_refresh_token"=>"fd383569f21c9e079a043e322d5007d2008c740cfc806275390a217109782ad9", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622473541594a350002e3'), "application_id"=>BSON::ObjectId('5bb622473541594a350002df'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002e0'), "token"=>"578331f83dc83627095bc3c0f34afd69743f868c7b48944e404b4e7faf7d011f", "refresh_token"=>"e66748752e73d16fc24130affb578bf9519a27b433be5fc299e973ad9782ba17", "previous_refresh_token"=>"fd383569f21c9e079a043e322d5007d2008c740cfc806275390a217109782ad9", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 7ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622473541594a350002df'), :resource_owner_id=>BSON::ObjectId('5bb622473541594a350002e0'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622473541594a350002e2')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (6.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.0ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"83a9bdef7000ebcde40db11fcd9b418f6c1c4c60f60806ccb78110c754115224", :_id=>{:$ne=>BSON::ObjectId('5bb622473541594a350002e4')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622473541594a350002e4'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "name"=>"Application 325", "uid"=>"83a9bdef7000ebcde40db11fcd9b418f6c1c4c60f60806ccb78110c754115224", "secret"=>"1343e1f5449c1883bb395242d705add68c75cd9a75284dd0f7ec3d12b7ead666", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622473541594a350002e4'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "name"=>"Application 325", "uid"=>"83a9bdef7000ebcde40db11fcd9b418f6c1c4c60f60806ccb78110c754115224", "secret"=>"1343e1f5449c1883bb395242d705add68c75cd9a75284dd0f7ec3d12b7ead666", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622473541594a350002e5'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622473541594a350002e5'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"bf74ec2374795cec48409b95a8788a92090b110db2120c8281885c028138579d", :_id=>{:$ne=>BSON::ObjectId('5bb622473541594a350002e6')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622473541594a350002e6'), "application_id"=>BSON::ObjectId('5bb622473541594a350002e4'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002e5'), "token"=>"bf74ec2374795cec48409b95a8788a92090b110db2120c8281885c028138579d", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622473541594a350002e6'), "application_id"=>BSON::ObjectId('5bb622473541594a350002e4'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002e5'), "token"=>"bf74ec2374795cec48409b95a8788a92090b110db2120c8281885c028138579d", "expires_in"=>7200}) Started GET "/metal.json?access_token=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:23:03 +0300 MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"bf74ec2374795cec48409b95a8788a92090b110db2120c8281885c028138579d"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622473541594a350002e6')}, :u=>{"_id"=>BSON::ObjectId('5bb622473541594a350002e6'), "application_id"=>BSON::ObjectId('5bb622473541594a350002e4'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002e5'), "token"=>"bf74ec2374795cec48409b95a8788a92090b110db2120c8281885c028138579d", "previous_refresh_token"=>"", "expires_in"=>7200}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622473541594a350002e6')}, {"_id"=>BSON::ObjectId('5bb622473541594a350002e6'), "application_id"=>BSON::ObjectId('5bb622473541594a350002e4'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002e5'), "token"=>"bf74ec2374795cec48409b95a8788a92090b110db2120c8281885c028138579d", "previous_refresh_token"=>"", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5e039403f9f6f47f7412c182032de11943307ea4d0a9f94995c7bf9e79d03c44", :_id=>{:$ne=>BSON::ObjectId('5bb622473541594a350002e7')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622473541594a350002e7'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "name"=>"Application 326", "uid"=>"5e039403f9f6f47f7412c182032de11943307ea4d0a9f94995c7bf9e79d03c44", "secret"=>"da80485eef5097cd8b96ceec6749e36313246d07bb53442069309b3eaead9ad9", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622473541594a350002e7'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "name"=>"Application 326", "uid"=>"5e039403f9f6f47f7412c182032de11943307ea4d0a9f94995c7bf9e79d03c44", "secret"=>"da80485eef5097cd8b96ceec6749e36313246d07bb53442069309b3eaead9ad9", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622473541594a350002e8'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622473541594a350002e8'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:03 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:23:03 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:03 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"0d91b25304559bfc0cc24eec73866b5a6da323eb1c0251677807f9055612c013", :_id=>{:$ne=>BSON::ObjectId('5bb622473541594a350002e9')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622473541594a350002e9'), "application_id"=>BSON::ObjectId('5bb622473541594a350002e7'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002e8'), "token"=>"0d91b25304559bfc0cc24eec73866b5a6da323eb1c0251677807f9055612c013", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622473541594a350002e9'), "application_id"=>BSON::ObjectId('5bb622473541594a350002e7'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002e8'), "token"=>"0d91b25304559bfc0cc24eec73866b5a6da323eb1c0251677807f9055612c013", "expires_in"=>7200, "scopes"=>"public write"}) Started GET "/oauth/authorize?client_id=5e039403f9f6f47f7412c182032de11943307ea4d0a9f94995c7bf9e79d03c44&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public" for 127.0.0.1 at 2018-10-04 17:23:03 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"5e039403f9f6f47f7412c182032de11943307ea4d0a9f94995c7bf9e79d03c44", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5e039403f9f6f47f7412c182032de11943307ea4d0a9f94995c7bf9e79d03c44"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622473541594a350002e7'), :resource_owner_id=>BSON::ObjectId('5bb622473541594a350002e8'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.2ms) Completed 200 OK in 8ms (Views: 2.7ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:23:03 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"5e039403f9f6f47f7412c182032de11943307ea4d0a9f94995c7bf9e79d03c44", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public", "commit"=>"Authorize"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5e039403f9f6f47f7412c182032de11943307ea4d0a9f94995c7bf9e79d03c44"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"e44b89337ea2ef1431567fbd3a5e4f12fbef12429e2e839b6f591d1b3bf135f5", :_id=>{:$ne=>BSON::ObjectId('5bb622473541594a350002ea')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622473541594a350002ea'), "application_id"=>BSON::ObjectId('5bb622473541594a350002e7'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002e8'), "token"=>"e44b89337ea2ef1431567fbd3a5e4f12fbef12429e2e839b6f591d1b3bf135f5", "scopes"=>"public", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622473541594a350002ea'), "application_id"=>BSON::ObjectId('5bb622473541594a350002e7'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002e8'), "token"=>"e44b89337ea2ef1431567fbd3a5e4f12fbef12429e2e839b6f591d1b3bf135f5", "scopes"=>"public", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=e44b89337ea2ef1431567fbd3a5e4f12fbef12429e2e839b6f591d1b3bf135f5 Completed 302 Found in 6ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:23:03 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"56267b324ac6e18aa52c92aae85b368a640a89312f999a11fcd0d7d0a34b3a24", :_id=>{:$ne=>BSON::ObjectId('5bb622473541594a350002eb')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622473541594a350002eb'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "name"=>"Application 327", "uid"=>"56267b324ac6e18aa52c92aae85b368a640a89312f999a11fcd0d7d0a34b3a24", "secret"=>"0cd33f96b97deb4bf73c134e72281f4fbc07be85f1d4f27ea7904e694ef7ca0b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622473541594a350002eb'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "name"=>"Application 327", "uid"=>"56267b324ac6e18aa52c92aae85b368a640a89312f999a11fcd0d7d0a34b3a24", "secret"=>"0cd33f96b97deb4bf73c134e72281f4fbc07be85f1d4f27ea7904e694ef7ca0b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622473541594a350002ec'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622473541594a350002ec'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:03 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:23:03 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:03 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e8e340b8a5bd831c35e68f08c521fd4710de59bc3fa81a5b7f432eef0e9dfcf9", :_id=>{:$ne=>BSON::ObjectId('5bb622473541594a350002ed')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622473541594a350002ed'), "application_id"=>BSON::ObjectId('5bb622473541594a350002eb'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002ec'), "token"=>"e8e340b8a5bd831c35e68f08c521fd4710de59bc3fa81a5b7f432eef0e9dfcf9", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622473541594a350002ed'), "application_id"=>BSON::ObjectId('5bb622473541594a350002eb'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002ec'), "token"=>"e8e340b8a5bd831c35e68f08c521fd4710de59bc3fa81a5b7f432eef0e9dfcf9", "expires_in"=>7200, "scopes"=>"public"}) Started GET "/oauth/authorize?client_id=56267b324ac6e18aa52c92aae85b368a640a89312f999a11fcd0d7d0a34b3a24&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public+write" for 127.0.0.1 at 2018-10-04 17:23:03 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"56267b324ac6e18aa52c92aae85b368a640a89312f999a11fcd0d7d0a34b3a24", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public write"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"56267b324ac6e18aa52c92aae85b368a640a89312f999a11fcd0d7d0a34b3a24"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622473541594a350002eb'), :resource_owner_id=>BSON::ObjectId('5bb622473541594a350002ec'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.2ms) Completed 200 OK in 7ms (Views: 2.7ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (2.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.2ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"843722c3543ddf9042d9b90be10aefb42cebfc3e5a663ff01259260dadffec14", :_id=>{:$ne=>BSON::ObjectId('5bb622473541594a350002ee')}}, {:_id=>1}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622473541594a350002ee'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "name"=>"Application 328", "uid"=>"843722c3543ddf9042d9b90be10aefb42cebfc3e5a663ff01259260dadffec14", "secret"=>"e4305a9387dac90c5efc20aa04c95221ab17a2041cf11426f331a2248a157688", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622473541594a350002ee'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "name"=>"Application 328", "uid"=>"843722c3543ddf9042d9b90be10aefb42cebfc3e5a663ff01259260dadffec14", "secret"=>"e4305a9387dac90c5efc20aa04c95221ab17a2041cf11426f331a2248a157688", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622473541594a350002ef'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622473541594a350002ef'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:03 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:23:03 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:03 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"00746c6eca0765bdc10402b0e89498f1cc45babdea4830e35d9ce865f30367d2", :_id=>{:$ne=>BSON::ObjectId('5bb622473541594a350002f0')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622473541594a350002f0'), "application_id"=>BSON::ObjectId('5bb622473541594a350002ee'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002ef'), "token"=>"00746c6eca0765bdc10402b0e89498f1cc45babdea4830e35d9ce865f30367d2", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622473541594a350002f0'), "application_id"=>BSON::ObjectId('5bb622473541594a350002ee'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002ef'), "token"=>"00746c6eca0765bdc10402b0e89498f1cc45babdea4830e35d9ce865f30367d2", "expires_in"=>7200, "scopes"=>"public write"}) Started GET "/oauth/authorize?client_id=843722c3543ddf9042d9b90be10aefb42cebfc3e5a663ff01259260dadffec14&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public" for 127.0.0.1 at 2018-10-04 17:23:03 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"843722c3543ddf9042d9b90be10aefb42cebfc3e5a663ff01259260dadffec14", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"843722c3543ddf9042d9b90be10aefb42cebfc3e5a663ff01259260dadffec14"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622473541594a350002ee'), :resource_owner_id=>BSON::ObjectId('5bb622473541594a350002ef'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.2ms) Completed 200 OK in 7ms (Views: 2.6ms | ActiveRecord: 0.0ms) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ae7c0a465bea34fe24dec659ef47cb868c387deb009068a3504e2ee529077e11", :_id=>{:$ne=>BSON::ObjectId('5bb622473541594a350002f1')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622473541594a350002f1'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "name"=>"Application 329", "uid"=>"ae7c0a465bea34fe24dec659ef47cb868c387deb009068a3504e2ee529077e11", "secret"=>"5541fbf3e948de5ad1805b9869e026721d751d96ff72b7e73035424aaa09fc4d", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622473541594a350002f1'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "name"=>"Application 329", "uid"=>"ae7c0a465bea34fe24dec659ef47cb868c387deb009068a3504e2ee529077e11", "secret"=>"5541fbf3e948de5ad1805b9869e026721d751d96ff72b7e73035424aaa09fc4d", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622473541594a350002f2'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622473541594a350002f2'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:03 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:23:03 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:03 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"9b995071423b2425377b087de418bdb1066fdfbb8b1b6c555d58e8c5b0c061a3", :_id=>{:$ne=>BSON::ObjectId('5bb622473541594a350002f3')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622473541594a350002f3'), "application_id"=>BSON::ObjectId('5bb622473541594a350002f1'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002f2'), "token"=>"9b995071423b2425377b087de418bdb1066fdfbb8b1b6c555d58e8c5b0c061a3", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622473541594a350002f3'), "application_id"=>BSON::ObjectId('5bb622473541594a350002f1'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002f2'), "token"=>"9b995071423b2425377b087de418bdb1066fdfbb8b1b6c555d58e8c5b0c061a3", "expires_in"=>7200, "scopes"=>"public"}) Started GET "/oauth/authorize?client_id=ae7c0a465bea34fe24dec659ef47cb868c387deb009068a3504e2ee529077e11&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public+write" for 127.0.0.1 at 2018-10-04 17:23:03 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"ae7c0a465bea34fe24dec659ef47cb868c387deb009068a3504e2ee529077e11", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public write"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ae7c0a465bea34fe24dec659ef47cb868c387deb009068a3504e2ee529077e11"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622473541594a350002f1'), :resource_owner_id=>BSON::ObjectId('5bb622473541594a350002f2'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.2ms) Completed 200 OK in 6ms (Views: 2.5ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:23:03 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"ae7c0a465bea34fe24dec659ef47cb868c387deb009068a3504e2ee529077e11", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public write", "commit"=>"Authorize"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ae7c0a465bea34fe24dec659ef47cb868c387deb009068a3504e2ee529077e11"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"6b6da08be1b5755384ddd790989523ac30d867844a63be817bfda24faf6275ed", :_id=>{:$ne=>BSON::ObjectId('5bb622473541594a350002f4')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622473541594a350002f4'), "application_id"=>BSON::ObjectId('5bb622473541594a350002f1'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002f2'), "token"=>"6b6da08be1b5755384ddd790989523ac30d867844a63be817bfda24faf6275ed", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622473541594a350002f4'), "application_id"=>BSON::ObjectId('5bb622473541594a350002f1'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002f2'), "token"=>"6b6da08be1b5755384ddd790989523ac30d867844a63be817bfda24faf6275ed", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=6b6da08be1b5755384ddd790989523ac30d867844a63be817bfda24faf6275ed Completed 302 Found in 5ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:23:03 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d0ff7cdd4c0a0b46431a3a05aec729952d318fd21e1fd3826140fd5ba46490c2", :_id=>{:$ne=>BSON::ObjectId('5bb622473541594a350002f5')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622473541594a350002f5'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "name"=>"Application 330", "uid"=>"d0ff7cdd4c0a0b46431a3a05aec729952d318fd21e1fd3826140fd5ba46490c2", "secret"=>"7cf27a1565291bffe9e10be4725c1438db5be50ae5f4c81638e6f5d8f53394b6", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622473541594a350002f5'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "name"=>"Application 330", "uid"=>"d0ff7cdd4c0a0b46431a3a05aec729952d318fd21e1fd3826140fd5ba46490c2", "secret"=>"7cf27a1565291bffe9e10be4725c1438db5be50ae5f4c81638e6f5d8f53394b6", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622473541594a350002f6'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622473541594a350002f6'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:03 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:23:03 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:03 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"fa1d2d5818579d7d4f30f5c62ae7197f30d9ffc2cc8735e66815c2ba13788d98", :_id=>{:$ne=>BSON::ObjectId('5bb622473541594a350002f7')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622473541594a350002f7'), "application_id"=>BSON::ObjectId('5bb622473541594a350002f5'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002f6'), "token"=>"fa1d2d5818579d7d4f30f5c62ae7197f30d9ffc2cc8735e66815c2ba13788d98", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622473541594a350002f7'), "application_id"=>BSON::ObjectId('5bb622473541594a350002f5'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002f6'), "token"=>"fa1d2d5818579d7d4f30f5c62ae7197f30d9ffc2cc8735e66815c2ba13788d98", "expires_in"=>7200, "scopes"=>"public write"}) Started GET "/oauth/authorize?client_id=d0ff7cdd4c0a0b46431a3a05aec729952d318fd21e1fd3826140fd5ba46490c2&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:23:03 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"d0ff7cdd4c0a0b46431a3a05aec729952d318fd21e1fd3826140fd5ba46490c2", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d0ff7cdd4c0a0b46431a3a05aec729952d318fd21e1fd3826140fd5ba46490c2"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622473541594a350002f5'), :resource_owner_id=>BSON::ObjectId('5bb622473541594a350002f6'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.1ms) Completed 200 OK in 8ms (Views: 2.4ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6bb2d231f1d7626f88ae151fd40471157c9323b30082dd6300987664cb571853", :_id=>{:$ne=>BSON::ObjectId('5bb622473541594a350002f8')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622473541594a350002f8'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "name"=>"Application 331", "uid"=>"6bb2d231f1d7626f88ae151fd40471157c9323b30082dd6300987664cb571853", "secret"=>"1a6e405b65ff1e710561d7d81290609e38f4bdc44553e34c33f79269a28e633d", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622473541594a350002f8'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "name"=>"Application 331", "uid"=>"6bb2d231f1d7626f88ae151fd40471157c9323b30082dd6300987664cb571853", "secret"=>"1a6e405b65ff1e710561d7d81290609e38f4bdc44553e34c33f79269a28e633d", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622473541594a350002f9'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622473541594a350002f9'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:03 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:23:03 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:03 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"a3b3540253050005a74bcbbf6171510420996d9600e1db498f098e6bb8b198b0", :_id=>{:$ne=>BSON::ObjectId('5bb622473541594a350002fa')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622473541594a350002fa'), "application_id"=>BSON::ObjectId('5bb622473541594a350002f8'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002f9'), "token"=>"a3b3540253050005a74bcbbf6171510420996d9600e1db498f098e6bb8b198b0", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622473541594a350002fa'), "application_id"=>BSON::ObjectId('5bb622473541594a350002f8'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002f9'), "token"=>"a3b3540253050005a74bcbbf6171510420996d9600e1db498f098e6bb8b198b0", "expires_in"=>7200, "scopes"=>"public"}) Started GET "/oauth/authorize?client_id=6bb2d231f1d7626f88ae151fd40471157c9323b30082dd6300987664cb571853&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:23:03 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"6bb2d231f1d7626f88ae151fd40471157c9323b30082dd6300987664cb571853", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6bb2d231f1d7626f88ae151fd40471157c9323b30082dd6300987664cb571853"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622473541594a350002f8'), :resource_owner_id=>BSON::ObjectId('5bb622473541594a350002f9'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"0c8ceafca17a2d6008c9196531a317d28d0db1795cb28109af3f97f97f717e02", :_id=>{:$ne=>BSON::ObjectId('5bb622473541594a350002fb')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622473541594a350002fb'), "application_id"=>BSON::ObjectId('5bb622473541594a350002f8'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002f9'), "token"=>"0c8ceafca17a2d6008c9196531a317d28d0db1795cb28109af3f97f97f717e02", "scopes"=>"public", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622473541594a350002fb'), "application_id"=>BSON::ObjectId('5bb622473541594a350002f8'), "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622473541594a350002f9'), "token"=>"0c8ceafca17a2d6008c9196531a317d28d0db1795cb28109af3f97f97f717e02", "scopes"=>"public", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=0c8ceafca17a2d6008c9196531a317d28d0db1795cb28109af3f97f97f717e02 Completed 302 Found in 10ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:23:03 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{:application_id=>BSON::ObjectId('5bb622473541594a350002f8')}, "fields"=>nil}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:application_id=>BSON::ObjectId('5bb622473541594a350002f8')}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"0f96ffad37004031098985e0efed23274ddf24233f03c50a970df58ba51bcb2e", :_id=>{:$ne=>BSON::ObjectId('5bb622473541594a350002fc')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622473541594a350002fc'), "application_id"=>9990, "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>8900, "token"=>"0f96ffad37004031098985e0efed23274ddf24233f03c50a970df58ba51bcb2e", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"http://tst.com/cb"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622473541594a350002fc'), "application_id"=>9990, "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>8900, "token"=>"0f96ffad37004031098985e0efed23274ddf24233f03c50a970df58ba51bcb2e", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"http://tst.com/cb"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (3.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"af47dd324329c0a83bade65d1323a8b81c91d7b6b6cde65b135f8b18b69996f2", :_id=>{:$ne=>BSON::ObjectId('5bb622473541594a350002fd')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622473541594a350002fd'), "application_id"=>9990, "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>8900, "token"=>"af47dd324329c0a83bade65d1323a8b81c91d7b6b6cde65b135f8b18b69996f2", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"http://tst.com/cb"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622473541594a350002fd'), "application_id"=>9990, "created_at"=>2018-10-04 14:23:03 UTC, "updated_at"=>2018-10-04 14:23:03 UTC, "resource_owner_id"=>8900, "token"=>"af47dd324329c0a83bade65d1323a8b81c91d7b6b6cde65b135f8b18b69996f2", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"http://tst.com/cb"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB [DEBUG] Logging level is currently :debug which could negatively impact client-side performance. You should set your logging level no lower than :info in production. MONGODB (0.4ms) admin['$cmd'].find({:isMaster=>1}).limit(-1) ====> Doorkeeper.orm = mongo_mapper ====> Rails version: 4.2.10 ====> Ruby version: 2.4.1 MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:createIndexes=>"oauth_applications", :indexes=>[{:name=>"uid_1", :key=>{"uid"=>1}, :unique=>true}]}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:createIndexes=>"oauth_access_grants", :indexes=>[{:name=>"token_1", :key=>{"token"=>1}, :unique=>true}]}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:createIndexes=>"oauth_access_tokens", :indexes=>[{:name=>"token_1", :key=>{"token"=>1}, :unique=>true}]}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:createIndexes=>"oauth_access_tokens", :indexes=>[{:name=>"refresh_token_1", :key=>{"refresh_token"=>1}, :unique=>true, :sparse=>true}]}).limit(-1) Processing by Doorkeeper::TokenInfoController#show as HTML Completed 401 Unauthorized in 0ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b0914cd45d1758cc1a97cd893b309da5481cf15bde83c7712ba615db6e636232", :_id=>{:$ne=>BSON::ObjectId('5bb6224a3541594a85000002')}}, {:_id=>1}).limit(-1) MONGODB (2.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224a3541594a85000002'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "name"=>"Application 1", "uid"=>"b0914cd45d1758cc1a97cd893b309da5481cf15bde83c7712ba615db6e636232", "secret"=>"444277d2bd00fc8d2569b637cd5bfa6351fcc09bfb6f641939d9e57b3f945fee", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (2.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224a3541594a85000002'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "name"=>"Application 1", "uid"=>"b0914cd45d1758cc1a97cd893b309da5481cf15bde83c7712ba615db6e636232", "secret"=>"444277d2bd00fc8d2569b637cd5bfa6351fcc09bfb6f641939d9e57b3f945fee", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"23256ca7568a4f262bb9f047cc1286481d727d6584249f171f3aa24ddb7eb2fd", :_id=>{:$ne=>BSON::ObjectId('5bb6224a3541594a85000001')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224a3541594a85000001'), "application_id"=>BSON::ObjectId('5bb6224a3541594a85000002'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "resource_owner_id"=>1, "token"=>"23256ca7568a4f262bb9f047cc1286481d727d6584249f171f3aa24ddb7eb2fd", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224a3541594a85000001'), "application_id"=>BSON::ObjectId('5bb6224a3541594a85000002'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "resource_owner_id"=>1, "token"=>"23256ca7568a4f262bb9f047cc1286481d727d6584249f171f3aa24ddb7eb2fd", "expires_in"=>7200}) Processing by Doorkeeper::TokenInfoController#show as HTML Completed 401 Unauthorized in 0ms MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (2.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokenInfoController#show as HTML Completed 401 Unauthorized in 0ms MONGODB (4.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (12.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (12.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.0ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokenInfoController#show as HTML MONGODB (10.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2c9fdc87f93ad6b614a348eb7fca57649ab1183e040f791fd2a46d0fcc7103f9", :_id=>{:$ne=>BSON::ObjectId('5bb6224a3541594a85000004')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224a3541594a85000004'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "name"=>"Application 2", "uid"=>"2c9fdc87f93ad6b614a348eb7fca57649ab1183e040f791fd2a46d0fcc7103f9", "secret"=>"eb3c51a7a476f3f2c5b5552b8b9714ee3f52d800c0c1b4044c84e183d266e274", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224a3541594a85000004'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "name"=>"Application 2", "uid"=>"2c9fdc87f93ad6b614a348eb7fca57649ab1183e040f791fd2a46d0fcc7103f9", "secret"=>"eb3c51a7a476f3f2c5b5552b8b9714ee3f52d800c0c1b4044c84e183d266e274", "redirect_uri"=>"https://app.com/callback"}) MONGODB (1.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f86ea79a22eb53c89fcd7534f9da557666a8db0e68f294e066136ce3c63fe79a", :_id=>{:$ne=>BSON::ObjectId('5bb6224a3541594a85000003')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224a3541594a85000003'), "application_id"=>BSON::ObjectId('5bb6224a3541594a85000004'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "resource_owner_id"=>2, "token"=>"f86ea79a22eb53c89fcd7534f9da557666a8db0e68f294e066136ce3c63fe79a", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224a3541594a85000003'), "application_id"=>BSON::ObjectId('5bb6224a3541594a85000004'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "resource_owner_id"=>2, "token"=>"f86ea79a22eb53c89fcd7534f9da557666a8db0e68f294e066136ce3c63fe79a", "expires_in"=>7200}) Completed 200 OK in 18ms MONGODB (7.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (7.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (7.2ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokenInfoController#show as HTML MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6a8045d2cea038681a8ef93b98d639304872cd733b1d81e1a7fe514c39917569", :_id=>{:$ne=>BSON::ObjectId('5bb6224a3541594a85000006')}}, {:_id=>1}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224a3541594a85000006'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "name"=>"Application 3", "uid"=>"6a8045d2cea038681a8ef93b98d639304872cd733b1d81e1a7fe514c39917569", "secret"=>"939e28eb9b48c40bff457206a03523249f4353825ac0c6d95a8bbe6e764229dd", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224a3541594a85000006'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "name"=>"Application 3", "uid"=>"6a8045d2cea038681a8ef93b98d639304872cd733b1d81e1a7fe514c39917569", "secret"=>"939e28eb9b48c40bff457206a03523249f4353825ac0c6d95a8bbe6e764229dd", "redirect_uri"=>"https://app.com/callback"}) MONGODB (12.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"76edfd94f1c9dcd1acf3d3eb732ae161fdf9bd9655d35cb217370475595074c1", :_id=>{:$ne=>BSON::ObjectId('5bb6224a3541594a85000005')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224a3541594a85000005'), "application_id"=>BSON::ObjectId('5bb6224a3541594a85000006'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "resource_owner_id"=>3, "token"=>"76edfd94f1c9dcd1acf3d3eb732ae161fdf9bd9655d35cb217370475595074c1", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224a3541594a85000005'), "application_id"=>BSON::ObjectId('5bb6224a3541594a85000006'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "resource_owner_id"=>3, "token"=>"76edfd94f1c9dcd1acf3d3eb732ae161fdf9bd9655d35cb217370475595074c1", "expires_in"=>7200}) Completed 200 OK in 26ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (4.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (4.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a7126eeb3a83980205c1bc2d133a44916f0c8f0c7e16a0715b07381858331c14", :_id=>{:$ne=>BSON::ObjectId('5bb6224a3541594a85000007')}}, {:_id=>1}).limit(-1) MONGODB (4.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224a3541594a85000007'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "name"=>"Application 4", "uid"=>"a7126eeb3a83980205c1bc2d133a44916f0c8f0c7e16a0715b07381858331c14", "secret"=>"86bc74cf19378678ed499cea8bd4b092a4beebdb1b638e6c75c35b11eda83b93", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (5.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224a3541594a85000007'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "name"=>"Application 4", "uid"=>"a7126eeb3a83980205c1bc2d133a44916f0c8f0c7e16a0715b07381858331c14", "secret"=>"86bc74cf19378678ed499cea8bd4b092a4beebdb1b638e6c75c35b11eda83b93", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224a3541594a85000008'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224a3541594a85000008'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"fe35a6b33bd98baa525936c04a4dd536cff195ad5de36c86f3326434a83a6ef3", :_id=>{:$ne=>BSON::ObjectId('5bb6224a3541594a85000009')}}, {:_id=>1}).limit(-1) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224a3541594a85000009'), "application_id"=>BSON::ObjectId('5bb6224a3541594a85000007'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224a3541594a85000008'), "token"=>"fe35a6b33bd98baa525936c04a4dd536cff195ad5de36c86f3326434a83a6ef3", "expires_in"=>7200, "scopes"=>"admin"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (2.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224a3541594a85000009'), "application_id"=>BSON::ObjectId('5bb6224a3541594a85000007'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224a3541594a85000008'), "token"=>"fe35a6b33bd98baa525936c04a4dd536cff195ad5de36c86f3326434a83a6ef3", "expires_in"=>7200, "scopes"=>"admin"}) MONGODB (3.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"fe35a6b33bd98baa525936c04a4dd536cff195ad5de36c86f3326434a83a6ef3"}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (2.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224a3541594a85000009')}, :u=>{"_id"=>BSON::ObjectId('5bb6224a3541594a85000009'), "application_id"=>BSON::ObjectId('5bb6224a3541594a85000007'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224a3541594a85000008'), "token"=>"fe35a6b33bd98baa525936c04a4dd536cff195ad5de36c86f3326434a83a6ef3", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"admin"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (2.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6224a3541594a85000009')}, {"_id"=>BSON::ObjectId('5bb6224a3541594a85000009'), "application_id"=>BSON::ObjectId('5bb6224a3541594a85000007'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224a3541594a85000008'), "token"=>"fe35a6b33bd98baa525936c04a4dd536cff195ad5de36c86f3326434a83a6ef3", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"admin"}) MONGODB (14.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5feebd9d513c12e83733aef323aff7fcf38c90bc04400786d6bf2601ccd54978", :_id=>{:$ne=>BSON::ObjectId('5bb6224a3541594a8500000a')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224a3541594a8500000a'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "name"=>"Application 5", "uid"=>"5feebd9d513c12e83733aef323aff7fcf38c90bc04400786d6bf2601ccd54978", "secret"=>"1dcb04b22a284c281d407f731bf4a2d02193c4b95468cd24e68a6bb191d67975", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224a3541594a8500000a'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "name"=>"Application 5", "uid"=>"5feebd9d513c12e83733aef323aff7fcf38c90bc04400786d6bf2601ccd54978", "secret"=>"1dcb04b22a284c281d407f731bf4a2d02193c4b95468cd24e68a6bb191d67975", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224a3541594a8500000b'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224a3541594a8500000b'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"8e239e8ef749d700474d8c2a66f1ad5157c88662a9263a04faa448a902913a79", :_id=>{:$ne=>BSON::ObjectId('5bb6224a3541594a8500000c')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224a3541594a8500000c'), "application_id"=>BSON::ObjectId('5bb6224a3541594a8500000a'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224a3541594a8500000b'), "token"=>"8e239e8ef749d700474d8c2a66f1ad5157c88662a9263a04faa448a902913a79", "expires_in"=>7200, "scopes"=>"admin"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224a3541594a8500000c'), "application_id"=>BSON::ObjectId('5bb6224a3541594a8500000a'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224a3541594a8500000b'), "token"=>"8e239e8ef749d700474d8c2a66f1ad5157c88662a9263a04faa448a902913a79", "expires_in"=>7200, "scopes"=>"admin"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"8e239e8ef749d700474d8c2a66f1ad5157c88662a9263a04faa448a902913a79"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224a3541594a8500000c')}, :u=>{"_id"=>BSON::ObjectId('5bb6224a3541594a8500000c'), "application_id"=>BSON::ObjectId('5bb6224a3541594a8500000a'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224a3541594a8500000b'), "token"=>"8e239e8ef749d700474d8c2a66f1ad5157c88662a9263a04faa448a902913a79", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"admin"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6224a3541594a8500000c')}, {"_id"=>BSON::ObjectId('5bb6224a3541594a8500000c'), "application_id"=>BSON::ObjectId('5bb6224a3541594a8500000a'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224a3541594a8500000b'), "token"=>"8e239e8ef749d700474d8c2a66f1ad5157c88662a9263a04faa448a902913a79", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"admin"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4a87ff9c0bd15198811839e3b52f24c5839b7704f3d412f14ba602c0302552a1", :_id=>{:$ne=>BSON::ObjectId('5bb6224a3541594a8500000d')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224a3541594a8500000d'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "name"=>"Application 6", "uid"=>"4a87ff9c0bd15198811839e3b52f24c5839b7704f3d412f14ba602c0302552a1", "secret"=>"6f5e72e87e55cc19a969dec6a5d689f8cb76aa77a1102557c57bad5a66aafe6c", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224a3541594a8500000d'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "name"=>"Application 6", "uid"=>"4a87ff9c0bd15198811839e3b52f24c5839b7704f3d412f14ba602c0302552a1", "secret"=>"6f5e72e87e55cc19a969dec6a5d689f8cb76aa77a1102557c57bad5a66aafe6c", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224a3541594a8500000e'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224a3541594a8500000e'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d1e198480f1b24ee8a978b39b71b2cdbab88c85d4326b79b01bfca2ff3aa4680", :_id=>{:$ne=>BSON::ObjectId('5bb6224a3541594a8500000f')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224a3541594a8500000f'), "application_id"=>BSON::ObjectId('5bb6224a3541594a8500000d'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224a3541594a8500000e'), "token"=>"d1e198480f1b24ee8a978b39b71b2cdbab88c85d4326b79b01bfca2ff3aa4680", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224a3541594a8500000f'), "application_id"=>BSON::ObjectId('5bb6224a3541594a8500000d'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224a3541594a8500000e'), "token"=>"d1e198480f1b24ee8a978b39b71b2cdbab88c85d4326b79b01bfca2ff3aa4680", "expires_in"=>7200}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d1e198480f1b24ee8a978b39b71b2cdbab88c85d4326b79b01bfca2ff3aa4680"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224a3541594a8500000f')}, :u=>{"_id"=>BSON::ObjectId('5bb6224a3541594a8500000f'), "application_id"=>BSON::ObjectId('5bb6224a3541594a8500000d'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224a3541594a8500000e'), "token"=>"d1e198480f1b24ee8a978b39b71b2cdbab88c85d4326b79b01bfca2ff3aa4680", "previous_refresh_token"=>"", "expires_in"=>7200}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6224a3541594a8500000f')}, {"_id"=>BSON::ObjectId('5bb6224a3541594a8500000f'), "application_id"=>BSON::ObjectId('5bb6224a3541594a8500000d'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224a3541594a8500000e'), "token"=>"d1e198480f1b24ee8a978b39b71b2cdbab88c85d4326b79b01bfca2ff3aa4680", "previous_refresh_token"=>"", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"846661cfebdb3ae26ae537bbb520e7bdd3c7d46d661505c48d0290e18a6e8e03", :_id=>{:$ne=>BSON::ObjectId('5bb6224a3541594a85000010')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224a3541594a85000010'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "name"=>"Application 7", "uid"=>"846661cfebdb3ae26ae537bbb520e7bdd3c7d46d661505c48d0290e18a6e8e03", "secret"=>"624f1c7aaf369aa901ce16003e73cb862f0d9e2c9d9e5486949cf5dcad90fd6c", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224a3541594a85000010'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "name"=>"Application 7", "uid"=>"846661cfebdb3ae26ae537bbb520e7bdd3c7d46d661505c48d0290e18a6e8e03", "secret"=>"624f1c7aaf369aa901ce16003e73cb862f0d9e2c9d9e5486949cf5dcad90fd6c", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224a3541594a85000011'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224a3541594a85000011'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"feea4dddeaeacb6d602d4922c37565e1e48f166272ad9f4e2f7c3702e107e5c8", :_id=>{:$ne=>BSON::ObjectId('5bb6224a3541594a85000012')}}, {:_id=>1}).limit(-1) MONGODB (4.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224a3541594a85000012'), "application_id"=>BSON::ObjectId('5bb6224a3541594a85000010'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224a3541594a85000011'), "token"=>"feea4dddeaeacb6d602d4922c37565e1e48f166272ad9f4e2f7c3702e107e5c8", "expires_in"=>7200, "scopes"=>"read write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (4.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224a3541594a85000012'), "application_id"=>BSON::ObjectId('5bb6224a3541594a85000010'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224a3541594a85000011'), "token"=>"feea4dddeaeacb6d602d4922c37565e1e48f166272ad9f4e2f7c3702e107e5c8", "expires_in"=>7200, "scopes"=>"read write"}) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"feea4dddeaeacb6d602d4922c37565e1e48f166272ad9f4e2f7c3702e107e5c8"}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224a3541594a85000012')}, :u=>{"_id"=>BSON::ObjectId('5bb6224a3541594a85000012'), "application_id"=>BSON::ObjectId('5bb6224a3541594a85000010'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224a3541594a85000011'), "token"=>"feea4dddeaeacb6d602d4922c37565e1e48f166272ad9f4e2f7c3702e107e5c8", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"read write"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6224a3541594a85000012')}, {"_id"=>BSON::ObjectId('5bb6224a3541594a85000012'), "application_id"=>BSON::ObjectId('5bb6224a3541594a85000010'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224a3541594a85000011'), "token"=>"feea4dddeaeacb6d602d4922c37565e1e48f166272ad9f4e2f7c3702e107e5c8", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"read write"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7cf3303677ce48eb2af0dde00ac083532ad36ff66101c689122a1fa8f356e684", :_id=>{:$ne=>BSON::ObjectId('5bb6224a3541594a85000013')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224a3541594a85000013'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "name"=>"Application 8", "uid"=>"7cf3303677ce48eb2af0dde00ac083532ad36ff66101c689122a1fa8f356e684", "secret"=>"135ae592bb3835d333dc5e3ef38c5b9cac6b8bd8c2b86f2d9cba7a4fc1cb6277", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224a3541594a85000013'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "name"=>"Application 8", "uid"=>"7cf3303677ce48eb2af0dde00ac083532ad36ff66101c689122a1fa8f356e684", "secret"=>"135ae592bb3835d333dc5e3ef38c5b9cac6b8bd8c2b86f2d9cba7a4fc1cb6277", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224a3541594a85000014'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224a3541594a85000014'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"49ddbaef9da96524c159705166498a961f5b14f76c598a3b6088e4f847ae910c", :_id=>{:$ne=>BSON::ObjectId('5bb6224a3541594a85000015')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224a3541594a85000015'), "application_id"=>BSON::ObjectId('5bb6224a3541594a85000013'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224a3541594a85000014'), "token"=>"49ddbaef9da96524c159705166498a961f5b14f76c598a3b6088e4f847ae910c", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224a3541594a85000015'), "application_id"=>BSON::ObjectId('5bb6224a3541594a85000013'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224a3541594a85000014'), "token"=>"49ddbaef9da96524c159705166498a961f5b14f76c598a3b6088e4f847ae910c", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"49ddbaef9da96524c159705166498a961f5b14f76c598a3b6088e4f847ae910c"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224a3541594a85000015')}, :u=>{"_id"=>BSON::ObjectId('5bb6224a3541594a85000015'), "application_id"=>BSON::ObjectId('5bb6224a3541594a85000013'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224a3541594a85000014'), "token"=>"49ddbaef9da96524c159705166498a961f5b14f76c598a3b6088e4f847ae910c", "previous_refresh_token"=>"", "expires_in"=>7200}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6224a3541594a85000015')}, {"_id"=>BSON::ObjectId('5bb6224a3541594a85000015'), "application_id"=>BSON::ObjectId('5bb6224a3541594a85000013'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224a3541594a85000014'), "token"=>"49ddbaef9da96524c159705166498a961f5b14f76c598a3b6088e4f847ae910c", "previous_refresh_token"=>"", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2a5027d7fcc923f1647038c3144cba225f25b8767e106006f510fa8277cf21ba", :_id=>{:$ne=>BSON::ObjectId('5bb6224a3541594a85000016')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224a3541594a85000016'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "name"=>"Application 9", "uid"=>"2a5027d7fcc923f1647038c3144cba225f25b8767e106006f510fa8277cf21ba", "secret"=>"974cc956f716e0bfc21e9c6e5fd44686045305f4168e4325822ffb878f06b1ac", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224a3541594a85000016'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "name"=>"Application 9", "uid"=>"2a5027d7fcc923f1647038c3144cba225f25b8767e106006f510fa8277cf21ba", "secret"=>"974cc956f716e0bfc21e9c6e5fd44686045305f4168e4325822ffb878f06b1ac", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224a3541594a85000017'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224a3541594a85000017'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:06 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.4ms) Completed 200 OK in 8ms (Views: 7.9ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:23:06 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:06 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=2a5027d7fcc923f1647038c3144cba225f25b8767e106006f510fa8277cf21ba&redirect_uri=invalid&response_type=token" for 127.0.0.1 at 2018-10-04 17:23:06 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"2a5027d7fcc923f1647038c3144cba225f25b8767e106006f510fa8277cf21ba", "redirect_uri"=>"invalid", "response_type"=>"token"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2a5027d7fcc923f1647038c3144cba225f25b8767e106006f510fa8277cf21ba"}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/error.html.erb within layouts/doorkeeper/application (0.5ms) Completed 200 OK in 206ms (Views: 203.6ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"76553a29e1cb4d81be0d1c8da5721a268d1bc76f53411b7b2bc33ae8d26b3195", :_id=>{:$ne=>BSON::ObjectId('5bb6224a3541594a85000018')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224a3541594a85000018'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "name"=>"Application 10", "uid"=>"76553a29e1cb4d81be0d1c8da5721a268d1bc76f53411b7b2bc33ae8d26b3195", "secret"=>"6c42c549568c4c4a43493785c5a0718dc013ad9eeb9b0ccfd0937a3505316f60", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224a3541594a85000018'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "name"=>"Application 10", "uid"=>"76553a29e1cb4d81be0d1c8da5721a268d1bc76f53411b7b2bc33ae8d26b3195", "secret"=>"6c42c549568c4c4a43493785c5a0718dc013ad9eeb9b0ccfd0937a3505316f60", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224a3541594a85000019'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224a3541594a85000019'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:06 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:23:06 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:06 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=token" for 127.0.0.1 at 2018-10-04 17:23:06 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"redirect_uri"=>"https://app.com/callback", "response_type"=>"token"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>""}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/error.html.erb within layouts/doorkeeper/application (0.2ms) Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ef968fe06dcb88cce87058fc46985cfb9f7886cb789a0e08361dd91be8188afd", :_id=>{:$ne=>BSON::ObjectId('5bb6224a3541594a8500001a')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224a3541594a8500001a'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "name"=>"Application 11", "uid"=>"ef968fe06dcb88cce87058fc46985cfb9f7886cb789a0e08361dd91be8188afd", "secret"=>"75d01261652f8c5313db8262c0b3461aa5108c8f08ff9851d62988fc9372e66e", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224a3541594a8500001a'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "name"=>"Application 11", "uid"=>"ef968fe06dcb88cce87058fc46985cfb9f7886cb789a0e08361dd91be8188afd", "secret"=>"75d01261652f8c5313db8262c0b3461aa5108c8f08ff9851d62988fc9372e66e", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224a3541594a8500001b'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224a3541594a8500001b'), "created_at"=>2018-10-04 14:23:06 UTC, "updated_at"=>2018-10-04 14:23:06 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:06 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:23:06 +0300 Processing by HomeController#sign_in as HTML MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:06 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=invalid&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=token" for 127.0.0.1 at 2018-10-04 17:23:06 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"invalid", "redirect_uri"=>"https://app.com/callback", "response_type"=>"token"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"invalid"}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/error.html.erb within layouts/doorkeeper/application (0.2ms) Completed 200 OK in 4ms (Views: 1.5ms | ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5fbdd9d5d3d3ebea8817c94c536b53112d51d3356cfcba03e5d0b488ce0a7bd0", :_id=>{:$ne=>BSON::ObjectId('5bb6224b3541594a8500001c')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224b3541594a8500001c'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Application 12", "uid"=>"5fbdd9d5d3d3ebea8817c94c536b53112d51d3356cfcba03e5d0b488ce0a7bd0", "secret"=>"bc2c908c16a8d6d90b3671353e924b57a09bd25a0a3f360bd3df5a9a8e6c5133", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224b3541594a8500001c'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Application 12", "uid"=>"5fbdd9d5d3d3ebea8817c94c536b53112d51d3356cfcba03e5d0b488ce0a7bd0", "secret"=>"bc2c908c16a8d6d90b3671353e924b57a09bd25a0a3f360bd3df5a9a8e6c5133", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224b3541594a8500001d'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224b3541594a8500001d'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by HomeController#sign_in as HTML MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=5fbdd9d5d3d3ebea8817c94c536b53112d51d3356cfcba03e5d0b488ce0a7bd0&response_type=token" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"5fbdd9d5d3d3ebea8817c94c536b53112d51d3356cfcba03e5d0b488ce0a7bd0", "response_type"=>"token"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5fbdd9d5d3d3ebea8817c94c536b53112d51d3356cfcba03e5d0b488ce0a7bd0"}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/error.html.erb within layouts/doorkeeper/application (0.2ms) Completed 200 OK in 4ms (Views: 1.5ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (2.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.1ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"49f4c88ecbedb40e8f035f0b92ea786cfa9a4802c1f2db3023c38a91ba41829a", :_id=>{:$ne=>BSON::ObjectId('5bb6224b3541594a8500001e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6224b3541594a8500001e'), "application_id"=>9990, "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "resource_owner_id"=>8900, "token"=>"49f4c88ecbedb40e8f035f0b92ea786cfa9a4802c1f2db3023c38a91ba41829a", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"http://tst.com/cb"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6224b3541594a8500001e'), "application_id"=>9990, "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "resource_owner_id"=>8900, "token"=>"49f4c88ecbedb40e8f035f0b92ea786cfa9a4802c1f2db3023c38a91ba41829a", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"http://tst.com/cb"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (2.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"90a4e713d66347f22729025f7fb06d2c29ad38cf140ddaf5cc8a8830ae43f596", :_id=>{:$ne=>BSON::ObjectId('5bb6224b3541594a8500001f')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6224b3541594a8500001f'), "application_id"=>9990, "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "resource_owner_id"=>8900, "token"=>"90a4e713d66347f22729025f7fb06d2c29ad38cf140ddaf5cc8a8830ae43f596", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"http://tst.com/cb"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6224b3541594a8500001f'), "application_id"=>9990, "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "resource_owner_id"=>8900, "token"=>"90a4e713d66347f22729025f7fb06d2c29ad38cf140ddaf5cc8a8830ae43f596", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"http://tst.com/cb"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5964e0c205c1180f1f94ef814920238f13e7052b8ae7d03eadd16a715c0f60d2", :_id=>{:$ne=>BSON::ObjectId('5bb6224b3541594a85000020')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224b3541594a85000020'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Application 13", "uid"=>"5964e0c205c1180f1f94ef814920238f13e7052b8ae7d03eadd16a715c0f60d2", "secret"=>"cb72f292f1f617f1a0d81bd46429b5e53038991c79250046ea93be6bd678c145", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224b3541594a85000020'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Application 13", "uid"=>"5964e0c205c1180f1f94ef814920238f13e7052b8ae7d03eadd16a715c0f60d2", "secret"=>"cb72f292f1f617f1a0d81bd46429b5e53038991c79250046ea93be6bd678c145", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"35713b87794c5da4ccd4082653a885397aeddd3ff55264799b062767e10a925c", :_id=>{:$ne=>BSON::ObjectId('5bb6224b3541594a85000021')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6224b3541594a85000021'), "application_id"=>BSON::ObjectId('5bb6224b3541594a85000020'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "resource_owner_id"=>1, "token"=>"35713b87794c5da4ccd4082653a885397aeddd3ff55264799b062767e10a925c", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6224b3541594a85000021'), "application_id"=>BSON::ObjectId('5bb6224b3541594a85000020'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "resource_owner_id"=>1, "token"=>"35713b87794c5da4ccd4082653a885397aeddd3ff55264799b062767e10a925c", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token?code=[FILTERED]&client_id=5964e0c205c1180f1f94ef814920238f13e7052b8ae7d03eadd16a715c0f60d2&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"5964e0c205c1180f1f94ef814920238f13e7052b8ae7d03eadd16a715c0f60d2", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"35713b87794c5da4ccd4082653a885397aeddd3ff55264799b062767e10a925c"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5964e0c205c1180f1f94ef814920238f13e7052b8ae7d03eadd16a715c0f60d2"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb6224b3541594a85000021')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224b3541594a85000021')}, :u=>{"_id"=>BSON::ObjectId('5bb6224b3541594a85000021'), "application_id"=>BSON::ObjectId('5bb6224b3541594a85000020'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "resource_owner_id"=>1, "token"=>"35713b87794c5da4ccd4082653a885397aeddd3ff55264799b062767e10a925c", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb6224b3541594a85000021')}, {"_id"=>BSON::ObjectId('5bb6224b3541594a85000021'), "application_id"=>BSON::ObjectId('5bb6224b3541594a85000020'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "resource_owner_id"=>1, "token"=>"35713b87794c5da4ccd4082653a885397aeddd3ff55264799b062767e10a925c", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224b3541594a85000020')}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224b3541594a85000020')}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"ca943dfda5c6b362ee18cd5d6a25e033eed2c0141078bad9346820f6e5fe7bd1", :_id=>{:$ne=>BSON::ObjectId('5bb6224b3541594a85000022')}}, {:_id=>1}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224b3541594a85000022'), "application_id"=>BSON::ObjectId('5bb6224b3541594a85000020'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "resource_owner_id"=>1, "token"=>"ca943dfda5c6b362ee18cd5d6a25e033eed2c0141078bad9346820f6e5fe7bd1", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (2.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224b3541594a85000022'), "application_id"=>BSON::ObjectId('5bb6224b3541594a85000020'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "resource_owner_id"=>1, "token"=>"ca943dfda5c6b362ee18cd5d6a25e033eed2c0141078bad9346820f6e5fe7bd1", "expires_in"=>7200, "scopes"=>"public write"}) Completed 200 OK in 16ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code=[FILTERED]&client_id=5964e0c205c1180f1f94ef814920238f13e7052b8ae7d03eadd16a715c0f60d2&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"5964e0c205c1180f1f94ef814920238f13e7052b8ae7d03eadd16a715c0f60d2", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"35713b87794c5da4ccd4082653a885397aeddd3ff55264799b062767e10a925c"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5964e0c205c1180f1f94ef814920238f13e7052b8ae7d03eadd16a715c0f60d2"}).limit(-1) Completed 401 Unauthorized in 2ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c51ec44fa68fe4c9c66df6ec74219a4c0a1e6b93ef227cad93c55e74bc395a15", :_id=>{:$ne=>BSON::ObjectId('5bb6224b3541594a85000023')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224b3541594a85000023'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Application 14", "uid"=>"c51ec44fa68fe4c9c66df6ec74219a4c0a1e6b93ef227cad93c55e74bc395a15", "secret"=>"f92d6fd730cbb3a636f17d14019955c33d4f6442bcde760b299c93752ecb2ba4", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224b3541594a85000023'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Application 14", "uid"=>"c51ec44fa68fe4c9c66df6ec74219a4c0a1e6b93ef227cad93c55e74bc395a15", "secret"=>"f92d6fd730cbb3a636f17d14019955c33d4f6442bcde760b299c93752ecb2ba4", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"83e5b3cd83dff50b1ecdd2e0a842bf292752264269b9c2ef08da4e97706a9d17", :_id=>{:$ne=>BSON::ObjectId('5bb6224b3541594a85000024')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6224b3541594a85000024'), "application_id"=>BSON::ObjectId('5bb6224b3541594a85000023'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "resource_owner_id"=>2, "token"=>"83e5b3cd83dff50b1ecdd2e0a842bf292752264269b9c2ef08da4e97706a9d17", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6224b3541594a85000024'), "application_id"=>BSON::ObjectId('5bb6224b3541594a85000023'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "resource_owner_id"=>2, "token"=>"83e5b3cd83dff50b1ecdd2e0a842bf292752264269b9c2ef08da4e97706a9d17", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token?code=[FILTERED]&client_id=c51ec44fa68fe4c9c66df6ec74219a4c0a1e6b93ef227cad93c55e74bc395a15&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"c51ec44fa68fe4c9c66df6ec74219a4c0a1e6b93ef227cad93c55e74bc395a15", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"invalid"}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c51ec44fa68fe4c9c66df6ec74219a4c0a1e6b93ef227cad93c55e74bc395a15"}).limit(-1) Completed 401 Unauthorized in 7ms MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224b3541594a85000025'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224b3541594a85000025'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ef69650e48e1b50e63c1c3c9dbbbec22f65596322bbde2dc1be089cde034296d", :_id=>{:$ne=>BSON::ObjectId('5bb6224b3541594a85000026')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224b3541594a85000026'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Amazing Client App", "uid"=>"ef69650e48e1b50e63c1c3c9dbbbec22f65596322bbde2dc1be089cde034296d", "secret"=>"e77b7d34a2dad948e6a0ff760ae2ee79d28939317efb324c0e7cfcbc07038d81", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224b3541594a85000026'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Amazing Client App", "uid"=>"ef69650e48e1b50e63c1c3c9dbbbec22f65596322bbde2dc1be089cde034296d", "secret"=>"e77b7d34a2dad948e6a0ff760ae2ee79d28939317efb324c0e7cfcbc07038d81", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"149f6a4dbc49df66b7f288df9b74b7b0df9c21faa44c27b4bc190a01441bc27a", :_id=>{:$ne=>BSON::ObjectId('5bb6224b3541594a85000027')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224b3541594a85000027'), "application_id"=>BSON::ObjectId('5bb6224b3541594a85000026'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224b3541594a85000025'), "token"=>"149f6a4dbc49df66b7f288df9b74b7b0df9c21faa44c27b4bc190a01441bc27a", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224b3541594a85000027'), "application_id"=>BSON::ObjectId('5bb6224b3541594a85000026'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224b3541594a85000025'), "token"=>"149f6a4dbc49df66b7f288df9b74b7b0df9c21faa44c27b4bc190a01441bc27a", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"853dca7f4c9a48bdda82e7042000c64503674027c5726ab137e235c71b88dc9d", :_id=>{:$ne=>BSON::ObjectId('5bb6224b3541594a85000028')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224b3541594a85000028'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Another Client App", "uid"=>"853dca7f4c9a48bdda82e7042000c64503674027c5726ab137e235c71b88dc9d", "secret"=>"983789370b5ba6e0f64316d2605ac1f50571a7bebdd692ce11fa56b933edd8b9", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224b3541594a85000028'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Another Client App", "uid"=>"853dca7f4c9a48bdda82e7042000c64503674027c5726ab137e235c71b88dc9d", "secret"=>"983789370b5ba6e0f64316d2605ac1f50571a7bebdd692ce11fa56b933edd8b9", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224b3541594a85000029'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224b3541594a85000029'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"7b66c8754260847633cf044e4c518a172f7eda69af7cb55503e4da62a5182502", :_id=>{:$ne=>BSON::ObjectId('5bb6224b3541594a8500002a')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224b3541594a8500002a'), "application_id"=>BSON::ObjectId('5bb6224b3541594a85000028'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224b3541594a85000029'), "token"=>"7b66c8754260847633cf044e4c518a172f7eda69af7cb55503e4da62a5182502", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224b3541594a8500002a'), "application_id"=>BSON::ObjectId('5bb6224b3541594a85000028'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224b3541594a85000029'), "token"=>"7b66c8754260847633cf044e4c518a172f7eda69af7cb55503e4da62a5182502", "expires_in"=>7200}) Started GET "/oauth/authorized_applications" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by Doorkeeper::AuthorizedApplicationsController#index as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:resource_owner_id=>BSON::ObjectId('5bb6224b3541594a85000025'), :revoked_at=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>{:$in=>[BSON::ObjectId('5bb6224b3541594a85000026')]}}) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorized_applications/_delete_form.html.erb (0.9ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorized_applications/index.html.erb within layouts/doorkeeper/application (3.3ms) Completed 200 OK in 17ms (Views: 15.0ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224b3541594a8500002b'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224b3541594a8500002b'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"dd576384734c6ca5750573b2d1646f7110099549f4f798e3f06f04682efce772", :_id=>{:$ne=>BSON::ObjectId('5bb6224b3541594a8500002c')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224b3541594a8500002c'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Amazing Client App", "uid"=>"dd576384734c6ca5750573b2d1646f7110099549f4f798e3f06f04682efce772", "secret"=>"51f72b5be10b5a1abd23d17ae30f183f8d7f7004b9c6922dd27b6530561a8d76", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224b3541594a8500002c'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Amazing Client App", "uid"=>"dd576384734c6ca5750573b2d1646f7110099549f4f798e3f06f04682efce772", "secret"=>"51f72b5be10b5a1abd23d17ae30f183f8d7f7004b9c6922dd27b6530561a8d76", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"17a7fb5bf106ed8fceffa2bdc0185bc1b5699b29690b321f646bfb17c48f20e2", :_id=>{:$ne=>BSON::ObjectId('5bb6224b3541594a8500002d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224b3541594a8500002d'), "application_id"=>BSON::ObjectId('5bb6224b3541594a8500002c'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224b3541594a8500002b'), "token"=>"17a7fb5bf106ed8fceffa2bdc0185bc1b5699b29690b321f646bfb17c48f20e2", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224b3541594a8500002d'), "application_id"=>BSON::ObjectId('5bb6224b3541594a8500002c'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224b3541594a8500002b'), "token"=>"17a7fb5bf106ed8fceffa2bdc0185bc1b5699b29690b321f646bfb17c48f20e2", "expires_in"=>7200}) Started GET "/oauth/authorized_applications" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by Doorkeeper::AuthorizedApplicationsController#index as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:resource_owner_id=>BSON::ObjectId('5bb6224b3541594a8500002b'), :revoked_at=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>{:$in=>[BSON::ObjectId('5bb6224b3541594a8500002c')]}}) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorized_applications/_delete_form.html.erb (0.3ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorized_applications/index.html.erb within layouts/doorkeeper/application (0.8ms) Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.0ms) Started DELETE "/oauth/authorized_applications/5bb6224b3541594a8500002c" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by Doorkeeper::AuthorizedApplicationsController#destroy as HTML Parameters: {"utf8"=>"✓", "commit"=>"Revoke", "id"=>"5bb6224b3541594a8500002c"} MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6224b3541594a8500002c'), :resource_owner_id=>BSON::ObjectId('5bb6224b3541594a8500002b'), :revoked_at=>nil}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224b3541594a8500002d')}, :u=>{"_id"=>BSON::ObjectId('5bb6224b3541594a8500002d'), "application_id"=>BSON::ObjectId('5bb6224b3541594a8500002c'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224b3541594a8500002b'), "token"=>"17a7fb5bf106ed8fceffa2bdc0185bc1b5699b29690b321f646bfb17c48f20e2", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6224b3541594a8500002d')}, {"_id"=>BSON::ObjectId('5bb6224b3541594a8500002d'), "application_id"=>BSON::ObjectId('5bb6224b3541594a8500002c'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224b3541594a8500002b'), "token"=>"17a7fb5bf106ed8fceffa2bdc0185bc1b5699b29690b321f646bfb17c48f20e2", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Redirected to http://www.example.com/oauth/authorized_applications Completed 302 Found in 6ms (ActiveRecord: 0.0ms) Started GET "/oauth/authorized_applications" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by Doorkeeper::AuthorizedApplicationsController#index as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:resource_owner_id=>BSON::ObjectId('5bb6224b3541594a8500002b'), :revoked_at=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>[]}) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorized_applications/index.html.erb within layouts/doorkeeper/application (0.2ms) Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224b3541594a8500002e'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224b3541594a8500002e'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b5f56111917ff1d09b82d2854bd8ab7004f3f01cba3d648347cb207bdbcb35de", :_id=>{:$ne=>BSON::ObjectId('5bb6224b3541594a8500002f')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224b3541594a8500002f'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Amazing Client App", "uid"=>"b5f56111917ff1d09b82d2854bd8ab7004f3f01cba3d648347cb207bdbcb35de", "secret"=>"b776b01ddd91fc95edd1dee7c9670d1144a97eae9636dc7d9089f2b7186e24e4", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224b3541594a8500002f'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Amazing Client App", "uid"=>"b5f56111917ff1d09b82d2854bd8ab7004f3f01cba3d648347cb207bdbcb35de", "secret"=>"b776b01ddd91fc95edd1dee7c9670d1144a97eae9636dc7d9089f2b7186e24e4", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"ef29f8acc8c88dab479f8ea9b4e1ab157bdec02571ca147611e34e09b9492450", :_id=>{:$ne=>BSON::ObjectId('5bb6224b3541594a85000030')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224b3541594a85000030'), "application_id"=>BSON::ObjectId('5bb6224b3541594a8500002f'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224b3541594a8500002e'), "token"=>"ef29f8acc8c88dab479f8ea9b4e1ab157bdec02571ca147611e34e09b9492450", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224b3541594a85000030'), "application_id"=>BSON::ObjectId('5bb6224b3541594a8500002f'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224b3541594a8500002e'), "token"=>"ef29f8acc8c88dab479f8ea9b4e1ab157bdec02571ca147611e34e09b9492450", "expires_in"=>7200}) Started GET "/oauth/authorized_applications" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by Doorkeeper::AuthorizedApplicationsController#index as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:resource_owner_id=>BSON::ObjectId('5bb6224b3541594a8500002e'), :revoked_at=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>{:$in=>[BSON::ObjectId('5bb6224b3541594a8500002f')]}}) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorized_applications/_delete_form.html.erb (0.4ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorized_applications/index.html.erb within layouts/doorkeeper/application (0.9ms) Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (2.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"98b7b2a8606c805e09afdac6014dce30c4c473972f654106c0bbb63d12385074", :_id=>{:$ne=>BSON::ObjectId('5bb6224b3541594a85000031')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224b3541594a85000031'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Oauth Dude", "uid"=>"98b7b2a8606c805e09afdac6014dce30c4c473972f654106c0bbb63d12385074", "secret"=>"1be2a9cd2464727625bdf3be17cd6fdd9bf53fdc924b8e84f29066ba3eaea3a4", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224b3541594a85000031'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Oauth Dude", "uid"=>"98b7b2a8606c805e09afdac6014dce30c4c473972f654106c0bbb63d12385074", "secret"=>"1be2a9cd2464727625bdf3be17cd6fdd9bf53fdc924b8e84f29066ba3eaea3a4", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f6aa2043766bbbb3cac656e30ecd7b77e76cccb123dd71580d73c630acafae60", :_id=>{:$ne=>BSON::ObjectId('5bb6224b3541594a85000032')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224b3541594a85000032'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Awesome App", "uid"=>"f6aa2043766bbbb3cac656e30ecd7b77e76cccb123dd71580d73c630acafae60", "secret"=>"8690bc9e93a663cccc80f505f8103a7ae3be4bac7a554921edf92b4001dd69e3", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224b3541594a85000032'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Awesome App", "uid"=>"f6aa2043766bbbb3cac656e30ecd7b77e76cccb123dd71580d73c630acafae60", "secret"=>"8690bc9e93a663cccc80f505f8103a7ae3be4bac7a554921edf92b4001dd69e3", "redirect_uri"=>"https://app.com/callback"}) Started GET "/oauth/applications" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by Doorkeeper::ApplicationsController#index as HTML MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({}).sort([["created_at", 1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (0.7ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (0.2ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/index.html.erb within layouts/doorkeeper/admin (4.5ms) Completed 200 OK in 17ms (Views: 15.8ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"40e8bbfe4bf0e1ed499d9d17bc8618e6d2df4549f426862eb17b78bf01051309", :_id=>{:$ne=>BSON::ObjectId('5bb6224b3541594a85000033')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224b3541594a85000033'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"MyApp", "uid"=>"40e8bbfe4bf0e1ed499d9d17bc8618e6d2df4549f426862eb17b78bf01051309", "secret"=>"7b3e2323c9600047f8f126d61490068cd229d46db6fdcbf22f6c7e08da81bb08", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224b3541594a85000033'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"MyApp", "uid"=>"40e8bbfe4bf0e1ed499d9d17bc8618e6d2df4549f426862eb17b78bf01051309", "secret"=>"7b3e2323c9600047f8f126d61490068cd229d46db6fdcbf22f6c7e08da81bb08", "redirect_uri"=>"https://app.com/callback"}) Started GET "/oauth/authorize?client_id=40e8bbfe4bf0e1ed499d9d17bc8618e6d2df4549f426862eb17b78bf01051309&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"40e8bbfe4bf0e1ed499d9d17bc8618e6d2df4549f426862eb17b78bf01051309", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/sign_in Filter chain halted as :authenticate_resource_owner! rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by HomeController#sign_in as HTML MONGODB (2.1ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c1391795d184afb1c518aef8edf363a428b87ce606c96207abad504cada9404e", :_id=>{:$ne=>BSON::ObjectId('5bb6224b3541594a85000034')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224b3541594a85000034'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"MyApp", "uid"=>"c1391795d184afb1c518aef8edf363a428b87ce606c96207abad504cada9404e", "secret"=>"36afeea52f9b142c21846198cba3ae6c683d6fdc1c53cec8b64064aae6676b54", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224b3541594a85000034'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"MyApp", "uid"=>"c1391795d184afb1c518aef8edf363a428b87ce606c96207abad504cada9404e", "secret"=>"36afeea52f9b142c21846198cba3ae6c683d6fdc1c53cec8b64064aae6676b54", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224b3541594a85000035'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224b3541594a85000035'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=c1391795d184afb1c518aef8edf363a428b87ce606c96207abad504cada9404e&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"c1391795d184afb1c518aef8edf363a428b87ce606c96207abad504cada9404e", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c1391795d184afb1c518aef8edf363a428b87ce606c96207abad504cada9404e"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6224b3541594a85000034'), :resource_owner_id=>BSON::ObjectId('5bb6224b3541594a85000035'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.9ms) Completed 200 OK in 8ms (Views: 3.8ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d6beebbfc5efedd6c7098dddb3c44d40b7a2c391567279086b203dd67acc0850", :_id=>{:$ne=>BSON::ObjectId('5bb6224b3541594a85000036')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224b3541594a85000036'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"MyApp", "uid"=>"d6beebbfc5efedd6c7098dddb3c44d40b7a2c391567279086b203dd67acc0850", "secret"=>"f3aa88083b68a3c3b3fe74cd5f80bdc7b26548146b56dc95ac1cc1379de9960e", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224b3541594a85000036'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"MyApp", "uid"=>"d6beebbfc5efedd6c7098dddb3c44d40b7a2c391567279086b203dd67acc0850", "secret"=>"f3aa88083b68a3c3b3fe74cd5f80bdc7b26548146b56dc95ac1cc1379de9960e", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224b3541594a85000037'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224b3541594a85000037'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=d6beebbfc5efedd6c7098dddb3c44d40b7a2c391567279086b203dd67acc0850&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public+write" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"d6beebbfc5efedd6c7098dddb3c44d40b7a2c391567279086b203dd67acc0850", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public write"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d6beebbfc5efedd6c7098dddb3c44d40b7a2c391567279086b203dd67acc0850"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6224b3541594a85000036'), :resource_owner_id=>BSON::ObjectId('5bb6224b3541594a85000037'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.1ms) Completed 200 OK in 7ms (Views: 2.4ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"cd94e05a9592e4baf3f55e742ae1c2856bcb4cd6ee216660d48670c8e62226d9", :_id=>{:$ne=>BSON::ObjectId('5bb6224b3541594a85000038')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224b3541594a85000038'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"MyApp", "uid"=>"cd94e05a9592e4baf3f55e742ae1c2856bcb4cd6ee216660d48670c8e62226d9", "secret"=>"80e89ec4c1f9b7b6d23f479d3d3a6f1d012222bbdd1641d3c288909ceb6dd8c4", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224b3541594a85000038'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"MyApp", "uid"=>"cd94e05a9592e4baf3f55e742ae1c2856bcb4cd6ee216660d48670c8e62226d9", "secret"=>"80e89ec4c1f9b7b6d23f479d3d3a6f1d012222bbdd1641d3c288909ceb6dd8c4", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224b3541594a85000039'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224b3541594a85000039'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=cd94e05a9592e4baf3f55e742ae1c2856bcb4cd6ee216660d48670c8e62226d9&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"cd94e05a9592e4baf3f55e742ae1c2856bcb4cd6ee216660d48670c8e62226d9", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"cd94e05a9592e4baf3f55e742ae1c2856bcb4cd6ee216660d48670c8e62226d9"}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/error.html.erb within layouts/doorkeeper/application (0.2ms) Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"9954c114f0a85a3e780bd98c68002b4f0e1161837b6e115f05e5e703b266afcc", :_id=>{:$ne=>BSON::ObjectId('5bb6224b3541594a8500003a')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224b3541594a8500003a'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"MyApp", "uid"=>"9954c114f0a85a3e780bd98c68002b4f0e1161837b6e115f05e5e703b266afcc", "secret"=>"db1c29b25d64d167b721e53f38e54d7525a9e230adaf3e583d9aa7b44cb02b2f", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224b3541594a8500003a'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"MyApp", "uid"=>"9954c114f0a85a3e780bd98c68002b4f0e1161837b6e115f05e5e703b266afcc", "secret"=>"db1c29b25d64d167b721e53f38e54d7525a9e230adaf3e583d9aa7b44cb02b2f", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224b3541594a8500003b'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224b3541594a8500003b'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=9954c114f0a85a3e780bd98c68002b4f0e1161837b6e115f05e5e703b266afcc&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"9954c114f0a85a3e780bd98c68002b4f0e1161837b6e115f05e5e703b266afcc", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"9954c114f0a85a3e780bd98c68002b4f0e1161837b6e115f05e5e703b266afcc"}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/error.html.erb within layouts/doorkeeper/application (0.4ms) Completed 200 OK in 7ms (Views: 2.8ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"568da6f28b55a96da7827eb32971aa417081ddf92c8e6d55550663d983024b3f", :_id=>{:$ne=>BSON::ObjectId('5bb6224b3541594a8500003c')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224b3541594a8500003c'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"MyApp", "uid"=>"568da6f28b55a96da7827eb32971aa417081ddf92c8e6d55550663d983024b3f", "secret"=>"277eebfb39c90a5ea787a883720c23f74b99290253ce09ab123fb0ee2328e892", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224b3541594a8500003c'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"MyApp", "uid"=>"568da6f28b55a96da7827eb32971aa417081ddf92c8e6d55550663d983024b3f", "secret"=>"277eebfb39c90a5ea787a883720c23f74b99290253ce09ab123fb0ee2328e892", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224b3541594a8500003d'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224b3541594a8500003d'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize?client_id=568da6f28b55a96da7827eb32971aa417081ddf92c8e6d55550663d983024b3f&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"568da6f28b55a96da7827eb32971aa417081ddf92c8e6d55550663d983024b3f", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} Can't verify CSRF token authenticity Completed 422 Unprocessable Entity in 0ms (ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (4.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (3.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (3.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7c64c9fa9ab3c63376e56dd236fc335ba120d37661585ff272e8652db38ceb38", :_id=>{:$ne=>BSON::ObjectId('5bb6224b3541594a8500003e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224b3541594a8500003e'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Application 15", "uid"=>"7c64c9fa9ab3c63376e56dd236fc335ba120d37661585ff272e8652db38ceb38", "secret"=>"17b5f708788e1f431d815cb4aa55b114fa75698b1042f3dc3836ed900d7deab4", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224b3541594a8500003e'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Application 15", "uid"=>"7c64c9fa9ab3c63376e56dd236fc335ba120d37661585ff272e8652db38ceb38", "secret"=>"17b5f708788e1f431d815cb4aa55b114fa75698b1042f3dc3836ed900d7deab4", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"8f885a0917e7aa281892d76519f7deb0d4c9505ddb23232be3977b049689eb22", :_id=>{:$ne=>BSON::ObjectId('5bb6224b3541594a8500003f')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6224b3541594a8500003f'), "application_id"=>BSON::ObjectId('5bb6224b3541594a8500003e'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "resource_owner_id"=>3, "token"=>"8f885a0917e7aa281892d76519f7deb0d4c9505ddb23232be3977b049689eb22", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6224b3541594a8500003f'), "application_id"=>BSON::ObjectId('5bb6224b3541594a8500003e'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "resource_owner_id"=>3, "token"=>"8f885a0917e7aa281892d76519f7deb0d4c9505ddb23232be3977b049689eb22", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) Started POST "/oauth/token?code=[FILTERED]&client_id=7c64c9fa9ab3c63376e56dd236fc335ba120d37661585ff272e8652db38ceb38&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"7c64c9fa9ab3c63376e56dd236fc335ba120d37661585ff272e8652db38ceb38", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"8f885a0917e7aa281892d76519f7deb0d4c9505ddb23232be3977b049689eb22"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7c64c9fa9ab3c63376e56dd236fc335ba120d37661585ff272e8652db38ceb38"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb6224b3541594a8500003f')}).limit(-1) Completed 401 Unauthorized in 4ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (10.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (10.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (3.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (3.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4574a0496f17bb052605efd2a28f693913e9fb2bd6eddf48646a86238fb2d8a2", :_id=>{:$ne=>BSON::ObjectId('5bb6224b3541594a85000040')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224b3541594a85000040'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Application 16", "uid"=>"4574a0496f17bb052605efd2a28f693913e9fb2bd6eddf48646a86238fb2d8a2", "secret"=>"5137788cca892ce3b5709bf87540842b60d6021022ef0cac1101378be535ea05", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224b3541594a85000040'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Application 16", "uid"=>"4574a0496f17bb052605efd2a28f693913e9fb2bd6eddf48646a86238fb2d8a2", "secret"=>"5137788cca892ce3b5709bf87540842b60d6021022ef0cac1101378be535ea05", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224b3541594a85000040')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"10d055cc0e0fa87a7617e560e6ea6bf2ed4cf7f414cc2a9e33fb7e7f568a6ae4", :_id=>{:$ne=>BSON::ObjectId('5bb6224b3541594a85000041')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224b3541594a85000041'), "application_id"=>BSON::ObjectId('5bb6224b3541594a85000040'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "resource_owner_id"=>nil, "token"=>"10d055cc0e0fa87a7617e560e6ea6bf2ed4cf7f414cc2a9e33fb7e7f568a6ae4", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224b3541594a85000041'), "application_id"=>BSON::ObjectId('5bb6224b3541594a85000040'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "resource_owner_id"=>nil, "token"=>"10d055cc0e0fa87a7617e560e6ea6bf2ed4cf7f414cc2a9e33fb7e7f568a6ae4", "expires_in"=>7200, "scopes"=>""}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8300717df7cb2fed56d2ccc7ec1ee9e70322b1392962653d2e4349095e8a5e32", :_id=>{:$ne=>BSON::ObjectId('5bb6224b3541594a85000042')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224b3541594a85000042'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Application 17", "uid"=>"8300717df7cb2fed56d2ccc7ec1ee9e70322b1392962653d2e4349095e8a5e32", "secret"=>"ec28ebeae44de4d43ef68ee129d93d96910c453f224c1536d0e683f42ce444a3", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224b3541594a85000042'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Application 17", "uid"=>"8300717df7cb2fed56d2ccc7ec1ee9e70322b1392962653d2e4349095e8a5e32", "secret"=>"ec28ebeae44de4d43ef68ee129d93d96910c453f224c1536d0e683f42ce444a3", "redirect_uri"=>"https://app.com/callback"}) Started GET "/oauth/applications" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by Doorkeeper::ApplicationsController#index as HTML MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({}).sort([["created_at", 1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (0.3ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/index.html.erb within layouts/doorkeeper/admin (2.4ms) Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started DELETE "/oauth/applications/5bb6224b3541594a85000042" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by Doorkeeper::ApplicationsController#destroy as HTML Parameters: {"utf8"=>"✓", "commit"=>"Destroy", "id"=>"5bb6224b3541594a85000042"} MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224b3541594a85000042')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:application_id=>BSON::ObjectId('5bb6224b3541594a85000042')}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6224b3541594a85000042')}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6224b3541594a85000042')}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{:_id=>{:$in=>[BSON::ObjectId('5bb6224b3541594a85000042')]}}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({:_id=>{:$in=>[BSON::ObjectId('5bb6224b3541594a85000042')]}}) Redirected to http://www.example.com/oauth/applications Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/oauth/applications" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by Doorkeeper::ApplicationsController#index as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({}).sort([["created_at", 1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/index.html.erb within layouts/doorkeeper/admin (1.0ms) Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7f8b0a825f9cae57bb93841527d4961aa6eb3c041f04448266aedcf0bc0e75bb", :_id=>{:$ne=>BSON::ObjectId('5bb6224b3541594a85000043')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224b3541594a85000043'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Application 18", "uid"=>"7f8b0a825f9cae57bb93841527d4961aa6eb3c041f04448266aedcf0bc0e75bb", "secret"=>"c3983b8df143154e9dac7458912cc1ec75bfa019de865e941f898ab2a0fdc8f6", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224b3541594a85000043'), "created_at"=>2018-10-04 14:23:07 UTC, "updated_at"=>2018-10-04 14:23:07 UTC, "name"=>"Application 18", "uid"=>"7f8b0a825f9cae57bb93841527d4961aa6eb3c041f04448266aedcf0bc0e75bb", "secret"=>"c3983b8df143154e9dac7458912cc1ec75bfa019de865e941f898ab2a0fdc8f6", "redirect_uri"=>"https://app.com/callback"}) Started GET "/oauth/applications/5bb6224b3541594a85000043" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by Doorkeeper::ApplicationsController#show as HTML Parameters: {"id"=>"5bb6224b3541594a85000043"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224b3541594a85000043')}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (6.5ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/show.html.erb within layouts/doorkeeper/admin (9.0ms) Completed 200 OK in 15ms (Views: 13.1ms | ActiveRecord: 0.0ms) Started DELETE "/oauth/applications/5bb6224b3541594a85000043" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by Doorkeeper::ApplicationsController#destroy as HTML Parameters: {"utf8"=>"✓", "commit"=>"Destroy", "id"=>"5bb6224b3541594a85000043"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224b3541594a85000043')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:application_id=>BSON::ObjectId('5bb6224b3541594a85000043')}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6224b3541594a85000043')}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6224b3541594a85000043')}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{:_id=>{:$in=>[BSON::ObjectId('5bb6224b3541594a85000043')]}}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({:_id=>{:$in=>[BSON::ObjectId('5bb6224b3541594a85000043')]}}) Redirected to http://www.example.com/oauth/applications Completed 302 Found in 4ms (ActiveRecord: 0.0ms) Started GET "/oauth/applications" for 127.0.0.1 at 2018-10-04 17:23:07 +0300 Processing by Doorkeeper::ApplicationsController#index as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({}).sort([["created_at", 1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/index.html.erb within layouts/doorkeeper/admin (1.2ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (3.0ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"39daad2dc90aaff59d2688fd2ea3b99b929d45beafaf3877234d9f9c29769da1", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000044')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000044'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 19", "uid"=>"39daad2dc90aaff59d2688fd2ea3b99b929d45beafaf3877234d9f9c29769da1", "secret"=>"86899e2043b2fbfdddb653a4488aa82f28c86ce7e55de922adf9f153e3587fd4", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000044'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 19", "uid"=>"39daad2dc90aaff59d2688fd2ea3b99b929d45beafaf3877234d9f9c29769da1", "secret"=>"86899e2043b2fbfdddb653a4488aa82f28c86ce7e55de922adf9f153e3587fd4", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e90ea731bc6c50d8b28f33ec842f4773250faf682e7f9681f61faba043f099d4", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000045')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000045'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 20", "uid"=>"e90ea731bc6c50d8b28f33ec842f4773250faf682e7f9681f61faba043f099d4", "secret"=>"139b7cdd01aeae93eaf32f27df56486c392ba4d883e78ed60cca3e74744f7ec6", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000045'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 20", "uid"=>"e90ea731bc6c50d8b28f33ec842f4773250faf682e7f9681f61faba043f099d4", "secret"=>"139b7cdd01aeae93eaf32f27df56486c392ba4d883e78ed60cca3e74744f7ec6", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224c3541594a85000045')}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{:application_id=>BSON::ObjectId('5bb6224c3541594a85000045')}, "fields"=>nil}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224c3541594a85000045')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"23f4f5fdaa53c610fa3f002a8c05589c8a2b17c4b49fdd5430817cba965171fb", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000046')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000046'), "application_id"=>BSON::ObjectId('5bb6224c3541594a85000045'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "resource_owner_id"=>99, "token"=>"23f4f5fdaa53c610fa3f002a8c05589c8a2b17c4b49fdd5430817cba965171fb", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000046'), "application_id"=>BSON::ObjectId('5bb6224c3541594a85000045'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "resource_owner_id"=>99, "token"=>"23f4f5fdaa53c610fa3f002a8c05589c8a2b17c4b49fdd5430817cba965171fb", "expires_in"=>7200, "scopes"=>""}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224c3541594a85000045')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{:application_id=>BSON::ObjectId('5bb6224c3541594a85000045')}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"48f3a48eb4f5ba3144763770fd834caff4bf159b809fab20a5124e6e871dd8ca", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000047')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000047'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 21", "uid"=>"48f3a48eb4f5ba3144763770fd834caff4bf159b809fab20a5124e6e871dd8ca", "secret"=>"fffcfdb7240d3148103bff9f5839fed1ae3ed397826390d77c372f0b0ef205b8", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000047'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 21", "uid"=>"48f3a48eb4f5ba3144763770fd834caff4bf159b809fab20a5124e6e871dd8ca", "secret"=>"fffcfdb7240d3148103bff9f5839fed1ae3ed397826390d77c372f0b0ef205b8", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8152e1dabfc0e1ea8115d06c35e0f1177da1ad8afdf23aa9ec19735f7df3274a", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000048')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000048'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 22", "uid"=>"8152e1dabfc0e1ea8115d06c35e0f1177da1ad8afdf23aa9ec19735f7df3274a", "secret"=>"07f4f159f470c6a8b205d7a28d1c6873ac8f07f3f2253ecc9700f582bf05a968", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000048'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 22", "uid"=>"8152e1dabfc0e1ea8115d06c35e0f1177da1ad8afdf23aa9ec19735f7df3274a", "secret"=>"07f4f159f470c6a8b205d7a28d1c6873ac8f07f3f2253ecc9700f582bf05a968", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"74ee74bcbe8e4023278565d4b24f0969a19acb29b00121b97fc2e4c93d8662c9", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000049')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000049'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 23", "uid"=>"74ee74bcbe8e4023278565d4b24f0969a19acb29b00121b97fc2e4c93d8662c9", "secret"=>"9fac0f7ba7079f3c3c1dc0a2cf21438858ce0e3625f01f8485234176b548c0c3", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000049'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 23", "uid"=>"74ee74bcbe8e4023278565d4b24f0969a19acb29b00121b97fc2e4c93d8662c9", "secret"=>"9fac0f7ba7079f3c3c1dc0a2cf21438858ce0e3625f01f8485234176b548c0c3", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224c3541594a85000049')}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"6deca962243d349c9ddbda66a8646e9199a847ab35dd93a11c6164a57556996d", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a8500004a')}}, {:_id=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a8500004a'), "application_id"=>BSON::ObjectId('5bb6224c3541594a85000049'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "resource_owner_id"=>99, "token"=>"6deca962243d349c9ddbda66a8646e9199a847ab35dd93a11c6164a57556996d", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a8500004a'), "application_id"=>BSON::ObjectId('5bb6224c3541594a85000049'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "resource_owner_id"=>99, "token"=>"6deca962243d349c9ddbda66a8646e9199a847ab35dd93a11c6164a57556996d", "expires_in"=>7200, "scopes"=>""}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ffa30a5a88dffeabb095015323725db106f96eac9d5e77f23257f608d88c1fc3", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a8500004b')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a8500004b'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 24", "uid"=>"ffa30a5a88dffeabb095015323725db106f96eac9d5e77f23257f608d88c1fc3", "secret"=>"4f60d9d576a169f733dadf4d1b516216f5ab009f8b6c30192b43f87717654d01", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a8500004b'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 24", "uid"=>"ffa30a5a88dffeabb095015323725db106f96eac9d5e77f23257f608d88c1fc3", "secret"=>"4f60d9d576a169f733dadf4d1b516216f5ab009f8b6c30192b43f87717654d01", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224c3541594a8500004b')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d0f1f2ab8ba04c7c8e1628462a69984faa6bfeb85962a4654b29e9276e7859a0", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a8500004c')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a8500004c'), "application_id"=>BSON::ObjectId('5bb6224c3541594a8500004b'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "resource_owner_id"=>99, "token"=>"d0f1f2ab8ba04c7c8e1628462a69984faa6bfeb85962a4654b29e9276e7859a0", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a8500004c'), "application_id"=>BSON::ObjectId('5bb6224c3541594a8500004b'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "resource_owner_id"=>99, "token"=>"d0f1f2ab8ba04c7c8e1628462a69984faa6bfeb85962a4654b29e9276e7859a0", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224c3541594a8500004b')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"3d4384147295c80207de705d1e5b90736b028d81f126a66323705fd4f81501e8", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a8500004d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a8500004d'), "application_id"=>BSON::ObjectId('5bb6224c3541594a8500004b'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "resource_owner_id"=>99, "token"=>"3d4384147295c80207de705d1e5b90736b028d81f126a66323705fd4f81501e8", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a8500004d'), "application_id"=>BSON::ObjectId('5bb6224c3541594a8500004b'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "resource_owner_id"=>99, "token"=>"3d4384147295c80207de705d1e5b90736b028d81f126a66323705fd4f81501e8", "expires_in"=>7200, "scopes"=>""}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3e8870e2e7cf656836fc4b40ba184295aa90569f32294222b4d144a0c4447c40", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a8500004e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a8500004e'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 25", "uid"=>"3e8870e2e7cf656836fc4b40ba184295aa90569f32294222b4d144a0c4447c40", "secret"=>"2534a000eda7d8467d9035abd500315daa904d4b5eaa15c529f64df6d53abc35", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a8500004e'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 25", "uid"=>"3e8870e2e7cf656836fc4b40ba184295aa90569f32294222b4d144a0c4447c40", "secret"=>"2534a000eda7d8467d9035abd500315daa904d4b5eaa15c529f64df6d53abc35", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"8d3cf564e756b05a60997f2cad56487980978cc1aa3561f4eb8ade6b3ca6492e", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a8500004f')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a8500004f'), "application_id"=>nil, "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "resource_owner_id"=>99, "token"=>"8d3cf564e756b05a60997f2cad56487980978cc1aa3561f4eb8ade6b3ca6492e", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a8500004f'), "application_id"=>nil, "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "resource_owner_id"=>99, "token"=>"8d3cf564e756b05a60997f2cad56487980978cc1aa3561f4eb8ade6b3ca6492e", "expires_in"=>7200, "scopes"=>""}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"9776122d0e7e9cd4640f9ff595bf0642261268bf2021782b736720a1e38612e6", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000050')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000050'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 26", "uid"=>"9776122d0e7e9cd4640f9ff595bf0642261268bf2021782b736720a1e38612e6", "secret"=>"b16e58efdad7a5a4e86dfcc3b320f3c2f776caf8386f66c9672f4577b697beb8", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000050'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 26", "uid"=>"9776122d0e7e9cd4640f9ff595bf0642261268bf2021782b736720a1e38612e6", "secret"=>"b16e58efdad7a5a4e86dfcc3b320f3c2f776caf8386f66c9672f4577b697beb8", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224c3541594a85000050')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e04786ce14bfd0752c94bb371f3f35454cedac68e059d7b16a5d145d8b0cf5e2", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000051')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000051'), "application_id"=>BSON::ObjectId('5bb6224c3541594a85000050'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "resource_owner_id"=>99, "token"=>"e04786ce14bfd0752c94bb371f3f35454cedac68e059d7b16a5d145d8b0cf5e2", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000051'), "application_id"=>BSON::ObjectId('5bb6224c3541594a85000050'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "resource_owner_id"=>99, "token"=>"e04786ce14bfd0752c94bb371f3f35454cedac68e059d7b16a5d145d8b0cf5e2", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6224c3541594a85000050'), :resource_owner_id=>99, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"18473fe1faf8ea52b86f6445c3d40730d61d8f3fd87bf7283023521e9e88d4f2", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000052')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000052'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 27", "uid"=>"18473fe1faf8ea52b86f6445c3d40730d61d8f3fd87bf7283023521e9e88d4f2", "secret"=>"7baac5fb64d8866b8914d2af3d8ed6df74cb231b9fce85eb2f029673dea7d1df", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000052'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 27", "uid"=>"18473fe1faf8ea52b86f6445c3d40730d61d8f3fd87bf7283023521e9e88d4f2", "secret"=>"7baac5fb64d8866b8914d2af3d8ed6df74cb231b9fce85eb2f029673dea7d1df", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1987b23347b085f14d5331b59bf4a09f2b445b28b962d42e41d058b3e938c367", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000053')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000053'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 28", "uid"=>"1987b23347b085f14d5331b59bf4a09f2b445b28b962d42e41d058b3e938c367", "secret"=>"72d8861e00032e5a79fd34a347e0bd71f0821fa70f6191cac8ab836d99ea6bda", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000053'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 28", "uid"=>"1987b23347b085f14d5331b59bf4a09f2b445b28b962d42e41d058b3e938c367", "secret"=>"72d8861e00032e5a79fd34a347e0bd71f0821fa70f6191cac8ab836d99ea6bda", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224c3541594a85000053')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"5c6ad2e6065e171076a7b3476002059ecacd73f68f26267745d9eab9a659df18", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000054')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000054'), "application_id"=>BSON::ObjectId('5bb6224c3541594a85000053'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "resource_owner_id"=>99, "token"=>"5c6ad2e6065e171076a7b3476002059ecacd73f68f26267745d9eab9a659df18", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000054'), "application_id"=>BSON::ObjectId('5bb6224c3541594a85000053'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "resource_owner_id"=>99, "token"=>"5c6ad2e6065e171076a7b3476002059ecacd73f68f26267745d9eab9a659df18", "expires_in"=>7200, "scopes"=>"public"}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3ecdc404ea5d8a9b29cf6ad0f7eece500792668878e45bf3eb965ee28c3981de", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000055')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000055'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 29", "uid"=>"3ecdc404ea5d8a9b29cf6ad0f7eece500792668878e45bf3eb965ee28c3981de", "secret"=>"a88857d4091581455555ea007c2090d89901c5f168c081f19c45c581588f93e3", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000055'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 29", "uid"=>"3ecdc404ea5d8a9b29cf6ad0f7eece500792668878e45bf3eb965ee28c3981de", "secret"=>"a88857d4091581455555ea007c2090d89901c5f168c081f19c45c581588f93e3", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000056'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000056'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=bad_id&client_secret&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:23:08 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"bad_id", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"bad_id"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) Completed 401 Unauthorized in 2ms MONGODB (16.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (3.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (3.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (3.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7f4316c1242b4261515673fe37424bf73e3793808092e46cab9ff70a40c7ae5c", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000057')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000057'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 30", "uid"=>"7f4316c1242b4261515673fe37424bf73e3793808092e46cab9ff70a40c7ae5c", "secret"=>"edf98ae8e286c9c27ce2742707d339ea4dad92c829d0ed8a490019e6252fd11b", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000057'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 30", "uid"=>"7f4316c1242b4261515673fe37424bf73e3793808092e46cab9ff70a40c7ae5c", "secret"=>"edf98ae8e286c9c27ce2742707d339ea4dad92c829d0ed8a490019e6252fd11b", "redirect_uri"=>"https://app.com/callback"}) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000058'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000058'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (2.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=7f4316c1242b4261515673fe37424bf73e3793808092e46cab9ff70a40c7ae5c&client_secret=[FILTERED]&username=Joe&password=sekret&scope=random&grant_type=password" for 127.0.0.1 at 2018-10-04 17:23:08 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"7f4316c1242b4261515673fe37424bf73e3793808092e46cab9ff70a40c7ae5c", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>"random", "grant_type"=>"password"} MONGODB (8.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7f4316c1242b4261515673fe37424bf73e3793808092e46cab9ff70a40c7ae5c"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) Completed 401 Unauthorized in 10ms MONGODB (2.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (5.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (5.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"dd0fa1b329a8ed3a84ac3be70802e78ed8928b4b59c8ddd4f7735560bdadbfdd", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000059')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000059'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 31", "uid"=>"dd0fa1b329a8ed3a84ac3be70802e78ed8928b4b59c8ddd4f7735560bdadbfdd", "secret"=>"d94b3b34f9001a451bb6662787b71eba961631cd5cb302a0a8f3fa8827fb9306", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000059'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 31", "uid"=>"dd0fa1b329a8ed3a84ac3be70802e78ed8928b4b59c8ddd4f7735560bdadbfdd", "secret"=>"d94b3b34f9001a451bb6662787b71eba961631cd5cb302a0a8f3fa8827fb9306", "redirect_uri"=>"https://app.com/callback"}) MONGODB (3.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a8500005a'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (3.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a8500005a'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Joe", "password"=>"sekret"}) Started POST "/oauth/token?code&client_id=dd0fa1b329a8ed3a84ac3be70802e78ed8928b4b59c8ddd4f7735560bdadbfdd&client_secret=[FILTERED]&username=Joe&password=sekret&scope=random&grant_type=password" for 127.0.0.1 at 2018-10-04 17:23:08 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"dd0fa1b329a8ed3a84ac3be70802e78ed8928b4b59c8ddd4f7735560bdadbfdd", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>"random", "grant_type"=>"password"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"dd0fa1b329a8ed3a84ac3be70802e78ed8928b4b59c8ddd4f7735560bdadbfdd"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) Completed 401 Unauthorized in 3ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3f32edf07c71ae29a67c0709bca846544cf9d57bebdcdab15a77b98645d039ab", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a8500005b')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a8500005b'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 32", "uid"=>"3f32edf07c71ae29a67c0709bca846544cf9d57bebdcdab15a77b98645d039ab", "secret"=>"279237f7d8b88b2b00f7ed725a33b65e8e016dcb8cbc71acae5ee7108cc7eb37", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a8500005b'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 32", "uid"=>"3f32edf07c71ae29a67c0709bca846544cf9d57bebdcdab15a77b98645d039ab", "secret"=>"279237f7d8b88b2b00f7ed725a33b65e8e016dcb8cbc71acae5ee7108cc7eb37", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a8500005c'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a8500005c'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Joe", "password"=>"sekret"}) Started POST "/oauth/token?code&client_id=3f32edf07c71ae29a67c0709bca846544cf9d57bebdcdab15a77b98645d039ab&client_secret=[FILTERED]&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:23:08 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"3f32edf07c71ae29a67c0709bca846544cf9d57bebdcdab15a77b98645d039ab", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3f32edf07c71ae29a67c0709bca846544cf9d57bebdcdab15a77b98645d039ab"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224c3541594a8500005b')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"b90c4d858c2f815a12a2ebb89b372cdeb0db209a8e84310a5bb2f931d3f24cfb", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a8500005d')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"5322d64b0c99d446a9a06f24e91b3400f3f20824d14f971f7124f7418eb3a234", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a8500005d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a8500005d'), "application_id"=>BSON::ObjectId('5bb6224c3541594a8500005b'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224c3541594a8500005c'), "token"=>"b90c4d858c2f815a12a2ebb89b372cdeb0db209a8e84310a5bb2f931d3f24cfb", "refresh_token"=>"5322d64b0c99d446a9a06f24e91b3400f3f20824d14f971f7124f7418eb3a234", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a8500005d'), "application_id"=>BSON::ObjectId('5bb6224c3541594a8500005b'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224c3541594a8500005c'), "token"=>"b90c4d858c2f815a12a2ebb89b372cdeb0db209a8e84310a5bb2f931d3f24cfb", "refresh_token"=>"5322d64b0c99d446a9a06f24e91b3400f3f20824d14f971f7124f7418eb3a234", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 7ms MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"fd11d2d30f297f2271800b0ccf25405f7fe61f099fa01d69dd173f227c56d598", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a8500005e')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a8500005e'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 33", "uid"=>"fd11d2d30f297f2271800b0ccf25405f7fe61f099fa01d69dd173f227c56d598", "secret"=>"6398ec9086f0b0ce81d2a940356312b46feff2fbefefb996db4e051bcad33715", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a8500005e'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 33", "uid"=>"fd11d2d30f297f2271800b0ccf25405f7fe61f099fa01d69dd173f227c56d598", "secret"=>"6398ec9086f0b0ce81d2a940356312b46feff2fbefefb996db4e051bcad33715", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a8500005f'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a8500005f'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"51db28c60a5ac97978366338948b90220606ff403af7bc4db153e9949ace7803", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000060')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000060'), "application_id"=>BSON::ObjectId('5bb6224c3541594a8500005e'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224c3541594a8500005f'), "token"=>"51db28c60a5ac97978366338948b90220606ff403af7bc4db153e9949ace7803", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000060'), "application_id"=>BSON::ObjectId('5bb6224c3541594a8500005e'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224c3541594a8500005f'), "token"=>"51db28c60a5ac97978366338948b90220606ff403af7bc4db153e9949ace7803", "expires_in"=>7200}) Started POST "/oauth/token?code&client_id=fd11d2d30f297f2271800b0ccf25405f7fe61f099fa01d69dd173f227c56d598&client_secret=[FILTERED]&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:23:08 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"fd11d2d30f297f2271800b0ccf25405f7fe61f099fa01d69dd173f227c56d598", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"fd11d2d30f297f2271800b0ccf25405f7fe61f099fa01d69dd173f227c56d598"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6224c3541594a8500005e'), :resource_owner_id=>BSON::ObjectId('5bb6224c3541594a8500005f'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Completed 200 OK in 10ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3101d806851de8b279dc877423abf1de1afb62e830a88602855ff45c6ae60115", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000061')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000061'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 34", "uid"=>"3101d806851de8b279dc877423abf1de1afb62e830a88602855ff45c6ae60115", "secret"=>"aa63a726a78ad2e57bef3dac4427c21e6b2541fed3a205e066ee571d6972498c", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000061'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 34", "uid"=>"3101d806851de8b279dc877423abf1de1afb62e830a88602855ff45c6ae60115", "secret"=>"aa63a726a78ad2e57bef3dac4427c21e6b2541fed3a205e066ee571d6972498c", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000062'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000062'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id&client_secret&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:23:08 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>nil, "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"a5b6ad6aaca4d28dca59aaca1045f8c2ae7cd5919c70e962a7d6fd60f76edcb1", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000063')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000063'), "application_id"=>nil, "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224c3541594a85000062'), "token"=>"a5b6ad6aaca4d28dca59aaca1045f8c2ae7cd5919c70e962a7d6fd60f76edcb1", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000063'), "application_id"=>nil, "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224c3541594a85000062'), "token"=>"a5b6ad6aaca4d28dca59aaca1045f8c2ae7cd5919c70e962a7d6fd60f76edcb1", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 4ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"fc99de86d9555f3e916708b8d2a64367d9c0ec216dd2f860e7a5042310ab0df5", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000064')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000064'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 35", "uid"=>"fc99de86d9555f3e916708b8d2a64367d9c0ec216dd2f860e7a5042310ab0df5", "secret"=>"33fb746063223b7e375ee388bd416e43032e0128097cef2bbd533cb1a0188474", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000064'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 35", "uid"=>"fc99de86d9555f3e916708b8d2a64367d9c0ec216dd2f860e7a5042310ab0df5", "secret"=>"33fb746063223b7e375ee388bd416e43032e0128097cef2bbd533cb1a0188474", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000065'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000065'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=fc99de86d9555f3e916708b8d2a64367d9c0ec216dd2f860e7a5042310ab0df5&client_secret=[FILTERED]&username=Joe&password=sekret&scope=public&grant_type=password" for 127.0.0.1 at 2018-10-04 17:23:08 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"fc99de86d9555f3e916708b8d2a64367d9c0ec216dd2f860e7a5042310ab0df5", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>"public", "grant_type"=>"password"} MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"fc99de86d9555f3e916708b8d2a64367d9c0ec216dd2f860e7a5042310ab0df5"}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224c3541594a85000064')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"0dad4cee4a2c1febfbe155a695544950976d22eb84534dcc3959f46c95cd4e20", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000066')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000066'), "application_id"=>BSON::ObjectId('5bb6224c3541594a85000064'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224c3541594a85000065'), "token"=>"0dad4cee4a2c1febfbe155a695544950976d22eb84534dcc3959f46c95cd4e20", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000066'), "application_id"=>BSON::ObjectId('5bb6224c3541594a85000064'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224c3541594a85000065'), "token"=>"0dad4cee4a2c1febfbe155a695544950976d22eb84534dcc3959f46c95cd4e20", "expires_in"=>7200, "scopes"=>"public"}) Completed 200 OK in 9ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1dcf5f3d4c53187ccebe9b5517c2052aa0e5244c236e389710f542460a093746", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000067')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000067'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 36", "uid"=>"1dcf5f3d4c53187ccebe9b5517c2052aa0e5244c236e389710f542460a093746", "secret"=>"9f771d8fcd5afa9929f9c95e384ccd36fc5f9562fd8b6315a5c5dbc156cd4610", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000067'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 36", "uid"=>"1dcf5f3d4c53187ccebe9b5517c2052aa0e5244c236e389710f542460a093746", "secret"=>"9f771d8fcd5afa9929f9c95e384ccd36fc5f9562fd8b6315a5c5dbc156cd4610", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000068'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000068'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=1dcf5f3d4c53187ccebe9b5517c2052aa0e5244c236e389710f542460a093746&client_secret=[FILTERED]&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:23:08 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"1dcf5f3d4c53187ccebe9b5517c2052aa0e5244c236e389710f542460a093746", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1dcf5f3d4c53187ccebe9b5517c2052aa0e5244c236e389710f542460a093746"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224c3541594a85000067')}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"fe0d2c666d90fd4521f3f73435d2a2e2f95985f5bcfb19698b4b92723bccfd6b", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000069')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000069'), "application_id"=>BSON::ObjectId('5bb6224c3541594a85000067'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224c3541594a85000068'), "token"=>"fe0d2c666d90fd4521f3f73435d2a2e2f95985f5bcfb19698b4b92723bccfd6b", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000069'), "application_id"=>BSON::ObjectId('5bb6224c3541594a85000067'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224c3541594a85000068'), "token"=>"fe0d2c666d90fd4521f3f73435d2a2e2f95985f5bcfb19698b4b92723bccfd6b", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 7ms MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b2c9ca55db3c4b2bf256d9eb26488ced94d2da0578aa682d25a3b8e1164dc7aa", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a8500006a')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a8500006a'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 37", "uid"=>"b2c9ca55db3c4b2bf256d9eb26488ced94d2da0578aa682d25a3b8e1164dc7aa", "secret"=>"a685d3e2a9e5ea99ea1889c9f2c4b0cc16241e5d7d3b641774547d0b74b6519b", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a8500006a'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 37", "uid"=>"b2c9ca55db3c4b2bf256d9eb26488ced94d2da0578aa682d25a3b8e1164dc7aa", "secret"=>"a685d3e2a9e5ea99ea1889c9f2c4b0cc16241e5d7d3b641774547d0b74b6519b", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a8500006b'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a8500006b'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=b2c9ca55db3c4b2bf256d9eb26488ced94d2da0578aa682d25a3b8e1164dc7aa&client_secret&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:23:08 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"b2c9ca55db3c4b2bf256d9eb26488ced94d2da0578aa682d25a3b8e1164dc7aa", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b2c9ca55db3c4b2bf256d9eb26488ced94d2da0578aa682d25a3b8e1164dc7aa"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224c3541594a8500006a')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e7b44c9f9130ebf6eeed755cab5d811f10db9e50e2dcbc6d1f5e01390c78f177", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a8500006c')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a8500006c'), "application_id"=>BSON::ObjectId('5bb6224c3541594a8500006a'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224c3541594a8500006b'), "token"=>"e7b44c9f9130ebf6eeed755cab5d811f10db9e50e2dcbc6d1f5e01390c78f177", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a8500006c'), "application_id"=>BSON::ObjectId('5bb6224c3541594a8500006a'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224c3541594a8500006b'), "token"=>"e7b44c9f9130ebf6eeed755cab5d811f10db9e50e2dcbc6d1f5e01390c78f177", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 6ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"63c0875642e818e4f0001f0e7e08da3b93c95f35c2d5819b69a28ab1aead0911", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a8500006d')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a8500006d'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 38", "uid"=>"63c0875642e818e4f0001f0e7e08da3b93c95f35c2d5819b69a28ab1aead0911", "secret"=>"a47b97c8805f3a95fee6bf231961570ad1f27e935da02d879b84ce33c3aad211", "redirect_uri"=>"https://app.com/callback", "confidential"=>false}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a8500006d'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 38", "uid"=>"63c0875642e818e4f0001f0e7e08da3b93c95f35c2d5819b69a28ab1aead0911", "secret"=>"a47b97c8805f3a95fee6bf231961570ad1f27e935da02d879b84ce33c3aad211", "redirect_uri"=>"https://app.com/callback", "confidential"=>false}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a8500006e'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a8500006e'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=63c0875642e818e4f0001f0e7e08da3b93c95f35c2d5819b69a28ab1aead0911&client_secret&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:23:08 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"63c0875642e818e4f0001f0e7e08da3b93c95f35c2d5819b69a28ab1aead0911", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"63c0875642e818e4f0001f0e7e08da3b93c95f35c2d5819b69a28ab1aead0911"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224c3541594a8500006d')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"38a5827a1ef1ec7c98238d07baab36147491c82e9b60e160f5977398906b4b22", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a8500006f')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a8500006f'), "application_id"=>BSON::ObjectId('5bb6224c3541594a8500006d'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224c3541594a8500006e'), "token"=>"38a5827a1ef1ec7c98238d07baab36147491c82e9b60e160f5977398906b4b22", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a8500006f'), "application_id"=>BSON::ObjectId('5bb6224c3541594a8500006d'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224c3541594a8500006e'), "token"=>"38a5827a1ef1ec7c98238d07baab36147491c82e9b60e160f5977398906b4b22", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 6ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f8ac4716e6b0cca93f5691d029df724d91ef0678a326bd9d24d8555819e7ac10", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000070')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000070'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 39", "uid"=>"f8ac4716e6b0cca93f5691d029df724d91ef0678a326bd9d24d8555819e7ac10", "secret"=>"925bb5bbe158d5de06e294e0cf9f66bfffd5eea681cca6900dad8adb5800c470", "redirect_uri"=>"https://app.com/callback", "confidential"=>false}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000070'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 39", "uid"=>"f8ac4716e6b0cca93f5691d029df724d91ef0678a326bd9d24d8555819e7ac10", "secret"=>"925bb5bbe158d5de06e294e0cf9f66bfffd5eea681cca6900dad8adb5800c470", "redirect_uri"=>"https://app.com/callback", "confidential"=>false}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000071'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000071'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=f8ac4716e6b0cca93f5691d029df724d91ef0678a326bd9d24d8555819e7ac10&client_secret=[FILTERED]&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:23:08 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"f8ac4716e6b0cca93f5691d029df724d91ef0678a326bd9d24d8555819e7ac10", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f8ac4716e6b0cca93f5691d029df724d91ef0678a326bd9d24d8555819e7ac10"}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224c3541594a85000070')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"b9dd71156f80b0a5a7b4ffeab64593745677ea84c78d8575fcfdf15d25d272fa", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000072')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000072'), "application_id"=>BSON::ObjectId('5bb6224c3541594a85000070'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224c3541594a85000071'), "token"=>"b9dd71156f80b0a5a7b4ffeab64593745677ea84c78d8575fcfdf15d25d272fa", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000072'), "application_id"=>BSON::ObjectId('5bb6224c3541594a85000070'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224c3541594a85000071'), "token"=>"b9dd71156f80b0a5a7b4ffeab64593745677ea84c78d8575fcfdf15d25d272fa", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 10ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5bf16f62dc583667f9f5e660d2119fb98e6d0c97aaefb698a84e5d0edf5bbd3b", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000073')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000073'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 40", "uid"=>"5bf16f62dc583667f9f5e660d2119fb98e6d0c97aaefb698a84e5d0edf5bbd3b", "secret"=>"90e93314c28e32bd1eeec7fb9120195d86c915c0eb383939a960e1e912adfe7f", "redirect_uri"=>"https://app.com/callback", "confidential"=>false}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000073'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 40", "uid"=>"5bf16f62dc583667f9f5e660d2119fb98e6d0c97aaefb698a84e5d0edf5bbd3b", "secret"=>"90e93314c28e32bd1eeec7fb9120195d86c915c0eb383939a960e1e912adfe7f", "redirect_uri"=>"https://app.com/callback", "confidential"=>false}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000074'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000074'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=5bf16f62dc583667f9f5e660d2119fb98e6d0c97aaefb698a84e5d0edf5bbd3b&client_secret=[FILTERED]&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:23:08 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"5bf16f62dc583667f9f5e660d2119fb98e6d0c97aaefb698a84e5d0edf5bbd3b", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5bf16f62dc583667f9f5e660d2119fb98e6d0c97aaefb698a84e5d0edf5bbd3b"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) Completed 401 Unauthorized in 5ms MONGODB (4.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (4.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a8968824bb11fa6008f98c3b1edd189de987e7e36ea14b5bca31d6ce541d3c5e", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000075')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000075'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 41", "uid"=>"a8968824bb11fa6008f98c3b1edd189de987e7e36ea14b5bca31d6ce541d3c5e", "secret"=>"39b4775c9cf0e210e560dbbc14b22aa595014133116f3151ded7908dec6a7e37", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000075'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 41", "uid"=>"a8968824bb11fa6008f98c3b1edd189de987e7e36ea14b5bca31d6ce541d3c5e", "secret"=>"39b4775c9cf0e210e560dbbc14b22aa595014133116f3151ded7908dec6a7e37", "redirect_uri"=>"https://app.com/callback"}) MONGODB (2.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000076'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.8ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000076'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=a8968824bb11fa6008f98c3b1edd189de987e7e36ea14b5bca31d6ce541d3c5e&client_secret=[FILTERED]&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:23:08 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"a8968824bb11fa6008f98c3b1edd189de987e7e36ea14b5bca31d6ce541d3c5e", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (10.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a8968824bb11fa6008f98c3b1edd189de987e7e36ea14b5bca31d6ce541d3c5e"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) Completed 401 Unauthorized in 13ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8f64df406e698fc13be9b341922028437523f12e72cd8299be9719944832ca7e", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000077')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000077'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 42", "uid"=>"8f64df406e698fc13be9b341922028437523f12e72cd8299be9719944832ca7e", "secret"=>"ef5ad8903212affa7753dfe38c55e05b7932ffa6c89286bbb89ab25887d143a6", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000077'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 42", "uid"=>"8f64df406e698fc13be9b341922028437523f12e72cd8299be9719944832ca7e", "secret"=>"ef5ad8903212affa7753dfe38c55e05b7932ffa6c89286bbb89ab25887d143a6", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000078'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000078'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=8f64df406e698fc13be9b341922028437523f12e72cd8299be9719944832ca7e&client_secret=[FILTERED]&username&password&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:23:08 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"8f64df406e698fc13be9b341922028437523f12e72cd8299be9719944832ca7e", "client_secret"=>"[FILTERED]", "username"=>nil, "password"=>nil, "scope"=>nil, "grant_type"=>"password"} MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8f64df406e698fc13be9b341922028437523f12e72cd8299be9719944832ca7e"}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>nil, :password=>nil}).limit(-1) Completed 401 Unauthorized in 5ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ab524b2eca28daa6d27e76efda1d0d0b59ec1faa6cb6390a0b8cfe37ac2d9991", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000079')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000079'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 43", "uid"=>"ab524b2eca28daa6d27e76efda1d0d0b59ec1faa6cb6390a0b8cfe37ac2d9991", "secret"=>"81ba436edc5b1ed395ca603a61fcf7cec0a0d0570775a5b77a6059223af5c08a", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000079'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 43", "uid"=>"ab524b2eca28daa6d27e76efda1d0d0b59ec1faa6cb6390a0b8cfe37ac2d9991", "secret"=>"81ba436edc5b1ed395ca603a61fcf7cec0a0d0570775a5b77a6059223af5c08a", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a8500007a'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a8500007a'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=ab524b2eca28daa6d27e76efda1d0d0b59ec1faa6cb6390a0b8cfe37ac2d9991&client_secret=[FILTERED]&username=Joe&password=wrongpassword&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:23:08 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"ab524b2eca28daa6d27e76efda1d0d0b59ec1faa6cb6390a0b8cfe37ac2d9991", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"wrongpassword", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ab524b2eca28daa6d27e76efda1d0d0b59ec1faa6cb6390a0b8cfe37ac2d9991"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"wrongpassword"}).limit(-1) Completed 401 Unauthorized in 2ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4ae5c84887456876545b873170e9e9d2cfede49b112787cc89386b5ee80fdfc7", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a8500007b')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a8500007b'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 44", "uid"=>"4ae5c84887456876545b873170e9e9d2cfede49b112787cc89386b5ee80fdfc7", "secret"=>"c6f46b281fd948a2baef94b0fcec658857954898d4d28c80894f8e3c3a00f53d", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a8500007b'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 44", "uid"=>"4ae5c84887456876545b873170e9e9d2cfede49b112787cc89386b5ee80fdfc7", "secret"=>"c6f46b281fd948a2baef94b0fcec658857954898d4d28c80894f8e3c3a00f53d", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a8500007c'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a8500007c'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:08 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:23:08 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:08 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=4ae5c84887456876545b873170e9e9d2cfede49b112787cc89386b5ee80fdfc7&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:23:08 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"4ae5c84887456876545b873170e9e9d2cfede49b112787cc89386b5ee80fdfc7", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4ae5c84887456876545b873170e9e9d2cfede49b112787cc89386b5ee80fdfc7"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6224c3541594a8500007b'), :resource_owner_id=>BSON::ObjectId('5bb6224c3541594a8500007c'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.0ms) Completed 200 OK in 7ms (Views: 2.8ms | ActiveRecord: 0.0ms) Started DELETE "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:23:08 +0300 Processing by Doorkeeper::AuthorizationsController#destroy as HTML Parameters: {"utf8"=>"✓", "client_id"=>"4ae5c84887456876545b873170e9e9d2cfede49b112787cc89386b5ee80fdfc7", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"", "commit"=>"Deny"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4ae5c84887456876545b873170e9e9d2cfede49b112787cc89386b5ee80fdfc7"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to https://app.com/callback?error=access_denied&error_description=The+resource+owner+or+authorization+server+denied+the+request. Completed 302 Found in 3ms (ActiveRecord: 0.0ms) Started GET "/callback?error=access_denied&error_description=The+resource+owner+or+authorization+server+denied+the+request." for 127.0.0.1 at 2018-10-04 17:23:08 +0300 Processing by HomeController#callback as HTML Parameters: {"error"=>"access_denied", "error_description"=>"The resource owner or authorization server denied the request."} Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"24160003849c7c2267a2081ebbed55ed0fd16dc695ae1ef2eac1687d9a9b9a75", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a8500007d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a8500007d'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 45", "uid"=>"24160003849c7c2267a2081ebbed55ed0fd16dc695ae1ef2eac1687d9a9b9a75", "secret"=>"3fa076a28c82230c768bd8334d0201844314e9ace76c6697b3ed5dd5f86bd05d", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a8500007d'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 45", "uid"=>"24160003849c7c2267a2081ebbed55ed0fd16dc695ae1ef2eac1687d9a9b9a75", "secret"=>"3fa076a28c82230c768bd8334d0201844314e9ace76c6697b3ed5dd5f86bd05d", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a8500007e'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a8500007e'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:08 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:23:08 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:08 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=24160003849c7c2267a2081ebbed55ed0fd16dc695ae1ef2eac1687d9a9b9a75&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&state=return-this" for 127.0.0.1 at 2018-10-04 17:23:08 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"24160003849c7c2267a2081ebbed55ed0fd16dc695ae1ef2eac1687d9a9b9a75", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "state"=>"return-this"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"24160003849c7c2267a2081ebbed55ed0fd16dc695ae1ef2eac1687d9a9b9a75"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6224c3541594a8500007d'), :resource_owner_id=>BSON::ObjectId('5bb6224c3541594a8500007e'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (0.9ms) Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.0ms) Started DELETE "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:23:08 +0300 Processing by Doorkeeper::AuthorizationsController#destroy as HTML Parameters: {"utf8"=>"✓", "client_id"=>"24160003849c7c2267a2081ebbed55ed0fd16dc695ae1ef2eac1687d9a9b9a75", "redirect_uri"=>"https://app.com/callback", "state"=>"return-this", "response_type"=>"code", "scope"=>"", "commit"=>"Deny"} MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"24160003849c7c2267a2081ebbed55ed0fd16dc695ae1ef2eac1687d9a9b9a75"}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to https://app.com/callback?error=access_denied&error_description=The+resource+owner+or+authorization+server+denied+the+request.&state=return-this Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/callback?error=access_denied&error_description=The+resource+owner+or+authorization+server+denied+the+request.&state=return-this" for 127.0.0.1 at 2018-10-04 17:23:08 +0300 Processing by HomeController#callback as HTML Parameters: {"error"=>"access_denied", "error_description"=>"The resource owner or authorization server denied the request.", "state"=>"return-this"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6b98a0e48e6a664b43426d16b98117be3cc7b692c652b61b5c98af542d9e6900", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a8500007f')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a8500007f'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"
XSS
", "uid"=>"6b98a0e48e6a664b43426d16b98117be3cc7b692c652b61b5c98af542d9e6900", "secret"=>"129ee373a736f9b9535bbca7ee4f7e90d85660572dfe1a137405464b613ea5e1", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a8500007f'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"
XSS
", "uid"=>"6b98a0e48e6a664b43426d16b98117be3cc7b692c652b61b5c98af542d9e6900", "secret"=>"129ee373a736f9b9535bbca7ee4f7e90d85660572dfe1a137405464b613ea5e1", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000080'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000080'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:08 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:23:08 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:08 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=6b98a0e48e6a664b43426d16b98117be3cc7b692c652b61b5c98af542d9e6900&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:23:08 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"6b98a0e48e6a664b43426d16b98117be3cc7b692c652b61b5c98af542d9e6900", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6b98a0e48e6a664b43426d16b98117be3cc7b692c652b61b5c98af542d9e6900"}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6224c3541594a8500007f'), :resource_owner_id=>BSON::ObjectId('5bb6224c3541594a85000080'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.0ms) Completed 200 OK in 18ms (Views: 2.3ms | ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2df1a4cc5d38df9d570d29823f50f30561cb14d0fb83391ba2d5754e7ba8efa5", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000081')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000081'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 46", "uid"=>"2df1a4cc5d38df9d570d29823f50f30561cb14d0fb83391ba2d5754e7ba8efa5", "secret"=>"bec4af3c2bacb2d6a8e5d70d9de3ba93db3da4ac6554b0d84669cbff5342c819", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000081'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 46", "uid"=>"2df1a4cc5d38df9d570d29823f50f30561cb14d0fb83391ba2d5754e7ba8efa5", "secret"=>"bec4af3c2bacb2d6a8e5d70d9de3ba93db3da4ac6554b0d84669cbff5342c819", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2df1a4cc5d38df9d570d29823f50f30561cb14d0fb83391ba2d5754e7ba8efa5", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000081')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"68a952e00a50f1d2827b0b51224be9ae67d48085cf607098826cebaa8e0834ad", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000082')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000082'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 47", "uid"=>"68a952e00a50f1d2827b0b51224be9ae67d48085cf607098826cebaa8e0834ad", "secret"=>"13c67d8170f1dfcacb6594bc3b70866a1b2fa0c327d472e7b5b1c1b3d6461942", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000082'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 47", "uid"=>"68a952e00a50f1d2827b0b51224be9ae67d48085cf607098826cebaa8e0834ad", "secret"=>"13c67d8170f1dfcacb6594bc3b70866a1b2fa0c327d472e7b5b1c1b3d6461942", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"68a952e00a50f1d2827b0b51224be9ae67d48085cf607098826cebaa8e0834ad", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000082')}}, {:_id=>1}).limit(-1) MONGODB (6.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3e1e9cbdd2e5b47da86e0f5a0b558bfcaba1930e6a35117c4fef52533453bb9e", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000083')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000083'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 48", "uid"=>"3e1e9cbdd2e5b47da86e0f5a0b558bfcaba1930e6a35117c4fef52533453bb9e", "secret"=>"c82e33ef78b5b5222c5b8bcc4e256addb4af920621f0f7cceb3cd6165ff8d04c", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000083'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 48", "uid"=>"3e1e9cbdd2e5b47da86e0f5a0b558bfcaba1930e6a35117c4fef52533453bb9e", "secret"=>"c82e33ef78b5b5222c5b8bcc4e256addb4af920621f0f7cceb3cd6165ff8d04c", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3e1e9cbdd2e5b47da86e0f5a0b558bfcaba1930e6a35117c4fef52533453bb9e", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000083')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f7052171a05d4c7eb866704db30bd3d7d878bc96b124d2b89717ee648a813387", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000084')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000084'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 49", "uid"=>"f7052171a05d4c7eb866704db30bd3d7d878bc96b124d2b89717ee648a813387", "secret"=>"68e636ba450e4f28cf1b91b6c9d6b2275275a924e5ebbecdd6773ec23a3417bc", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000084'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 49", "uid"=>"f7052171a05d4c7eb866704db30bd3d7d878bc96b124d2b89717ee648a813387", "secret"=>"68e636ba450e4f28cf1b91b6c9d6b2275275a924e5ebbecdd6773ec23a3417bc", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f7052171a05d4c7eb866704db30bd3d7d878bc96b124d2b89717ee648a813387", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000084')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1ae95daf19dc1bc7f1b006104ac4e147f21604a44cbbeb78fc05d9575ee612e2", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000085')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000085'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 50", "uid"=>"1ae95daf19dc1bc7f1b006104ac4e147f21604a44cbbeb78fc05d9575ee612e2", "secret"=>"bedb3536e97a2928d142759625d2dfeff0e7f403e6ac056e41f8ae5fe812d51c", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000085'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 50", "uid"=>"1ae95daf19dc1bc7f1b006104ac4e147f21604a44cbbeb78fc05d9575ee612e2", "secret"=>"bedb3536e97a2928d142759625d2dfeff0e7f403e6ac056e41f8ae5fe812d51c", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1ae95daf19dc1bc7f1b006104ac4e147f21604a44cbbeb78fc05d9575ee612e2", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000085')}}, {:_id=>1}).limit(-1) MONGODB (4.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"85450187fa978c0d215b9aff69b4d6862cde0ba77929796c653b2bd0bde5879d", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000086')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000086'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 51", "uid"=>"85450187fa978c0d215b9aff69b4d6862cde0ba77929796c653b2bd0bde5879d", "secret"=>"797b74e870944d2a73e31eff7451f10248a93e3c255eaea489c5dafdbaf9c44b", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000086'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 51", "uid"=>"85450187fa978c0d215b9aff69b4d6862cde0ba77929796c653b2bd0bde5879d", "secret"=>"797b74e870944d2a73e31eff7451f10248a93e3c255eaea489c5dafdbaf9c44b", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"85450187fa978c0d215b9aff69b4d6862cde0ba77929796c653b2bd0bde5879d", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000086')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"38e5defa59786baca3d0fed411a4972b9a000521ca527d4672d60a380d1da23c", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000087')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000087'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 52", "uid"=>"38e5defa59786baca3d0fed411a4972b9a000521ca527d4672d60a380d1da23c", "secret"=>"1e118dbea38509632f4753262451777d27341787558f7c9980234cf9ceeab8ee", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000087'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 52", "uid"=>"38e5defa59786baca3d0fed411a4972b9a000521ca527d4672d60a380d1da23c", "secret"=>"1e118dbea38509632f4753262451777d27341787558f7c9980234cf9ceeab8ee", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"38e5defa59786baca3d0fed411a4972b9a000521ca527d4672d60a380d1da23c", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000087')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"584db566e66299fef4cd7376d74b4f807d493cc8d26216946cc3703aa23548a9", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000088')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000088'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 53", "uid"=>"584db566e66299fef4cd7376d74b4f807d493cc8d26216946cc3703aa23548a9", "secret"=>"eb203523539c0a72a3f017141581b52919eb2b9afdbf835a2f7c4cbe20e226e2", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000088'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 53", "uid"=>"584db566e66299fef4cd7376d74b4f807d493cc8d26216946cc3703aa23548a9", "secret"=>"eb203523539c0a72a3f017141581b52919eb2b9afdbf835a2f7c4cbe20e226e2", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"584db566e66299fef4cd7376d74b4f807d493cc8d26216946cc3703aa23548a9", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000088')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d16d4c79953db31ce7672f0a7854e99f2ade2be1125c903e3d7bff3e427d5a9d", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000089')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000089'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 54", "uid"=>"d16d4c79953db31ce7672f0a7854e99f2ade2be1125c903e3d7bff3e427d5a9d", "secret"=>"cd7d6fae3a87f22c634ee8cd5177877a5893c60d566f6cbe129b79f4c0cdf120", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000089'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 54", "uid"=>"d16d4c79953db31ce7672f0a7854e99f2ade2be1125c903e3d7bff3e427d5a9d", "secret"=>"cd7d6fae3a87f22c634ee8cd5177877a5893c60d566f6cbe129b79f4c0cdf120", "redirect_uri"=>"https://app.com/callback"}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d16d4c79953db31ce7672f0a7854e99f2ade2be1125c903e3d7bff3e427d5a9d", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000089')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"995ef524b12532cc2891a40869417b8603102889ea8957d7df13268db2dd06a6", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a8500008a')}}, {:_id=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a8500008a'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 55", "uid"=>"995ef524b12532cc2891a40869417b8603102889ea8957d7df13268db2dd06a6", "secret"=>"cf04b0937adab9d811c984c75a51b539553011770e6a1e23b92d7ec0e605b251", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a8500008a'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 55", "uid"=>"995ef524b12532cc2891a40869417b8603102889ea8957d7df13268db2dd06a6", "secret"=>"cf04b0937adab9d811c984c75a51b539553011770e6a1e23b92d7ec0e605b251", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"995ef524b12532cc2891a40869417b8603102889ea8957d7df13268db2dd06a6", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a8500008a')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"743c92c95def664ac9fda0f807d699e759f440e24e2b41ad1d7ae7e28bf31943", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a8500008b')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a8500008b'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 56", "uid"=>"743c92c95def664ac9fda0f807d699e759f440e24e2b41ad1d7ae7e28bf31943", "secret"=>"83ce71fa23cb21a34528db1d19da2ecd4394ca5cdfa2d5bc4e4a65b2ccad3ea7", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a8500008b'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 56", "uid"=>"743c92c95def664ac9fda0f807d699e759f440e24e2b41ad1d7ae7e28bf31943", "secret"=>"83ce71fa23cb21a34528db1d19da2ecd4394ca5cdfa2d5bc4e4a65b2ccad3ea7", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"743c92c95def664ac9fda0f807d699e759f440e24e2b41ad1d7ae7e28bf31943", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a8500008b')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6b6283cd8a5e3e4f03620d84fb4f6ae8021a24967c0db7990dc5407f21e5b569", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a8500008c')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a8500008c'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 57", "uid"=>"6b6283cd8a5e3e4f03620d84fb4f6ae8021a24967c0db7990dc5407f21e5b569", "secret"=>"17b9b00b680bf4bb902187de0f541e0690b2ae1e533f89e355a40cc7714a55a5", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a8500008c'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 57", "uid"=>"6b6283cd8a5e3e4f03620d84fb4f6ae8021a24967c0db7990dc5407f21e5b569", "secret"=>"17b9b00b680bf4bb902187de0f541e0690b2ae1e533f89e355a40cc7714a55a5", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6b6283cd8a5e3e4f03620d84fb4f6ae8021a24967c0db7990dc5407f21e5b569", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a8500008c')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d487dbd7d54f6031ef41eaf58587614680b57cdc0020fddd874419d21220b93e", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a8500008d')}}, {:_id=>1}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"05e5ffeecfd5792dfd221e190c07ec3de9001864e9a3cd0c5bc3027e5a4405e8", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a8500008e')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"63b2f3c6e76b91367a2e62a2bb6b4139c6383c85e860ca757504508888c63bc1", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a8500008f')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a8500008f'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 60", "uid"=>"63b2f3c6e76b91367a2e62a2bb6b4139c6383c85e860ca757504508888c63bc1", "secret"=>"b0e03fcb3800982e61219e291c72e48aa664f88533958d5fca4e9e854d2f1050", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a8500008f'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 60", "uid"=>"63b2f3c6e76b91367a2e62a2bb6b4139c6383c85e860ca757504508888c63bc1", "secret"=>"b0e03fcb3800982e61219e291c72e48aa664f88533958d5fca4e9e854d2f1050", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"63b2f3c6e76b91367a2e62a2bb6b4139c6383c85e860ca757504508888c63bc1", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a8500008f')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6b4cd05634c2ed72531887eec303f6f45c9bd3c147c91cd0a101820c3d6d8ab5", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000090')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000090'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 61", "uid"=>"6b4cd05634c2ed72531887eec303f6f45c9bd3c147c91cd0a101820c3d6d8ab5", "secret"=>"4b4ed8de263fccc41ccb0a15dd7e0fd3e5e5fda82bc03780c57bfe4999207106", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000090'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 61", "uid"=>"6b4cd05634c2ed72531887eec303f6f45c9bd3c147c91cd0a101820c3d6d8ab5", "secret"=>"4b4ed8de263fccc41ccb0a15dd7e0fd3e5e5fda82bc03780c57bfe4999207106", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6b4cd05634c2ed72531887eec303f6f45c9bd3c147c91cd0a101820c3d6d8ab5", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000090')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7e7a65504a0a3ad1e470596ce1d734494b9600b2826134fd723a1991ce9cdfbc", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000091')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224c3541594a85000091'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 62", "uid"=>"7e7a65504a0a3ad1e470596ce1d734494b9600b2826134fd723a1991ce9cdfbc", "secret"=>"75832de4c39c170fb943e0bf9fd631e7de44fec6d31fc64018eed3c8c087cacd", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224c3541594a85000091'), "created_at"=>2018-10-04 14:23:08 UTC, "updated_at"=>2018-10-04 14:23:08 UTC, "name"=>"Application 62", "uid"=>"7e7a65504a0a3ad1e470596ce1d734494b9600b2826134fd723a1991ce9cdfbc", "secret"=>"75832de4c39c170fb943e0bf9fd631e7de44fec6d31fc64018eed3c8c087cacd", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7e7a65504a0a3ad1e470596ce1d734494b9600b2826134fd723a1991ce9cdfbc", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000091')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7e7a65504a0a3ad1e470596ce1d734494b9600b2826134fd723a1991ce9cdfbc", :_id=>{:$ne=>BSON::ObjectId('5bb6224c3541594a85000091')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (8.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0a8b66a4aefa84f79076221f7fbcea853ac7f04ca5fbcb9429ccb76ceb56e9c0", :_id=>{:$ne=>BSON::ObjectId('5bb6224d3541594a85000094')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a85000094'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Application 63", "uid"=>"0a8b66a4aefa84f79076221f7fbcea853ac7f04ca5fbcb9429ccb76ceb56e9c0", "secret"=>"0b846df47d68bea5f35e0af9dd318a873e324a8367b5182c78842edc01139a96", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a85000094'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Application 63", "uid"=>"0a8b66a4aefa84f79076221f7fbcea853ac7f04ca5fbcb9429ccb76ceb56e9c0", "secret"=>"0b846df47d68bea5f35e0af9dd318a873e324a8367b5182c78842edc01139a96", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a85000095'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a85000095'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=0a8b66a4aefa84f79076221f7fbcea853ac7f04ca5fbcb9429ccb76ceb56e9c0&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&state=return-me" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"0a8b66a4aefa84f79076221f7fbcea853ac7f04ca5fbcb9429ccb76ceb56e9c0", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "state"=>"return-me"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0a8b66a4aefa84f79076221f7fbcea853ac7f04ca5fbcb9429ccb76ceb56e9c0"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6224d3541594a85000094'), :resource_owner_id=>BSON::ObjectId('5bb6224d3541594a85000095'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.0ms) Completed 200 OK in 7ms (Views: 2.4ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"0a8b66a4aefa84f79076221f7fbcea853ac7f04ca5fbcb9429ccb76ceb56e9c0", "redirect_uri"=>"https://app.com/callback", "state"=>"return-me", "response_type"=>"code", "scope"=>"", "commit"=>"Authorize"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0a8b66a4aefa84f79076221f7fbcea853ac7f04ca5fbcb9429ccb76ceb56e9c0"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"a4822ec36eb6079896935a721ad4c82a5b5a6bffeee289d278657cae24bd5958", :_id=>{:$ne=>BSON::ObjectId('5bb6224d3541594a85000096')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a85000096'), "application_id"=>BSON::ObjectId('5bb6224d3541594a85000094'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a85000095'), "token"=>"a4822ec36eb6079896935a721ad4c82a5b5a6bffeee289d278657cae24bd5958", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a85000096'), "application_id"=>BSON::ObjectId('5bb6224d3541594a85000094'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a85000095'), "token"=>"a4822ec36eb6079896935a721ad4c82a5b5a6bffeee289d278657cae24bd5958", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=a4822ec36eb6079896935a721ad4c82a5b5a6bffeee289d278657cae24bd5958&state=return-me Completed 302 Found in 5ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]&state=return-me" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]", "state"=>"return-me"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c32f675021c0439cf3c82e2c56e7543379669d247fc22c8a87c1332d555a1fa8", :_id=>{:$ne=>BSON::ObjectId('5bb6224d3541594a85000097')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a85000097'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Application 64", "uid"=>"c32f675021c0439cf3c82e2c56e7543379669d247fc22c8a87c1332d555a1fa8", "secret"=>"d116a49e50a5a59e0d4bc9a822f4c3a34bade63e0691f70600996815b1a2d757", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a85000097'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Application 64", "uid"=>"c32f675021c0439cf3c82e2c56e7543379669d247fc22c8a87c1332d555a1fa8", "secret"=>"d116a49e50a5a59e0d4bc9a822f4c3a34bade63e0691f70600996815b1a2d757", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a85000098'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a85000098'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c32f675021c0439cf3c82e2c56e7543379669d247fc22c8a87c1332d555a1fa8", :_id=>{:$ne=>BSON::ObjectId('5bb6224d3541594a85000097')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224d3541594a85000097')}, :u=>{"_id"=>BSON::ObjectId('5bb6224d3541594a85000097'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Application 64", "uid"=>"c32f675021c0439cf3c82e2c56e7543379669d247fc22c8a87c1332d555a1fa8", "secret"=>"d116a49e50a5a59e0d4bc9a822f4c3a34bade63e0691f70600996815b1a2d757", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "owner_id"=>nil}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb6224d3541594a85000097')}, {"_id"=>BSON::ObjectId('5bb6224d3541594a85000097'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Application 64", "uid"=>"c32f675021c0439cf3c82e2c56e7543379669d247fc22c8a87c1332d555a1fa8", "secret"=>"d116a49e50a5a59e0d4bc9a822f4c3a34bade63e0691f70600996815b1a2d757", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "owner_id"=>nil}) Started GET "/oauth/authorize?client_id=c32f675021c0439cf3c82e2c56e7543379669d247fc22c8a87c1332d555a1fa8&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&response_type=code" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"c32f675021c0439cf3c82e2c56e7543379669d247fc22c8a87c1332d555a1fa8", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "response_type"=>"code"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c32f675021c0439cf3c82e2c56e7543379669d247fc22c8a87c1332d555a1fa8"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6224d3541594a85000097'), :resource_owner_id=>BSON::ObjectId('5bb6224d3541594a85000098'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.0ms) Completed 200 OK in 7ms (Views: 2.9ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"c32f675021c0439cf3c82e2c56e7543379669d247fc22c8a87c1332d555a1fa8", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "state"=>"", "response_type"=>"code", "scope"=>"", "commit"=>"Authorize"} MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c32f675021c0439cf3c82e2c56e7543379669d247fc22c8a87c1332d555a1fa8"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"3b9f10b6438234b45d09cb564f964841ca837f34140176a21bb25bfee892ad38", :_id=>{:$ne=>BSON::ObjectId('5bb6224d3541594a85000099')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a85000099'), "application_id"=>BSON::ObjectId('5bb6224d3541594a85000097'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a85000098'), "token"=>"3b9f10b6438234b45d09cb564f964841ca837f34140176a21bb25bfee892ad38", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a85000099'), "application_id"=>BSON::ObjectId('5bb6224d3541594a85000097'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a85000098'), "token"=>"3b9f10b6438234b45d09cb564f964841ca837f34140176a21bb25bfee892ad38", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}) Redirected to http://www.example.com/oauth/authorize/native?code=3b9f10b6438234b45d09cb564f964841ca837f34140176a21bb25bfee892ad38 Completed 302 Found in 9ms (ActiveRecord: 0.0ms) Started GET "/oauth/authorize/native?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by Doorkeeper::AuthorizationsController#show as HTML Parameters: {"code"=>"[FILTERED]"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/show.html.erb within layouts/doorkeeper/application (0.5ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224d3541594a85000097')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"385b08cd4de89bf7af035264dd03419583d46c78ba451dafd31d142ba75f980b", :_id=>{:$ne=>BSON::ObjectId('5bb6224d3541594a8500009a')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a8500009a'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Application 65", "uid"=>"385b08cd4de89bf7af035264dd03419583d46c78ba451dafd31d142ba75f980b", "secret"=>"f6a8714cd6760aed138a16f8e5c46ed76a2a04b923c3008ee8df601c9dafe740", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a8500009a'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Application 65", "uid"=>"385b08cd4de89bf7af035264dd03419583d46c78ba451dafd31d142ba75f980b", "secret"=>"f6a8714cd6760aed138a16f8e5c46ed76a2a04b923c3008ee8df601c9dafe740", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a8500009b'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a8500009b'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=385b08cd4de89bf7af035264dd03419583d46c78ba451dafd31d142ba75f980b&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"385b08cd4de89bf7af035264dd03419583d46c78ba451dafd31d142ba75f980b", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"385b08cd4de89bf7af035264dd03419583d46c78ba451dafd31d142ba75f980b"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6224d3541594a8500009a'), :resource_owner_id=>BSON::ObjectId('5bb6224d3541594a8500009b'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.5ms) Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"385b08cd4de89bf7af035264dd03419583d46c78ba451dafd31d142ba75f980b", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"", "commit"=>"Authorize"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"385b08cd4de89bf7af035264dd03419583d46c78ba451dafd31d142ba75f980b"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"d685e793d45f09f345d768d55302750fe0a1e2581c81df06fe386a0a97f98d4d", :_id=>{:$ne=>BSON::ObjectId('5bb6224d3541594a8500009c')}}, {:_id=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a8500009c'), "application_id"=>BSON::ObjectId('5bb6224d3541594a8500009a'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a8500009b'), "token"=>"d685e793d45f09f345d768d55302750fe0a1e2581c81df06fe386a0a97f98d4d", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a8500009c'), "application_id"=>BSON::ObjectId('5bb6224d3541594a8500009a'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a8500009b'), "token"=>"d685e793d45f09f345d768d55302750fe0a1e2581c81df06fe386a0a97f98d4d", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=d685e793d45f09f345d768d55302750fe0a1e2581c81df06fe386a0a97f98d4d Completed 302 Found in 12ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224d3541594a8500009a')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ef5edc99b9f812727d9bec73c458f3325bd80db588de64b10b3aa8e9536cb9e7", :_id=>{:$ne=>BSON::ObjectId('5bb6224d3541594a8500009d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a8500009d'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Application 66", "uid"=>"ef5edc99b9f812727d9bec73c458f3325bd80db588de64b10b3aa8e9536cb9e7", "secret"=>"84566903fa6fc2e3125992a50bf2b0a1affa7f7be58f1c27aee9c2b12137cac1", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a8500009d'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Application 66", "uid"=>"ef5edc99b9f812727d9bec73c458f3325bd80db588de64b10b3aa8e9536cb9e7", "secret"=>"84566903fa6fc2e3125992a50bf2b0a1affa7f7be58f1c27aee9c2b12137cac1", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a8500009e'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a8500009e'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=ef5edc99b9f812727d9bec73c458f3325bd80db588de64b10b3aa8e9536cb9e7&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"ef5edc99b9f812727d9bec73c458f3325bd80db588de64b10b3aa8e9536cb9e7", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} MONGODB (4.9ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ef5edc99b9f812727d9bec73c458f3325bd80db588de64b10b3aa8e9536cb9e7"}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (2.0ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6224d3541594a8500009d'), :resource_owner_id=>BSON::ObjectId('5bb6224d3541594a8500009e'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.0ms) Completed 200 OK in 18ms (Views: 2.8ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"ef5edc99b9f812727d9bec73c458f3325bd80db588de64b10b3aa8e9536cb9e7", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"", "commit"=>"Authorize"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ef5edc99b9f812727d9bec73c458f3325bd80db588de64b10b3aa8e9536cb9e7"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"6c1b1752ca2084c504c4c6ee5d43f53b8765b74cf807048857659451a5bb31cc", :_id=>{:$ne=>BSON::ObjectId('5bb6224d3541594a8500009f')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a8500009f'), "application_id"=>BSON::ObjectId('5bb6224d3541594a8500009d'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a8500009e'), "token"=>"6c1b1752ca2084c504c4c6ee5d43f53b8765b74cf807048857659451a5bb31cc", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a8500009f'), "application_id"=>BSON::ObjectId('5bb6224d3541594a8500009d'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a8500009e'), "token"=>"6c1b1752ca2084c504c4c6ee5d43f53b8765b74cf807048857659451a5bb31cc", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=6c1b1752ca2084c504c4c6ee5d43f53b8765b74cf807048857659451a5bb31cc Completed 302 Found in 5ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) Started POST "/oauth/token?code=[FILTERED]&client_id=ef5edc99b9f812727d9bec73c458f3325bd80db588de64b10b3aa8e9536cb9e7&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"ef5edc99b9f812727d9bec73c458f3325bd80db588de64b10b3aa8e9536cb9e7", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"6c1b1752ca2084c504c4c6ee5d43f53b8765b74cf807048857659451a5bb31cc"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ef5edc99b9f812727d9bec73c458f3325bd80db588de64b10b3aa8e9536cb9e7"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb6224d3541594a8500009f')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224d3541594a8500009f')}, :u=>{"_id"=>BSON::ObjectId('5bb6224d3541594a8500009f'), "application_id"=>BSON::ObjectId('5bb6224d3541594a8500009d'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a8500009e'), "token"=>"6c1b1752ca2084c504c4c6ee5d43f53b8765b74cf807048857659451a5bb31cc", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb6224d3541594a8500009f')}, {"_id"=>BSON::ObjectId('5bb6224d3541594a8500009f'), "application_id"=>BSON::ObjectId('5bb6224d3541594a8500009d'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a8500009e'), "token"=>"6c1b1752ca2084c504c4c6ee5d43f53b8765b74cf807048857659451a5bb31cc", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224d3541594a8500009d')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224d3541594a8500009d')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"407e742c9318ebd332e31ca00bf91989de84e34df520b45144bdadf55f193ee6", :_id=>{:$ne=>BSON::ObjectId('5bb6224d3541594a850000a0')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a850000a0'), "application_id"=>BSON::ObjectId('5bb6224d3541594a8500009d'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a8500009e'), "token"=>"407e742c9318ebd332e31ca00bf91989de84e34df520b45144bdadf55f193ee6", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a850000a0'), "application_id"=>BSON::ObjectId('5bb6224d3541594a8500009d'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a8500009e'), "token"=>"407e742c9318ebd332e31ca00bf91989de84e34df520b45144bdadf55f193ee6", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 8ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224d3541594a8500009d')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"aea0ea0e52ec654666f57d69921bef7a57f99bb38d5c752ed5a15a229703e752", :_id=>{:$ne=>BSON::ObjectId('5bb6224d3541594a850000a1')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a850000a1'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Application 67", "uid"=>"aea0ea0e52ec654666f57d69921bef7a57f99bb38d5c752ed5a15a229703e752", "secret"=>"4759944a8bb23d40da38af2f3f8bd23e24439f58f0ecea1fd604bfb92e677133", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a850000a1'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Application 67", "uid"=>"aea0ea0e52ec654666f57d69921bef7a57f99bb38d5c752ed5a15a229703e752", "secret"=>"4759944a8bb23d40da38af2f3f8bd23e24439f58f0ecea1fd604bfb92e677133", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a850000a2'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a850000a2'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=aea0ea0e52ec654666f57d69921bef7a57f99bb38d5c752ed5a15a229703e752&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"aea0ea0e52ec654666f57d69921bef7a57f99bb38d5c752ed5a15a229703e752", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"aea0ea0e52ec654666f57d69921bef7a57f99bb38d5c752ed5a15a229703e752"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6224d3541594a850000a1'), :resource_owner_id=>BSON::ObjectId('5bb6224d3541594a850000a2'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (6.3ms) Completed 200 OK in 22ms (Views: 10.8ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"aea0ea0e52ec654666f57d69921bef7a57f99bb38d5c752ed5a15a229703e752", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public", "commit"=>"Authorize"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"aea0ea0e52ec654666f57d69921bef7a57f99bb38d5c752ed5a15a229703e752"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"594862f892f0e7da12a487d5d33c00db35f04f55647364cc166e2cb7c2653e62", :_id=>{:$ne=>BSON::ObjectId('5bb6224d3541594a850000a3')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a850000a3'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000a1'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000a2'), "token"=>"594862f892f0e7da12a487d5d33c00db35f04f55647364cc166e2cb7c2653e62", "scopes"=>"public", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a850000a3'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000a1'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000a2'), "token"=>"594862f892f0e7da12a487d5d33c00db35f04f55647364cc166e2cb7c2653e62", "scopes"=>"public", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=594862f892f0e7da12a487d5d33c00db35f04f55647364cc166e2cb7c2653e62 Completed 302 Found in 5ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224d3541594a850000a1')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (2.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c28c8d2bbf2babed2b3c1252b67af3f9d511619d1745f1a585744141eb562b37", :_id=>{:$ne=>BSON::ObjectId('5bb6224d3541594a850000a4')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a850000a4'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Application 68", "uid"=>"c28c8d2bbf2babed2b3c1252b67af3f9d511619d1745f1a585744141eb562b37", "secret"=>"5aea077bb36b8a021001dc77c43b0c41744d5684e82cbb526d15ed2fac6fc14e", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a850000a4'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Application 68", "uid"=>"c28c8d2bbf2babed2b3c1252b67af3f9d511619d1745f1a585744141eb562b37", "secret"=>"5aea077bb36b8a021001dc77c43b0c41744d5684e82cbb526d15ed2fac6fc14e", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a850000a5'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a850000a5'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"c13b74d0100c33a8dce83e9bf82509f87c0a5635b74362e820918ec47392b44e", :_id=>{:$ne=>BSON::ObjectId('5bb6224d3541594a850000a6')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a850000a6'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000a4'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000a5'), "token"=>"c13b74d0100c33a8dce83e9bf82509f87c0a5635b74362e820918ec47392b44e", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a850000a6'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000a4'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000a5'), "token"=>"c13b74d0100c33a8dce83e9bf82509f87c0a5635b74362e820918ec47392b44e", "expires_in"=>7200, "scopes"=>"public write"}) Started GET "/oauth/authorize?client_id=c28c8d2bbf2babed2b3c1252b67af3f9d511619d1745f1a585744141eb562b37&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"c28c8d2bbf2babed2b3c1252b67af3f9d511619d1745f1a585744141eb562b37", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c28c8d2bbf2babed2b3c1252b67af3f9d511619d1745f1a585744141eb562b37"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6224d3541594a850000a4'), :resource_owner_id=>BSON::ObjectId('5bb6224d3541594a850000a5'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.1ms) Completed 200 OK in 6ms (Views: 2.5ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"c28c8d2bbf2babed2b3c1252b67af3f9d511619d1745f1a585744141eb562b37", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public", "commit"=>"Authorize"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c28c8d2bbf2babed2b3c1252b67af3f9d511619d1745f1a585744141eb562b37"}).limit(-1) MONGODB (6.2ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"1193d0dffe3a407e5c7c4f99bf96ebf1365bdde022efb6917c943dd076fb04ee", :_id=>{:$ne=>BSON::ObjectId('5bb6224d3541594a850000a7')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a850000a7'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000a4'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000a5'), "token"=>"1193d0dffe3a407e5c7c4f99bf96ebf1365bdde022efb6917c943dd076fb04ee", "scopes"=>"public", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a850000a7'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000a4'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000a5'), "token"=>"1193d0dffe3a407e5c7c4f99bf96ebf1365bdde022efb6917c943dd076fb04ee", "scopes"=>"public", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=1193d0dffe3a407e5c7c4f99bf96ebf1365bdde022efb6917c943dd076fb04ee Completed 302 Found in 14ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) Started POST "/oauth/token?code=[FILTERED]&client_id=c28c8d2bbf2babed2b3c1252b67af3f9d511619d1745f1a585744141eb562b37&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"c28c8d2bbf2babed2b3c1252b67af3f9d511619d1745f1a585744141eb562b37", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"1193d0dffe3a407e5c7c4f99bf96ebf1365bdde022efb6917c943dd076fb04ee"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c28c8d2bbf2babed2b3c1252b67af3f9d511619d1745f1a585744141eb562b37"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb6224d3541594a850000a7')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224d3541594a850000a7')}, :u=>{"_id"=>BSON::ObjectId('5bb6224d3541594a850000a7'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000a4'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000a5'), "token"=>"1193d0dffe3a407e5c7c4f99bf96ebf1365bdde022efb6917c943dd076fb04ee", "scopes"=>"public", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb6224d3541594a850000a7')}, {"_id"=>BSON::ObjectId('5bb6224d3541594a850000a7'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000a4'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000a5'), "token"=>"1193d0dffe3a407e5c7c4f99bf96ebf1365bdde022efb6917c943dd076fb04ee", "scopes"=>"public", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224d3541594a850000a4')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224d3541594a850000a4')}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"70a2451785f454601d74511a0d83ebdb4cc76319c25d990f84cfd84eac044a3d", :_id=>{:$ne=>BSON::ObjectId('5bb6224d3541594a850000a8')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a850000a8'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000a4'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000a5'), "token"=>"70a2451785f454601d74511a0d83ebdb4cc76319c25d990f84cfd84eac044a3d", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a850000a8'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000a4'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000a5'), "token"=>"70a2451785f454601d74511a0d83ebdb4cc76319c25d990f84cfd84eac044a3d", "expires_in"=>7200, "scopes"=>"public"}) Completed 200 OK in 9ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (2.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c5edb6972aeb57954922315060c18a8949bdf297950a788b96dbdc6ddb522cb2", :_id=>{:$ne=>BSON::ObjectId('5bb6224d3541594a850000a9')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a850000a9'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Application 69", "uid"=>"c5edb6972aeb57954922315060c18a8949bdf297950a788b96dbdc6ddb522cb2", "secret"=>"9338f875e29d9a6fb0c500a7bd287eec4025b8afefe41e02e4159e85b5ed03d5", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a850000a9'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Application 69", "uid"=>"c5edb6972aeb57954922315060c18a8949bdf297950a788b96dbdc6ddb522cb2", "secret"=>"9338f875e29d9a6fb0c500a7bd287eec4025b8afefe41e02e4159e85b5ed03d5", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a850000aa'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a850000aa'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"9280919cc83b4984a995c4a9dc59e47cf6372112161ab67b8a0d09e044c40e44", :_id=>{:$ne=>BSON::ObjectId('5bb6224d3541594a850000ab')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a850000ab'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000a9'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000aa'), "token"=>"9280919cc83b4984a995c4a9dc59e47cf6372112161ab67b8a0d09e044c40e44", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a850000ab'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000a9'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000aa'), "token"=>"9280919cc83b4984a995c4a9dc59e47cf6372112161ab67b8a0d09e044c40e44", "expires_in"=>7200, "scopes"=>"public"}) Started GET "/oauth/authorize?client_id=c5edb6972aeb57954922315060c18a8949bdf297950a788b96dbdc6ddb522cb2&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public+write" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"c5edb6972aeb57954922315060c18a8949bdf297950a788b96dbdc6ddb522cb2", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public write"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c5edb6972aeb57954922315060c18a8949bdf297950a788b96dbdc6ddb522cb2"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6224d3541594a850000a9'), :resource_owner_id=>BSON::ObjectId('5bb6224d3541594a850000aa'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.1ms) Completed 200 OK in 7ms (Views: 2.5ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"c5edb6972aeb57954922315060c18a8949bdf297950a788b96dbdc6ddb522cb2", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public write", "commit"=>"Authorize"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c5edb6972aeb57954922315060c18a8949bdf297950a788b96dbdc6ddb522cb2"}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"b48666ed2cf0e9f41bdf78c768fbaf8a72cdd6df18e797d01743d45e16c90402", :_id=>{:$ne=>BSON::ObjectId('5bb6224d3541594a850000ac')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a850000ac'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000a9'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000aa'), "token"=>"b48666ed2cf0e9f41bdf78c768fbaf8a72cdd6df18e797d01743d45e16c90402", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a850000ac'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000a9'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000aa'), "token"=>"b48666ed2cf0e9f41bdf78c768fbaf8a72cdd6df18e797d01743d45e16c90402", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=b48666ed2cf0e9f41bdf78c768fbaf8a72cdd6df18e797d01743d45e16c90402 Completed 302 Found in 9ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) Started POST "/oauth/token?code=[FILTERED]&client_id=c5edb6972aeb57954922315060c18a8949bdf297950a788b96dbdc6ddb522cb2&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"c5edb6972aeb57954922315060c18a8949bdf297950a788b96dbdc6ddb522cb2", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"b48666ed2cf0e9f41bdf78c768fbaf8a72cdd6df18e797d01743d45e16c90402"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c5edb6972aeb57954922315060c18a8949bdf297950a788b96dbdc6ddb522cb2"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb6224d3541594a850000ac')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224d3541594a850000ac')}, :u=>{"_id"=>BSON::ObjectId('5bb6224d3541594a850000ac'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000a9'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000aa'), "token"=>"b48666ed2cf0e9f41bdf78c768fbaf8a72cdd6df18e797d01743d45e16c90402", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb6224d3541594a850000ac')}, {"_id"=>BSON::ObjectId('5bb6224d3541594a850000ac'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000a9'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000aa'), "token"=>"b48666ed2cf0e9f41bdf78c768fbaf8a72cdd6df18e797d01743d45e16c90402", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224d3541594a850000a9')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224d3541594a850000a9')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d000091abd0bdc6951f4f0f48b3ab6b4ab9f4b0de7ed33fbef4bd75fb122efdb", :_id=>{:$ne=>BSON::ObjectId('5bb6224d3541594a850000ad')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a850000ad'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000a9'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000aa'), "token"=>"d000091abd0bdc6951f4f0f48b3ab6b4ab9f4b0de7ed33fbef4bd75fb122efdb", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a850000ad'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000a9'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000aa'), "token"=>"d000091abd0bdc6951f4f0f48b3ab6b4ab9f4b0de7ed33fbef4bd75fb122efdb", "expires_in"=>7200, "scopes"=>"public write"}) Completed 200 OK in 8ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ab61d0fbecca315d70085dfc6e57c444cc7a8afa295d21193fbdee0c6ad1fd6e", :_id=>{:$ne=>BSON::ObjectId('5bb6224d3541594a850000ae')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a850000ae'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Application 70", "uid"=>"ab61d0fbecca315d70085dfc6e57c444cc7a8afa295d21193fbdee0c6ad1fd6e", "secret"=>"5dc01cc8fa9b078626e2db0957793812c48a818c363adf86364ca3d58146c125", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a850000ae'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Application 70", "uid"=>"ab61d0fbecca315d70085dfc6e57c444cc7a8afa295d21193fbdee0c6ad1fd6e", "secret"=>"5dc01cc8fa9b078626e2db0957793812c48a818c363adf86364ca3d58146c125", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a850000af'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a850000af'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=ab61d0fbecca315d70085dfc6e57c444cc7a8afa295d21193fbdee0c6ad1fd6e&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public+write" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"ab61d0fbecca315d70085dfc6e57c444cc7a8afa295d21193fbdee0c6ad1fd6e", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public write"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ab61d0fbecca315d70085dfc6e57c444cc7a8afa295d21193fbdee0c6ad1fd6e"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6224d3541594a850000ae'), :resource_owner_id=>BSON::ObjectId('5bb6224d3541594a850000af'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.1ms) Completed 200 OK in 6ms (Views: 2.4ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"ab61d0fbecca315d70085dfc6e57c444cc7a8afa295d21193fbdee0c6ad1fd6e", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public write", "commit"=>"Authorize"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ab61d0fbecca315d70085dfc6e57c444cc7a8afa295d21193fbdee0c6ad1fd6e"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"ef8809dddc5ebdfdf8dd443e246bd5630fc50afdfa25d5a9ad81dd9dba5b2a10", :_id=>{:$ne=>BSON::ObjectId('5bb6224d3541594a850000b0')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a850000b0'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000ae'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000af'), "token"=>"ef8809dddc5ebdfdf8dd443e246bd5630fc50afdfa25d5a9ad81dd9dba5b2a10", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a850000b0'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000ae'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000af'), "token"=>"ef8809dddc5ebdfdf8dd443e246bd5630fc50afdfa25d5a9ad81dd9dba5b2a10", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=ef8809dddc5ebdfdf8dd443e246bd5630fc50afdfa25d5a9ad81dd9dba5b2a10 Completed 302 Found in 6ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ec20dc0615a9edd0548e89855f026553a471eb9e0f2ad72bffc9a99311da87d9", :_id=>{:$ne=>BSON::ObjectId('5bb6224d3541594a850000b1')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a850000b1'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Application 71", "uid"=>"ec20dc0615a9edd0548e89855f026553a471eb9e0f2ad72bffc9a99311da87d9", "secret"=>"4a02745296ab991c05fe779871759df02570839a78a908873c7d7a5954ae9d75", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a850000b1'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Application 71", "uid"=>"ec20dc0615a9edd0548e89855f026553a471eb9e0f2ad72bffc9a99311da87d9", "secret"=>"4a02745296ab991c05fe779871759df02570839a78a908873c7d7a5954ae9d75", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a850000b2'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a850000b2'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=ec20dc0615a9edd0548e89855f026553a471eb9e0f2ad72bffc9a99311da87d9&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public+write" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"ec20dc0615a9edd0548e89855f026553a471eb9e0f2ad72bffc9a99311da87d9", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public write"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ec20dc0615a9edd0548e89855f026553a471eb9e0f2ad72bffc9a99311da87d9"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6224d3541594a850000b1'), :resource_owner_id=>BSON::ObjectId('5bb6224d3541594a850000b2'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.1ms) Completed 200 OK in 6ms (Views: 2.4ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"ec20dc0615a9edd0548e89855f026553a471eb9e0f2ad72bffc9a99311da87d9", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public write", "commit"=>"Authorize"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ec20dc0615a9edd0548e89855f026553a471eb9e0f2ad72bffc9a99311da87d9"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"7730530ace8025aefe1a46fac6342ad0f5f0016b4632e87eea17f274ccd13468", :_id=>{:$ne=>BSON::ObjectId('5bb6224d3541594a850000b3')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a850000b3'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000b1'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000b2'), "token"=>"7730530ace8025aefe1a46fac6342ad0f5f0016b4632e87eea17f274ccd13468", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a850000b3'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000b1'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000b2'), "token"=>"7730530ace8025aefe1a46fac6342ad0f5f0016b4632e87eea17f274ccd13468", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=7730530ace8025aefe1a46fac6342ad0f5f0016b4632e87eea17f274ccd13468 Completed 302 Found in 6ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) Started POST "/oauth/token?code=[FILTERED]&client_id=ec20dc0615a9edd0548e89855f026553a471eb9e0f2ad72bffc9a99311da87d9&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"ec20dc0615a9edd0548e89855f026553a471eb9e0f2ad72bffc9a99311da87d9", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"7730530ace8025aefe1a46fac6342ad0f5f0016b4632e87eea17f274ccd13468"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ec20dc0615a9edd0548e89855f026553a471eb9e0f2ad72bffc9a99311da87d9"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb6224d3541594a850000b3')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224d3541594a850000b3')}, :u=>{"_id"=>BSON::ObjectId('5bb6224d3541594a850000b3'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000b1'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000b2'), "token"=>"7730530ace8025aefe1a46fac6342ad0f5f0016b4632e87eea17f274ccd13468", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb6224d3541594a850000b3')}, {"_id"=>BSON::ObjectId('5bb6224d3541594a850000b3'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000b1'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000b2'), "token"=>"7730530ace8025aefe1a46fac6342ad0f5f0016b4632e87eea17f274ccd13468", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224d3541594a850000b1')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224d3541594a850000b1')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"4b0e94b994876749677714dda85f22ea4afc114d716e057aa58fdfba1a43d728", :_id=>{:$ne=>BSON::ObjectId('5bb6224d3541594a850000b4')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a850000b4'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000b1'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000b2'), "token"=>"4b0e94b994876749677714dda85f22ea4afc114d716e057aa58fdfba1a43d728", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a850000b4'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000b1'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000b2'), "token"=>"4b0e94b994876749677714dda85f22ea4afc114d716e057aa58fdfba1a43d728", "expires_in"=>7200, "scopes"=>"public write"}) Completed 200 OK in 8ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224d3541594a850000b1')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3386d4890ea6782112a6464a4bd8fb1506a0f4c324b134547c3eef0e437f60c1", :_id=>{:$ne=>BSON::ObjectId('5bb6224d3541594a850000b5')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a850000b5'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Application 72", "uid"=>"3386d4890ea6782112a6464a4bd8fb1506a0f4c324b134547c3eef0e437f60c1", "secret"=>"b855e760ae7cf841c03b7d0ba4a6f25ed6bb4d12f9ab2f16db2a1a656e2e14be", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a850000b5'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Application 72", "uid"=>"3386d4890ea6782112a6464a4bd8fb1506a0f4c324b134547c3eef0e437f60c1", "secret"=>"b855e760ae7cf841c03b7d0ba4a6f25ed6bb4d12f9ab2f16db2a1a656e2e14be", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a850000b6'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a850000b6'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=3386d4890ea6782112a6464a4bd8fb1506a0f4c324b134547c3eef0e437f60c1&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=write" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"3386d4890ea6782112a6464a4bd8fb1506a0f4c324b134547c3eef0e437f60c1", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"write"} MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3386d4890ea6782112a6464a4bd8fb1506a0f4c324b134547c3eef0e437f60c1"}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6224d3541594a850000b5'), :resource_owner_id=>BSON::ObjectId('5bb6224d3541594a850000b6'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.1ms) Completed 200 OK in 10ms (Views: 2.4ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"3386d4890ea6782112a6464a4bd8fb1506a0f4c324b134547c3eef0e437f60c1", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"write", "commit"=>"Authorize"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3386d4890ea6782112a6464a4bd8fb1506a0f4c324b134547c3eef0e437f60c1"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"88c6ad6f0f8aa2c06acd2219b0c32f844d0539c50896e15784eacf12e84a2368", :_id=>{:$ne=>BSON::ObjectId('5bb6224d3541594a850000b7')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a850000b7'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000b5'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000b6'), "token"=>"88c6ad6f0f8aa2c06acd2219b0c32f844d0539c50896e15784eacf12e84a2368", "scopes"=>"write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a850000b7'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000b5'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000b6'), "token"=>"88c6ad6f0f8aa2c06acd2219b0c32f844d0539c50896e15784eacf12e84a2368", "scopes"=>"write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=88c6ad6f0f8aa2c06acd2219b0c32f844d0539c50896e15784eacf12e84a2368 Completed 302 Found in 5ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e7b4fd0842e2935d501879b308474b2a7d16e5fc399baaa648ca891cdfd8ebac", :_id=>{:$ne=>BSON::ObjectId('5bb6224d3541594a850000b8')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a850000b8'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Application 73", "uid"=>"e7b4fd0842e2935d501879b308474b2a7d16e5fc399baaa648ca891cdfd8ebac", "secret"=>"f1cec70d974243eb8deae9bb3b3d499717c61058f498b8ecc6b9d67ff931a816", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a850000b8'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Application 73", "uid"=>"e7b4fd0842e2935d501879b308474b2a7d16e5fc399baaa648ca891cdfd8ebac", "secret"=>"f1cec70d974243eb8deae9bb3b3d499717c61058f498b8ecc6b9d67ff931a816", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a850000b9'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"John", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a850000b9'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"John", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"5342329f9888b5e0dd11580dacc5db19e7d0c3d397c9e83657b817974e3c9012", :_id=>{:$ne=>BSON::ObjectId('5bb6224d3541594a850000ba')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"20cbd9714eead9c96173e0c41cd07b448718d045fa105d78f8eacd31fc1b2ff6", :_id=>{:$ne=>BSON::ObjectId('5bb6224d3541594a850000ba')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a850000ba'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000b8'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000b9'), "token"=>"5342329f9888b5e0dd11580dacc5db19e7d0c3d397c9e83657b817974e3c9012", "refresh_token"=>"20cbd9714eead9c96173e0c41cd07b448718d045fa105d78f8eacd31fc1b2ff6", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a850000ba'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000b8'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000b9'), "token"=>"5342329f9888b5e0dd11580dacc5db19e7d0c3d397c9e83657b817974e3c9012", "refresh_token"=>"20cbd9714eead9c96173e0c41cd07b448718d045fa105d78f8eacd31fc1b2ff6", "expires_in"=>7200}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"20cbd9714eead9c96173e0c41cd07b448718d045fa105d78f8eacd31fc1b2ff6"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"20cbd9714eead9c96173e0c41cd07b448718d045fa105d78f8eacd31fc1b2ff6"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"20cbd9714eead9c96173e0c41cd07b448718d045fa105d78f8eacd31fc1b2ff6"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224d3541594a850000b8')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224d3541594a850000ba')}, :u=>{"_id"=>BSON::ObjectId('5bb6224d3541594a850000ba'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000b8'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000b9'), "token"=>"5342329f9888b5e0dd11580dacc5db19e7d0c3d397c9e83657b817974e3c9012", "refresh_token"=>"20cbd9714eead9c96173e0c41cd07b448718d045fa105d78f8eacd31fc1b2ff6", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6224d3541594a850000ba')}, {"_id"=>BSON::ObjectId('5bb6224d3541594a850000ba'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000b8'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000b9'), "token"=>"5342329f9888b5e0dd11580dacc5db19e7d0c3d397c9e83657b817974e3c9012", "refresh_token"=>"20cbd9714eead9c96173e0c41cd07b448718d045fa105d78f8eacd31fc1b2ff6", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 4ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6224d3541594a850000ba')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4a38d56e3269348b060e04b30183db9850aba6dc8f7c2e9f277151cad04a61de", :_id=>{:$ne=>BSON::ObjectId('5bb6224d3541594a850000bb')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a850000bb'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Application 74", "uid"=>"4a38d56e3269348b060e04b30183db9850aba6dc8f7c2e9f277151cad04a61de", "secret"=>"7a610c11273ec59f0a80cd105dcc51d2cefcd25d70731f9873d307727034546d", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a850000bb'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Application 74", "uid"=>"4a38d56e3269348b060e04b30183db9850aba6dc8f7c2e9f277151cad04a61de", "secret"=>"7a610c11273ec59f0a80cd105dcc51d2cefcd25d70731f9873d307727034546d", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a850000bc'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"John", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a850000bc'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"John", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"c4fd22666b8153cd08b08406c0e62b8577caee60adf8575c6c22c8955fa6bed0", :_id=>{:$ne=>BSON::ObjectId('5bb6224d3541594a850000bd')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"9d1b17d5b85ccac4637d63d7bb0872ebb83fbdc3dd4695a43f05ec459de4458e", :_id=>{:$ne=>BSON::ObjectId('5bb6224d3541594a850000bd')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a850000bd'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000bb'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000bc'), "token"=>"c4fd22666b8153cd08b08406c0e62b8577caee60adf8575c6c22c8955fa6bed0", "refresh_token"=>"9d1b17d5b85ccac4637d63d7bb0872ebb83fbdc3dd4695a43f05ec459de4458e", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a850000bd'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000bb'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000bc'), "token"=>"c4fd22666b8153cd08b08406c0e62b8577caee60adf8575c6c22c8955fa6bed0", "refresh_token"=>"9d1b17d5b85ccac4637d63d7bb0872ebb83fbdc3dd4695a43f05ec459de4458e", "expires_in"=>7200}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"c4fd22666b8153cd08b08406c0e62b8577caee60adf8575c6c22c8955fa6bed0"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"c4fd22666b8153cd08b08406c0e62b8577caee60adf8575c6c22c8955fa6bed0"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224d3541594a850000bb')}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224d3541594a850000bd')}, :u=>{"_id"=>BSON::ObjectId('5bb6224d3541594a850000bd'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000bb'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000bc'), "token"=>"c4fd22666b8153cd08b08406c0e62b8577caee60adf8575c6c22c8955fa6bed0", "refresh_token"=>"9d1b17d5b85ccac4637d63d7bb0872ebb83fbdc3dd4695a43f05ec459de4458e", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6224d3541594a850000bd')}, {"_id"=>BSON::ObjectId('5bb6224d3541594a850000bd'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000bb'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000bc'), "token"=>"c4fd22666b8153cd08b08406c0e62b8577caee60adf8575c6c22c8955fa6bed0", "refresh_token"=>"9d1b17d5b85ccac4637d63d7bb0872ebb83fbdc3dd4695a43f05ec459de4458e", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 5ms MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6224d3541594a850000bd')}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{:revoked_at=>nil}, "fields"=>nil}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ef901fa6b4bfc2bff938b8d5d378adcfa8ac0037e904b7e88a411071fdcc5548", :_id=>{:$ne=>BSON::ObjectId('5bb6224d3541594a850000be')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a850000be'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Application 75", "uid"=>"ef901fa6b4bfc2bff938b8d5d378adcfa8ac0037e904b7e88a411071fdcc5548", "secret"=>"5cbe64dfc98f0b8d7d1cbe0ebe7e9470f1ec20157a8d50a37d1789b2ba8b05da", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a850000be'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Application 75", "uid"=>"ef901fa6b4bfc2bff938b8d5d378adcfa8ac0037e904b7e88a411071fdcc5548", "secret"=>"5cbe64dfc98f0b8d7d1cbe0ebe7e9470f1ec20157a8d50a37d1789b2ba8b05da", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"I_AM_AN_INVALID_TOKEN"} MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"I_AM_AN_INVALID_TOKEN"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"I_AM_AN_INVALID_TOKEN"}).limit(-1) Completed 200 OK in 2ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{:revoked_at=>nil}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5be8bd074c87a7541e2c57bb33431743e9a47b02d448ca80e5bc3fcb13027839", :_id=>{:$ne=>BSON::ObjectId('5bb6224d3541594a850000bf')}}, {:_id=>1}).limit(-1) MONGODB (9.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a850000bf'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Application 76", "uid"=>"5be8bd074c87a7541e2c57bb33431743e9a47b02d448ca80e5bc3fcb13027839", "secret"=>"dc1f32ad5f9eac27cf0721b0dbb4270b4eefb2a232bf3da2c8e97651cfc1fd6e", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (10.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a850000bf'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Application 76", "uid"=>"5be8bd074c87a7541e2c57bb33431743e9a47b02d448ca80e5bc3fcb13027839", "secret"=>"dc1f32ad5f9eac27cf0721b0dbb4270b4eefb2a232bf3da2c8e97651cfc1fd6e", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a850000c0'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"John", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a850000c0'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"John", "password"=>"sekret"}) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f3b50b902944310f0f140a65fe14ee975fdb4bc04319cae593e239fa4764eaee", :_id=>{:$ne=>BSON::ObjectId('5bb6224d3541594a850000c1')}}, {:_id=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"26d4909f2005840f3b9992a607ae017739b26c54691ddf104feaaed8a3060614", :_id=>{:$ne=>BSON::ObjectId('5bb6224d3541594a850000c1')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a850000c1'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000bf'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000c0'), "token"=>"f3b50b902944310f0f140a65fe14ee975fdb4bc04319cae593e239fa4764eaee", "refresh_token"=>"26d4909f2005840f3b9992a607ae017739b26c54691ddf104feaaed8a3060614", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a850000c1'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000bf'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000c0'), "token"=>"f3b50b902944310f0f140a65fe14ee975fdb4bc04319cae593e239fa4764eaee", "refresh_token"=>"26d4909f2005840f3b9992a607ae017739b26c54691ddf104feaaed8a3060614", "expires_in"=>7200}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"f3b50b902944310f0f140a65fe14ee975fdb4bc04319cae593e239fa4764eaee"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f3b50b902944310f0f140a65fe14ee975fdb4bc04319cae593e239fa4764eaee"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224d3541594a850000bf')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224d3541594a850000c1')}, :u=>{"_id"=>BSON::ObjectId('5bb6224d3541594a850000c1'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000bf'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000c0'), "token"=>"f3b50b902944310f0f140a65fe14ee975fdb4bc04319cae593e239fa4764eaee", "refresh_token"=>"26d4909f2005840f3b9992a607ae017739b26c54691ddf104feaaed8a3060614", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6224d3541594a850000c1')}, {"_id"=>BSON::ObjectId('5bb6224d3541594a850000c1'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000bf'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000c0'), "token"=>"f3b50b902944310f0f140a65fe14ee975fdb4bc04319cae593e239fa4764eaee", "refresh_token"=>"26d4909f2005840f3b9992a607ae017739b26c54691ddf104feaaed8a3060614", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 4ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6224d3541594a850000c1')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (14.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (14.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"83c2d98542305c5692f793e6b79e7a7c1f7eb4c654f7976ada3192183db4546d", :_id=>{:$ne=>BSON::ObjectId('5bb6224d3541594a850000c2')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a850000c2'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Application 77", "uid"=>"83c2d98542305c5692f793e6b79e7a7c1f7eb4c654f7976ada3192183db4546d", "secret"=>"56ec3936311ebed3dcbcf727ac1111090f1e375a798d0096f03616eb876202bf", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a850000c2'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Application 77", "uid"=>"83c2d98542305c5692f793e6b79e7a7c1f7eb4c654f7976ada3192183db4546d", "secret"=>"56ec3936311ebed3dcbcf727ac1111090f1e375a798d0096f03616eb876202bf", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a850000c3'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"John", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a850000c3'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"John", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"ab4c4c513c43636f2ab70db6deada339a489c953904bfb9b195656caacdc8c0b", :_id=>{:$ne=>BSON::ObjectId('5bb6224d3541594a850000c4')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"d916492aca13603aa8e5ef8458053603f7196f17e58a68d7c5080e19649408c1", :_id=>{:$ne=>BSON::ObjectId('5bb6224d3541594a850000c4')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a850000c4'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000c2'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000c3'), "token"=>"ab4c4c513c43636f2ab70db6deada339a489c953904bfb9b195656caacdc8c0b", "refresh_token"=>"d916492aca13603aa8e5ef8458053603f7196f17e58a68d7c5080e19649408c1", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a850000c4'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000c2'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000c3'), "token"=>"ab4c4c513c43636f2ab70db6deada339a489c953904bfb9b195656caacdc8c0b", "refresh_token"=>"d916492aca13603aa8e5ef8458053603f7196f17e58a68d7c5080e19649408c1", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"78c7e3a99130f2225a40f8a85c230c91135b62305f4da18c6b96bff6a241ef35", :_id=>{:$ne=>BSON::ObjectId('5bb6224d3541594a850000c5')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a850000c5'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Application 78", "uid"=>"78c7e3a99130f2225a40f8a85c230c91135b62305f4da18c6b96bff6a241ef35", "secret"=>"365ce3c7cc4bf07f501a10b409bb8163284b343f71b649f21f4e5d9d1d9f8c26", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a850000c5'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "name"=>"Application 78", "uid"=>"78c7e3a99130f2225a40f8a85c230c91135b62305f4da18c6b96bff6a241ef35", "secret"=>"365ce3c7cc4bf07f501a10b409bb8163284b343f71b649f21f4e5d9d1d9f8c26", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:23:09 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"ab4c4c513c43636f2ab70db6deada339a489c953904bfb9b195656caacdc8c0b"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"ab4c4c513c43636f2ab70db6deada339a489c953904bfb9b195656caacdc8c0b"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224d3541594a850000c2')}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224d3541594a850000c4')}, :u=>{"_id"=>BSON::ObjectId('5bb6224d3541594a850000c4'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000c2'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000c3'), "token"=>"ab4c4c513c43636f2ab70db6deada339a489c953904bfb9b195656caacdc8c0b", "refresh_token"=>"d916492aca13603aa8e5ef8458053603f7196f17e58a68d7c5080e19649408c1", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6224d3541594a850000c4')}, {"_id"=>BSON::ObjectId('5bb6224d3541594a850000c4'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000c2'), "created_at"=>2018-10-04 14:23:09 UTC, "updated_at"=>2018-10-04 14:23:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224d3541594a850000c3'), "token"=>"ab4c4c513c43636f2ab70db6deada339a489c953904bfb9b195656caacdc8c0b", "refresh_token"=>"d916492aca13603aa8e5ef8458053603f7196f17e58a68d7c5080e19649408c1", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 3ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6224d3541594a850000c4')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b89c07450b33d6ce99997250363a8ffe88a30d111ac83c047a60f6ca4b879a31", :_id=>{:$ne=>BSON::ObjectId('5bb6224d3541594a850000c6')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224d3541594a850000c6'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 79", "uid"=>"b89c07450b33d6ce99997250363a8ffe88a30d111ac83c047a60f6ca4b879a31", "secret"=>"c258b85ab72b5d72be53bd8f2e764e15519b99e3a2c5c97c20df628b2b1af646", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224d3541594a850000c6'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 79", "uid"=>"b89c07450b33d6ce99997250363a8ffe88a30d111ac83c047a60f6ca4b879a31", "secret"=>"c258b85ab72b5d72be53bd8f2e764e15519b99e3a2c5c97c20df628b2b1af646", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000c7'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"John", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000c7'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"John", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"aef4b5c5df87a13b7976c228cdb0fcd69368d95930eb91a64333f65d34efade6", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000c8')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"28ad936074d5b00f3831030a118009623b810837c505cdcd429398d4240bc686", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000c8')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000c8'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000c6'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000c7'), "token"=>"aef4b5c5df87a13b7976c228cdb0fcd69368d95930eb91a64333f65d34efade6", "refresh_token"=>"28ad936074d5b00f3831030a118009623b810837c505cdcd429398d4240bc686", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000c8'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000c6'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000c7'), "token"=>"aef4b5c5df87a13b7976c228cdb0fcd69368d95930eb91a64333f65d34efade6", "refresh_token"=>"28ad936074d5b00f3831030a118009623b810837c505cdcd429398d4240bc686", "expires_in"=>7200}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:23:10 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"aef4b5c5df87a13b7976c228cdb0fcd69368d95930eb91a64333f65d34efade6"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"aef4b5c5df87a13b7976c228cdb0fcd69368d95930eb91a64333f65d34efade6"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224d3541594a850000c6')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224e3541594a850000c8')}, :u=>{"_id"=>BSON::ObjectId('5bb6224e3541594a850000c8'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000c6'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000c7'), "token"=>"aef4b5c5df87a13b7976c228cdb0fcd69368d95930eb91a64333f65d34efade6", "refresh_token"=>"28ad936074d5b00f3831030a118009623b810837c505cdcd429398d4240bc686", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6224e3541594a850000c8')}, {"_id"=>BSON::ObjectId('5bb6224e3541594a850000c8'), "application_id"=>BSON::ObjectId('5bb6224d3541594a850000c6'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000c7'), "token"=>"aef4b5c5df87a13b7976c228cdb0fcd69368d95930eb91a64333f65d34efade6", "refresh_token"=>"28ad936074d5b00f3831030a118009623b810837c505cdcd429398d4240bc686", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 7ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6224e3541594a850000c8')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000c9'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"John", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000c9'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"John", "password"=>"sekret"}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f316814273cdd4811b2ff36ea593be7d3dfba9bf93ea8f68e4a678d820e2a920", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000ca')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"663a217216c86cbf54b8b1f0bdbf1aea479e9f928356e8a65235a4a4124b88d2", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000ca')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000ca'), "application_id"=>nil, "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000c9'), "token"=>"f316814273cdd4811b2ff36ea593be7d3dfba9bf93ea8f68e4a678d820e2a920", "refresh_token"=>"663a217216c86cbf54b8b1f0bdbf1aea479e9f928356e8a65235a4a4124b88d2", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000ca'), "application_id"=>nil, "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000c9'), "token"=>"f316814273cdd4811b2ff36ea593be7d3dfba9bf93ea8f68e4a678d820e2a920", "refresh_token"=>"663a217216c86cbf54b8b1f0bdbf1aea479e9f928356e8a65235a4a4124b88d2", "expires_in"=>7200}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:23:10 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"f316814273cdd4811b2ff36ea593be7d3dfba9bf93ea8f68e4a678d820e2a920"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f316814273cdd4811b2ff36ea593be7d3dfba9bf93ea8f68e4a678d820e2a920"}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224e3541594a850000ca')}, :u=>{"_id"=>BSON::ObjectId('5bb6224e3541594a850000ca'), "application_id"=>nil, "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000c9'), "token"=>"f316814273cdd4811b2ff36ea593be7d3dfba9bf93ea8f68e4a678d820e2a920", "refresh_token"=>"663a217216c86cbf54b8b1f0bdbf1aea479e9f928356e8a65235a4a4124b88d2", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6224e3541594a850000ca')}, {"_id"=>BSON::ObjectId('5bb6224e3541594a850000ca'), "application_id"=>nil, "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000c9'), "token"=>"f316814273cdd4811b2ff36ea593be7d3dfba9bf93ea8f68e4a678d820e2a920", "refresh_token"=>"663a217216c86cbf54b8b1f0bdbf1aea479e9f928356e8a65235a4a4124b88d2", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 4ms MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6224e3541594a850000ca')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000cb'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"John", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000cb'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"John", "password"=>"sekret"}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"bc5df19082d623262c08004023aa8991763c494e1464df8a0e886635247aecc7", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000cc')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"036eb91a8a184688f3275b02d2b22da0abf61cfed2e0c5255d2bda811841bb86", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000cc')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000cc'), "application_id"=>nil, "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000cb'), "token"=>"bc5df19082d623262c08004023aa8991763c494e1464df8a0e886635247aecc7", "refresh_token"=>"036eb91a8a184688f3275b02d2b22da0abf61cfed2e0c5255d2bda811841bb86", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000cc'), "application_id"=>nil, "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000cb'), "token"=>"bc5df19082d623262c08004023aa8991763c494e1464df8a0e886635247aecc7", "refresh_token"=>"036eb91a8a184688f3275b02d2b22da0abf61cfed2e0c5255d2bda811841bb86", "expires_in"=>7200}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:23:10 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"036eb91a8a184688f3275b02d2b22da0abf61cfed2e0c5255d2bda811841bb86"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"036eb91a8a184688f3275b02d2b22da0abf61cfed2e0c5255d2bda811841bb86"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"036eb91a8a184688f3275b02d2b22da0abf61cfed2e0c5255d2bda811841bb86"}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224e3541594a850000cc')}, :u=>{"_id"=>BSON::ObjectId('5bb6224e3541594a850000cc'), "application_id"=>nil, "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000cb'), "token"=>"bc5df19082d623262c08004023aa8991763c494e1464df8a0e886635247aecc7", "refresh_token"=>"036eb91a8a184688f3275b02d2b22da0abf61cfed2e0c5255d2bda811841bb86", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6224e3541594a850000cc')}, {"_id"=>BSON::ObjectId('5bb6224e3541594a850000cc'), "application_id"=>nil, "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000cb'), "token"=>"bc5df19082d623262c08004023aa8991763c494e1464df8a0e886635247aecc7", "refresh_token"=>"036eb91a8a184688f3275b02d2b22da0abf61cfed2e0c5255d2bda811841bb86", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 5ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6224e3541594a850000cc')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"484d972ceada26043627f508c70a68dd484ba911919015a17ec1778da87c933e", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000cd')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000cd'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 80", "uid"=>"484d972ceada26043627f508c70a68dd484ba911919015a17ec1778da87c933e", "secret"=>"a48e98b72076b692dd2d723ab5ff48bebab8e75274a18b5246186c7683014f0b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000cd'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 80", "uid"=>"484d972ceada26043627f508c70a68dd484ba911919015a17ec1778da87c933e", "secret"=>"a48e98b72076b692dd2d723ab5ff48bebab8e75274a18b5246186c7683014f0b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000ce'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"John", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000ce'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"John", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"7afdcfdc9435abff13549d1f399d50c9553f8a6b016c915663a2e211cf8ba71a", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000cf')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"61d2019b8357e510ba39e363c5e9692148c48fde04ca32c724c2c0630086379b", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000cf')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000cf'), "application_id"=>BSON::ObjectId('5bb6224e3541594a850000cd'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000ce'), "token"=>"7afdcfdc9435abff13549d1f399d50c9553f8a6b016c915663a2e211cf8ba71a", "refresh_token"=>"61d2019b8357e510ba39e363c5e9692148c48fde04ca32c724c2c0630086379b", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000cf'), "application_id"=>BSON::ObjectId('5bb6224e3541594a850000cd'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000ce'), "token"=>"7afdcfdc9435abff13549d1f399d50c9553f8a6b016c915663a2e211cf8ba71a", "refresh_token"=>"61d2019b8357e510ba39e363c5e9692148c48fde04ca32c724c2c0630086379b", "expires_in"=>7200}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:23:10 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"7afdcfdc9435abff13549d1f399d50c9553f8a6b016c915663a2e211cf8ba71a"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"7afdcfdc9435abff13549d1f399d50c9553f8a6b016c915663a2e211cf8ba71a"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224e3541594a850000cd')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224e3541594a850000cf')}, :u=>{"_id"=>BSON::ObjectId('5bb6224e3541594a850000cf'), "application_id"=>BSON::ObjectId('5bb6224e3541594a850000cd'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000ce'), "token"=>"7afdcfdc9435abff13549d1f399d50c9553f8a6b016c915663a2e211cf8ba71a", "refresh_token"=>"61d2019b8357e510ba39e363c5e9692148c48fde04ca32c724c2c0630086379b", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6224e3541594a850000cf')}, {"_id"=>BSON::ObjectId('5bb6224e3541594a850000cf'), "application_id"=>BSON::ObjectId('5bb6224e3541594a850000cd'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000ce'), "token"=>"7afdcfdc9435abff13549d1f399d50c9553f8a6b016c915663a2e211cf8ba71a", "refresh_token"=>"61d2019b8357e510ba39e363c5e9692148c48fde04ca32c724c2c0630086379b", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 3ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6224e3541594a850000cf')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0d7bf7fc67df1118069ca91b846a90aff6131cc8b289b4eb35943f4ae3ba45d3", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000d0')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000d0'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 81", "uid"=>"0d7bf7fc67df1118069ca91b846a90aff6131cc8b289b4eb35943f4ae3ba45d3", "secret"=>"9941d56ccc681483767cf1490b3fecb3916cad93d37260bf6b0ed8ed5e6fecb0", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000d0'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 81", "uid"=>"0d7bf7fc67df1118069ca91b846a90aff6131cc8b289b4eb35943f4ae3ba45d3", "secret"=>"9941d56ccc681483767cf1490b3fecb3916cad93d37260bf6b0ed8ed5e6fecb0", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000d1'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"John", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000d1'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"John", "password"=>"sekret"}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"6c5f8ee0563b88fabbcf315dcd4c8d139d7754cf27cbc0a3f7fe91d359a4a4ba", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000d2')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"6fbe5693a2db281b86adaeda3e3d69b23740e59d7faff5e4343c0832fb7f18e6", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000d2')}}, {:_id=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000d2'), "application_id"=>BSON::ObjectId('5bb6224e3541594a850000d0'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000d1'), "token"=>"6c5f8ee0563b88fabbcf315dcd4c8d139d7754cf27cbc0a3f7fe91d359a4a4ba", "refresh_token"=>"6fbe5693a2db281b86adaeda3e3d69b23740e59d7faff5e4343c0832fb7f18e6", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000d2'), "application_id"=>BSON::ObjectId('5bb6224e3541594a850000d0'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000d1'), "token"=>"6c5f8ee0563b88fabbcf315dcd4c8d139d7754cf27cbc0a3f7fe91d359a4a4ba", "refresh_token"=>"6fbe5693a2db281b86adaeda3e3d69b23740e59d7faff5e4343c0832fb7f18e6", "expires_in"=>7200}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:23:10 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"6c5f8ee0563b88fabbcf315dcd4c8d139d7754cf27cbc0a3f7fe91d359a4a4ba"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"6c5f8ee0563b88fabbcf315dcd4c8d139d7754cf27cbc0a3f7fe91d359a4a4ba"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224e3541594a850000d0')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224e3541594a850000d2')}, :u=>{"_id"=>BSON::ObjectId('5bb6224e3541594a850000d2'), "application_id"=>BSON::ObjectId('5bb6224e3541594a850000d0'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000d1'), "token"=>"6c5f8ee0563b88fabbcf315dcd4c8d139d7754cf27cbc0a3f7fe91d359a4a4ba", "refresh_token"=>"6fbe5693a2db281b86adaeda3e3d69b23740e59d7faff5e4343c0832fb7f18e6", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6224e3541594a850000d2')}, {"_id"=>BSON::ObjectId('5bb6224e3541594a850000d2'), "application_id"=>BSON::ObjectId('5bb6224e3541594a850000d0'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000d1'), "token"=>"6c5f8ee0563b88fabbcf315dcd4c8d139d7754cf27cbc0a3f7fe91d359a4a4ba", "refresh_token"=>"6fbe5693a2db281b86adaeda3e3d69b23740e59d7faff5e4343c0832fb7f18e6", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 3ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6224e3541594a850000d2')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"9f03835c36e46e690f68dff8ca0ab81ba6aa1303dd1f94d110ef56e0f02ff37a", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000d3')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000d3'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 82", "uid"=>"9f03835c36e46e690f68dff8ca0ab81ba6aa1303dd1f94d110ef56e0f02ff37a", "secret"=>"f3885af874755e1d8f2e31aac5f98fc76d81ad8a445d3fb738190e4195c3e234", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000d3'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 82", "uid"=>"9f03835c36e46e690f68dff8ca0ab81ba6aa1303dd1f94d110ef56e0f02ff37a", "secret"=>"f3885af874755e1d8f2e31aac5f98fc76d81ad8a445d3fb738190e4195c3e234", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000d4'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000d4'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=9f03835c36e46e690f68dff8ca0ab81ba6aa1303dd1f94d110ef56e0f02ff37a&client_secret=[FILTERED]&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:23:10 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"9f03835c36e46e690f68dff8ca0ab81ba6aa1303dd1f94d110ef56e0f02ff37a", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} Completed 401 Unauthorized in 0ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>9990}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"3490bdb43c8ea097d7fc6f94323508f5e8d7b0687745b2fd100fe77b19255759", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000d5')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000d5'), "application_id"=>9990, "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>7866, "token"=>"3490bdb43c8ea097d7fc6f94323508f5e8d7b0687745b2fd100fe77b19255759", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000d5'), "application_id"=>9990, "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>7866, "token"=>"3490bdb43c8ea097d7fc6f94323508f5e8d7b0687745b2fd100fe77b19255759", "expires_in"=>7200, "scopes"=>"public"}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>9990}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"075913a4bf32864ffc378d205dc47dce23db7881bb89ff7b0124adf2f561a406", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000d6')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000d6'), "application_id"=>9990, "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>7866, "token"=>"075913a4bf32864ffc378d205dc47dce23db7881bb89ff7b0124adf2f561a406", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000d6'), "application_id"=>9990, "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>7866, "token"=>"075913a4bf32864ffc378d205dc47dce23db7881bb89ff7b0124adf2f561a406", "expires_in"=>7200, "scopes"=>"public"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>9990, :resource_owner_id=>7866, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>9990}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"61455680cd784fb0456207c42edbc76706cf160636b5abf6c7903817a56bdf1e", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000d7')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000d7'), "application_id"=>9990, "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>7866, "token"=>"61455680cd784fb0456207c42edbc76706cf160636b5abf6c7903817a56bdf1e", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000d7'), "application_id"=>9990, "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>7866, "token"=>"61455680cd784fb0456207c42edbc76706cf160636b5abf6c7903817a56bdf1e", "expires_in"=>7200, "scopes"=>"public"}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>9990}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"b15cafec3c219a8cfd568ac3a9807430101c6896f4213c4f5b048a9cedd2feec", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000d8')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000d8'), "application_id"=>9990, "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>7866, "token"=>"b15cafec3c219a8cfd568ac3a9807430101c6896f4213c4f5b048a9cedd2feec", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000d8'), "application_id"=>9990, "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>7866, "token"=>"b15cafec3c219a8cfd568ac3a9807430101c6896f4213c4f5b048a9cedd2feec", "expires_in"=>7200, "scopes"=>""}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>9990, :resource_owner_id=>7866, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>9990}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"8b8d58101153d30d2bc6a2d7975089cc31f93f28ab17af55465016d9f113a4ec", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000d9')}}, {:_id=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000d9'), "application_id"=>9990, "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>7866, "token"=>"8b8d58101153d30d2bc6a2d7975089cc31f93f28ab17af55465016d9f113a4ec", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000d9'), "application_id"=>9990, "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>7866, "token"=>"8b8d58101153d30d2bc6a2d7975089cc31f93f28ab17af55465016d9f113a4ec", "expires_in"=>7200, "scopes"=>"public"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>9990}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"c964e67686fda84126bdb8f5d0ed098aaa58c1645606c42de8960d8e25c8f834", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000da')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000da'), "application_id"=>9990, "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>7866, "token"=>"c964e67686fda84126bdb8f5d0ed098aaa58c1645606c42de8960d8e25c8f834", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000da'), "application_id"=>9990, "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>7866, "token"=>"c964e67686fda84126bdb8f5d0ed098aaa58c1645606c42de8960d8e25c8f834", "expires_in"=>7200, "scopes"=>"public"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>9990, :resource_owner_id=>7866, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>9990}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"3eed63075c76d2d6b213403b748f47c204bed1f00468b4fa776b2b76d3ce55de", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000db')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000db'), "application_id"=>9990, "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>7866, "token"=>"3eed63075c76d2d6b213403b748f47c204bed1f00468b4fa776b2b76d3ce55de", "expires_in"=>1234, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000db'), "application_id"=>9990, "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>7866, "token"=>"3eed63075c76d2d6b213403b748f47c204bed1f00468b4fa776b2b76d3ce55de", "expires_in"=>1234, "scopes"=>"public"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000dc'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000dc'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"50401fa3fdad96110a8c19466c9b846bc1b20128e2523ed11c762345fae68040", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000dd')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000dd'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 83", "uid"=>"50401fa3fdad96110a8c19466c9b846bc1b20128e2523ed11c762345fae68040", "secret"=>"29248eebe91caa45a9b512db642aedb89e8a6c47b7d27521a43e7dcde9241611", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000dd'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 83", "uid"=>"50401fa3fdad96110a8c19466c9b846bc1b20128e2523ed11c762345fae68040", "secret"=>"29248eebe91caa45a9b512db642aedb89e8a6c47b7d27521a43e7dcde9241611", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"50401fa3fdad96110a8c19466c9b846bc1b20128e2523ed11c762345fae68040", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"50401fa3fdad96110a8c19466c9b846bc1b20128e2523ed11c762345fae68040"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224e3541594a850000dd')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"78573cd34d02f220d0c129c73910b9311f8708a70a34b5ca9de5d86716786d65", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000de')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000de'), "application_id"=>BSON::ObjectId('5bb6224e3541594a850000dd'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000dc'), "token"=>"78573cd34d02f220d0c129c73910b9311f8708a70a34b5ca9de5d86716786d65", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000de'), "application_id"=>BSON::ObjectId('5bb6224e3541594a850000dd'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000dc'), "token"=>"78573cd34d02f220d0c129c73910b9311f8708a70a34b5ca9de5d86716786d65", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=78573cd34d02f220d0c129c73910b9311f8708a70a34b5ca9de5d86716786d65&token_type=Bearer&expires_in=7200 Completed 302 Found in 5ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000df'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000df'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1b641bbd6dec43b78d70af8fd2e5f8644066683781cb0b5288b3dbed5310485d", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000e0')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000e0'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 84", "uid"=>"1b641bbd6dec43b78d70af8fd2e5f8644066683781cb0b5288b3dbed5310485d", "secret"=>"fa407e394ade25e4be06dcffc478cd67b62dd07fbf7a1120caa14013f3763518", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000e0'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 84", "uid"=>"1b641bbd6dec43b78d70af8fd2e5f8644066683781cb0b5288b3dbed5310485d", "secret"=>"fa407e394ade25e4be06dcffc478cd67b62dd07fbf7a1120caa14013f3763518", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"1b641bbd6dec43b78d70af8fd2e5f8644066683781cb0b5288b3dbed5310485d", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1b641bbd6dec43b78d70af8fd2e5f8644066683781cb0b5288b3dbed5310485d"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224e3541594a850000e0')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"5df193d4c105799506c56a7929e3e401da0c04b0b469615f00449a417b8795ac", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000e1')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000e1'), "application_id"=>BSON::ObjectId('5bb6224e3541594a850000e0'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000df'), "token"=>"5df193d4c105799506c56a7929e3e401da0c04b0b469615f00449a417b8795ac", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000e1'), "application_id"=>BSON::ObjectId('5bb6224e3541594a850000e0'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000df'), "token"=>"5df193d4c105799506c56a7929e3e401da0c04b0b469615f00449a417b8795ac", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=5df193d4c105799506c56a7929e3e401da0c04b0b469615f00449a417b8795ac&token_type=Bearer&expires_in=7200 Completed 302 Found in 5ms (ActiveRecord: 0.0ms) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000e2'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000e2'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"537ff1222d0aea26110f2bf883c61d2f802aecc0b3bc1db7f5c94a1c48d86ac5", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000e3')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000e3'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 85", "uid"=>"537ff1222d0aea26110f2bf883c61d2f802aecc0b3bc1db7f5c94a1c48d86ac5", "secret"=>"d50e9c85e436c7ff502402d3a26dce11328d87b8b30ba3f335ca0f8b57f6fd8b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000e3'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 85", "uid"=>"537ff1222d0aea26110f2bf883c61d2f802aecc0b3bc1db7f5c94a1c48d86ac5", "secret"=>"d50e9c85e436c7ff502402d3a26dce11328d87b8b30ba3f335ca0f8b57f6fd8b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"537ff1222d0aea26110f2bf883c61d2f802aecc0b3bc1db7f5c94a1c48d86ac5", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"537ff1222d0aea26110f2bf883c61d2f802aecc0b3bc1db7f5c94a1c48d86ac5"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224e3541594a850000e3')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f219befe523bf8389331ad213b088fb8e299490724f6992db970c375dfc7c038", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000e4')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000e4'), "application_id"=>BSON::ObjectId('5bb6224e3541594a850000e3'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000e2'), "token"=>"f219befe523bf8389331ad213b088fb8e299490724f6992db970c375dfc7c038", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000e4'), "application_id"=>BSON::ObjectId('5bb6224e3541594a850000e3'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000e2'), "token"=>"f219befe523bf8389331ad213b088fb8e299490724f6992db970c375dfc7c038", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=f219befe523bf8389331ad213b088fb8e299490724f6992db970c375dfc7c038&token_type=Bearer&expires_in=7200 Completed 302 Found in 5ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000e5'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000e5'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4f5e6776a58bf4eafa0e35586c35bc6031e274f9504042e8f07640bc1b2f1e5d", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000e6')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000e6'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 86", "uid"=>"4f5e6776a58bf4eafa0e35586c35bc6031e274f9504042e8f07640bc1b2f1e5d", "secret"=>"066b76e325efe3ed7d1694a0f7806202074140263aba489fd943f49a86db9e70", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000e6'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 86", "uid"=>"4f5e6776a58bf4eafa0e35586c35bc6031e274f9504042e8f07640bc1b2f1e5d", "secret"=>"066b76e325efe3ed7d1694a0f7806202074140263aba489fd943f49a86db9e70", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"4f5e6776a58bf4eafa0e35586c35bc6031e274f9504042e8f07640bc1b2f1e5d", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4f5e6776a58bf4eafa0e35586c35bc6031e274f9504042e8f07640bc1b2f1e5d"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224e3541594a850000e6')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"b2718dd745eac46fbb83efe2f4b3198f2fb7c0d53413e050e20b8c1429e5d6c2", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000e7')}}, {:_id=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000e7'), "application_id"=>BSON::ObjectId('5bb6224e3541594a850000e6'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000e5'), "token"=>"b2718dd745eac46fbb83efe2f4b3198f2fb7c0d53413e050e20b8c1429e5d6c2", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000e7'), "application_id"=>BSON::ObjectId('5bb6224e3541594a850000e6'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000e5'), "token"=>"b2718dd745eac46fbb83efe2f4b3198f2fb7c0d53413e050e20b8c1429e5d6c2", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=b2718dd745eac46fbb83efe2f4b3198f2fb7c0d53413e050e20b8c1429e5d6c2&token_type=Bearer&expires_in=7200 Completed 302 Found in 6ms (ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000e8'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000e8'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"aeacc1e530ed08f6624538c7bab60f1ac15e461f9ef72b68942b893b1cad14f4", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000e9')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000e9'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 87", "uid"=>"aeacc1e530ed08f6624538c7bab60f1ac15e461f9ef72b68942b893b1cad14f4", "secret"=>"4b1766c6c37bdac29e9aa69d772bdfd5f7fdf70363c198efcf727a76f1e13fce", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000e9'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 87", "uid"=>"aeacc1e530ed08f6624538c7bab60f1ac15e461f9ef72b68942b893b1cad14f4", "secret"=>"4b1766c6c37bdac29e9aa69d772bdfd5f7fdf70363c198efcf727a76f1e13fce", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"aeacc1e530ed08f6624538c7bab60f1ac15e461f9ef72b68942b893b1cad14f4", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"aeacc1e530ed08f6624538c7bab60f1ac15e461f9ef72b68942b893b1cad14f4"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224e3541594a850000e9')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"25777ecb67c237b68eda4744db69cf4ac4ceeb954439969a2ecd9048504109b3", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000ea')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000ea'), "application_id"=>BSON::ObjectId('5bb6224e3541594a850000e9'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000e8'), "token"=>"25777ecb67c237b68eda4744db69cf4ac4ceeb954439969a2ecd9048504109b3", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000ea'), "application_id"=>BSON::ObjectId('5bb6224e3541594a850000e9'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000e8'), "token"=>"25777ecb67c237b68eda4744db69cf4ac4ceeb954439969a2ecd9048504109b3", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=25777ecb67c237b68eda4744db69cf4ac4ceeb954439969a2ecd9048504109b3&token_type=Bearer&expires_in=7200 Completed 302 Found in 5ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000eb'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000eb'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"05b3de0c8fb51c7f2fa2c173fed46e695dcd1b91e8e33a62bdce8a667d1a42a2", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000ec')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000ec'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 88", "uid"=>"05b3de0c8fb51c7f2fa2c173fed46e695dcd1b91e8e33a62bdce8a667d1a42a2", "secret"=>"0299827b99273c2fd137c02aca877ac03b3e2d63654f94086cbbca089c9c8cfa", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000ec'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 88", "uid"=>"05b3de0c8fb51c7f2fa2c173fed46e695dcd1b91e8e33a62bdce8a667d1a42a2", "secret"=>"0299827b99273c2fd137c02aca877ac03b3e2d63654f94086cbbca089c9c8cfa", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"05b3de0c8fb51c7f2fa2c173fed46e695dcd1b91e8e33a62bdce8a667d1a42a2", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"05b3de0c8fb51c7f2fa2c173fed46e695dcd1b91e8e33a62bdce8a667d1a42a2"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224e3541594a850000ec')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"4f93f91c0464b149d998f2249c0a710989903d2f5049571711d812dfdc955030", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000ed')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000ed'), "application_id"=>BSON::ObjectId('5bb6224e3541594a850000ec'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000eb'), "token"=>"4f93f91c0464b149d998f2249c0a710989903d2f5049571711d812dfdc955030", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000ed'), "application_id"=>BSON::ObjectId('5bb6224e3541594a850000ec'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000eb'), "token"=>"4f93f91c0464b149d998f2249c0a710989903d2f5049571711d812dfdc955030", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=4f93f91c0464b149d998f2249c0a710989903d2f5049571711d812dfdc955030&token_type=Bearer&expires_in=7200 Completed 302 Found in 7ms (ActiveRecord: 0.0ms) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000ee'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000ee'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5026c3419b49f6e59dd5a1e9c5695b2db10391ccfe02d5b187a182b198275ed2", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000ef')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000ef'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 89", "uid"=>"5026c3419b49f6e59dd5a1e9c5695b2db10391ccfe02d5b187a182b198275ed2", "secret"=>"e8cd16e8d173c1ae9057d24616c38c833a1ff6aef258bf33e80f13b2de025d54", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000ef'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 89", "uid"=>"5026c3419b49f6e59dd5a1e9c5695b2db10391ccfe02d5b187a182b198275ed2", "secret"=>"e8cd16e8d173c1ae9057d24616c38c833a1ff6aef258bf33e80f13b2de025d54", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"5026c3419b49f6e59dd5a1e9c5695b2db10391ccfe02d5b187a182b198275ed2", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5026c3419b49f6e59dd5a1e9c5695b2db10391ccfe02d5b187a182b198275ed2"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224e3541594a850000ef')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e92166ae42a5739a46ba760cc67383c32a56f462bdda051fa168cbed2f298bef", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000f0')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000f0'), "application_id"=>BSON::ObjectId('5bb6224e3541594a850000ef'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000ee'), "token"=>"e92166ae42a5739a46ba760cc67383c32a56f462bdda051fa168cbed2f298bef", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000f0'), "application_id"=>BSON::ObjectId('5bb6224e3541594a850000ef'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000ee'), "token"=>"e92166ae42a5739a46ba760cc67383c32a56f462bdda051fa168cbed2f298bef", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=e92166ae42a5739a46ba760cc67383c32a56f462bdda051fa168cbed2f298bef&token_type=Bearer&expires_in=7200 Completed 302 Found in 5ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000f1'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000f1'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"73b2481990b36e29f4dcd93e6dddcdc27db9d1ffebbfff7bd0847904a59a8fba", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000f2')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000f2'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 90", "uid"=>"73b2481990b36e29f4dcd93e6dddcdc27db9d1ffebbfff7bd0847904a59a8fba", "secret"=>"3fea991184763ceed12dbfaac58cd77e8c54830b58a25c20de8c46bec15b72de", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000f2'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 90", "uid"=>"73b2481990b36e29f4dcd93e6dddcdc27db9d1ffebbfff7bd0847904a59a8fba", "secret"=>"3fea991184763ceed12dbfaac58cd77e8c54830b58a25c20de8c46bec15b72de", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224e3541594a850000f2')}, :u=>{"_id"=>BSON::ObjectId('5bb6224e3541594a850000f2'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 90", "uid"=>"73b2481990b36e29f4dcd93e6dddcdc27db9d1ffebbfff7bd0847904a59a8fba", "secret"=>"3fea991184763ceed12dbfaac58cd77e8c54830b58a25c20de8c46bec15b72de", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "owner_id"=>nil}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (2.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb6224e3541594a850000f2')}, {"_id"=>BSON::ObjectId('5bb6224e3541594a850000f2'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 90", "uid"=>"73b2481990b36e29f4dcd93e6dddcdc27db9d1ffebbfff7bd0847904a59a8fba", "secret"=>"3fea991184763ceed12dbfaac58cd77e8c54830b58a25c20de8c46bec15b72de", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"73b2481990b36e29f4dcd93e6dddcdc27db9d1ffebbfff7bd0847904a59a8fba", "response_type"=>"code", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"} MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"73b2481990b36e29f4dcd93e6dddcdc27db9d1ffebbfff7bd0847904a59a8fba"}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"f7efc1c176616f96f271c22f5d12327bce83cd5bafc72cd171348851e74858c2", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000f3')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000f3'), "application_id"=>BSON::ObjectId('5bb6224e3541594a850000f2'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000f1'), "token"=>"f7efc1c176616f96f271c22f5d12327bce83cd5bafc72cd171348851e74858c2", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000f3'), "application_id"=>BSON::ObjectId('5bb6224e3541594a850000f2'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000f1'), "token"=>"f7efc1c176616f96f271c22f5d12327bce83cd5bafc72cd171348851e74858c2", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}) Redirected to http://test.host/oauth/authorize/native?code=f7efc1c176616f96f271c22f5d12327bce83cd5bafc72cd171348851e74858c2 Completed 302 Found in 10ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000f4'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000f4'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ae84f84f8ed1ba6a5769c1603910c1ed50cb3a7171e137542bd53b8c9117b232", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000f5')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000f5'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 91", "uid"=>"ae84f84f8ed1ba6a5769c1603910c1ed50cb3a7171e137542bd53b8c9117b232", "secret"=>"b660b33d5b6b2e4662dca76b88ed7bb2297a7e7f3cda962934ea22eddbdb51d2", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000f5'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 91", "uid"=>"ae84f84f8ed1ba6a5769c1603910c1ed50cb3a7171e137542bd53b8c9117b232", "secret"=>"b660b33d5b6b2e4662dca76b88ed7bb2297a7e7f3cda962934ea22eddbdb51d2", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224e3541594a850000f5')}, :u=>{"_id"=>BSON::ObjectId('5bb6224e3541594a850000f5'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 91", "uid"=>"ae84f84f8ed1ba6a5769c1603910c1ed50cb3a7171e137542bd53b8c9117b232", "secret"=>"b660b33d5b6b2e4662dca76b88ed7bb2297a7e7f3cda962934ea22eddbdb51d2", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "owner_id"=>nil}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb6224e3541594a850000f5')}, {"_id"=>BSON::ObjectId('5bb6224e3541594a850000f5'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 91", "uid"=>"ae84f84f8ed1ba6a5769c1603910c1ed50cb3a7171e137542bd53b8c9117b232", "secret"=>"b660b33d5b6b2e4662dca76b88ed7bb2297a7e7f3cda962934ea22eddbdb51d2", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"ae84f84f8ed1ba6a5769c1603910c1ed50cb3a7171e137542bd53b8c9117b232", "response_type"=>"code", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ae84f84f8ed1ba6a5769c1603910c1ed50cb3a7171e137542bd53b8c9117b232"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"27f575b52bb3f75e55164c320019b7e3544b064a35814622ea47798e3c3606d2", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000f6')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000f6'), "application_id"=>BSON::ObjectId('5bb6224e3541594a850000f5'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000f4'), "token"=>"27f575b52bb3f75e55164c320019b7e3544b064a35814622ea47798e3c3606d2", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000f6'), "application_id"=>BSON::ObjectId('5bb6224e3541594a850000f5'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000f4'), "token"=>"27f575b52bb3f75e55164c320019b7e3544b064a35814622ea47798e3c3606d2", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}) Redirected to http://test.host/oauth/authorize/native?code=27f575b52bb3f75e55164c320019b7e3544b064a35814622ea47798e3c3606d2 Completed 302 Found in 15ms (ActiveRecord: 0.0ms) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000f7'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000f7'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"58f90e874f5a64a709c843d58e62fa408dc7ef34853271a3abfc4ac67f1e6b28", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000f8')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000f8'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 92", "uid"=>"58f90e874f5a64a709c843d58e62fa408dc7ef34853271a3abfc4ac67f1e6b28", "secret"=>"1ef50a8715be15eef46045ce83bf55cce8a4b79727894afe8e8d00b7a4ca2a1a", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000f8'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 92", "uid"=>"58f90e874f5a64a709c843d58e62fa408dc7ef34853271a3abfc4ac67f1e6b28", "secret"=>"1ef50a8715be15eef46045ce83bf55cce8a4b79727894afe8e8d00b7a4ca2a1a", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224e3541594a850000f8')}, :u=>{"_id"=>BSON::ObjectId('5bb6224e3541594a850000f8'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 92", "uid"=>"58f90e874f5a64a709c843d58e62fa408dc7ef34853271a3abfc4ac67f1e6b28", "secret"=>"1ef50a8715be15eef46045ce83bf55cce8a4b79727894afe8e8d00b7a4ca2a1a", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "owner_id"=>nil}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb6224e3541594a850000f8')}, {"_id"=>BSON::ObjectId('5bb6224e3541594a850000f8'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 92", "uid"=>"58f90e874f5a64a709c843d58e62fa408dc7ef34853271a3abfc4ac67f1e6b28", "secret"=>"1ef50a8715be15eef46045ce83bf55cce8a4b79727894afe8e8d00b7a4ca2a1a", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"58f90e874f5a64a709c843d58e62fa408dc7ef34853271a3abfc4ac67f1e6b28", "response_type"=>"code", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"58f90e874f5a64a709c843d58e62fa408dc7ef34853271a3abfc4ac67f1e6b28"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"ca6091a28d23737d912be2931788c2aafc98009a230b08068a55adfb263eaf0e", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000f9')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000f9'), "application_id"=>BSON::ObjectId('5bb6224e3541594a850000f8'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000f7'), "token"=>"ca6091a28d23737d912be2931788c2aafc98009a230b08068a55adfb263eaf0e", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000f9'), "application_id"=>BSON::ObjectId('5bb6224e3541594a850000f8'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000f7'), "token"=>"ca6091a28d23737d912be2931788c2aafc98009a230b08068a55adfb263eaf0e", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}) Redirected to http://test.host/oauth/authorize/native?code=ca6091a28d23737d912be2931788c2aafc98009a230b08068a55adfb263eaf0e Completed 302 Found in 5ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000fa'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000fa'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"cf7bd26c1755a6a404c47d40f72498e52ff0022bbc321bee6110463fcf9c9963", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000fb')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000fb'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 93", "uid"=>"cf7bd26c1755a6a404c47d40f72498e52ff0022bbc321bee6110463fcf9c9963", "secret"=>"ff66710211a563e83446486c04dacaefee827a723229f5595806e7e0934bf0e5", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000fb'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 93", "uid"=>"cf7bd26c1755a6a404c47d40f72498e52ff0022bbc321bee6110463fcf9c9963", "secret"=>"ff66710211a563e83446486c04dacaefee827a723229f5595806e7e0934bf0e5", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224e3541594a850000fb')}, :u=>{"_id"=>BSON::ObjectId('5bb6224e3541594a850000fb'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 93", "uid"=>"cf7bd26c1755a6a404c47d40f72498e52ff0022bbc321bee6110463fcf9c9963", "secret"=>"ff66710211a563e83446486c04dacaefee827a723229f5595806e7e0934bf0e5", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "owner_id"=>nil}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb6224e3541594a850000fb')}, {"_id"=>BSON::ObjectId('5bb6224e3541594a850000fb'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 93", "uid"=>"cf7bd26c1755a6a404c47d40f72498e52ff0022bbc321bee6110463fcf9c9963", "secret"=>"ff66710211a563e83446486c04dacaefee827a723229f5595806e7e0934bf0e5", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"cf7bd26c1755a6a404c47d40f72498e52ff0022bbc321bee6110463fcf9c9963", "response_type"=>"code", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"cf7bd26c1755a6a404c47d40f72498e52ff0022bbc321bee6110463fcf9c9963"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"3f454203eaea86f4945c1df4a22774fb8793237695646e14e348f7785779c8d4", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000fc')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000fc'), "application_id"=>BSON::ObjectId('5bb6224e3541594a850000fb'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000fa'), "token"=>"3f454203eaea86f4945c1df4a22774fb8793237695646e14e348f7785779c8d4", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000fc'), "application_id"=>BSON::ObjectId('5bb6224e3541594a850000fb'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000fa'), "token"=>"3f454203eaea86f4945c1df4a22774fb8793237695646e14e348f7785779c8d4", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}) Redirected to http://test.host/oauth/authorize/3f454203eaea86f4945c1df4a22774fb8793237695646e14e348f7785779c8d4 Completed 302 Found in 4ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000fd'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000fd'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b0beffe9dead0101c7e8516f63bd4c4ad8a7737d665a4bb37be59df29eb4ca92", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000fe')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000fe'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 94", "uid"=>"b0beffe9dead0101c7e8516f63bd4c4ad8a7737d665a4bb37be59df29eb4ca92", "secret"=>"6f4195b427733015beb383c4d919639a2a20e76b15b2d04a99f6f970066d2037", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000fe'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 94", "uid"=>"b0beffe9dead0101c7e8516f63bd4c4ad8a7737d665a4bb37be59df29eb4ca92", "secret"=>"6f4195b427733015beb383c4d919639a2a20e76b15b2d04a99f6f970066d2037", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224e3541594a850000fe')}, :u=>{"_id"=>BSON::ObjectId('5bb6224e3541594a850000fe'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 94", "uid"=>"b0beffe9dead0101c7e8516f63bd4c4ad8a7737d665a4bb37be59df29eb4ca92", "secret"=>"6f4195b427733015beb383c4d919639a2a20e76b15b2d04a99f6f970066d2037", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "owner_id"=>nil}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb6224e3541594a850000fe')}, {"_id"=>BSON::ObjectId('5bb6224e3541594a850000fe'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 94", "uid"=>"b0beffe9dead0101c7e8516f63bd4c4ad8a7737d665a4bb37be59df29eb4ca92", "secret"=>"6f4195b427733015beb383c4d919639a2a20e76b15b2d04a99f6f970066d2037", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"b0beffe9dead0101c7e8516f63bd4c4ad8a7737d665a4bb37be59df29eb4ca92", "response_type"=>"code", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"} MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b0beffe9dead0101c7e8516f63bd4c4ad8a7737d665a4bb37be59df29eb4ca92"}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"61f7c154de86c3d95b5b31dd82888e85b4fe567bbab170c1701dc4ad30ceb7e8", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a850000ff')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a850000ff'), "application_id"=>BSON::ObjectId('5bb6224e3541594a850000fe'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000fd'), "token"=>"61f7c154de86c3d95b5b31dd82888e85b4fe567bbab170c1701dc4ad30ceb7e8", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a850000ff'), "application_id"=>BSON::ObjectId('5bb6224e3541594a850000fe'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a850000fd'), "token"=>"61f7c154de86c3d95b5b31dd82888e85b4fe567bbab170c1701dc4ad30ceb7e8", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}) Redirected to http://test.host/oauth/authorize/61f7c154de86c3d95b5b31dd82888e85b4fe567bbab170c1701dc4ad30ceb7e8 Completed 302 Found in 7ms (ActiveRecord: 0.0ms) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a85000100'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a85000100'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a91b1e97346da72b6c86e59bb9123cf626184d534281726b976428e99841b9e7", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a85000101')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a85000101'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 95", "uid"=>"a91b1e97346da72b6c86e59bb9123cf626184d534281726b976428e99841b9e7", "secret"=>"9a26dc568d26a6640da112dd0d1ade391c404f0d0e51d1690d6f7ba0df01bbf1", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a85000101'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 95", "uid"=>"a91b1e97346da72b6c86e59bb9123cf626184d534281726b976428e99841b9e7", "secret"=>"9a26dc568d26a6640da112dd0d1ade391c404f0d0e51d1690d6f7ba0df01bbf1", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224e3541594a85000101')}, :u=>{"_id"=>BSON::ObjectId('5bb6224e3541594a85000101'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 95", "uid"=>"a91b1e97346da72b6c86e59bb9123cf626184d534281726b976428e99841b9e7", "secret"=>"9a26dc568d26a6640da112dd0d1ade391c404f0d0e51d1690d6f7ba0df01bbf1", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "owner_id"=>nil}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb6224e3541594a85000101')}, {"_id"=>BSON::ObjectId('5bb6224e3541594a85000101'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 95", "uid"=>"a91b1e97346da72b6c86e59bb9123cf626184d534281726b976428e99841b9e7", "secret"=>"9a26dc568d26a6640da112dd0d1ade391c404f0d0e51d1690d6f7ba0df01bbf1", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"a91b1e97346da72b6c86e59bb9123cf626184d534281726b976428e99841b9e7", "response_type"=>"code", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a91b1e97346da72b6c86e59bb9123cf626184d534281726b976428e99841b9e7"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"aa6b2588ef1c0e650291d68575eacfb8bb4a27b155739e0f8fbea56c6ff5b980", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a85000102')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a85000102'), "application_id"=>BSON::ObjectId('5bb6224e3541594a85000101'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a85000100'), "token"=>"aa6b2588ef1c0e650291d68575eacfb8bb4a27b155739e0f8fbea56c6ff5b980", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a85000102'), "application_id"=>BSON::ObjectId('5bb6224e3541594a85000101'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a85000100'), "token"=>"aa6b2588ef1c0e650291d68575eacfb8bb4a27b155739e0f8fbea56c6ff5b980", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}) Redirected to http://test.host/oauth/authorize/aa6b2588ef1c0e650291d68575eacfb8bb4a27b155739e0f8fbea56c6ff5b980 Completed 302 Found in 9ms (ActiveRecord: 0.0ms) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a85000103'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a85000103'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"an_invalid"=>"request"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>""}).limit(-1) Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/error.html.erb within layouts/doorkeeper/application (0.3ms) Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a85000104'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a85000104'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"an_invalid"=>"request"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>""}).limit(-1) Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/error.html.erb within layouts/doorkeeper/application (0.3ms) Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a85000105'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a85000105'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (2.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0d391f0ae8a1d49666604ff625d00ae7e4f398d264f8a9b76981bb58756fb100", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a85000106')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a85000106'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 96", "uid"=>"0d391f0ae8a1d49666604ff625d00ae7e4f398d264f8a9b76981bb58756fb100", "secret"=>"5bc53bb9043c15ee942d978a365d77d30f5382c8d753b0cc395fbf0d3a604fc0", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a85000106'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 96", "uid"=>"0d391f0ae8a1d49666604ff625d00ae7e4f398d264f8a9b76981bb58756fb100", "secret"=>"5bc53bb9043c15ee942d978a365d77d30f5382c8d753b0cc395fbf0d3a604fc0", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"0d391f0ae8a1d49666604ff625d00ae7e4f398d264f8a9b76981bb58756fb100", "response_type"=>"token", "scope"=>"invalid", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0d391f0ae8a1d49666604ff625d00ae7e4f398d264f8a9b76981bb58756fb100"}).limit(-1) Redirected to https://app.com/callback#error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed. Completed 302 Found in 2ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a85000107'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a85000107'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"613d7047cd130f832eedb8fdeaf52afaa0912476c94a18985ae3f69308f77ad6", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a85000108')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a85000108'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 97", "uid"=>"613d7047cd130f832eedb8fdeaf52afaa0912476c94a18985ae3f69308f77ad6", "secret"=>"735f6ea03ed169e85acc61b1eba7e5628a8cf53bf270ce9d8e6a0783890de04b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a85000108'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 97", "uid"=>"613d7047cd130f832eedb8fdeaf52afaa0912476c94a18985ae3f69308f77ad6", "secret"=>"735f6ea03ed169e85acc61b1eba7e5628a8cf53bf270ce9d8e6a0783890de04b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"613d7047cd130f832eedb8fdeaf52afaa0912476c94a18985ae3f69308f77ad6", "response_type"=>"token", "scope"=>"invalid", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"613d7047cd130f832eedb8fdeaf52afaa0912476c94a18985ae3f69308f77ad6"}).limit(-1) Redirected to https://app.com/callback#error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed. Completed 302 Found in 2ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a85000109'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a85000109'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"9736c7dacf537090f209c1543b521e67072b4d7d7a48532966ce3b72eac407f1", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a8500010a')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a8500010a'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 98", "uid"=>"9736c7dacf537090f209c1543b521e67072b4d7d7a48532966ce3b72eac407f1", "secret"=>"31d15cd66f60e96f02565bc29fc4fbaf1b5df09064aabe4413ce76b4ef947b20", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a8500010a'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 98", "uid"=>"9736c7dacf537090f209c1543b521e67072b4d7d7a48532966ce3b72eac407f1", "secret"=>"31d15cd66f60e96f02565bc29fc4fbaf1b5df09064aabe4413ce76b4ef947b20", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"9736c7dacf537090f209c1543b521e67072b4d7d7a48532966ce3b72eac407f1", "response_type"=>"token", "scope"=>"invalid", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"9736c7dacf537090f209c1543b521e67072b4d7d7a48532966ce3b72eac407f1"}).limit(-1) Redirected to https://app.com/callback#error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed. Completed 302 Found in 2ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a8500010b'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a8500010b'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1ef1691043ade3d686d818a3c0ce3fadf5d27d3c596af5451b88b9e2e16d50d0", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a8500010c')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a8500010c'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 99", "uid"=>"1ef1691043ade3d686d818a3c0ce3fadf5d27d3c596af5451b88b9e2e16d50d0", "secret"=>"81c8de790cd2a50cb04d5c0c7daa26557f80fbec049c86f666c146755237f687", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a8500010c'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 99", "uid"=>"1ef1691043ade3d686d818a3c0ce3fadf5d27d3c596af5451b88b9e2e16d50d0", "secret"=>"81c8de790cd2a50cb04d5c0c7daa26557f80fbec049c86f666c146755237f687", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"1ef1691043ade3d686d818a3c0ce3fadf5d27d3c596af5451b88b9e2e16d50d0", "response_type"=>"token", "scope"=>"invalid", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1ef1691043ade3d686d818a3c0ce3fadf5d27d3c596af5451b88b9e2e16d50d0"}).limit(-1) Redirected to https://app.com/callback#error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed. Completed 302 Found in 2ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a8500010d'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a8500010d'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e63da8753d76c883ace44abf3edfa046d02b1f8263a5d41fdebd7096a866dda7", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a8500010e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a8500010e'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 100", "uid"=>"e63da8753d76c883ace44abf3edfa046d02b1f8263a5d41fdebd7096a866dda7", "secret"=>"5881a703f731305d7ed6bcdcbf95409a1b463948c3e35d2f743cb29caeca19fd", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a8500010e'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 100", "uid"=>"e63da8753d76c883ace44abf3edfa046d02b1f8263a5d41fdebd7096a866dda7", "secret"=>"5881a703f731305d7ed6bcdcbf95409a1b463948c3e35d2f743cb29caeca19fd", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"e63da8753d76c883ace44abf3edfa046d02b1f8263a5d41fdebd7096a866dda7", "response_type"=>"token", "scope"=>"invalid", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e63da8753d76c883ace44abf3edfa046d02b1f8263a5d41fdebd7096a866dda7"}).limit(-1) Redirected to https://app.com/callback#error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed. Completed 302 Found in 2ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a8500010f'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a8500010f'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"096a2344d7393d435f0b59ba7b9db6b7d23262478dc37eaba465c85f84226573", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a85000110')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a85000110'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 101", "uid"=>"096a2344d7393d435f0b59ba7b9db6b7d23262478dc37eaba465c85f84226573", "secret"=>"2fb31775c470868cb1badd60a47c8574548f0ce295a022671c40f7cee6f1977c", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a85000110'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 101", "uid"=>"096a2344d7393d435f0b59ba7b9db6b7d23262478dc37eaba465c85f84226573", "secret"=>"2fb31775c470868cb1badd60a47c8574548f0ce295a022671c40f7cee6f1977c", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"096a2344d7393d435f0b59ba7b9db6b7d23262478dc37eaba465c85f84226573", "response_type"=>"token", "scope"=>"invalid", "redirect_uri"=>"https://app.com/callback"} MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"096a2344d7393d435f0b59ba7b9db6b7d23262478dc37eaba465c85f84226573"}).limit(-1) Redirected to https://app.com/callback#error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed. Completed 302 Found in 4ms (ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a85000111'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a85000111'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"03a425b169ecbd76c929fcc0f5ab29b5c3dabb15e434c41fcd06d415aec89e08", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a85000112')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a85000112'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 102", "uid"=>"03a425b169ecbd76c929fcc0f5ab29b5c3dabb15e434c41fcd06d415aec89e08", "secret"=>"ec259af9f201bbf2d3813f6108c243c78e2fd8dd64176d7337602f5493cb4868", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a85000112'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 102", "uid"=>"03a425b169ecbd76c929fcc0f5ab29b5c3dabb15e434c41fcd06d415aec89e08", "secret"=>"ec259af9f201bbf2d3813f6108c243c78e2fd8dd64176d7337602f5493cb4868", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224e3541594a85000112')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"53361b3bb6d0e5f5b06dc0cdc5803cea83e56b9b3ae5111af7bd78840fc2c106", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a85000113')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a85000113'), "application_id"=>BSON::ObjectId('5bb6224e3541594a85000112'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a85000111'), "token"=>"53361b3bb6d0e5f5b06dc0cdc5803cea83e56b9b3ae5111af7bd78840fc2c106", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a85000113'), "application_id"=>BSON::ObjectId('5bb6224e3541594a85000112'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a85000111'), "token"=>"53361b3bb6d0e5f5b06dc0cdc5803cea83e56b9b3ae5111af7bd78840fc2c106", "expires_in"=>7200}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"03a425b169ecbd76c929fcc0f5ab29b5c3dabb15e434c41fcd06d415aec89e08", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"03a425b169ecbd76c929fcc0f5ab29b5c3dabb15e434c41fcd06d415aec89e08"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6224e3541594a85000112'), :resource_owner_id=>BSON::ObjectId('5bb6224e3541594a85000111'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Redirected to https://app.com/callback#access_token=53361b3bb6d0e5f5b06dc0cdc5803cea83e56b9b3ae5111af7bd78840fc2c106&token_type=Bearer&expires_in=7200 Completed 302 Found in 3ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (3.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (4.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a85000114'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.0ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a85000114'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7af10f1b9bac63509f78ac465ac6d4ca998de94a3b3d581dfab7b715bae8a6cd", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a85000115')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a85000115'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 103", "uid"=>"7af10f1b9bac63509f78ac465ac6d4ca998de94a3b3d581dfab7b715bae8a6cd", "secret"=>"90e3c04cd0e845e1530dbb204fb75244850dae68b13c841daf1d74071604ce1b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a85000115'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 103", "uid"=>"7af10f1b9bac63509f78ac465ac6d4ca998de94a3b3d581dfab7b715bae8a6cd", "secret"=>"90e3c04cd0e845e1530dbb204fb75244850dae68b13c841daf1d74071604ce1b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224e3541594a85000115')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"65f3b1e4448b46c2b3604d212a83decf90c72032f23270dedb04d6d6f190f6a8", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a85000116')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a85000116'), "application_id"=>BSON::ObjectId('5bb6224e3541594a85000115'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a85000114'), "token"=>"65f3b1e4448b46c2b3604d212a83decf90c72032f23270dedb04d6d6f190f6a8", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a85000116'), "application_id"=>BSON::ObjectId('5bb6224e3541594a85000115'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a85000114'), "token"=>"65f3b1e4448b46c2b3604d212a83decf90c72032f23270dedb04d6d6f190f6a8", "expires_in"=>7200}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"7af10f1b9bac63509f78ac465ac6d4ca998de94a3b3d581dfab7b715bae8a6cd", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7af10f1b9bac63509f78ac465ac6d4ca998de94a3b3d581dfab7b715bae8a6cd"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6224e3541594a85000115'), :resource_owner_id=>BSON::ObjectId('5bb6224e3541594a85000114'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Redirected to https://app.com/callback#access_token=65f3b1e4448b46c2b3604d212a83decf90c72032f23270dedb04d6d6f190f6a8&token_type=Bearer&expires_in=7200 Completed 302 Found in 3ms (ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a85000117'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a85000117'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"84d5ae4e4ada9825e8af0abb59d8df0baa19e39a46010444bba619b59696014e", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a85000118')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a85000118'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 104", "uid"=>"84d5ae4e4ada9825e8af0abb59d8df0baa19e39a46010444bba619b59696014e", "secret"=>"51d2027b8d37f2c909f6075c4d5a5031ec29dc5e017877f4ffc843b2f26863cd", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a85000118'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "name"=>"Application 104", "uid"=>"84d5ae4e4ada9825e8af0abb59d8df0baa19e39a46010444bba619b59696014e", "secret"=>"51d2027b8d37f2c909f6075c4d5a5031ec29dc5e017877f4ffc843b2f26863cd", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"84d5ae4e4ada9825e8af0abb59d8df0baa19e39a46010444bba619b59696014e", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"84d5ae4e4ada9825e8af0abb59d8df0baa19e39a46010444bba619b59696014e"}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224e3541594a85000118')}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"10a588f9c9a59398153ff08d94022f47a670a41c568373daf1201604dc67c9e6", :_id=>{:$ne=>BSON::ObjectId('5bb6224e3541594a85000119')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224e3541594a85000119'), "application_id"=>BSON::ObjectId('5bb6224e3541594a85000118'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a85000117'), "token"=>"10a588f9c9a59398153ff08d94022f47a670a41c568373daf1201604dc67c9e6", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224e3541594a85000119'), "application_id"=>BSON::ObjectId('5bb6224e3541594a85000118'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224e3541594a85000117'), "token"=>"10a588f9c9a59398153ff08d94022f47a670a41c568373daf1201604dc67c9e6", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=10a588f9c9a59398153ff08d94022f47a670a41c568373daf1201604dc67c9e6&token_type=Bearer&expires_in=7200 Completed 302 Found in 10ms (ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a8500011a'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a8500011a'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e8b614687d400a1d6202d7c4adefaf9185a4f4ff6d7fa6c64d96449083be5c14", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a8500011b')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a8500011b'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 105", "uid"=>"e8b614687d400a1d6202d7c4adefaf9185a4f4ff6d7fa6c64d96449083be5c14", "secret"=>"2de089fb966e48324446ac9418b6ca61711c9a2b7e3096327e9f756647474ba5", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a8500011b'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 105", "uid"=>"e8b614687d400a1d6202d7c4adefaf9185a4f4ff6d7fa6c64d96449083be5c14", "secret"=>"2de089fb966e48324446ac9418b6ca61711c9a2b7e3096327e9f756647474ba5", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"e8b614687d400a1d6202d7c4adefaf9185a4f4ff6d7fa6c64d96449083be5c14", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e8b614687d400a1d6202d7c4adefaf9185a4f4ff6d7fa6c64d96449083be5c14"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224f3541594a8500011b')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"cc6c93a34617130703a6d439a715749db91dab59aee5948ef20117f76638c427", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a8500011c')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a8500011c'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500011b'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a8500011a'), "token"=>"cc6c93a34617130703a6d439a715749db91dab59aee5948ef20117f76638c427", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a8500011c'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500011b'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a8500011a'), "token"=>"cc6c93a34617130703a6d439a715749db91dab59aee5948ef20117f76638c427", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=cc6c93a34617130703a6d439a715749db91dab59aee5948ef20117f76638c427&token_type=Bearer&expires_in=7200 Completed 302 Found in 6ms (ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a8500011d'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a8500011d'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"30eac21dc909973b698baf664bc3f15e9762c9cea2682406762dddfce598949e", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a8500011e')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a8500011e'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 106", "uid"=>"30eac21dc909973b698baf664bc3f15e9762c9cea2682406762dddfce598949e", "secret"=>"d64e554bd1e98233847c6edd41fb24b6f94eda7543d188da089234c6a00a0f03", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a8500011e'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 106", "uid"=>"30eac21dc909973b698baf664bc3f15e9762c9cea2682406762dddfce598949e", "secret"=>"d64e554bd1e98233847c6edd41fb24b6f94eda7543d188da089234c6a00a0f03", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"30eac21dc909973b698baf664bc3f15e9762c9cea2682406762dddfce598949e", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"30eac21dc909973b698baf664bc3f15e9762c9cea2682406762dddfce598949e"}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224f3541594a8500011e')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"c2d9f609e9ed4e1071aa3b93ac5746f40aa718ad8f2af17fe58c0bb35901a4c3", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a8500011f')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a8500011f'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500011e'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a8500011d'), "token"=>"c2d9f609e9ed4e1071aa3b93ac5746f40aa718ad8f2af17fe58c0bb35901a4c3", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a8500011f'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500011e'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a8500011d'), "token"=>"c2d9f609e9ed4e1071aa3b93ac5746f40aa718ad8f2af17fe58c0bb35901a4c3", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=c2d9f609e9ed4e1071aa3b93ac5746f40aa718ad8f2af17fe58c0bb35901a4c3&token_type=Bearer&expires_in=7200 Completed 302 Found in 10ms (ActiveRecord: 0.0ms) MONGODB (19.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (6.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000120'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (6.9ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000120'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3cc675163facb3b536b16544e4012ed7458f50654d0e75bc38a3d2b191ae07e0", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000121')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000121'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 107", "uid"=>"3cc675163facb3b536b16544e4012ed7458f50654d0e75bc38a3d2b191ae07e0", "secret"=>"5c9131e0994f520bc5c08dae7e1977c6050d324e95c76651731d3d303f8ca72d", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000121'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 107", "uid"=>"3cc675163facb3b536b16544e4012ed7458f50654d0e75bc38a3d2b191ae07e0", "secret"=>"5c9131e0994f520bc5c08dae7e1977c6050d324e95c76651731d3d303f8ca72d", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"3cc675163facb3b536b16544e4012ed7458f50654d0e75bc38a3d2b191ae07e0", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (2.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3cc675163facb3b536b16544e4012ed7458f50654d0e75bc38a3d2b191ae07e0"}).limit(-1) MONGODB (2.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224f3541594a85000121')}).limit(-1) MONGODB (4.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"efaad38a6396fd93a653f6f27f2b45decb66732914e7c1bb50c97c86460b6b48", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000122')}}, {:_id=>1}).limit(-1) MONGODB (3.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000122'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000121'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000120'), "token"=>"efaad38a6396fd93a653f6f27f2b45decb66732914e7c1bb50c97c86460b6b48", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (4.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000122'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000121'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000120'), "token"=>"efaad38a6396fd93a653f6f27f2b45decb66732914e7c1bb50c97c86460b6b48", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=efaad38a6396fd93a653f6f27f2b45decb66732914e7c1bb50c97c86460b6b48&token_type=Bearer&expires_in=7200 Completed 302 Found in 21ms (ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (2.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (2.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (2.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000123'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.8ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000123'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"63c11f348d543e4cdaf006035883d7d9f9dca381ababe9223381957152e64db8", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000124')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000124'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 108", "uid"=>"63c11f348d543e4cdaf006035883d7d9f9dca381ababe9223381957152e64db8", "secret"=>"dddb356011b4077c2ac1a371b7d3e305ef9f80dbc671dc883c966d7cd541a42b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000124'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 108", "uid"=>"63c11f348d543e4cdaf006035883d7d9f9dca381ababe9223381957152e64db8", "secret"=>"dddb356011b4077c2ac1a371b7d3e305ef9f80dbc671dc883c966d7cd541a42b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"63c11f348d543e4cdaf006035883d7d9f9dca381ababe9223381957152e64db8", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"63c11f348d543e4cdaf006035883d7d9f9dca381ababe9223381957152e64db8"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224f3541594a85000124')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"21d487122dc1147ecc161e67fb61f2843dc53001ad75ad8ae9ab5916ca9bfbee", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000125')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000125'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000124'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000123'), "token"=>"21d487122dc1147ecc161e67fb61f2843dc53001ad75ad8ae9ab5916ca9bfbee", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000125'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000124'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000123'), "token"=>"21d487122dc1147ecc161e67fb61f2843dc53001ad75ad8ae9ab5916ca9bfbee", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=21d487122dc1147ecc161e67fb61f2843dc53001ad75ad8ae9ab5916ca9bfbee&token_type=Bearer&expires_in=7200 Completed 302 Found in 6ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000126'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000126'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7e3aa19071a05d5bed7d9195faa327731802c98343ac75893d95d1e594add5cc", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000127')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000127'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 109", "uid"=>"7e3aa19071a05d5bed7d9195faa327731802c98343ac75893d95d1e594add5cc", "secret"=>"1e506d3e0e0f2f7fbd8461c55e735c7891ed2d6e11e944091dca9e6bd482adbf", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000127'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 109", "uid"=>"7e3aa19071a05d5bed7d9195faa327731802c98343ac75893d95d1e594add5cc", "secret"=>"1e506d3e0e0f2f7fbd8461c55e735c7891ed2d6e11e944091dca9e6bd482adbf", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"7e3aa19071a05d5bed7d9195faa327731802c98343ac75893d95d1e594add5cc", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7e3aa19071a05d5bed7d9195faa327731802c98343ac75893d95d1e594add5cc"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224f3541594a85000127')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"1db8a66ffafaefa65e14993bd1b2c89cba32d687b7504395ed4054888b1b0b27", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000128')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000128'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000127'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000126'), "token"=>"1db8a66ffafaefa65e14993bd1b2c89cba32d687b7504395ed4054888b1b0b27", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000128'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000127'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000126'), "token"=>"1db8a66ffafaefa65e14993bd1b2c89cba32d687b7504395ed4054888b1b0b27", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=1db8a66ffafaefa65e14993bd1b2c89cba32d687b7504395ed4054888b1b0b27&token_type=Bearer&expires_in=7200 Completed 302 Found in 5ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000129'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000129'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1c1df2e4f32a227e74da115b5a6a3e190d08605fb58f22d9f012bbc34ce626df", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a8500012a')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a8500012a'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 110", "uid"=>"1c1df2e4f32a227e74da115b5a6a3e190d08605fb58f22d9f012bbc34ce626df", "secret"=>"fc702121e7bfc976313d772dd8a1073f2682dc3062b503ff890eeead7469a6b6", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a8500012a'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 110", "uid"=>"1c1df2e4f32a227e74da115b5a6a3e190d08605fb58f22d9f012bbc34ce626df", "secret"=>"fc702121e7bfc976313d772dd8a1073f2682dc3062b503ff890eeead7469a6b6", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224f3541594a8500012a')}, :u=>{"_id"=>BSON::ObjectId('5bb6224f3541594a8500012a'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 110", "uid"=>"1c1df2e4f32a227e74da115b5a6a3e190d08605fb58f22d9f012bbc34ce626df", "secret"=>"fc702121e7bfc976313d772dd8a1073f2682dc3062b503ff890eeead7469a6b6", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "owner_id"=>nil}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb6224f3541594a8500012a')}, {"_id"=>BSON::ObjectId('5bb6224f3541594a8500012a'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 110", "uid"=>"1c1df2e4f32a227e74da115b5a6a3e190d08605fb58f22d9f012bbc34ce626df", "secret"=>"fc702121e7bfc976313d772dd8a1073f2682dc3062b503ff890eeead7469a6b6", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"1c1df2e4f32a227e74da115b5a6a3e190d08605fb58f22d9f012bbc34ce626df", "response_type"=>"token", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"} MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1c1df2e4f32a227e74da115b5a6a3e190d08605fb58f22d9f012bbc34ce626df"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224f3541594a8500012a')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"512147607114918043ef5d94b049aa6e8341e66c7993e09f7d8c0702bab940ef", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a8500012b')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a8500012b'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500012a'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000129'), "token"=>"512147607114918043ef5d94b049aa6e8341e66c7993e09f7d8c0702bab940ef", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a8500012b'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500012a'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000129'), "token"=>"512147607114918043ef5d94b049aa6e8341e66c7993e09f7d8c0702bab940ef", "expires_in"=>7200, "scopes"=>""}) Redirected to http://test.host/oauth/token/info?access_token=512147607114918043ef5d94b049aa6e8341e66c7993e09f7d8c0702bab940ef Completed 302 Found in 8ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a8500012c'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a8500012c'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4068a64c938a09b0aafd9d29e5d714357c9e7d51578bd478155988fcc0bd7a6d", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a8500012d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a8500012d'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 111", "uid"=>"4068a64c938a09b0aafd9d29e5d714357c9e7d51578bd478155988fcc0bd7a6d", "secret"=>"7410da6a252a429623a996439162eeeb6e4bd7d29a196cdf9871edbe25caba46", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a8500012d'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 111", "uid"=>"4068a64c938a09b0aafd9d29e5d714357c9e7d51578bd478155988fcc0bd7a6d", "secret"=>"7410da6a252a429623a996439162eeeb6e4bd7d29a196cdf9871edbe25caba46", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224f3541594a8500012d')}, :u=>{"_id"=>BSON::ObjectId('5bb6224f3541594a8500012d'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 111", "uid"=>"4068a64c938a09b0aafd9d29e5d714357c9e7d51578bd478155988fcc0bd7a6d", "secret"=>"7410da6a252a429623a996439162eeeb6e4bd7d29a196cdf9871edbe25caba46", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "owner_id"=>nil}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb6224f3541594a8500012d')}, {"_id"=>BSON::ObjectId('5bb6224f3541594a8500012d'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 111", "uid"=>"4068a64c938a09b0aafd9d29e5d714357c9e7d51578bd478155988fcc0bd7a6d", "secret"=>"7410da6a252a429623a996439162eeeb6e4bd7d29a196cdf9871edbe25caba46", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"4068a64c938a09b0aafd9d29e5d714357c9e7d51578bd478155988fcc0bd7a6d", "response_type"=>"token", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4068a64c938a09b0aafd9d29e5d714357c9e7d51578bd478155988fcc0bd7a6d"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224f3541594a8500012d')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"3ee754442f3c67c2e3f4deba0a21bd462ecd65b2fecbc10ac04879e52d353b3b", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a8500012e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a8500012e'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500012d'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a8500012c'), "token"=>"3ee754442f3c67c2e3f4deba0a21bd462ecd65b2fecbc10ac04879e52d353b3b", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a8500012e'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500012d'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a8500012c'), "token"=>"3ee754442f3c67c2e3f4deba0a21bd462ecd65b2fecbc10ac04879e52d353b3b", "expires_in"=>7200, "scopes"=>""}) Redirected to http://test.host/oauth/token/info?access_token=3ee754442f3c67c2e3f4deba0a21bd462ecd65b2fecbc10ac04879e52d353b3b Completed 302 Found in 5ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a8500012f'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a8500012f'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1ea99312737fb9fcda33085e26549f56937a39408c94195a3f5903963f5dcbb7", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000130')}}, {:_id=>1}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000130'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 112", "uid"=>"1ea99312737fb9fcda33085e26549f56937a39408c94195a3f5903963f5dcbb7", "secret"=>"9ecaf16ea48992ec8b058d382368809ced0320674d507fdd7fb61a11db59cc81", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000130'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 112", "uid"=>"1ea99312737fb9fcda33085e26549f56937a39408c94195a3f5903963f5dcbb7", "secret"=>"9ecaf16ea48992ec8b058d382368809ced0320674d507fdd7fb61a11db59cc81", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224f3541594a85000130')}, :u=>{"_id"=>BSON::ObjectId('5bb6224f3541594a85000130'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 112", "uid"=>"1ea99312737fb9fcda33085e26549f56937a39408c94195a3f5903963f5dcbb7", "secret"=>"9ecaf16ea48992ec8b058d382368809ced0320674d507fdd7fb61a11db59cc81", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "owner_id"=>nil}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb6224f3541594a85000130')}, {"_id"=>BSON::ObjectId('5bb6224f3541594a85000130'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 112", "uid"=>"1ea99312737fb9fcda33085e26549f56937a39408c94195a3f5903963f5dcbb7", "secret"=>"9ecaf16ea48992ec8b058d382368809ced0320674d507fdd7fb61a11db59cc81", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"1ea99312737fb9fcda33085e26549f56937a39408c94195a3f5903963f5dcbb7", "response_type"=>"token", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1ea99312737fb9fcda33085e26549f56937a39408c94195a3f5903963f5dcbb7"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224f3541594a85000130')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"489693e296735438ee581b31dd58fe9dd3adf8161243ec0aac9b8638a884e195", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000131')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000131'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000130'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a8500012f'), "token"=>"489693e296735438ee581b31dd58fe9dd3adf8161243ec0aac9b8638a884e195", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000131'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000130'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a8500012f'), "token"=>"489693e296735438ee581b31dd58fe9dd3adf8161243ec0aac9b8638a884e195", "expires_in"=>7200, "scopes"=>""}) Redirected to http://test.host/oauth/token/info?access_token=489693e296735438ee581b31dd58fe9dd3adf8161243ec0aac9b8638a884e195 Completed 302 Found in 5ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"855e048b9c4feaaba675a7dfaa9349a05e033718c834a169b707299bafbc5385", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000132')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000132'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 113", "uid"=>"855e048b9c4feaaba675a7dfaa9349a05e033718c834a169b707299bafbc5385", "secret"=>"08b9b9af75f1ed65684cf1fd0cb42ff2d0252167a5a1eda85d2991d55fe5e7b8", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000132'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 113", "uid"=>"855e048b9c4feaaba675a7dfaa9349a05e033718c834a169b707299bafbc5385", "secret"=>"08b9b9af75f1ed65684cf1fd0cb42ff2d0252167a5a1eda85d2991d55fe5e7b8", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000133'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000133'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"2c568d2893f9293b886ed92164c8d2efdad253f67ed5a59d945b67bfbcfcde7a", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000134')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000134'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000132'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000133'), "token"=>"2c568d2893f9293b886ed92164c8d2efdad253f67ed5a59d945b67bfbcfcde7a", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000134'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000132'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000133'), "token"=>"2c568d2893f9293b886ed92164c8d2efdad253f67ed5a59d945b67bfbcfcde7a", "expires_in"=>7200}) Started GET "/full_protected_resources" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by FullProtectedResourcesController#index as HTML MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"invalid"}).limit(-1) MONGODB (11.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"invalid"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"invalid"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"invalid"}).limit(-1) Filter chain halted as :doorkeeper_authorize! rendered or redirected Completed 401 Unauthorized in 15ms (ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d8ba775042ed6cba79b63437f4a929e912e2064cf135ee4acf19dfe807e64221", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000135')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000135'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 114", "uid"=>"d8ba775042ed6cba79b63437f4a929e912e2064cf135ee4acf19dfe807e64221", "secret"=>"0e7914894254f3e8b0f79d264ea37ada9a667e80f5962ce7fee9b746df853438", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000135'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 114", "uid"=>"d8ba775042ed6cba79b63437f4a929e912e2064cf135ee4acf19dfe807e64221", "secret"=>"0e7914894254f3e8b0f79d264ea37ada9a667e80f5962ce7fee9b746df853438", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000136'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000136'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e91ce3fcd2c0721b095524e3b313c150ef5bb98867f7705fb9c2b9ed11ebb730", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000137')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000137'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000135'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000136'), "token"=>"e91ce3fcd2c0721b095524e3b313c150ef5bb98867f7705fb9c2b9ed11ebb730", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000137'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000135'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000136'), "token"=>"e91ce3fcd2c0721b095524e3b313c150ef5bb98867f7705fb9c2b9ed11ebb730", "expires_in"=>7200}) Started GET "/full_protected_resources" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by FullProtectedResourcesController#index as HTML MONGODB (3.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e91ce3fcd2c0721b095524e3b313c150ef5bb98867f7705fb9c2b9ed11ebb730"}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224f3541594a85000137')}, :u=>{"_id"=>BSON::ObjectId('5bb6224f3541594a85000137'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000135'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000136'), "token"=>"e91ce3fcd2c0721b095524e3b313c150ef5bb98867f7705fb9c2b9ed11ebb730", "previous_refresh_token"=>"", "expires_in"=>7200}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6224f3541594a85000137')}, {"_id"=>BSON::ObjectId('5bb6224f3541594a85000137'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000135'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000136'), "token"=>"e91ce3fcd2c0721b095524e3b313c150ef5bb98867f7705fb9c2b9ed11ebb730", "previous_refresh_token"=>"", "expires_in"=>7200}) Rendered text template (0.0ms) Completed 200 OK in 16ms (Views: 7.3ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b8cfd2574d583cab488f5328454318bbe782297f9c62cd82884d557c280738e1", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000138')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000138'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 115", "uid"=>"b8cfd2574d583cab488f5328454318bbe782297f9c62cd82884d557c280738e1", "secret"=>"5b8a4de7523363ce2430e4dd3a6db67ad6abefd04a2341b2124318201169593b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000138'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 115", "uid"=>"b8cfd2574d583cab488f5328454318bbe782297f9c62cd82884d557c280738e1", "secret"=>"5b8a4de7523363ce2430e4dd3a6db67ad6abefd04a2341b2124318201169593b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000139'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000139'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"b227480e432fdf21f9bfd0d854e954f117664a7d8e76e16c6888a6a1337db2e6", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a8500013a')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a8500013a'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000138'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000139'), "token"=>"b227480e432fdf21f9bfd0d854e954f117664a7d8e76e16c6888a6a1337db2e6", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a8500013a'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000138'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000139'), "token"=>"b227480e432fdf21f9bfd0d854e954f117664a7d8e76e16c6888a6a1337db2e6", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224f3541594a8500013a')}, :u=>{"_id"=>BSON::ObjectId('5bb6224f3541594a8500013a'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000138'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000139'), "token"=>"b227480e432fdf21f9bfd0d854e954f117664a7d8e76e16c6888a6a1337db2e6", "expires_in"=>-100}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6224f3541594a8500013a')}, {"_id"=>BSON::ObjectId('5bb6224f3541594a8500013a'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000138'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000139'), "token"=>"b227480e432fdf21f9bfd0d854e954f117664a7d8e76e16c6888a6a1337db2e6", "expires_in"=>-100}) Started GET "/full_protected_resources" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by FullProtectedResourcesController#index as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"b227480e432fdf21f9bfd0d854e954f117664a7d8e76e16c6888a6a1337db2e6"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224f3541594a8500013a')}, :u=>{"_id"=>BSON::ObjectId('5bb6224f3541594a8500013a'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000138'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000139'), "token"=>"b227480e432fdf21f9bfd0d854e954f117664a7d8e76e16c6888a6a1337db2e6", "previous_refresh_token"=>"", "expires_in"=>-100}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6224f3541594a8500013a')}, {"_id"=>BSON::ObjectId('5bb6224f3541594a8500013a'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000138'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000139'), "token"=>"b227480e432fdf21f9bfd0d854e954f117664a7d8e76e16c6888a6a1337db2e6", "previous_refresh_token"=>"", "expires_in"=>-100}) Filter chain halted as :doorkeeper_authorize! rendered or redirected Completed 401 Unauthorized in 3ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7942b3d98053dcf17a1692252411488366cbb0427a3e62b5e9dabe64cd625372", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a8500013b')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a8500013b'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 116", "uid"=>"7942b3d98053dcf17a1692252411488366cbb0427a3e62b5e9dabe64cd625372", "secret"=>"0f041aec525e1dac07daa036fa715ea22fdcbfff71cf725aae9fc1f012e95dbc", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a8500013b'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 116", "uid"=>"7942b3d98053dcf17a1692252411488366cbb0427a3e62b5e9dabe64cd625372", "secret"=>"0f041aec525e1dac07daa036fa715ea22fdcbfff71cf725aae9fc1f012e95dbc", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a8500013c'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a8500013c'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"6584af40246609c3a4867906d995e01c9d187c81ada031b31ff7bef64fe08b66", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a8500013d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a8500013d'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500013b'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a8500013c'), "token"=>"6584af40246609c3a4867906d995e01c9d187c81ada031b31ff7bef64fe08b66", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a8500013d'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500013b'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a8500013c'), "token"=>"6584af40246609c3a4867906d995e01c9d187c81ada031b31ff7bef64fe08b66", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224f3541594a8500013d')}, :u=>{"_id"=>BSON::ObjectId('5bb6224f3541594a8500013d'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500013b'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a8500013c'), "token"=>"6584af40246609c3a4867906d995e01c9d187c81ada031b31ff7bef64fe08b66", "expires_in"=>7200, "scopes"=>"write admin"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6224f3541594a8500013d')}, {"_id"=>BSON::ObjectId('5bb6224f3541594a8500013d'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500013b'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a8500013c'), "token"=>"6584af40246609c3a4867906d995e01c9d187c81ada031b31ff7bef64fe08b66", "expires_in"=>7200, "scopes"=>"write admin"}) Started GET "/full_protected_resources/1.json" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by FullProtectedResourcesController#show as JSON Parameters: {"id"=>"1"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"6584af40246609c3a4867906d995e01c9d187c81ada031b31ff7bef64fe08b66"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224f3541594a8500013d')}, :u=>{"_id"=>BSON::ObjectId('5bb6224f3541594a8500013d'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500013b'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a8500013c'), "token"=>"6584af40246609c3a4867906d995e01c9d187c81ada031b31ff7bef64fe08b66", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"write admin"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6224f3541594a8500013d')}, {"_id"=>BSON::ObjectId('5bb6224f3541594a8500013d'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500013b'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a8500013c'), "token"=>"6584af40246609c3a4867906d995e01c9d187c81ada031b31ff7bef64fe08b66", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"write admin"}) Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f14d5ff5e942579ebe835cb29d4cd4fa0db95a69af4ac148486f502c1c341061", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a8500013e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a8500013e'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 117", "uid"=>"f14d5ff5e942579ebe835cb29d4cd4fa0db95a69af4ac148486f502c1c341061", "secret"=>"b24ac2cb8a82c289cdf8233ff292d8c3868b7eccf8db6812b040306f496e07e0", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a8500013e'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 117", "uid"=>"f14d5ff5e942579ebe835cb29d4cd4fa0db95a69af4ac148486f502c1c341061", "secret"=>"b24ac2cb8a82c289cdf8233ff292d8c3868b7eccf8db6812b040306f496e07e0", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a8500013f'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a8500013f'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (4.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"5371a074142c86c828a30856d90de362678e2d6644f6cd7cd4566d22ef6992f8", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000140')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000140'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500013e'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a8500013f'), "token"=>"5371a074142c86c828a30856d90de362678e2d6644f6cd7cd4566d22ef6992f8", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000140'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500013e'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a8500013f'), "token"=>"5371a074142c86c828a30856d90de362678e2d6644f6cd7cd4566d22ef6992f8", "expires_in"=>7200}) Started GET "/full_protected_resources" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by FullProtectedResourcesController#index as HTML Filter chain halted as :doorkeeper_authorize! rendered or redirected Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4f178f5f3e782bd75a572735671ca3d2cc85fc05cc19a36da3e136592336db14", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000141')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000141'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 118", "uid"=>"4f178f5f3e782bd75a572735671ca3d2cc85fc05cc19a36da3e136592336db14", "secret"=>"75a283797824310eb7f4b4455d6ecb2fcc4309f8ae87963ed15002f6305e1172", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000141'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 118", "uid"=>"4f178f5f3e782bd75a572735671ca3d2cc85fc05cc19a36da3e136592336db14", "secret"=>"75a283797824310eb7f4b4455d6ecb2fcc4309f8ae87963ed15002f6305e1172", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000142'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000142'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e3d11eca17cbd17247e7eef94cdca528bac5994ec93668ded04a54c638771bdf", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000143')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000143'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000141'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000142'), "token"=>"e3d11eca17cbd17247e7eef94cdca528bac5994ec93668ded04a54c638771bdf", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000143'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000141'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000142'), "token"=>"e3d11eca17cbd17247e7eef94cdca528bac5994ec93668ded04a54c638771bdf", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224f3541594a85000143')}, :u=>{"_id"=>BSON::ObjectId('5bb6224f3541594a85000143'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000141'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000142'), "token"=>"e3d11eca17cbd17247e7eef94cdca528bac5994ec93668ded04a54c638771bdf"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6224f3541594a85000143')}, {"_id"=>BSON::ObjectId('5bb6224f3541594a85000143'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000141'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000142'), "token"=>"e3d11eca17cbd17247e7eef94cdca528bac5994ec93668ded04a54c638771bdf"}) Started GET "/full_protected_resources" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by FullProtectedResourcesController#index as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e3d11eca17cbd17247e7eef94cdca528bac5994ec93668ded04a54c638771bdf"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224f3541594a85000143')}, :u=>{"_id"=>BSON::ObjectId('5bb6224f3541594a85000143'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000141'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000142'), "token"=>"e3d11eca17cbd17247e7eef94cdca528bac5994ec93668ded04a54c638771bdf", "previous_refresh_token"=>""}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6224f3541594a85000143')}, {"_id"=>BSON::ObjectId('5bb6224f3541594a85000143'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000141'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000142'), "token"=>"e3d11eca17cbd17247e7eef94cdca528bac5994ec93668ded04a54c638771bdf", "previous_refresh_token"=>""}) Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"650116e096bfaf3b592750807cfac064f059a75992b38a8b0439dd611876dde0", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000144')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000144'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 119", "uid"=>"650116e096bfaf3b592750807cfac064f059a75992b38a8b0439dd611876dde0", "secret"=>"1275d065f44f6e547d45edbaad7843f5006432b339e444e641b4ccd076735f45", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000144'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 119", "uid"=>"650116e096bfaf3b592750807cfac064f059a75992b38a8b0439dd611876dde0", "secret"=>"1275d065f44f6e547d45edbaad7843f5006432b339e444e641b4ccd076735f45", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000145'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000145'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"10c81781d6d9bc0cb29897f5ec5417c125fc2e6e85b996a01141111e0590511d", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000146')}}, {:_id=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000146'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000144'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000145'), "token"=>"10c81781d6d9bc0cb29897f5ec5417c125fc2e6e85b996a01141111e0590511d", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000146'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000144'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000145'), "token"=>"10c81781d6d9bc0cb29897f5ec5417c125fc2e6e85b996a01141111e0590511d", "expires_in"=>7200}) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224f3541594a85000146')}, :u=>{"_id"=>BSON::ObjectId('5bb6224f3541594a85000146'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000144'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000145'), "token"=>"10c81781d6d9bc0cb29897f5ec5417c125fc2e6e85b996a01141111e0590511d", "expires_in"=>7200}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (2.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6224f3541594a85000146')}, {"_id"=>BSON::ObjectId('5bb6224f3541594a85000146'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000144'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000145'), "token"=>"10c81781d6d9bc0cb29897f5ec5417c125fc2e6e85b996a01141111e0590511d", "expires_in"=>7200}) Started GET "/full_protected_resources/1.json" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by FullProtectedResourcesController#show as JSON Parameters: {"id"=>"1"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"10c81781d6d9bc0cb29897f5ec5417c125fc2e6e85b996a01141111e0590511d"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224f3541594a85000146')}, :u=>{"_id"=>BSON::ObjectId('5bb6224f3541594a85000146'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000144'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000145'), "token"=>"10c81781d6d9bc0cb29897f5ec5417c125fc2e6e85b996a01141111e0590511d", "previous_refresh_token"=>"", "expires_in"=>7200}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6224f3541594a85000146')}, {"_id"=>BSON::ObjectId('5bb6224f3541594a85000146'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000144'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000145'), "token"=>"10c81781d6d9bc0cb29897f5ec5417c125fc2e6e85b996a01141111e0590511d", "previous_refresh_token"=>"", "expires_in"=>7200}) Filter chain halted as # rendered or redirected Completed 403 Forbidden in 4ms (ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"09be44375d9199ab0463ce7b39506e9ce7ef2ce70d98974a586b5cfcda18de2f", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000147')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000147'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 120", "uid"=>"09be44375d9199ab0463ce7b39506e9ce7ef2ce70d98974a586b5cfcda18de2f", "secret"=>"5dcf1ebc1f6431309c41b48af840cd3ad4b0d3fd74858287102a19ca08c979d9", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000147'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 120", "uid"=>"09be44375d9199ab0463ce7b39506e9ce7ef2ce70d98974a586b5cfcda18de2f", "secret"=>"5dcf1ebc1f6431309c41b48af840cd3ad4b0d3fd74858287102a19ca08c979d9", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000148'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000148'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f575ef7197896680ecf0ba9367c33a234940132c51e3db978de5c838d2c25a85", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000149')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000149'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000147'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000148'), "token"=>"f575ef7197896680ecf0ba9367c33a234940132c51e3db978de5c838d2c25a85", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000149'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000147'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000148'), "token"=>"f575ef7197896680ecf0ba9367c33a234940132c51e3db978de5c838d2c25a85", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224f3541594a85000149')}, :u=>{"_id"=>BSON::ObjectId('5bb6224f3541594a85000149'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000147'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000148'), "token"=>"f575ef7197896680ecf0ba9367c33a234940132c51e3db978de5c838d2c25a85", "expires_in"=>7200, "scopes"=>"admin"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6224f3541594a85000149')}, {"_id"=>BSON::ObjectId('5bb6224f3541594a85000149'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000147'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000148'), "token"=>"f575ef7197896680ecf0ba9367c33a234940132c51e3db978de5c838d2c25a85", "expires_in"=>7200, "scopes"=>"admin"}) Started GET "/full_protected_resources/1.json" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by FullProtectedResourcesController#show as JSON Parameters: {"id"=>"1"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f575ef7197896680ecf0ba9367c33a234940132c51e3db978de5c838d2c25a85"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224f3541594a85000149')}, :u=>{"_id"=>BSON::ObjectId('5bb6224f3541594a85000149'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000147'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000148'), "token"=>"f575ef7197896680ecf0ba9367c33a234940132c51e3db978de5c838d2c25a85", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"admin"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6224f3541594a85000149')}, {"_id"=>BSON::ObjectId('5bb6224f3541594a85000149'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000147'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000148'), "token"=>"f575ef7197896680ecf0ba9367c33a234940132c51e3db978de5c838d2c25a85", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"admin"}) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ce04ac6f5ebf8ffe1963084c2228c4d9c2e0096ba413e2852c91662fbca0bfc3", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a8500014a')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a8500014a'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 121", "uid"=>"ce04ac6f5ebf8ffe1963084c2228c4d9c2e0096ba413e2852c91662fbca0bfc3", "secret"=>"ea1eb118375844914bd6f9d8c87e6b3e107046e53cde2bfa74a1022de6027df0", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a8500014a'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 121", "uid"=>"ce04ac6f5ebf8ffe1963084c2228c4d9c2e0096ba413e2852c91662fbca0bfc3", "secret"=>"ea1eb118375844914bd6f9d8c87e6b3e107046e53cde2bfa74a1022de6027df0", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a8500014b'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a8500014b'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"86f9bb0969e9b0b816b6f012bc248b6660baaa093a4986faeb343d990912fd7f", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a8500014c')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a8500014c'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500014a'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a8500014b'), "token"=>"86f9bb0969e9b0b816b6f012bc248b6660baaa093a4986faeb343d990912fd7f", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a8500014c'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500014a'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a8500014b'), "token"=>"86f9bb0969e9b0b816b6f012bc248b6660baaa093a4986faeb343d990912fd7f", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224f3541594a8500014c')}, :u=>{"_id"=>BSON::ObjectId('5bb6224f3541594a8500014c'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500014a'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a8500014b'), "token"=>"86f9bb0969e9b0b816b6f012bc248b6660baaa093a4986faeb343d990912fd7f", "expires_in"=>7200, "scopes"=>"write"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6224f3541594a8500014c')}, {"_id"=>BSON::ObjectId('5bb6224f3541594a8500014c'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500014a'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a8500014b'), "token"=>"86f9bb0969e9b0b816b6f012bc248b6660baaa093a4986faeb343d990912fd7f", "expires_in"=>7200, "scopes"=>"write"}) Started GET "/full_protected_resources/1.json" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by FullProtectedResourcesController#show as JSON Parameters: {"id"=>"1"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"86f9bb0969e9b0b816b6f012bc248b6660baaa093a4986faeb343d990912fd7f"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224f3541594a8500014c')}, :u=>{"_id"=>BSON::ObjectId('5bb6224f3541594a8500014c'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500014a'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a8500014b'), "token"=>"86f9bb0969e9b0b816b6f012bc248b6660baaa093a4986faeb343d990912fd7f", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"write"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6224f3541594a8500014c')}, {"_id"=>BSON::ObjectId('5bb6224f3541594a8500014c'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500014a'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a8500014b'), "token"=>"86f9bb0969e9b0b816b6f012bc248b6660baaa093a4986faeb343d990912fd7f", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"write"}) Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ff227caefce8a7e0bf6840a3df0975a48e1a2a86f669ec5c8ca12635d9140150", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a8500014d')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a8500014d'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 122", "uid"=>"ff227caefce8a7e0bf6840a3df0975a48e1a2a86f669ec5c8ca12635d9140150", "secret"=>"9e373138ffad7da9854ea21e4d622153bfbb813339116499db77394dee8bdd67", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a8500014d'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 122", "uid"=>"ff227caefce8a7e0bf6840a3df0975a48e1a2a86f669ec5c8ca12635d9140150", "secret"=>"9e373138ffad7da9854ea21e4d622153bfbb813339116499db77394dee8bdd67", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a8500014e'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a8500014e'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"44a9eb252c32bfe739657c162720013d3875fb3443183693874fd442c2ab6451", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a8500014f')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a8500014f'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500014d'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a8500014e'), "token"=>"44a9eb252c32bfe739657c162720013d3875fb3443183693874fd442c2ab6451", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a8500014f'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500014d'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a8500014e'), "token"=>"44a9eb252c32bfe739657c162720013d3875fb3443183693874fd442c2ab6451", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224f3541594a8500014f')}, :u=>{"_id"=>BSON::ObjectId('5bb6224f3541594a8500014f'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500014d'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a8500014e'), "token"=>"44a9eb252c32bfe739657c162720013d3875fb3443183693874fd442c2ab6451", "expires_in"=>7200, "scopes"=>"dummy"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6224f3541594a8500014f')}, {"_id"=>BSON::ObjectId('5bb6224f3541594a8500014f'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500014d'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a8500014e'), "token"=>"44a9eb252c32bfe739657c162720013d3875fb3443183693874fd442c2ab6451", "expires_in"=>7200, "scopes"=>"dummy"}) Started GET "/full_protected_resources" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by FullProtectedResourcesController#index as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"44a9eb252c32bfe739657c162720013d3875fb3443183693874fd442c2ab6451"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224f3541594a8500014f')}, :u=>{"_id"=>BSON::ObjectId('5bb6224f3541594a8500014f'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500014d'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a8500014e'), "token"=>"44a9eb252c32bfe739657c162720013d3875fb3443183693874fd442c2ab6451", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"dummy"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6224f3541594a8500014f')}, {"_id"=>BSON::ObjectId('5bb6224f3541594a8500014f'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500014d'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a8500014e'), "token"=>"44a9eb252c32bfe739657c162720013d3875fb3443183693874fd442c2ab6451", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"dummy"}) Filter chain halted as :doorkeeper_authorize! rendered or redirected Completed 403 Forbidden in 4ms (ActiveRecord: 0.0ms) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"cfc300f9231864abfa3f800d60e64e619c60591ebd662fc8682c5240c6e33f32", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000151')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000151'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 123", "uid"=>"cfc300f9231864abfa3f800d60e64e619c60591ebd662fc8682c5240c6e33f32", "secret"=>"1ba9e6bdd9bab435473a818c2fbb2e979cc3e843ff964b1619af91d165ddc974", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000151'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 123", "uid"=>"cfc300f9231864abfa3f800d60e64e619c60591ebd662fc8682c5240c6e33f32", "secret"=>"1ba9e6bdd9bab435473a818c2fbb2e979cc3e843ff964b1619af91d165ddc974", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"6fe9d4c423bbf4e3e7b319818dc7e659ec7b3c0c362e02658fc7581ff94d76f8", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000150')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000150'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000151'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>4, "token"=>"6fe9d4c423bbf4e3e7b319818dc7e659ec7b3c0c362e02658fc7581ff94d76f8", "refresh_token"=>"refresh_token", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000150'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000151'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>4, "token"=>"6fe9d4c423bbf4e3e7b319818dc7e659ec7b3c0c362e02658fc7581ff94d76f8", "refresh_token"=>"refresh_token", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"be76c198a1fecae5c3738acec536c03714cc276c5f8a397b5a63e5efab748440", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000153')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000153'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 124", "uid"=>"be76c198a1fecae5c3738acec536c03714cc276c5f8a397b5a63e5efab748440", "secret"=>"330cc20a4b45fad703d58162a45ea2b2e217812c80aca3eb979498e11fc5b4bd", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000153'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 124", "uid"=>"be76c198a1fecae5c3738acec536c03714cc276c5f8a397b5a63e5efab748440", "secret"=>"330cc20a4b45fad703d58162a45ea2b2e217812c80aca3eb979498e11fc5b4bd", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"7257f330102071f0757082e9044df27ee752ceab94e09894d3c8665fdc97181e", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000152')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000152'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000153'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>5, "token"=>"7257f330102071f0757082e9044df27ee752ceab94e09894d3c8665fdc97181e", "previous_refresh_token"=>"refresh_token", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000152'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000153'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>5, "token"=>"7257f330102071f0757082e9044df27ee752ceab94e09894d3c8665fdc97181e", "previous_refresh_token"=>"refresh_token", "expires_in"=>7200}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"refresh_token"}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224f3541594a85000150')}, :u=>{"_id"=>BSON::ObjectId('5bb6224f3541594a85000150'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000151'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>4, "token"=>"6fe9d4c423bbf4e3e7b319818dc7e659ec7b3c0c362e02658fc7581ff94d76f8", "refresh_token"=>"refresh_token", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6224f3541594a85000150')}, {"_id"=>BSON::ObjectId('5bb6224f3541594a85000150'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000151'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>4, "token"=>"6fe9d4c423bbf4e3e7b319818dc7e659ec7b3c0c362e02658fc7581ff94d76f8", "refresh_token"=>"refresh_token", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224f3541594a85000152')}, :u=>{"_id"=>BSON::ObjectId('5bb6224f3541594a85000152'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000153'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>5, "token"=>"7257f330102071f0757082e9044df27ee752ceab94e09894d3c8665fdc97181e", "previous_refresh_token"=>"", "expires_in"=>7200}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6224f3541594a85000152')}, {"_id"=>BSON::ObjectId('5bb6224f3541594a85000152'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000153'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>5, "token"=>"7257f330102071f0757082e9044df27ee752ceab94e09894d3c8665fdc97181e", "previous_refresh_token"=>"", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6224f3541594a85000150')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1d964e8262d18700def50fb939c3d2f2d859ad6e4e87eeefb6fc6f53e0bd3e16", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000154')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000154'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 125", "uid"=>"1d964e8262d18700def50fb939c3d2f2d859ad6e4e87eeefb6fc6f53e0bd3e16", "secret"=>"a20769fc2e3e04c30f202eb50e81853b5457bee76275b337ce26e9ca1fa8e78a", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000154'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 125", "uid"=>"1d964e8262d18700def50fb939c3d2f2d859ad6e4e87eeefb6fc6f53e0bd3e16", "secret"=>"a20769fc2e3e04c30f202eb50e81853b5457bee76275b337ce26e9ca1fa8e78a", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000155'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000155'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"51768c91afe57f1d7219b4e5ca75da7cf49bf4a97d85a2f61e5e5291168c8e00", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000156')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000156'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000154'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000155'), "token"=>"51768c91afe57f1d7219b4e5ca75da7cf49bf4a97d85a2f61e5e5291168c8e00", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000156'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000154'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000155'), "token"=>"51768c91afe57f1d7219b4e5ca75da7cf49bf4a97d85a2f61e5e5291168c8e00", "expires_in"=>7200, "scopes"=>"public write"}) Started GET "/oauth/authorize?client_id=1d964e8262d18700def50fb939c3d2f2d859ad6e4e87eeefb6fc6f53e0bd3e16&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"1d964e8262d18700def50fb939c3d2f2d859ad6e4e87eeefb6fc6f53e0bd3e16", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1d964e8262d18700def50fb939c3d2f2d859ad6e4e87eeefb6fc6f53e0bd3e16"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6224f3541594a85000154'), :resource_owner_id=>BSON::ObjectId('5bb6224f3541594a85000155'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.1ms) Completed 200 OK in 7ms (Views: 2.5ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b82a52efb69e8c257c759e9316be8f870f50336ebe2b47c5d21e0436a5154d40", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000157')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000157'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 126", "uid"=>"b82a52efb69e8c257c759e9316be8f870f50336ebe2b47c5d21e0436a5154d40", "secret"=>"673c6792b8620200259a2c5e59a7a7cb058c0300fae3fb2030119352c13c90c9", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000157'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 126", "uid"=>"b82a52efb69e8c257c759e9316be8f870f50336ebe2b47c5d21e0436a5154d40", "secret"=>"673c6792b8620200259a2c5e59a7a7cb058c0300fae3fb2030119352c13c90c9", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000158'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000158'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"0a8049b96d9f6be99249fa87ee5957144d0daa4046629bd28ed01f613ed0ce2f", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000159')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000159'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000157'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000158'), "token"=>"0a8049b96d9f6be99249fa87ee5957144d0daa4046629bd28ed01f613ed0ce2f", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000159'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000157'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000158'), "token"=>"0a8049b96d9f6be99249fa87ee5957144d0daa4046629bd28ed01f613ed0ce2f", "expires_in"=>7200, "scopes"=>"public write"}) Started GET "/oauth/authorize?client_id=b82a52efb69e8c257c759e9316be8f870f50336ebe2b47c5d21e0436a5154d40&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"b82a52efb69e8c257c759e9316be8f870f50336ebe2b47c5d21e0436a5154d40", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b82a52efb69e8c257c759e9316be8f870f50336ebe2b47c5d21e0436a5154d40"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6224f3541594a85000157'), :resource_owner_id=>BSON::ObjectId('5bb6224f3541594a85000158'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.1ms) Completed 200 OK in 8ms (Views: 2.5ms | ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f397b19c3fe4925914eb522aaaea97c6b104c2ea0c76a3ee081abe2fdf76b492", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a8500015a')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a8500015a'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 127", "uid"=>"f397b19c3fe4925914eb522aaaea97c6b104c2ea0c76a3ee081abe2fdf76b492", "secret"=>"3ff236615b8e0835134b09df6d3e4bd58aa2c47a3687824348537b8ddaff06ee", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a8500015a'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 127", "uid"=>"f397b19c3fe4925914eb522aaaea97c6b104c2ea0c76a3ee081abe2fdf76b492", "secret"=>"3ff236615b8e0835134b09df6d3e4bd58aa2c47a3687824348537b8ddaff06ee", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a8500015b'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a8500015b'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by HomeController#sign_in as HTML MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"c90b93dd4f0e8dd08d15a2ffc0203fbd031312108855c831a3203902c5f8964c", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a8500015c')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a8500015c'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500015a'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a8500015b'), "token"=>"c90b93dd4f0e8dd08d15a2ffc0203fbd031312108855c831a3203902c5f8964c", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a8500015c'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500015a'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a8500015b'), "token"=>"c90b93dd4f0e8dd08d15a2ffc0203fbd031312108855c831a3203902c5f8964c", "expires_in"=>7200, "scopes"=>"public"}) Started GET "/oauth/authorize?client_id=f397b19c3fe4925914eb522aaaea97c6b104c2ea0c76a3ee081abe2fdf76b492&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public+write" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"f397b19c3fe4925914eb522aaaea97c6b104c2ea0c76a3ee081abe2fdf76b492", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public write"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f397b19c3fe4925914eb522aaaea97c6b104c2ea0c76a3ee081abe2fdf76b492"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6224f3541594a8500015a'), :resource_owner_id=>BSON::ObjectId('5bb6224f3541594a8500015b'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.1ms) Completed 200 OK in 7ms (Views: 2.4ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"458c9be57a450e6dd2e6b3ea09c58b20a117fc4b1356ee81d7454fda465145a9", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a8500015d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a8500015d'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 128", "uid"=>"458c9be57a450e6dd2e6b3ea09c58b20a117fc4b1356ee81d7454fda465145a9", "secret"=>"be781890a9d950aa833d29e6aed5794ac044b5f02152c518205c45e37cf7f5a4", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a8500015d'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 128", "uid"=>"458c9be57a450e6dd2e6b3ea09c58b20a117fc4b1356ee81d7454fda465145a9", "secret"=>"be781890a9d950aa833d29e6aed5794ac044b5f02152c518205c45e37cf7f5a4", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a8500015e'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a8500015e'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"12f41e0249a388ddc131129b3da23c86397cd4c147fe7b0f639d9796e64d7a7d", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a8500015f')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a8500015f'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500015d'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a8500015e'), "token"=>"12f41e0249a388ddc131129b3da23c86397cd4c147fe7b0f639d9796e64d7a7d", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a8500015f'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500015d'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a8500015e'), "token"=>"12f41e0249a388ddc131129b3da23c86397cd4c147fe7b0f639d9796e64d7a7d", "expires_in"=>7200, "scopes"=>"public"}) Started GET "/oauth/authorize?client_id=458c9be57a450e6dd2e6b3ea09c58b20a117fc4b1356ee81d7454fda465145a9&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"458c9be57a450e6dd2e6b3ea09c58b20a117fc4b1356ee81d7454fda465145a9", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"458c9be57a450e6dd2e6b3ea09c58b20a117fc4b1356ee81d7454fda465145a9"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6224f3541594a8500015d'), :resource_owner_id=>BSON::ObjectId('5bb6224f3541594a8500015e'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"637972cd1c80b4783fd1784d3c3bd917e580feb32f9e74a53405b6556b6b5cdb", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000160')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000160'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500015d'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a8500015e'), "token"=>"637972cd1c80b4783fd1784d3c3bd917e580feb32f9e74a53405b6556b6b5cdb", "scopes"=>"public", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000160'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500015d'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a8500015e'), "token"=>"637972cd1c80b4783fd1784d3c3bd917e580feb32f9e74a53405b6556b6b5cdb", "scopes"=>"public", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=637972cd1c80b4783fd1784d3c3bd917e580feb32f9e74a53405b6556b6b5cdb Completed 302 Found in 8ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{:application_id=>BSON::ObjectId('5bb6224f3541594a8500015d')}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:application_id=>BSON::ObjectId('5bb6224f3541594a8500015d')}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7fe4e7b95e4f21fa9ef338d55acce7f6d563879e32207fe81b59837bd3a6339d", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000161')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000161'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 129", "uid"=>"7fe4e7b95e4f21fa9ef338d55acce7f6d563879e32207fe81b59837bd3a6339d", "secret"=>"6ab76d0d1cba54d23e8eff3abc8679a22651b1b3ec5b952322495a141951d00c", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000161'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 129", "uid"=>"7fe4e7b95e4f21fa9ef338d55acce7f6d563879e32207fe81b59837bd3a6339d", "secret"=>"6ab76d0d1cba54d23e8eff3abc8679a22651b1b3ec5b952322495a141951d00c", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000162'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000162'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by HomeController#sign_in as HTML MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"6b10dd7ebc444a880ddd632baa21e4e8c3fa14effa0c0f987c4d17a4014710ba", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000163')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000163'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000161'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000162'), "token"=>"6b10dd7ebc444a880ddd632baa21e4e8c3fa14effa0c0f987c4d17a4014710ba", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000163'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000161'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000162'), "token"=>"6b10dd7ebc444a880ddd632baa21e4e8c3fa14effa0c0f987c4d17a4014710ba", "expires_in"=>7200, "scopes"=>"public"}) Started GET "/oauth/authorize?client_id=7fe4e7b95e4f21fa9ef338d55acce7f6d563879e32207fe81b59837bd3a6339d&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public+write" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"7fe4e7b95e4f21fa9ef338d55acce7f6d563879e32207fe81b59837bd3a6339d", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public write"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7fe4e7b95e4f21fa9ef338d55acce7f6d563879e32207fe81b59837bd3a6339d"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6224f3541594a85000161'), :resource_owner_id=>BSON::ObjectId('5bb6224f3541594a85000162'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.1ms) Completed 200 OK in 7ms (Views: 2.5ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"7fe4e7b95e4f21fa9ef338d55acce7f6d563879e32207fe81b59837bd3a6339d", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public write", "commit"=>"Authorize"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7fe4e7b95e4f21fa9ef338d55acce7f6d563879e32207fe81b59837bd3a6339d"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"2922b74b9c2120e041ebd5af6b33294ef1a91b9a52add70990b0e3c060896347", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000164')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000164'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000161'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000162'), "token"=>"2922b74b9c2120e041ebd5af6b33294ef1a91b9a52add70990b0e3c060896347", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000164'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000161'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000162'), "token"=>"2922b74b9c2120e041ebd5af6b33294ef1a91b9a52add70990b0e3c060896347", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=2922b74b9c2120e041ebd5af6b33294ef1a91b9a52add70990b0e3c060896347 Completed 302 Found in 5ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"912550d46feb0e7be02fbe88e046fd853e94f41491638065eb672376a42d1f50", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000165')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000165'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 130", "uid"=>"912550d46feb0e7be02fbe88e046fd853e94f41491638065eb672376a42d1f50", "secret"=>"ef6a772ad0aaef8c7f579fb03354ff45f3386a0647b0e393c1b24c41713cbaa7", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000165'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 130", "uid"=>"912550d46feb0e7be02fbe88e046fd853e94f41491638065eb672376a42d1f50", "secret"=>"ef6a772ad0aaef8c7f579fb03354ff45f3386a0647b0e393c1b24c41713cbaa7", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000166'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000166'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"03db67462b5948107c8cbe6a484bc9df19cd773b8d62d4f74c80954f1643c4ba", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000167')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000167'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000165'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000166'), "token"=>"03db67462b5948107c8cbe6a484bc9df19cd773b8d62d4f74c80954f1643c4ba", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000167'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000165'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000166'), "token"=>"03db67462b5948107c8cbe6a484bc9df19cd773b8d62d4f74c80954f1643c4ba", "expires_in"=>7200, "scopes"=>"public write"}) Started GET "/oauth/authorize?client_id=912550d46feb0e7be02fbe88e046fd853e94f41491638065eb672376a42d1f50&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"912550d46feb0e7be02fbe88e046fd853e94f41491638065eb672376a42d1f50", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"912550d46feb0e7be02fbe88e046fd853e94f41491638065eb672376a42d1f50"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6224f3541594a85000165'), :resource_owner_id=>BSON::ObjectId('5bb6224f3541594a85000166'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.1ms) Completed 200 OK in 7ms (Views: 2.4ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"912550d46feb0e7be02fbe88e046fd853e94f41491638065eb672376a42d1f50", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public", "commit"=>"Authorize"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"912550d46feb0e7be02fbe88e046fd853e94f41491638065eb672376a42d1f50"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"a1c8657b9131f678df26841a45e6aa82a819950a8dfb119d99f889c36e886f4b", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000168')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000168'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000165'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000166'), "token"=>"a1c8657b9131f678df26841a45e6aa82a819950a8dfb119d99f889c36e886f4b", "scopes"=>"public", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000168'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000165'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6224f3541594a85000166'), "token"=>"a1c8657b9131f678df26841a45e6aa82a819950a8dfb119d99f889c36e886f4b", "scopes"=>"public", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=a1c8657b9131f678df26841a45e6aa82a819950a8dfb119d99f889c36e886f4b Completed 302 Found in 13ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Started GET "/oauth/applications/new" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by Doorkeeper::ApplicationsController#new as HTML Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_form.html.erb (3.9ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/new.html.erb within layouts/doorkeeper/admin (5.0ms) Completed 200 OK in 7ms (Views: 7.1ms | ActiveRecord: 0.0ms) Started POST "/oauth/applications" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by Doorkeeper::ApplicationsController#create as HTML Parameters: {"utf8"=>"✓", "doorkeeper_application"=>{"name"=>"", "redirect_uri"=>"", "confidential"=>"0", "scopes"=>""}, "commit"=>"Submit"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0febece1b9d4d3af9a8bc401ab3817bf2fab90fca0d0d588ade981ae7bb1ca30", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a8500016a')}}, {:_id=>1}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_form.html.erb (2.3ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/new.html.erb within layouts/doorkeeper/admin (2.6ms) Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Started GET "/oauth/applications/new" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by Doorkeeper::ApplicationsController#new as HTML Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_form.html.erb (2.4ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/new.html.erb within layouts/doorkeeper/admin (2.7ms) Completed 200 OK in 4ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST "/oauth/applications" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by Doorkeeper::ApplicationsController#create as HTML Parameters: {"utf8"=>"✓", "doorkeeper_application"=>{"name"=>"My Application", "redirect_uri"=>"https://example.com", "confidential"=>"0", "scopes"=>""}, "commit"=>"Submit"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"95f7497f9ad3530fb311ac6455a35afd081ea33a68f6daf998ecd625b59d91ad", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a8500016c')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a8500016c'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"My Application", "uid"=>"95f7497f9ad3530fb311ac6455a35afd081ea33a68f6daf998ecd625b59d91ad", "secret"=>"4ad148b51078e9591518f4dbc595e2d198fd3063c55d750e0e7f9a55c63ac9da", "redirect_uri"=>"https://example.com", "confidential"=>false, "scopes"=>"", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a8500016c'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"My Application", "uid"=>"95f7497f9ad3530fb311ac6455a35afd081ea33a68f6daf998ecd625b59d91ad", "secret"=>"4ad148b51078e9591518f4dbc595e2d198fd3063c55d750e0e7f9a55c63ac9da", "redirect_uri"=>"https://example.com", "confidential"=>false, "scopes"=>"", "owner_id"=>nil}) Redirected to http://www.example.com/oauth/applications/5bb6224f3541594a8500016c Completed 302 Found in 10ms (ActiveRecord: 0.0ms) Started GET "/oauth/applications/5bb6224f3541594a8500016c" for 127.0.0.1 at 2018-10-04 17:23:11 +0300 Processing by Doorkeeper::ApplicationsController#show as HTML Parameters: {"id"=>"5bb6224f3541594a8500016c"} MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224f3541594a8500016c')}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (0.6ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/show.html.erb within layouts/doorkeeper/admin (2.7ms) Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokensController#create as HTML Completed 200 OK in 0ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokensController#revoke as HTML MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b7d5ce4d7278b8fbdda05ba14e0e415747b979650d1faefdb539c25fb056b09e", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a8500016d')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a8500016d'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 131", "uid"=>"b7d5ce4d7278b8fbdda05ba14e0e415747b979650d1faefdb539c25fb056b09e", "secret"=>"d3be315087c171b27ca94b9df74035d4513cf349d5b6b10418008d9ed3b16a0e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a8500016d'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 131", "uid"=>"b7d5ce4d7278b8fbdda05ba14e0e415747b979650d1faefdb539c25fb056b09e", "secret"=>"d3be315087c171b27ca94b9df74035d4513cf349d5b6b10418008d9ed3b16a0e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"33eb93da52fb9523bf277a28c5cb020f1e3d4861b2317820f1fd632e659189b2", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a8500016e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a8500016e'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500016d'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>6, "token"=>"33eb93da52fb9523bf277a28c5cb020f1e3d4861b2317820f1fd632e659189b2", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a8500016e'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500016d'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>6, "token"=>"33eb93da52fb9523bf277a28c5cb020f1e3d4861b2317820f1fd632e659189b2", "expires_in"=>7200}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224f3541594a8500016e')}, :u=>{"_id"=>BSON::ObjectId('5bb6224f3541594a8500016e'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500016d'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>6, "token"=>"33eb93da52fb9523bf277a28c5cb020f1e3d4861b2317820f1fd632e659189b2", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6224f3541594a8500016e')}, {"_id"=>BSON::ObjectId('5bb6224f3541594a8500016e'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500016d'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>6, "token"=>"33eb93da52fb9523bf277a28c5cb020f1e3d4861b2317820f1fd632e659189b2", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 14ms MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokensController#revoke as HTML MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"073bdbc1e757eabc5ebf0974e660a5a0286b124d5656e4264c9163be9ec92ea9", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a8500016f')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a8500016f'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 132", "uid"=>"073bdbc1e757eabc5ebf0974e660a5a0286b124d5656e4264c9163be9ec92ea9", "secret"=>"eb265502561e6fc3cbceb7512d4ea2860ec9ed26d8ca8ba5b64b1376c0103a4d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a8500016f'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 132", "uid"=>"073bdbc1e757eabc5ebf0974e660a5a0286b124d5656e4264c9163be9ec92ea9", "secret"=>"eb265502561e6fc3cbceb7512d4ea2860ec9ed26d8ca8ba5b64b1376c0103a4d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"42042b284e909f86700361b59009b7c7a71238f7ea0fd6cabca7236defdd6026", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000170')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000170'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500016f'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>7, "token"=>"42042b284e909f86700361b59009b7c7a71238f7ea0fd6cabca7236defdd6026", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000170'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500016f'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>7, "token"=>"42042b284e909f86700361b59009b7c7a71238f7ea0fd6cabca7236defdd6026", "expires_in"=>7200}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224f3541594a85000170')}, :u=>{"_id"=>BSON::ObjectId('5bb6224f3541594a85000170'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500016f'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>7, "token"=>"42042b284e909f86700361b59009b7c7a71238f7ea0fd6cabca7236defdd6026", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6224f3541594a85000170')}, {"_id"=>BSON::ObjectId('5bb6224f3541594a85000170'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500016f'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>7, "token"=>"42042b284e909f86700361b59009b7c7a71238f7ea0fd6cabca7236defdd6026", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 8ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6224f3541594a85000170')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokensController#revoke as HTML MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7fd2a1fbd744744c0a128bfb5e72670eb59026b8bf28414e6da82b8cfb1e887d", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000171')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000171'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 133", "uid"=>"7fd2a1fbd744744c0a128bfb5e72670eb59026b8bf28414e6da82b8cfb1e887d", "secret"=>"5fe8047ef5946458e9ece6bf1946a2f95508156828a7bedf65c7c16006bb9d3c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000171'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 133", "uid"=>"7fd2a1fbd744744c0a128bfb5e72670eb59026b8bf28414e6da82b8cfb1e887d", "secret"=>"5fe8047ef5946458e9ece6bf1946a2f95508156828a7bedf65c7c16006bb9d3c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (2.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"5bb6b3569a491fc7749744163fd46a2ea88f63a4ac10f8bbf0da9c909e8e0c7f", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000172')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000172'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000171'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>8, "token"=>"5bb6b3569a491fc7749744163fd46a2ea88f63a4ac10f8bbf0da9c909e8e0c7f", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000172'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000171'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>8, "token"=>"5bb6b3569a491fc7749744163fd46a2ea88f63a4ac10f8bbf0da9c909e8e0c7f", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"096a81229898eb7a3cc8e537bc6f50ab921c84aa4161058249acc700469cdcbc", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000173')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000173'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 134", "uid"=>"096a81229898eb7a3cc8e537bc6f50ab921c84aa4161058249acc700469cdcbc", "secret"=>"7a4c5e2da76d0167fdc314655f32afc425ff5908c23bb453c55ef993614038fc", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000173'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 134", "uid"=>"096a81229898eb7a3cc8e537bc6f50ab921c84aa4161058249acc700469cdcbc", "secret"=>"7a4c5e2da76d0167fdc314655f32afc425ff5908c23bb453c55ef993614038fc", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) Completed 200 OK in 19ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokensController#revoke as HTML MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"78bb075d5c635d828303ce3e2088efce22d6b4ef323115cf06061da23e3d38a3", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000174')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000174'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 135", "uid"=>"78bb075d5c635d828303ce3e2088efce22d6b4ef323115cf06061da23e3d38a3", "secret"=>"987feb4f13697662aa501ec2031c440b47cd70d5598d4c437a33fd0cc60710aa", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000174'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 135", "uid"=>"78bb075d5c635d828303ce3e2088efce22d6b4ef323115cf06061da23e3d38a3", "secret"=>"987feb4f13697662aa501ec2031c440b47cd70d5598d4c437a33fd0cc60710aa", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"3fc6d2972c71de9bf2f8def5f71784ae89215e769e39a667c65cd43be58bf9b0", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000175')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000175'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000174'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>9, "token"=>"3fc6d2972c71de9bf2f8def5f71784ae89215e769e39a667c65cd43be58bf9b0", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000175'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000174'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>9, "token"=>"3fc6d2972c71de9bf2f8def5f71784ae89215e769e39a667c65cd43be58bf9b0", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1bbefb8abb63dcdf03b225dab9cf167fa44b96e4afcab97f907570a6794d6315", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000176')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000176'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 136", "uid"=>"1bbefb8abb63dcdf03b225dab9cf167fa44b96e4afcab97f907570a6794d6315", "secret"=>"d2e742952340bac57adddcc6f894ba6c326b49cf907d04f940ec3b6b96bbc08f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000176'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 136", "uid"=>"1bbefb8abb63dcdf03b225dab9cf167fa44b96e4afcab97f907570a6794d6315", "secret"=>"d2e742952340bac57adddcc6f894ba6c326b49cf907d04f940ec3b6b96bbc08f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) Completed 200 OK in 9ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6224f3541594a85000175')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (4.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (5.1ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokensController#revoke as HTML MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"67a18f85719db9a009c2824686fbd7c42d94bee9c38d273526cfdd98a932675f", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000177')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000177'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 137", "uid"=>"67a18f85719db9a009c2824686fbd7c42d94bee9c38d273526cfdd98a932675f", "secret"=>"a1ddbad7e9e4b61a9e3c73ceaa0a449006d8d7fce8c713d5e2b574e26db7e27e", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000177'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 137", "uid"=>"67a18f85719db9a009c2824686fbd7c42d94bee9c38d273526cfdd98a932675f", "secret"=>"a1ddbad7e9e4b61a9e3c73ceaa0a449006d8d7fce8c713d5e2b574e26db7e27e", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"4b7c66b1f7bcace763066b6241086fff6cfc2154717c4ed98075bcc44e61f8b2", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000178')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000178'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000177'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>10, "token"=>"4b7c66b1f7bcace763066b6241086fff6cfc2154717c4ed98075bcc44e61f8b2", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000178'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000177'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>10, "token"=>"4b7c66b1f7bcace763066b6241086fff6cfc2154717c4ed98075bcc44e61f8b2", "expires_in"=>7200}) MONGODB (11.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224f3541594a85000178')}, :u=>{"_id"=>BSON::ObjectId('5bb6224f3541594a85000178'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000177'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>10, "token"=>"4b7c66b1f7bcace763066b6241086fff6cfc2154717c4ed98075bcc44e61f8b2", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (12.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6224f3541594a85000178')}, {"_id"=>BSON::ObjectId('5bb6224f3541594a85000178'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000177'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>10, "token"=>"4b7c66b1f7bcace763066b6241086fff6cfc2154717c4ed98075bcc44e61f8b2", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 21ms MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokensController#revoke as HTML MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"103fde6238ad61387aa46ca0b702c28f65bfab577d0b92173f9970f8a8bf5577", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a85000179')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a85000179'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 138", "uid"=>"103fde6238ad61387aa46ca0b702c28f65bfab577d0b92173f9970f8a8bf5577", "secret"=>"5d7a43c006116c9e8d0f1cee5e1487e550c3b9e7126c3b839e5697837f4db1b4", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a85000179'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 138", "uid"=>"103fde6238ad61387aa46ca0b702c28f65bfab577d0b92173f9970f8a8bf5577", "secret"=>"5d7a43c006116c9e8d0f1cee5e1487e550c3b9e7126c3b839e5697837f4db1b4", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}) MONGODB (3.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"9914655cc2ed0b8736612cf6be518d7a647bda8b0a2844b88ee6489972d2d59a", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a8500017a')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a8500017a'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000179'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>11, "token"=>"9914655cc2ed0b8736612cf6be518d7a647bda8b0a2844b88ee6489972d2d59a", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a8500017a'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000179'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>11, "token"=>"9914655cc2ed0b8736612cf6be518d7a647bda8b0a2844b88ee6489972d2d59a", "expires_in"=>7200}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6224f3541594a8500017a')}, :u=>{"_id"=>BSON::ObjectId('5bb6224f3541594a8500017a'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000179'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>11, "token"=>"9914655cc2ed0b8736612cf6be518d7a647bda8b0a2844b88ee6489972d2d59a", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6224f3541594a8500017a')}, {"_id"=>BSON::ObjectId('5bb6224f3541594a8500017a'), "application_id"=>BSON::ObjectId('5bb6224f3541594a85000179'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "resource_owner_id"=>11, "token"=>"9914655cc2ed0b8736612cf6be518d7a647bda8b0a2844b88ee6489972d2d59a", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 19ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6224f3541594a8500017a')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"de0ae7f283a6796bea167a73a86cbe8cba21a2eca0cea401182bb8db4a884608", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a8500017b')}}, {:_id=>1}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a8500017b'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 139", "uid"=>"de0ae7f283a6796bea167a73a86cbe8cba21a2eca0cea401182bb8db4a884608", "secret"=>"31bb835255d7c2b79247f058a818edfa3e943c7af3d4808c9f057e83ca14ea19", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a8500017b'), "created_at"=>2018-10-04 14:23:11 UTC, "updated_at"=>2018-10-04 14:23:11 UTC, "name"=>"Application 139", "uid"=>"de0ae7f283a6796bea167a73a86cbe8cba21a2eca0cea401182bb8db4a884608", "secret"=>"31bb835255d7c2b79247f058a818edfa3e943c7af3d4808c9f057e83ca14ea19", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"db59d051e0652da02f0cd08dc9873d3c41bbca262359621277099b976d843a95", :_id=>{:$ne=>BSON::ObjectId('5bb6224f3541594a8500017c')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6224f3541594a8500017c'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500017b'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>12, "token"=>"db59d051e0652da02f0cd08dc9873d3c41bbca262359621277099b976d843a95", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6224f3541594a8500017c'), "application_id"=>BSON::ObjectId('5bb6224f3541594a8500017b'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>12, "token"=>"db59d051e0652da02f0cd08dc9873d3c41bbca262359621277099b976d843a95", "expires_in"=>7200}) Processing by Doorkeeper::TokensController#introspect as HTML Parameters: {"token"=>"db59d051e0652da02f0cd08dc9873d3c41bbca262359621277099b976d843a95"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"db59d051e0652da02f0cd08dc9873d3c41bbca262359621277099b976d843a95"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"de0ae7f283a6796bea167a73a86cbe8cba21a2eca0cea401182bb8db4a884608"}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6224f3541594a8500017b')}).limit(-1) Completed 200 OK in 9ms MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"940b7edae7a4cabd8db6bf9913f0526dcc0f3e22d5e5e60b607ad0097c150dc6", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a8500017d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a8500017d'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 140", "uid"=>"940b7edae7a4cabd8db6bf9913f0526dcc0f3e22d5e5e60b607ad0097c150dc6", "secret"=>"f78bee907a27c5560b571318cfa3100427f633e01653e08ce82f1a7bda7e66c1", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a8500017d'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 140", "uid"=>"940b7edae7a4cabd8db6bf9913f0526dcc0f3e22d5e5e60b607ad0097c150dc6", "secret"=>"f78bee907a27c5560b571318cfa3100427f633e01653e08ce82f1a7bda7e66c1", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e42e02f03bb4ef2008d91148ddccac5a0634ee5c4bfc19b0d7076d0c39186419", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a8500017e')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a8500017e'), "application_id"=>nil, "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>13, "token"=>"e42e02f03bb4ef2008d91148ddccac5a0634ee5c4bfc19b0d7076d0c39186419", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622503541594a8500017e'), "application_id"=>nil, "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>13, "token"=>"e42e02f03bb4ef2008d91148ddccac5a0634ee5c4bfc19b0d7076d0c39186419", "expires_in"=>7200}) Processing by Doorkeeper::TokensController#introspect as HTML Parameters: {"token"=>"e42e02f03bb4ef2008d91148ddccac5a0634ee5c4bfc19b0d7076d0c39186419"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e42e02f03bb4ef2008d91148ddccac5a0634ee5c4bfc19b0d7076d0c39186419"}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"940b7edae7a4cabd8db6bf9913f0526dcc0f3e22d5e5e60b607ad0097c150dc6"}).limit(-1) Completed 200 OK in 3ms MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"aa02302266168e1bec7bce5000aff8be290dde0438ecbfa860f5127e23cb52c4", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a8500017f')}}, {:_id=>1}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a8500017f'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 141", "uid"=>"aa02302266168e1bec7bce5000aff8be290dde0438ecbfa860f5127e23cb52c4", "secret"=>"e245cc8dd6f3398f5f70c67f1bb3caafddb88da747f5997df171e8360a3283b9", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a8500017f'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 141", "uid"=>"aa02302266168e1bec7bce5000aff8be290dde0438ecbfa860f5127e23cb52c4", "secret"=>"e245cc8dd6f3398f5f70c67f1bb3caafddb88da747f5997df171e8360a3283b9", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::TokensController#introspect as HTML Parameters: {"token"=>"4aa5857b8bd6eac628ac416510641261"} MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"4aa5857b8bd6eac628ac416510641261"}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"4aa5857b8bd6eac628ac416510641261"}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"aa02302266168e1bec7bce5000aff8be290dde0438ecbfa860f5127e23cb52c4"}).limit(-1) Completed 200 OK in 7ms MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b9261199c2326d97f8c21604d06eca8d541d56be5584017a585e653df81164f4", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a85000180')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a85000180'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 142", "uid"=>"b9261199c2326d97f8c21604d06eca8d541d56be5584017a585e653df81164f4", "secret"=>"9658ffa83d6a6bcf694494ae51b9ec70d883d4d08e7dedfdb20f5a9d22ac3ce1", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a85000180'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 142", "uid"=>"b9261199c2326d97f8c21604d06eca8d541d56be5584017a585e653df81164f4", "secret"=>"9658ffa83d6a6bcf694494ae51b9ec70d883d4d08e7dedfdb20f5a9d22ac3ce1", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"af258ec40d39b774f5ce253015592067a2c0e1749d07062826bbdc91d1117b7e", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a85000181')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a85000181'), "application_id"=>BSON::ObjectId('5bb622503541594a85000180'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>14, "token"=>"af258ec40d39b774f5ce253015592067a2c0e1749d07062826bbdc91d1117b7e", "expires_in"=>7200, "revoked_at"=>2017-10-04 00:00:00 UTC}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622503541594a85000181'), "application_id"=>BSON::ObjectId('5bb622503541594a85000180'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>14, "token"=>"af258ec40d39b774f5ce253015592067a2c0e1749d07062826bbdc91d1117b7e", "expires_in"=>7200, "revoked_at"=>2017-10-04 00:00:00 UTC}) Processing by Doorkeeper::TokensController#introspect as HTML Parameters: {"token"=>"af258ec40d39b774f5ce253015592067a2c0e1749d07062826bbdc91d1117b7e"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"af258ec40d39b774f5ce253015592067a2c0e1749d07062826bbdc91d1117b7e"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b9261199c2326d97f8c21604d06eca8d541d56be5584017a585e653df81164f4"}).limit(-1) Completed 200 OK in 2ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"fbc6ab8c60c603ce9b022b12dbbd715a9552255486f9df068943433c8a65bd7b", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a85000182')}}, {:_id=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a85000182'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 143", "uid"=>"fbc6ab8c60c603ce9b022b12dbbd715a9552255486f9df068943433c8a65bd7b", "secret"=>"e4c7fa4cb22ff68100ac353abe9f357cff80c4841fd3810265fa9fc06bc5a233", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a85000182'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 143", "uid"=>"fbc6ab8c60c603ce9b022b12dbbd715a9552255486f9df068943433c8a65bd7b", "secret"=>"e4c7fa4cb22ff68100ac353abe9f357cff80c4841fd3810265fa9fc06bc5a233", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"05c960b996a0ebaef0b33eb4e71d3380fc2dcefd0a496c4241152c87ec9107cb", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a85000183')}}, {:_id=>1}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a85000183'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 144", "uid"=>"05c960b996a0ebaef0b33eb4e71d3380fc2dcefd0a496c4241152c87ec9107cb", "secret"=>"1aa05e8c3cfcdb3587066fd061d6300687ac3edfe4ba8710772c151c25be85ac", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a85000183'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 144", "uid"=>"05c960b996a0ebaef0b33eb4e71d3380fc2dcefd0a496c4241152c87ec9107cb", "secret"=>"1aa05e8c3cfcdb3587066fd061d6300687ac3edfe4ba8710772c151c25be85ac", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"8979d43c10a78eef94e6dbb39be58a6265a01a160eb41978dafe6837f008c152", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a85000184')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a85000184'), "application_id"=>BSON::ObjectId('5bb622503541594a85000183'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>15, "token"=>"8979d43c10a78eef94e6dbb39be58a6265a01a160eb41978dafe6837f008c152", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622503541594a85000184'), "application_id"=>BSON::ObjectId('5bb622503541594a85000183'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>15, "token"=>"8979d43c10a78eef94e6dbb39be58a6265a01a160eb41978dafe6837f008c152", "expires_in"=>7200}) Processing by Doorkeeper::TokensController#introspect as HTML Parameters: {"token"=>"8979d43c10a78eef94e6dbb39be58a6265a01a160eb41978dafe6837f008c152"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"8979d43c10a78eef94e6dbb39be58a6265a01a160eb41978dafe6837f008c152"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"fbc6ab8c60c603ce9b022b12dbbd715a9552255486f9df068943433c8a65bd7b"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622503541594a85000183')}).limit(-1) Completed 200 OK in 8ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (2.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b8ba0058aa1c69cdf73f8dc6ee65987a294392081116576e08cab4c0b227e813", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a85000185')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a85000185'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 145", "uid"=>"b8ba0058aa1c69cdf73f8dc6ee65987a294392081116576e08cab4c0b227e813", "secret"=>"3f4c272173a33269090f84c9e264606204cefa9dffde099c81ee43728b2da27b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a85000185'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 145", "uid"=>"b8ba0058aa1c69cdf73f8dc6ee65987a294392081116576e08cab4c0b227e813", "secret"=>"3f4c272173a33269090f84c9e264606204cefa9dffde099c81ee43728b2da27b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (13.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"fa1443826047da49ab64ec1f6d4bc5048680affe8e6d310d4fed126b96e2180c", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a85000186')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a85000186'), "application_id"=>BSON::ObjectId('5bb622503541594a85000185'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>16, "token"=>"fa1443826047da49ab64ec1f6d4bc5048680affe8e6d310d4fed126b96e2180c", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622503541594a85000186'), "application_id"=>BSON::ObjectId('5bb622503541594a85000185'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>16, "token"=>"fa1443826047da49ab64ec1f6d4bc5048680affe8e6d310d4fed126b96e2180c", "expires_in"=>7200}) Processing by Doorkeeper::TokensController#introspect as HTML Parameters: {"token"=>"fa1443826047da49ab64ec1f6d4bc5048680affe8e6d310d4fed126b96e2180c"} MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"fa1443826047da49ab64ec1f6d4bc5048680affe8e6d310d4fed126b96e2180c"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"fa1443826047da49ab64ec1f6d4bc5048680affe8e6d310d4fed126b96e2180c"}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (2.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622503541594a85000186')}, :u=>{"_id"=>BSON::ObjectId('5bb622503541594a85000186'), "application_id"=>BSON::ObjectId('5bb622503541594a85000185'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>16, "token"=>"fa1443826047da49ab64ec1f6d4bc5048680affe8e6d310d4fed126b96e2180c", "previous_refresh_token"=>"", "expires_in"=>7200}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (2.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622503541594a85000186')}, {"_id"=>BSON::ObjectId('5bb622503541594a85000186'), "application_id"=>BSON::ObjectId('5bb622503541594a85000185'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>16, "token"=>"fa1443826047da49ab64ec1f6d4bc5048680affe8e6d310d4fed126b96e2180c", "previous_refresh_token"=>"", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622503541594a85000185')}).limit(-1) Completed 200 OK in 11ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (4.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1e4f98a1167ec7dc509b34aa65bc65ecea738622be27ad703538031810147657", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a85000188')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a85000188'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 146", "uid"=>"1e4f98a1167ec7dc509b34aa65bc65ecea738622be27ad703538031810147657", "secret"=>"643b521b9810d7f6ebc6f604bfb8adbb43ecce4b2a7a312b8d8ed5e37c50811a", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a85000188'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 146", "uid"=>"1e4f98a1167ec7dc509b34aa65bc65ecea738622be27ad703538031810147657", "secret"=>"643b521b9810d7f6ebc6f604bfb8adbb43ecce4b2a7a312b8d8ed5e37c50811a", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d6d41f9e87ddd10c191ed85efacd0ccb1ec5b1420868556dd053eb9fa6e04040", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a85000187')}}, {:_id=>1}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a85000187'), "application_id"=>BSON::ObjectId('5bb622503541594a85000188'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>17, "token"=>"d6d41f9e87ddd10c191ed85efacd0ccb1ec5b1420868556dd053eb9fa6e04040", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622503541594a85000187'), "application_id"=>BSON::ObjectId('5bb622503541594a85000188'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>17, "token"=>"d6d41f9e87ddd10c191ed85efacd0ccb1ec5b1420868556dd053eb9fa6e04040", "expires_in"=>7200}) Processing by Doorkeeper::TokensController#introspect as HTML Parameters: {"token"=>"d6d41f9e87ddd10c191ed85efacd0ccb1ec5b1420868556dd053eb9fa6e04040"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d6d41f9e87ddd10c191ed85efacd0ccb1ec5b1420868556dd053eb9fa6e04040"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"123123"}).limit(-1) Completed 401 Unauthorized in 5ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5feab9710121d3cb7a56893caadb94786db4cbb70dfc6df8413e87968ce87508", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a8500018a')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a8500018a'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 147", "uid"=>"5feab9710121d3cb7a56893caadb94786db4cbb70dfc6df8413e87968ce87508", "secret"=>"c5756ab2bdf505fb6bc1fe43de89f53c110d43eedcae069293e6750ab4abf9bf", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a8500018a'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 147", "uid"=>"5feab9710121d3cb7a56893caadb94786db4cbb70dfc6df8413e87968ce87508", "secret"=>"c5756ab2bdf505fb6bc1fe43de89f53c110d43eedcae069293e6750ab4abf9bf", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"fe4181d59261f7492b188345fa72144d34e0b720f96aff21fcc100ba7c139bb3", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a85000189')}}, {:_id=>1}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a85000189'), "application_id"=>BSON::ObjectId('5bb622503541594a8500018a'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>18, "token"=>"fe4181d59261f7492b188345fa72144d34e0b720f96aff21fcc100ba7c139bb3", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622503541594a85000189'), "application_id"=>BSON::ObjectId('5bb622503541594a8500018a'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>18, "token"=>"fe4181d59261f7492b188345fa72144d34e0b720f96aff21fcc100ba7c139bb3", "expires_in"=>7200}) Processing by Doorkeeper::TokensController#introspect as HTML Parameters: {"token"=>"fe4181d59261f7492b188345fa72144d34e0b720f96aff21fcc100ba7c139bb3"} MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"fe4181d59261f7492b188345fa72144d34e0b720f96aff21fcc100ba7c139bb3"}).limit(-1) Completed 401 Unauthorized in 2ms MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2574f5c32b94c2249b7e5299ed2fa8694718b4cd40b91ed8d02973249c5471f1", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a8500018b')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a8500018b'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 148", "uid"=>"2574f5c32b94c2249b7e5299ed2fa8694718b4cd40b91ed8d02973249c5471f1", "secret"=>"c06623d61867ce43eb8e02052905e1416fb94b43ff4d545d0f11b8656653d4e9", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a8500018b'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 148", "uid"=>"2574f5c32b94c2249b7e5299ed2fa8694718b4cd40b91ed8d02973249c5471f1", "secret"=>"c06623d61867ce43eb8e02052905e1416fb94b43ff4d545d0f11b8656653d4e9", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"716ef7f26455755e8034b03056ae0e589cd0bc46ea6ed4e836eea153f76db81d", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a8500018c')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a8500018c'), "application_id"=>BSON::ObjectId('5bb622503541594a8500018b'), "created_at"=>2017-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>19, "token"=>"716ef7f26455755e8034b03056ae0e589cd0bc46ea6ed4e836eea153f76db81d", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622503541594a8500018c'), "application_id"=>BSON::ObjectId('5bb622503541594a8500018b'), "created_at"=>2017-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>19, "token"=>"716ef7f26455755e8034b03056ae0e589cd0bc46ea6ed4e836eea153f76db81d", "expires_in"=>7200}) Processing by Doorkeeper::TokensController#introspect as HTML Parameters: {"token"=>"716ef7f26455755e8034b03056ae0e589cd0bc46ea6ed4e836eea153f76db81d"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"716ef7f26455755e8034b03056ae0e589cd0bc46ea6ed4e836eea153f76db81d"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2574f5c32b94c2249b7e5299ed2fa8694718b4cd40b91ed8d02973249c5471f1"}).limit(-1) Completed 200 OK in 3ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (4.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (4.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokensController#create as HTML Completed 401 Unauthorized in 0ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokensController#create as HTML Completed 401 Unauthorized in 0ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (2.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (7.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (7.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (4.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (5.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (13.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (13.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (2.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"0e19555fd41b1c03ad1bf261f2bb1b22193d53b9bd155f970961580efc291977", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a8500018d')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a8500018d'), "application_id"=>nil, "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>nil, "token"=>"0e19555fd41b1c03ad1bf261f2bb1b22193d53b9bd155f970961580efc291977", "expires_in"=>100, "scopes"=>"phone"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622503541594a8500018d'), "application_id"=>nil, "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>nil, "token"=>"0e19555fd41b1c03ad1bf261f2bb1b22193d53b9bd155f970961580efc291977", "expires_in"=>100, "scopes"=>"phone"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ce15172f22112f080134d84ed17c87cf8c9d74138f1d6795a017c0aa9553db20", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a8500018f')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a8500018f'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 149", "uid"=>"ce15172f22112f080134d84ed17c87cf8c9d74138f1d6795a017c0aa9553db20", "secret"=>"b2dad6a17777fcae4ebc32b757f93945a7265673a62fcf6d7b4605fe1e7e5bb7", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a8500018f'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 149", "uid"=>"ce15172f22112f080134d84ed17c87cf8c9d74138f1d6795a017c0aa9553db20", "secret"=>"b2dad6a17777fcae4ebc32b757f93945a7265673a62fcf6d7b4605fe1e7e5bb7", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"b10b1fe3c8d16f4ffd9ce2e58f9cfdff49fc7306a4b3cb1ebb78f5a18149bc1e", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a8500018e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a8500018e'), "application_id"=>BSON::ObjectId('5bb622503541594a8500018f'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>4, "token"=>"b10b1fe3c8d16f4ffd9ce2e58f9cfdff49fc7306a4b3cb1ebb78f5a18149bc1e", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622503541594a8500018e'), "application_id"=>BSON::ObjectId('5bb622503541594a8500018f'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>4, "token"=>"b10b1fe3c8d16f4ffd9ce2e58f9cfdff49fc7306a4b3cb1ebb78f5a18149bc1e", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622503541594a8500018f')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{:application_id=>BSON::ObjectId('5bb622503541594a8500018f')}, "fields"=>nil}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb622503541594a8500018e')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622503541594a8500018e')}, :u=>{"_id"=>BSON::ObjectId('5bb622503541594a8500018e'), "application_id"=>BSON::ObjectId('5bb622503541594a8500018f'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>4, "token"=>"b10b1fe3c8d16f4ffd9ce2e58f9cfdff49fc7306a4b3cb1ebb78f5a18149bc1e", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb622503541594a8500018e')}, {"_id"=>BSON::ObjectId('5bb622503541594a8500018e'), "application_id"=>BSON::ObjectId('5bb622503541594a8500018f'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>4, "token"=>"b10b1fe3c8d16f4ffd9ce2e58f9cfdff49fc7306a4b3cb1ebb78f5a18149bc1e", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622503541594a8500018f')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622503541594a8500018f')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"54393a3af4ed4eef8420ca17e64241b98447c7045fd8613ba4def14417b14f7a", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a85000190')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a85000190'), "application_id"=>BSON::ObjectId('5bb622503541594a8500018f'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>4, "token"=>"54393a3af4ed4eef8420ca17e64241b98447c7045fd8613ba4def14417b14f7a", "expires_in"=>172800, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622503541594a85000190'), "application_id"=>BSON::ObjectId('5bb622503541594a8500018f'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>4, "token"=>"54393a3af4ed4eef8420ca17e64241b98447c7045fd8613ba4def14417b14f7a", "expires_in"=>172800, "scopes"=>"public write"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622503541594a8500018f')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{:application_id=>BSON::ObjectId('5bb622503541594a8500018f')}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (4.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (5.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e2b073f84a316fa68f04b82728a4a861d0ec0700a9fa72ec4674a3920ef6070c", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a85000192')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a85000192'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 150", "uid"=>"e2b073f84a316fa68f04b82728a4a861d0ec0700a9fa72ec4674a3920ef6070c", "secret"=>"830657308254b96eff41551a2656a9ae826859854cf10b51ddb0321c0ae04d00", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a85000192'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 150", "uid"=>"e2b073f84a316fa68f04b82728a4a861d0ec0700a9fa72ec4674a3920ef6070c", "secret"=>"830657308254b96eff41551a2656a9ae826859854cf10b51ddb0321c0ae04d00", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"27c1dedb24c810929494492f10e8ec60d5ef2deb18fd70cf7d4bfa0cfec56b92", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a85000191')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a85000191'), "application_id"=>BSON::ObjectId('5bb622503541594a85000192'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>5, "token"=>"27c1dedb24c810929494492f10e8ec60d5ef2deb18fd70cf7d4bfa0cfec56b92", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622503541594a85000191'), "application_id"=>BSON::ObjectId('5bb622503541594a85000192'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>5, "token"=>"27c1dedb24c810929494492f10e8ec60d5ef2deb18fd70cf7d4bfa0cfec56b92", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8063f9bbe0439ab15460502c6b38d565802f73944bb74a7dde3b19962860af15", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a85000194')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a85000194'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 151", "uid"=>"8063f9bbe0439ab15460502c6b38d565802f73944bb74a7dde3b19962860af15", "secret"=>"2fac306e2e7d3ed771fa6efec15ddbce43c1695b4e46efa0aba8c197e7b06984", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a85000194'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 151", "uid"=>"8063f9bbe0439ab15460502c6b38d565802f73944bb74a7dde3b19962860af15", "secret"=>"2fac306e2e7d3ed771fa6efec15ddbce43c1695b4e46efa0aba8c197e7b06984", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"cc0d3b407e9f39541329b54f242c6935622e652fbe98f7d0605de92334306c45", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a85000193')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a85000193'), "application_id"=>BSON::ObjectId('5bb622503541594a85000194'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>6, "token"=>"cc0d3b407e9f39541329b54f242c6935622e652fbe98f7d0605de92334306c45", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622503541594a85000193'), "application_id"=>BSON::ObjectId('5bb622503541594a85000194'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>6, "token"=>"cc0d3b407e9f39541329b54f242c6935622e652fbe98f7d0605de92334306c45", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622503541594a85000193')}, :u=>{"_id"=>BSON::ObjectId('5bb622503541594a85000193'), "application_id"=>BSON::ObjectId('5bb622503541594a85000194'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>6, "token"=>"cc0d3b407e9f39541329b54f242c6935622e652fbe98f7d0605de92334306c45", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb622503541594a85000193')}, {"_id"=>BSON::ObjectId('5bb622503541594a85000193'), "application_id"=>BSON::ObjectId('5bb622503541594a85000194'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>6, "token"=>"cc0d3b407e9f39541329b54f242c6935622e652fbe98f7d0605de92334306c45", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d53015db35e3b0f2eae3ef3b4d12aa4afdf4a85a80b3ed96fae6923ea67927d2", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a85000196')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a85000196'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 152", "uid"=>"d53015db35e3b0f2eae3ef3b4d12aa4afdf4a85a80b3ed96fae6923ea67927d2", "secret"=>"95d1b173fb02bbaaa0b0724eb319979721bce4986f1f3bcfbbe17406e0a8d304", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a85000196'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 152", "uid"=>"d53015db35e3b0f2eae3ef3b4d12aa4afdf4a85a80b3ed96fae6923ea67927d2", "secret"=>"95d1b173fb02bbaaa0b0724eb319979721bce4986f1f3bcfbbe17406e0a8d304", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"7030ec9eec99d6763faf53399e2321b96b7e6b7f7dd54c86209551e013f72b7e", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a85000195')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a85000195'), "application_id"=>BSON::ObjectId('5bb622503541594a85000196'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>7, "token"=>"7030ec9eec99d6763faf53399e2321b96b7e6b7f7dd54c86209551e013f72b7e", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622503541594a85000195'), "application_id"=>BSON::ObjectId('5bb622503541594a85000196'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>7, "token"=>"7030ec9eec99d6763faf53399e2321b96b7e6b7f7dd54c86209551e013f72b7e", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"fb9fafe63d7e352fdaa9d2ed9e0cf782dd06a9ae68b620123c5110f639188dad", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a85000197')}}, {:_id=>1}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a85000197'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 153", "uid"=>"fb9fafe63d7e352fdaa9d2ed9e0cf782dd06a9ae68b620123c5110f639188dad", "secret"=>"600924b8adb1e541fdf46e4c25839003aa7517a5a7b8e52eb3be08eea569548c", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (2.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a85000197'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 153", "uid"=>"fb9fafe63d7e352fdaa9d2ed9e0cf782dd06a9ae68b620123c5110f639188dad", "secret"=>"600924b8adb1e541fdf46e4c25839003aa7517a5a7b8e52eb3be08eea569548c", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f80e2a43c065eda4389790d93bda1b7fcf7a52dbe2b80784ccfc70a947778232", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a85000199')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a85000199'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 154", "uid"=>"f80e2a43c065eda4389790d93bda1b7fcf7a52dbe2b80784ccfc70a947778232", "secret"=>"97789cd362e8febe0222b068d7059415137e6aa6b5ad8ef939bab79c8ba722ba", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a85000199'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 154", "uid"=>"f80e2a43c065eda4389790d93bda1b7fcf7a52dbe2b80784ccfc70a947778232", "secret"=>"97789cd362e8febe0222b068d7059415137e6aa6b5ad8ef939bab79c8ba722ba", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"8de33ca3e52f54ac2f2c78157282e8a702d93d0f6bf46c0a3f9b6385eb1f6da5", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a85000198')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a85000198'), "application_id"=>BSON::ObjectId('5bb622503541594a85000199'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>8, "token"=>"8de33ca3e52f54ac2f2c78157282e8a702d93d0f6bf46c0a3f9b6385eb1f6da5", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622503541594a85000198'), "application_id"=>BSON::ObjectId('5bb622503541594a85000199'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>8, "token"=>"8de33ca3e52f54ac2f2c78157282e8a702d93d0f6bf46c0a3f9b6385eb1f6da5", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb622503541594a85000198')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622503541594a85000199')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb622503541594a85000198')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622503541594a85000198')}, :u=>{"_id"=>BSON::ObjectId('5bb622503541594a85000198'), "application_id"=>BSON::ObjectId('5bb622503541594a85000199'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>8, "token"=>"8de33ca3e52f54ac2f2c78157282e8a702d93d0f6bf46c0a3f9b6385eb1f6da5", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb622503541594a85000198')}, {"_id"=>BSON::ObjectId('5bb622503541594a85000198'), "application_id"=>BSON::ObjectId('5bb622503541594a85000199'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>8, "token"=>"8de33ca3e52f54ac2f2c78157282e8a702d93d0f6bf46c0a3f9b6385eb1f6da5", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622503541594a85000199')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622503541594a85000199')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"eef4bc9ea2139294cfe8201f254c3fdf68284d20407ed7376d2e365f95d151bd", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a8500019a')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a8500019a'), "application_id"=>BSON::ObjectId('5bb622503541594a85000199'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>8, "token"=>"eef4bc9ea2139294cfe8201f254c3fdf68284d20407ed7376d2e365f95d151bd", "expires_in"=>172800, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622503541594a8500019a'), "application_id"=>BSON::ObjectId('5bb622503541594a85000199'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>8, "token"=>"eef4bc9ea2139294cfe8201f254c3fdf68284d20407ed7376d2e365f95d151bd", "expires_in"=>172800, "scopes"=>"public write"}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb622503541594a85000198')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (5.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (5.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"fe361bf199082887ede3e494951c99cc2f6a2bda7957698677385503001711a5", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a8500019c')}}, {:_id=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a8500019c'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 155", "uid"=>"fe361bf199082887ede3e494951c99cc2f6a2bda7957698677385503001711a5", "secret"=>"c11adc954c696e291e5d405bf46a299edad1f3a9bc665d4f97c582dc9678104b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a8500019c'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 155", "uid"=>"fe361bf199082887ede3e494951c99cc2f6a2bda7957698677385503001711a5", "secret"=>"c11adc954c696e291e5d405bf46a299edad1f3a9bc665d4f97c582dc9678104b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"a62fa4e2c085fe48e943a2fe540943b2a8863145fa50e9daf22259e03cd86c52", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a8500019b')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a8500019b'), "application_id"=>BSON::ObjectId('5bb622503541594a8500019c'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>9, "token"=>"a62fa4e2c085fe48e943a2fe540943b2a8863145fa50e9daf22259e03cd86c52", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622503541594a8500019b'), "application_id"=>BSON::ObjectId('5bb622503541594a8500019c'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>9, "token"=>"a62fa4e2c085fe48e943a2fe540943b2a8863145fa50e9daf22259e03cd86c52", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ffd7ca1855fabde30332df96a6c919f0744de8915479f0d6553ee7b605263c95", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a8500019e')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a8500019e'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 156", "uid"=>"ffd7ca1855fabde30332df96a6c919f0744de8915479f0d6553ee7b605263c95", "secret"=>"b32a8805ede6345fc9731876ad72126f4d81303c2e6c759022a8c377ae04b44c", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a8500019e'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 156", "uid"=>"ffd7ca1855fabde30332df96a6c919f0744de8915479f0d6553ee7b605263c95", "secret"=>"b32a8805ede6345fc9731876ad72126f4d81303c2e6c759022a8c377ae04b44c", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"601ea6ef6609d35bd781cb1836e826913ca660d0cb999f9febf4e4e6da171524", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a8500019d')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a8500019d'), "application_id"=>BSON::ObjectId('5bb622503541594a8500019e'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>10, "token"=>"601ea6ef6609d35bd781cb1836e826913ca660d0cb999f9febf4e4e6da171524", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622503541594a8500019d'), "application_id"=>BSON::ObjectId('5bb622503541594a8500019e'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>10, "token"=>"601ea6ef6609d35bd781cb1836e826913ca660d0cb999f9febf4e4e6da171524", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb622503541594a8500019d')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622503541594a8500019d')}, :u=>{"_id"=>BSON::ObjectId('5bb622503541594a8500019d'), "application_id"=>BSON::ObjectId('5bb622503541594a8500019e'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>10, "token"=>"601ea6ef6609d35bd781cb1836e826913ca660d0cb999f9febf4e4e6da171524", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb622503541594a8500019d')}, {"_id"=>BSON::ObjectId('5bb622503541594a8500019d'), "application_id"=>BSON::ObjectId('5bb622503541594a8500019e'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>10, "token"=>"601ea6ef6609d35bd781cb1836e826913ca660d0cb999f9febf4e4e6da171524", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622503541594a8500019e')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622503541594a8500019e')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"98f1a5a978953f42c747fa3d9b33af580b9143fc07ca21b55cf3da7f2c81df78", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a8500019f')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a8500019f'), "application_id"=>BSON::ObjectId('5bb622503541594a8500019e'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>10, "token"=>"98f1a5a978953f42c747fa3d9b33af580b9143fc07ca21b55cf3da7f2c81df78", "expires_in"=>172800, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622503541594a8500019f'), "application_id"=>BSON::ObjectId('5bb622503541594a8500019e'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>10, "token"=>"98f1a5a978953f42c747fa3d9b33af580b9143fc07ca21b55cf3da7f2c81df78", "expires_in"=>172800, "scopes"=>"public write"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5a72994f806a1cfa561860a36adfc343800e55444330a6aa03282f7f5613d4ca", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001a1')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001a1'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 157", "uid"=>"5a72994f806a1cfa561860a36adfc343800e55444330a6aa03282f7f5613d4ca", "secret"=>"0c7c21f4c734f94134d1e35e1ffeb07912ed6fa7bd3d7fc35e9ceb9cddf5d632", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001a1'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 157", "uid"=>"5a72994f806a1cfa561860a36adfc343800e55444330a6aa03282f7f5613d4ca", "secret"=>"0c7c21f4c734f94134d1e35e1ffeb07912ed6fa7bd3d7fc35e9ceb9cddf5d632", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"ee816d6816f32fd4376410e0052464d0c6433ccf6845efa09da6630d582fa1d2", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001a0')}}, {:_id=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001a0'), "application_id"=>BSON::ObjectId('5bb622503541594a850001a1'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>11, "token"=>"ee816d6816f32fd4376410e0052464d0c6433ccf6845efa09da6630d582fa1d2", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001a0'), "application_id"=>BSON::ObjectId('5bb622503541594a850001a1'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>11, "token"=>"ee816d6816f32fd4376410e0052464d0c6433ccf6845efa09da6630d582fa1d2", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb622503541594a850001a0')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622503541594a850001a0')}, :u=>{"_id"=>BSON::ObjectId('5bb622503541594a850001a0'), "application_id"=>BSON::ObjectId('5bb622503541594a850001a1'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>11, "token"=>"ee816d6816f32fd4376410e0052464d0c6433ccf6845efa09da6630d582fa1d2", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb622503541594a850001a0')}, {"_id"=>BSON::ObjectId('5bb622503541594a850001a0'), "application_id"=>BSON::ObjectId('5bb622503541594a850001a1'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>11, "token"=>"ee816d6816f32fd4376410e0052464d0c6433ccf6845efa09da6630d582fa1d2", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622503541594a850001a1')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622503541594a850001a1')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"0495a10806158427b0063b6c59d91407ed73f2b1e38ef7beda37a09140a61a44", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001a2')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001a2'), "application_id"=>BSON::ObjectId('5bb622503541594a850001a1'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>11, "token"=>"0495a10806158427b0063b6c59d91407ed73f2b1e38ef7beda37a09140a61a44", "expires_in"=>172800, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001a2'), "application_id"=>BSON::ObjectId('5bb622503541594a850001a1'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>11, "token"=>"0495a10806158427b0063b6c59d91407ed73f2b1e38ef7beda37a09140a61a44", "expires_in"=>172800, "scopes"=>"public write"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f8c00c0ecc24ef29adadd9ad349f00916e34a952b7513c685ab508b01bd17900", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001a4')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001a4'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 158", "uid"=>"f8c00c0ecc24ef29adadd9ad349f00916e34a952b7513c685ab508b01bd17900", "secret"=>"2c89af62930090dd653735e3727fc217bf86b68aa11af2dd3f8357003eb88c1b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001a4'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 158", "uid"=>"f8c00c0ecc24ef29adadd9ad349f00916e34a952b7513c685ab508b01bd17900", "secret"=>"2c89af62930090dd653735e3727fc217bf86b68aa11af2dd3f8357003eb88c1b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"754be089b6be63317e66acb9e4c9479532bdb12960fd55e8cb4ec52025715ab1", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001a3')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001a3'), "application_id"=>BSON::ObjectId('5bb622503541594a850001a4'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>12, "token"=>"754be089b6be63317e66acb9e4c9479532bdb12960fd55e8cb4ec52025715ab1", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001a3'), "application_id"=>BSON::ObjectId('5bb622503541594a850001a4'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>12, "token"=>"754be089b6be63317e66acb9e4c9479532bdb12960fd55e8cb4ec52025715ab1", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622503541594a850001a4')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d84bb91998b479f4c32858650bd4a0be8517473d27caf8986d5cafde658efa30", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001a5')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001a5'), "application_id"=>BSON::ObjectId('5bb622503541594a850001a4'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>12, "token"=>"d84bb91998b479f4c32858650bd4a0be8517473d27caf8986d5cafde658efa30", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001a5'), "application_id"=>BSON::ObjectId('5bb622503541594a850001a4'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>12, "token"=>"d84bb91998b479f4c32858650bd4a0be8517473d27caf8986d5cafde658efa30", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb622503541594a850001a3')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622503541594a850001a3')}, :u=>{"_id"=>BSON::ObjectId('5bb622503541594a850001a3'), "application_id"=>BSON::ObjectId('5bb622503541594a850001a4'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>12, "token"=>"754be089b6be63317e66acb9e4c9479532bdb12960fd55e8cb4ec52025715ab1", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb622503541594a850001a3')}, {"_id"=>BSON::ObjectId('5bb622503541594a850001a3'), "application_id"=>BSON::ObjectId('5bb622503541594a850001a4'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>12, "token"=>"754be089b6be63317e66acb9e4c9479532bdb12960fd55e8cb4ec52025715ab1", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622503541594a850001a4')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622503541594a850001a4'), :resource_owner_id=>12, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"bfd4b351bbab7cc30779576fd3064f6899f61e134ab504ce5451c186a662afe8", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001a7')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001a7'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 159", "uid"=>"bfd4b351bbab7cc30779576fd3064f6899f61e134ab504ce5451c186a662afe8", "secret"=>"bb389574fef13e443184cdf5512b944683ae8e9db7c8f33aa62b4fc15d505f2a", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001a7'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 159", "uid"=>"bfd4b351bbab7cc30779576fd3064f6899f61e134ab504ce5451c186a662afe8", "secret"=>"bb389574fef13e443184cdf5512b944683ae8e9db7c8f33aa62b4fc15d505f2a", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"a005b22794baa34a57e48dad21c452485cfd5a3f6500d2edbaff1c7593b22985", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001a6')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001a6'), "application_id"=>BSON::ObjectId('5bb622503541594a850001a7'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>13, "token"=>"a005b22794baa34a57e48dad21c452485cfd5a3f6500d2edbaff1c7593b22985", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001a6'), "application_id"=>BSON::ObjectId('5bb622503541594a850001a7'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>13, "token"=>"a005b22794baa34a57e48dad21c452485cfd5a3f6500d2edbaff1c7593b22985", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8e1801368c00552f8f58d49765134ad5f1ae43735c78941efaf84174a2ddb9e4", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001a9')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001a9'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 160", "uid"=>"8e1801368c00552f8f58d49765134ad5f1ae43735c78941efaf84174a2ddb9e4", "secret"=>"2f9453ccc17a72a57c5dea97d38f7d9af8a8dc4e99bd024704149c898b4a59f0", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001a9'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 160", "uid"=>"8e1801368c00552f8f58d49765134ad5f1ae43735c78941efaf84174a2ddb9e4", "secret"=>"2f9453ccc17a72a57c5dea97d38f7d9af8a8dc4e99bd024704149c898b4a59f0", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"756dd07ffcdfccab304ad2da2ac31195765bedfa2cb4e26c31ce8f91c7cdee96", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001a8')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001a8'), "application_id"=>BSON::ObjectId('5bb622503541594a850001a9'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>14, "token"=>"756dd07ffcdfccab304ad2da2ac31195765bedfa2cb4e26c31ce8f91c7cdee96", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001a8'), "application_id"=>BSON::ObjectId('5bb622503541594a850001a9'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>14, "token"=>"756dd07ffcdfccab304ad2da2ac31195765bedfa2cb4e26c31ce8f91c7cdee96", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (3.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (3.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (4.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b853aecc1871afba1925826aceb60a73fe6ada658120ee27d0c83f97bdc6334c", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001ab')}}, {:_id=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001ab'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 161", "uid"=>"b853aecc1871afba1925826aceb60a73fe6ada658120ee27d0c83f97bdc6334c", "secret"=>"2cdd1b54157052422fb269d8b95e8d809180bffc801192a04b3f56fabf19d6f6", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001ab'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 161", "uid"=>"b853aecc1871afba1925826aceb60a73fe6ada658120ee27d0c83f97bdc6334c", "secret"=>"2cdd1b54157052422fb269d8b95e8d809180bffc801192a04b3f56fabf19d6f6", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"5c2072f5a051e8ebf16681842290acfc31c91d3c279ff15ce9ae706aa2e0e77c", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001aa')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001aa'), "application_id"=>BSON::ObjectId('5bb622503541594a850001ab'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>15, "token"=>"5c2072f5a051e8ebf16681842290acfc31c91d3c279ff15ce9ae706aa2e0e77c", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001aa'), "application_id"=>BSON::ObjectId('5bb622503541594a850001ab'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>15, "token"=>"5c2072f5a051e8ebf16681842290acfc31c91d3c279ff15ce9ae706aa2e0e77c", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"21d7d34abe89111a86470d8da08be07f14f8d2e615648dc509c2e369ff8a049c", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001ad')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001ad'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 162", "uid"=>"21d7d34abe89111a86470d8da08be07f14f8d2e615648dc509c2e369ff8a049c", "secret"=>"08c073cfc8714078b2b7179d5e1d1546aabcf21c7150fda346635e1ac9426663", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001ad'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 162", "uid"=>"21d7d34abe89111a86470d8da08be07f14f8d2e615648dc509c2e369ff8a049c", "secret"=>"08c073cfc8714078b2b7179d5e1d1546aabcf21c7150fda346635e1ac9426663", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"dde2a66962e350f632714c344e860229911cc16b628cd9bb98431de3e9f12ec1", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001ac')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001ac'), "application_id"=>BSON::ObjectId('5bb622503541594a850001ad'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>16, "token"=>"dde2a66962e350f632714c344e860229911cc16b628cd9bb98431de3e9f12ec1", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001ac'), "application_id"=>BSON::ObjectId('5bb622503541594a850001ad'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>16, "token"=>"dde2a66962e350f632714c344e860229911cc16b628cd9bb98431de3e9f12ec1", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (12.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"80fb549c741087bf14fd62409f7a11d1f3ae72623d542b0ca2cd354e60ea112d", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001af')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001af'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 163", "uid"=>"80fb549c741087bf14fd62409f7a11d1f3ae72623d542b0ca2cd354e60ea112d", "secret"=>"cece07f52272d2fa4c41aab2657de161bdf49352a5b232b09296054489b569ca", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001af'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 163", "uid"=>"80fb549c741087bf14fd62409f7a11d1f3ae72623d542b0ca2cd354e60ea112d", "secret"=>"cece07f52272d2fa4c41aab2657de161bdf49352a5b232b09296054489b569ca", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"3b6fb67cbb6f3f741a98c60706db0989e6012e88c02cba7ec2c91f176bea5afa", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001ae')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001ae'), "application_id"=>BSON::ObjectId('5bb622503541594a850001af'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>17, "token"=>"3b6fb67cbb6f3f741a98c60706db0989e6012e88c02cba7ec2c91f176bea5afa", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001ae'), "application_id"=>BSON::ObjectId('5bb622503541594a850001af'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>17, "token"=>"3b6fb67cbb6f3f741a98c60706db0989e6012e88c02cba7ec2c91f176bea5afa", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (2.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"42340d2e073c1a3165a22452a6b09f757295fb4c87477ce4177ff7a1b6d42c13", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001b1')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001b1'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 164", "uid"=>"42340d2e073c1a3165a22452a6b09f757295fb4c87477ce4177ff7a1b6d42c13", "secret"=>"8e89f43be132f2582e0c742f89917601eb6d5ee3d1311fa61aecb906eee22dbe", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001b1'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 164", "uid"=>"42340d2e073c1a3165a22452a6b09f757295fb4c87477ce4177ff7a1b6d42c13", "secret"=>"8e89f43be132f2582e0c742f89917601eb6d5ee3d1311fa61aecb906eee22dbe", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"abc3eb0a6113530f5e3c6b829b7e04098faad56167084aba89d0130f798dcaaf", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001b0')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001b0'), "application_id"=>BSON::ObjectId('5bb622503541594a850001b1'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>18, "token"=>"abc3eb0a6113530f5e3c6b829b7e04098faad56167084aba89d0130f798dcaaf", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001b0'), "application_id"=>BSON::ObjectId('5bb622503541594a850001b1'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>18, "token"=>"abc3eb0a6113530f5e3c6b829b7e04098faad56167084aba89d0130f798dcaaf", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a71d8395672477685d0ae8ab25e8463552e0398ce0ec2b6dfcc9338a2a3fb4fe", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001b3')}}, {:_id=>1}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001b3'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 165", "uid"=>"a71d8395672477685d0ae8ab25e8463552e0398ce0ec2b6dfcc9338a2a3fb4fe", "secret"=>"8b1d88e497d51c8d84fbec8f9d23454b6d96f11dae6c8443fd6dd0ebc08f6d41", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (2.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001b3'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 165", "uid"=>"a71d8395672477685d0ae8ab25e8463552e0398ce0ec2b6dfcc9338a2a3fb4fe", "secret"=>"8b1d88e497d51c8d84fbec8f9d23454b6d96f11dae6c8443fd6dd0ebc08f6d41", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"bdd090d9d6d214b709ef323c9ecb90a411974406ddd597d9d4e008fcb286932e", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001b2')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"3c97ae6fbf67f1851fb488a5c36ec84120c1c3e626b7bf1e0b81d84d9ba2f943", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001b2')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001b2'), "application_id"=>BSON::ObjectId('5bb622503541594a850001b3'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>20, "token"=>"bdd090d9d6d214b709ef323c9ecb90a411974406ddd597d9d4e008fcb286932e", "refresh_token"=>"3c97ae6fbf67f1851fb488a5c36ec84120c1c3e626b7bf1e0b81d84d9ba2f943", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001b2'), "application_id"=>BSON::ObjectId('5bb622503541594a850001b3'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>20, "token"=>"bdd090d9d6d214b709ef323c9ecb90a411974406ddd597d9d4e008fcb286932e", "refresh_token"=>"3c97ae6fbf67f1851fb488a5c36ec84120c1c3e626b7bf1e0b81d84d9ba2f943", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"bdd090d9d6d214b709ef323c9ecb90a411974406ddd597d9d4e008fcb286932e", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001b2')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"3c97ae6fbf67f1851fb488a5c36ec84120c1c3e626b7bf1e0b81d84d9ba2f943", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001b2')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622503541594a850001b2')}, :u=>{"_id"=>BSON::ObjectId('5bb622503541594a850001b2'), "application_id"=>BSON::ObjectId('5bb622503541594a850001b3'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>20, "token"=>"bdd090d9d6d214b709ef323c9ecb90a411974406ddd597d9d4e008fcb286932e", "refresh_token"=>"3c97ae6fbf67f1851fb488a5c36ec84120c1c3e626b7bf1e0b81d84d9ba2f943", "expires_in"=>-1}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622503541594a850001b2')}, {"_id"=>BSON::ObjectId('5bb622503541594a850001b2'), "application_id"=>BSON::ObjectId('5bb622503541594a850001b3'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>20, "token"=>"bdd090d9d6d214b709ef323c9ecb90a411974406ddd597d9d4e008fcb286932e", "refresh_token"=>"3c97ae6fbf67f1851fb488a5c36ec84120c1c3e626b7bf1e0b81d84d9ba2f943", "expires_in"=>-1}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a71d8395672477685d0ae8ab25e8463552e0398ce0ec2b6dfcc9338a2a3fb4fe"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1455c865cd2f67cd1b8e04088e4cc8fd2c55e27b4e1ed541c541ade0335a1eb4", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001b5')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001b5'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 166", "uid"=>"1455c865cd2f67cd1b8e04088e4cc8fd2c55e27b4e1ed541c541ade0335a1eb4", "secret"=>"b8ee13ee3e5db522e54bb5f54c5dfee925ee63d5a6f484aaef6da1f1f508990b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001b5'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 166", "uid"=>"1455c865cd2f67cd1b8e04088e4cc8fd2c55e27b4e1ed541c541ade0335a1eb4", "secret"=>"b8ee13ee3e5db522e54bb5f54c5dfee925ee63d5a6f484aaef6da1f1f508990b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (5.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"ddb19be3314e2e1a72e58d8137578329ce9eff8124f621fd462fa30dbc20afd7", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001b4')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"d5edd633a7e38effca081d5e9d93a198dc9624292c54eb0803d803b5ef20b281", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001b4')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001b4'), "application_id"=>BSON::ObjectId('5bb622503541594a850001b5'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>21, "token"=>"ddb19be3314e2e1a72e58d8137578329ce9eff8124f621fd462fa30dbc20afd7", "refresh_token"=>"d5edd633a7e38effca081d5e9d93a198dc9624292c54eb0803d803b5ef20b281", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001b4'), "application_id"=>BSON::ObjectId('5bb622503541594a850001b5'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>21, "token"=>"ddb19be3314e2e1a72e58d8137578329ce9eff8124f621fd462fa30dbc20afd7", "refresh_token"=>"d5edd633a7e38effca081d5e9d93a198dc9624292c54eb0803d803b5ef20b281", "expires_in"=>7200}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1455c865cd2f67cd1b8e04088e4cc8fd2c55e27b4e1ed541c541ade0335a1eb4"}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4f8342990879b89e1ff9effba5e843319070fb587ba200755345f7c6f9b61297", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001b7')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001b7'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 167", "uid"=>"4f8342990879b89e1ff9effba5e843319070fb587ba200755345f7c6f9b61297", "secret"=>"a5ade35a60c8818c203f21c87fd6b8a407efb00551d5204a464c9716e6f5d9a0", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001b7'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 167", "uid"=>"4f8342990879b89e1ff9effba5e843319070fb587ba200755345f7c6f9b61297", "secret"=>"a5ade35a60c8818c203f21c87fd6b8a407efb00551d5204a464c9716e6f5d9a0", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"2eccf2a76ed89acbdfe1b9432c8dd49c58cad2d69fe8a34cd366ab653dca5a14", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001b6')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"40cb19830f0fe0524660085ca581232491669aa2c7d8262fa9d0a9340e87cd16", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001b6')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001b6'), "application_id"=>BSON::ObjectId('5bb622503541594a850001b7'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>22, "token"=>"2eccf2a76ed89acbdfe1b9432c8dd49c58cad2d69fe8a34cd366ab653dca5a14", "refresh_token"=>"40cb19830f0fe0524660085ca581232491669aa2c7d8262fa9d0a9340e87cd16", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001b6'), "application_id"=>BSON::ObjectId('5bb622503541594a850001b7'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>22, "token"=>"2eccf2a76ed89acbdfe1b9432c8dd49c58cad2d69fe8a34cd366ab653dca5a14", "refresh_token"=>"40cb19830f0fe0524660085ca581232491669aa2c7d8262fa9d0a9340e87cd16", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622503541594a850001b6')}, :u=>{"_id"=>BSON::ObjectId('5bb622503541594a850001b6'), "application_id"=>BSON::ObjectId('5bb622503541594a850001b7'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>22, "token"=>"2eccf2a76ed89acbdfe1b9432c8dd49c58cad2d69fe8a34cd366ab653dca5a14", "refresh_token"=>"40cb19830f0fe0524660085ca581232491669aa2c7d8262fa9d0a9340e87cd16", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622503541594a850001b6')}, {"_id"=>BSON::ObjectId('5bb622503541594a850001b6'), "application_id"=>BSON::ObjectId('5bb622503541594a850001b7'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>22, "token"=>"2eccf2a76ed89acbdfe1b9432c8dd49c58cad2d69fe8a34cd366ab653dca5a14", "refresh_token"=>"40cb19830f0fe0524660085ca581232491669aa2c7d8262fa9d0a9340e87cd16", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4f8342990879b89e1ff9effba5e843319070fb587ba200755345f7c6f9b61297"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6ea88f8d19bb93a45a5bef807543a80ff64e92d3d3940270f7dcbd780b4bd7fd", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001b9')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001b9'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 168", "uid"=>"6ea88f8d19bb93a45a5bef807543a80ff64e92d3d3940270f7dcbd780b4bd7fd", "secret"=>"e4c77ec31f1a052c9a89e7685189b42f1533ea5a452e1ecfb9fe8c4e1f03d17c", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001b9'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 168", "uid"=>"6ea88f8d19bb93a45a5bef807543a80ff64e92d3d3940270f7dcbd780b4bd7fd", "secret"=>"e4c77ec31f1a052c9a89e7685189b42f1533ea5a452e1ecfb9fe8c4e1f03d17c", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"2b270902f7bfe1dbab51f8c9a3c7143dcb078c3d5834aa8436bdb5a35a49e7cc", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001b8')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"cd859e84cc78433db4e8ba9730a727939780457a448e546175d62d723eda97ff", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001b8')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001b8'), "application_id"=>BSON::ObjectId('5bb622503541594a850001b9'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>23, "token"=>"2b270902f7bfe1dbab51f8c9a3c7143dcb078c3d5834aa8436bdb5a35a49e7cc", "refresh_token"=>"cd859e84cc78433db4e8ba9730a727939780457a448e546175d62d723eda97ff", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001b8'), "application_id"=>BSON::ObjectId('5bb622503541594a850001b9'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>23, "token"=>"2b270902f7bfe1dbab51f8c9a3c7143dcb078c3d5834aa8436bdb5a35a49e7cc", "refresh_token"=>"cd859e84cc78433db4e8ba9730a727939780457a448e546175d62d723eda97ff", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622503541594a850001b9')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{:application_id=>BSON::ObjectId('5bb622503541594a850001b9')}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6ea88f8d19bb93a45a5bef807543a80ff64e92d3d3940270f7dcbd780b4bd7fd"}).limit(-1) MONGODB (3.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622503541594a850001b8')}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622503541594a850001b8')}, :u=>{"_id"=>BSON::ObjectId('5bb622503541594a850001b8'), "application_id"=>BSON::ObjectId('5bb622503541594a850001b9'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>23, "token"=>"2b270902f7bfe1dbab51f8c9a3c7143dcb078c3d5834aa8436bdb5a35a49e7cc", "refresh_token"=>"cd859e84cc78433db4e8ba9730a727939780457a448e546175d62d723eda97ff", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622503541594a850001b8')}, {"_id"=>BSON::ObjectId('5bb622503541594a850001b8'), "application_id"=>BSON::ObjectId('5bb622503541594a850001b9'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>23, "token"=>"2b270902f7bfe1dbab51f8c9a3c7143dcb078c3d5834aa8436bdb5a35a49e7cc", "refresh_token"=>"cd859e84cc78433db4e8ba9730a727939780457a448e546175d62d723eda97ff", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622503541594a850001b9')}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"09b134b140bad0750020d87bf8ecd78eb8f7387f957d7a63e512c9bcb1abfcb7", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001ba')}}, {:_id=>1}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"1506fc68b50d640ad1726634d955ac5f7a474a94e4ac939828bd69a7722fb142", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001ba')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001ba'), "application_id"=>BSON::ObjectId('5bb622503541594a850001b9'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>23, "token"=>"09b134b140bad0750020d87bf8ecd78eb8f7387f957d7a63e512c9bcb1abfcb7", "refresh_token"=>"1506fc68b50d640ad1726634d955ac5f7a474a94e4ac939828bd69a7722fb142", "expires_in"=>120, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001ba'), "application_id"=>BSON::ObjectId('5bb622503541594a850001b9'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>23, "token"=>"09b134b140bad0750020d87bf8ecd78eb8f7387f957d7a63e512c9bcb1abfcb7", "refresh_token"=>"1506fc68b50d640ad1726634d955ac5f7a474a94e4ac939828bd69a7722fb142", "expires_in"=>120, "scopes"=>""}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622503541594a850001b9')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{:application_id=>BSON::ObjectId('5bb622503541594a850001b9')}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622503541594a850001b9')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622503541594a850001b9')}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"fbb2203e0d5f6334aa085d690e7624b38b5dc5f644cf97b246fb99b3985586ec", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001bc')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001bc'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 169", "uid"=>"fbb2203e0d5f6334aa085d690e7624b38b5dc5f644cf97b246fb99b3985586ec", "secret"=>"95f16bf34f2e30f928a968b99efa371e82cb25d1b19f51828598178332c163f9", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001bc'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 169", "uid"=>"fbb2203e0d5f6334aa085d690e7624b38b5dc5f644cf97b246fb99b3985586ec", "secret"=>"95f16bf34f2e30f928a968b99efa371e82cb25d1b19f51828598178332c163f9", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e962c2449ed99a4a14f6b6e6af7a870c8a1554827f82fad18fa64947ab715a06", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001bb')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"008bf4708091c8b3c7b041106f4b4b64ddbf32331170ec746c8b3acbaf92b00a", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001bb')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001bb'), "application_id"=>BSON::ObjectId('5bb622503541594a850001bc'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>24, "token"=>"e962c2449ed99a4a14f6b6e6af7a870c8a1554827f82fad18fa64947ab715a06", "refresh_token"=>"008bf4708091c8b3c7b041106f4b4b64ddbf32331170ec746c8b3acbaf92b00a", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001bb'), "application_id"=>BSON::ObjectId('5bb622503541594a850001bc'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>24, "token"=>"e962c2449ed99a4a14f6b6e6af7a870c8a1554827f82fad18fa64947ab715a06", "refresh_token"=>"008bf4708091c8b3c7b041106f4b4b64ddbf32331170ec746c8b3acbaf92b00a", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"fbb2203e0d5f6334aa085d690e7624b38b5dc5f644cf97b246fb99b3985586ec"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622503541594a850001bb')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622503541594a850001bb')}, :u=>{"_id"=>BSON::ObjectId('5bb622503541594a850001bb'), "application_id"=>BSON::ObjectId('5bb622503541594a850001bc'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>24, "token"=>"e962c2449ed99a4a14f6b6e6af7a870c8a1554827f82fad18fa64947ab715a06", "refresh_token"=>"008bf4708091c8b3c7b041106f4b4b64ddbf32331170ec746c8b3acbaf92b00a", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622503541594a850001bb')}, {"_id"=>BSON::ObjectId('5bb622503541594a850001bb'), "application_id"=>BSON::ObjectId('5bb622503541594a850001bc'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>24, "token"=>"e962c2449ed99a4a14f6b6e6af7a870c8a1554827f82fad18fa64947ab715a06", "refresh_token"=>"008bf4708091c8b3c7b041106f4b4b64ddbf32331170ec746c8b3acbaf92b00a", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622503541594a850001bc')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e351276a578a675545455900322dd8ea272ec018c84be3fc88c402d09882e2d2", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001bd')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"91094e6f8a47fbb755fbdda8371209d7dde84887ce1be9186fc984b17419fba3", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001bd')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001bd'), "application_id"=>BSON::ObjectId('5bb622503541594a850001bc'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>24, "token"=>"e351276a578a675545455900322dd8ea272ec018c84be3fc88c402d09882e2d2", "refresh_token"=>"91094e6f8a47fbb755fbdda8371209d7dde84887ce1be9186fc984b17419fba3", "expires_in"=>120, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001bd'), "application_id"=>BSON::ObjectId('5bb622503541594a850001bc'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>24, "token"=>"e351276a578a675545455900322dd8ea272ec018c84be3fc88c402d09882e2d2", "refresh_token"=>"91094e6f8a47fbb755fbdda8371209d7dde84887ce1be9186fc984b17419fba3", "expires_in"=>120, "scopes"=>""}) MONGODB (4.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a2df9fb46bf0b835292c3354576e825c1603b0a375444f7aa5de563b5bcab798", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001bf')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001bf'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 170", "uid"=>"a2df9fb46bf0b835292c3354576e825c1603b0a375444f7aa5de563b5bcab798", "secret"=>"bb87614650a17d2ff3ebd76e13e6144b4d65dee5448b125343c62b750456dfd2", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001bf'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 170", "uid"=>"a2df9fb46bf0b835292c3354576e825c1603b0a375444f7aa5de563b5bcab798", "secret"=>"bb87614650a17d2ff3ebd76e13e6144b4d65dee5448b125343c62b750456dfd2", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"43cdb7f4580b412ce63568b9303aa68ddc74f3acdd299f7f7d9c48d407aed60a", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001be')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"1a940c4f519f04fa8271d0659f0802ded075754e329fd5a13a4cbe16a254d7c3", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001be')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001be'), "application_id"=>BSON::ObjectId('5bb622503541594a850001bf'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>25, "token"=>"43cdb7f4580b412ce63568b9303aa68ddc74f3acdd299f7f7d9c48d407aed60a", "refresh_token"=>"1a940c4f519f04fa8271d0659f0802ded075754e329fd5a13a4cbe16a254d7c3", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001be'), "application_id"=>BSON::ObjectId('5bb622503541594a850001bf'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>25, "token"=>"43cdb7f4580b412ce63568b9303aa68ddc74f3acdd299f7f7d9c48d407aed60a", "refresh_token"=>"1a940c4f519f04fa8271d0659f0802ded075754e329fd5a13a4cbe16a254d7c3", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a2df9fb46bf0b835292c3354576e825c1603b0a375444f7aa5de563b5bcab798"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b4e307d1827cb1f5818a6085098ee502ab20034d86de64343578ed83b9e2c585", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001c1')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001c1'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 171", "uid"=>"b4e307d1827cb1f5818a6085098ee502ab20034d86de64343578ed83b9e2c585", "secret"=>"2cedf30698692e20e4d360ae2edb35081f5a4a51f9092392d416e658f324eff1", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001c1'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 171", "uid"=>"b4e307d1827cb1f5818a6085098ee502ab20034d86de64343578ed83b9e2c585", "secret"=>"2cedf30698692e20e4d360ae2edb35081f5a4a51f9092392d416e658f324eff1", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"8830a36e0044426619d47210d6215231d85fe93e572c8eab220de2d7dcbc032b", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001c0')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"f216af74fc36d3848be518acac2d79909fca7a138f6b06512e8b78c3dda6c3d1", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001c0')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001c0'), "application_id"=>BSON::ObjectId('5bb622503541594a850001c1'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>26, "token"=>"8830a36e0044426619d47210d6215231d85fe93e572c8eab220de2d7dcbc032b", "refresh_token"=>"f216af74fc36d3848be518acac2d79909fca7a138f6b06512e8b78c3dda6c3d1", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001c0'), "application_id"=>BSON::ObjectId('5bb622503541594a850001c1'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>26, "token"=>"8830a36e0044426619d47210d6215231d85fe93e572c8eab220de2d7dcbc032b", "refresh_token"=>"f216af74fc36d3848be518acac2d79909fca7a138f6b06512e8b78c3dda6c3d1", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b4e307d1827cb1f5818a6085098ee502ab20034d86de64343578ed83b9e2c585"}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622503541594a850001c0')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622503541594a850001c0')}, :u=>{"_id"=>BSON::ObjectId('5bb622503541594a850001c0'), "application_id"=>BSON::ObjectId('5bb622503541594a850001c1'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>26, "token"=>"8830a36e0044426619d47210d6215231d85fe93e572c8eab220de2d7dcbc032b", "refresh_token"=>"f216af74fc36d3848be518acac2d79909fca7a138f6b06512e8b78c3dda6c3d1", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622503541594a850001c0')}, {"_id"=>BSON::ObjectId('5bb622503541594a850001c0'), "application_id"=>BSON::ObjectId('5bb622503541594a850001c1'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>26, "token"=>"8830a36e0044426619d47210d6215231d85fe93e572c8eab220de2d7dcbc032b", "refresh_token"=>"f216af74fc36d3848be518acac2d79909fca7a138f6b06512e8b78c3dda6c3d1", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622503541594a850001c1')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"123d18a218ec3b3dd9e3fc78a152739180da18fc7eb588dbfa9568c16c03ac11", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001c2')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"aa22bf91e4a4618ad7f098b3a5d984e1df0b0c01e646ca6bcac0ddce9b15b332", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001c2')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001c2'), "application_id"=>BSON::ObjectId('5bb622503541594a850001c1'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>26, "token"=>"123d18a218ec3b3dd9e3fc78a152739180da18fc7eb588dbfa9568c16c03ac11", "refresh_token"=>"aa22bf91e4a4618ad7f098b3a5d984e1df0b0c01e646ca6bcac0ddce9b15b332", "expires_in"=>1234, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001c2'), "application_id"=>BSON::ObjectId('5bb622503541594a850001c1'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>26, "token"=>"123d18a218ec3b3dd9e3fc78a152739180da18fc7eb588dbfa9568c16c03ac11", "refresh_token"=>"aa22bf91e4a4618ad7f098b3a5d984e1df0b0c01e646ca6bcac0ddce9b15b332", "expires_in"=>1234, "scopes"=>""}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622503541594a850001c1')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622503541594a850001c1')}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"725fc1878f1a49ef05931bc6bfa65c45e5e07a15d630b02482aaa22da877a9ca", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001c4')}}, {:_id=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001c4'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 172", "uid"=>"725fc1878f1a49ef05931bc6bfa65c45e5e07a15d630b02482aaa22da877a9ca", "secret"=>"e8a23de57c9a648867fe9ebc7b8d296a7dfc88c8b5c2fa4af2448f20536db5d8", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001c4'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 172", "uid"=>"725fc1878f1a49ef05931bc6bfa65c45e5e07a15d630b02482aaa22da877a9ca", "secret"=>"e8a23de57c9a648867fe9ebc7b8d296a7dfc88c8b5c2fa4af2448f20536db5d8", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"869d2ff995e8576a3c1f31a142648e2ea105da12a0fde6da913d90061790e51e", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001c3')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"c34c2b515f2ac91074785ec3384a0ffb9718d25783d9faef7cfb80c44d2783e7", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001c3')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001c3'), "application_id"=>BSON::ObjectId('5bb622503541594a850001c4'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>27, "token"=>"869d2ff995e8576a3c1f31a142648e2ea105da12a0fde6da913d90061790e51e", "refresh_token"=>"c34c2b515f2ac91074785ec3384a0ffb9718d25783d9faef7cfb80c44d2783e7", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001c3'), "application_id"=>BSON::ObjectId('5bb622503541594a850001c4'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>27, "token"=>"869d2ff995e8576a3c1f31a142648e2ea105da12a0fde6da913d90061790e51e", "refresh_token"=>"c34c2b515f2ac91074785ec3384a0ffb9718d25783d9faef7cfb80c44d2783e7", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"725fc1878f1a49ef05931bc6bfa65c45e5e07a15d630b02482aaa22da877a9ca"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622503541594a850001c3')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622503541594a850001c3')}, :u=>{"_id"=>BSON::ObjectId('5bb622503541594a850001c3'), "application_id"=>BSON::ObjectId('5bb622503541594a850001c4'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>27, "token"=>"869d2ff995e8576a3c1f31a142648e2ea105da12a0fde6da913d90061790e51e", "refresh_token"=>"c34c2b515f2ac91074785ec3384a0ffb9718d25783d9faef7cfb80c44d2783e7", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622503541594a850001c3')}, {"_id"=>BSON::ObjectId('5bb622503541594a850001c3'), "application_id"=>BSON::ObjectId('5bb622503541594a850001c4'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>27, "token"=>"869d2ff995e8576a3c1f31a142648e2ea105da12a0fde6da913d90061790e51e", "refresh_token"=>"c34c2b515f2ac91074785ec3384a0ffb9718d25783d9faef7cfb80c44d2783e7", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622503541594a850001c4')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d4fe627022a478e5ae500f78ddae2a69750de7cfc45c449efb468c8e38e93e71", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001c5')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"b41fecf4d55b4b645f9f8445b29641afdaf8f90cc855e6a50265056e4a249b8a", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001c5')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001c5'), "application_id"=>BSON::ObjectId('5bb622503541594a850001c4'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>27, "token"=>"d4fe627022a478e5ae500f78ddae2a69750de7cfc45c449efb468c8e38e93e71", "refresh_token"=>"b41fecf4d55b4b645f9f8445b29641afdaf8f90cc855e6a50265056e4a249b8a", "expires_in"=>120, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001c5'), "application_id"=>BSON::ObjectId('5bb622503541594a850001c4'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>27, "token"=>"d4fe627022a478e5ae500f78ddae2a69750de7cfc45c449efb468c8e38e93e71", "refresh_token"=>"b41fecf4d55b4b645f9f8445b29641afdaf8f90cc855e6a50265056e4a249b8a", "expires_in"=>120, "scopes"=>""}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1de0cb6602cc1bcc412c3ef14d8198dedcae23ac89330c846caf02e6ff34eefa", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001c7')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001c7'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 173", "uid"=>"1de0cb6602cc1bcc412c3ef14d8198dedcae23ac89330c846caf02e6ff34eefa", "secret"=>"c13dfd33f3c4fa2a70e885b128c67448d6a321cf64df96be7f380455ccd26aee", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001c7'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 173", "uid"=>"1de0cb6602cc1bcc412c3ef14d8198dedcae23ac89330c846caf02e6ff34eefa", "secret"=>"c13dfd33f3c4fa2a70e885b128c67448d6a321cf64df96be7f380455ccd26aee", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f7661f47add64bb85d6ab9dcdbd298c46ec2c7d72ad006a1e6546893aaacc5b8", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001c6')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"b79cd6b84750ad74f30ef6c95138f07dfd881a84051f2ade1e4d651ee3d50027", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001c6')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001c6'), "application_id"=>BSON::ObjectId('5bb622503541594a850001c7'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>28, "token"=>"f7661f47add64bb85d6ab9dcdbd298c46ec2c7d72ad006a1e6546893aaacc5b8", "refresh_token"=>"b79cd6b84750ad74f30ef6c95138f07dfd881a84051f2ade1e4d651ee3d50027", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001c6'), "application_id"=>BSON::ObjectId('5bb622503541594a850001c7'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>28, "token"=>"f7661f47add64bb85d6ab9dcdbd298c46ec2c7d72ad006a1e6546893aaacc5b8", "refresh_token"=>"b79cd6b84750ad74f30ef6c95138f07dfd881a84051f2ade1e4d651ee3d50027", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1de0cb6602cc1bcc412c3ef14d8198dedcae23ac89330c846caf02e6ff34eefa"}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e0b66abe3285f3e9c0a930a23078c29553a950f44b5e0624bb182a3d57b8470c", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001c8')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001c8'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 174", "uid"=>"e0b66abe3285f3e9c0a930a23078c29553a950f44b5e0624bb182a3d57b8470c", "secret"=>"c591f3544c4a0ce73ccee3ac325b3f3e0bf53e0fcd655d5445fc8950605de40b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001c8'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 174", "uid"=>"e0b66abe3285f3e9c0a930a23078c29553a950f44b5e0624bb182a3d57b8470c", "secret"=>"c591f3544c4a0ce73ccee3ac325b3f3e0bf53e0fcd655d5445fc8950605de40b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"aee26c7c13f7720c12e8caa325eb2b8b2fe72d257cfaa7378a8586cd3ecd0c4f", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001ca')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001ca'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 175", "uid"=>"aee26c7c13f7720c12e8caa325eb2b8b2fe72d257cfaa7378a8586cd3ecd0c4f", "secret"=>"2fb11d665904133c1b787ee536d0e7890b3960ac81de1eeb0b3da16475b43020", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001ca'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 175", "uid"=>"aee26c7c13f7720c12e8caa325eb2b8b2fe72d257cfaa7378a8586cd3ecd0c4f", "secret"=>"2fb11d665904133c1b787ee536d0e7890b3960ac81de1eeb0b3da16475b43020", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f8469bd4ceeb53dccb6fcd0232499d01d1153993996696d71c91ea53ff2b524a", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001c9')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"b260785b46d19cada20a5342b6cd8661e90271bdb517ef50987d4a0e3665c7ac", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001c9')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001c9'), "application_id"=>BSON::ObjectId('5bb622503541594a850001ca'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>29, "token"=>"f8469bd4ceeb53dccb6fcd0232499d01d1153993996696d71c91ea53ff2b524a", "refresh_token"=>"b260785b46d19cada20a5342b6cd8661e90271bdb517ef50987d4a0e3665c7ac", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001c9'), "application_id"=>BSON::ObjectId('5bb622503541594a850001ca'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>29, "token"=>"f8469bd4ceeb53dccb6fcd0232499d01d1153993996696d71c91ea53ff2b524a", "refresh_token"=>"b260785b46d19cada20a5342b6cd8661e90271bdb517ef50987d4a0e3665c7ac", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"aee26c7c13f7720c12e8caa325eb2b8b2fe72d257cfaa7378a8586cd3ecd0c4f"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622503541594a850001c9')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622503541594a850001ca')}).limit(-1) MONGODB (4.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"896976e13f9f065b41189324c8136681502c921573df2e94b1e9b3b6eebb4bc1", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001cb')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"90394bb27ecec0aff8dbd36e0b8205558c6cf1d5fb29964eddbda788e0bbbe48", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001cb')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001cb'), "application_id"=>BSON::ObjectId('5bb622503541594a850001ca'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>29, "token"=>"896976e13f9f065b41189324c8136681502c921573df2e94b1e9b3b6eebb4bc1", "refresh_token"=>"90394bb27ecec0aff8dbd36e0b8205558c6cf1d5fb29964eddbda788e0bbbe48", "previous_refresh_token"=>"b260785b46d19cada20a5342b6cd8661e90271bdb517ef50987d4a0e3665c7ac", "expires_in"=>1234, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001cb'), "application_id"=>BSON::ObjectId('5bb622503541594a850001ca'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>29, "token"=>"896976e13f9f065b41189324c8136681502c921573df2e94b1e9b3b6eebb4bc1", "refresh_token"=>"90394bb27ecec0aff8dbd36e0b8205558c6cf1d5fb29964eddbda788e0bbbe48", "previous_refresh_token"=>"b260785b46d19cada20a5342b6cd8661e90271bdb517ef50987d4a0e3665c7ac", "expires_in"=>1234, "scopes"=>""}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622503541594a850001ca')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622503541594a850001ca')}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"799b645382dd21888f363749664da5d1d8be92ca4cdcd586e8cceb6c93b9a892", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001cd')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001cd'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 176", "uid"=>"799b645382dd21888f363749664da5d1d8be92ca4cdcd586e8cceb6c93b9a892", "secret"=>"9c21a684b666fba654e784e66b797c1d722ab7afdde45d6e2b66fb29e98c7eb1", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001cd'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 176", "uid"=>"799b645382dd21888f363749664da5d1d8be92ca4cdcd586e8cceb6c93b9a892", "secret"=>"9c21a684b666fba654e784e66b797c1d722ab7afdde45d6e2b66fb29e98c7eb1", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"17be4de54a5881b34d3c07007c010c5a169056dfd8987a465393e15ef8d5ca37", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001cc')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"a3451d8a12a095c387f9f5e322a6d6360d57ca470d58e81f6750941ddad91814", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001cc')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001cc'), "application_id"=>BSON::ObjectId('5bb622503541594a850001cd'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>30, "token"=>"17be4de54a5881b34d3c07007c010c5a169056dfd8987a465393e15ef8d5ca37", "refresh_token"=>"a3451d8a12a095c387f9f5e322a6d6360d57ca470d58e81f6750941ddad91814", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001cc'), "application_id"=>BSON::ObjectId('5bb622503541594a850001cd'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>30, "token"=>"17be4de54a5881b34d3c07007c010c5a169056dfd8987a465393e15ef8d5ca37", "refresh_token"=>"a3451d8a12a095c387f9f5e322a6d6360d57ca470d58e81f6750941ddad91814", "expires_in"=>7200}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"799b645382dd21888f363749664da5d1d8be92ca4cdcd586e8cceb6c93b9a892"}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622503541594a850001cc')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622503541594a850001cd')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e44882edd44ad6c6ca1eb43945c5208fb12b199d5877f20a5d4f26d3174390be", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001ce')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"88c128f84f0963ed69ce758116838f4595e385bed2479980949ac88098192fe0", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001ce')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001ce'), "application_id"=>BSON::ObjectId('5bb622503541594a850001cd'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>30, "token"=>"e44882edd44ad6c6ca1eb43945c5208fb12b199d5877f20a5d4f26d3174390be", "refresh_token"=>"88c128f84f0963ed69ce758116838f4595e385bed2479980949ac88098192fe0", "previous_refresh_token"=>"a3451d8a12a095c387f9f5e322a6d6360d57ca470d58e81f6750941ddad91814", "expires_in"=>1234, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001ce'), "application_id"=>BSON::ObjectId('5bb622503541594a850001cd'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>30, "token"=>"e44882edd44ad6c6ca1eb43945c5208fb12b199d5877f20a5d4f26d3174390be", "refresh_token"=>"88c128f84f0963ed69ce758116838f4595e385bed2479980949ac88098192fe0", "previous_refresh_token"=>"a3451d8a12a095c387f9f5e322a6d6360d57ca470d58e81f6750941ddad91814", "expires_in"=>1234, "scopes"=>""}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7d34566389d2e8f0bd29511dbae70ff00afa52185e6891a167a8bce3eff220b4", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001d0')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001d0'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 177", "uid"=>"7d34566389d2e8f0bd29511dbae70ff00afa52185e6891a167a8bce3eff220b4", "secret"=>"cdb805c6619f898c79a9038f60a71cffc4037c85623166792684d3cd998d2601", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001d0'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 177", "uid"=>"7d34566389d2e8f0bd29511dbae70ff00afa52185e6891a167a8bce3eff220b4", "secret"=>"cdb805c6619f898c79a9038f60a71cffc4037c85623166792684d3cd998d2601", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"69e0b4de286d0b77d691ddd4031e725347ce01442150e10cd4da4d556844ced8", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001cf')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"ff0796d0c9663978dfbe6916b717b6ecef2cdbdad5abfd2030dc4e3793210fe5", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001cf')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001cf'), "application_id"=>BSON::ObjectId('5bb622503541594a850001d0'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>31, "token"=>"69e0b4de286d0b77d691ddd4031e725347ce01442150e10cd4da4d556844ced8", "refresh_token"=>"ff0796d0c9663978dfbe6916b717b6ecef2cdbdad5abfd2030dc4e3793210fe5", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001cf'), "application_id"=>BSON::ObjectId('5bb622503541594a850001d0'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>31, "token"=>"69e0b4de286d0b77d691ddd4031e725347ce01442150e10cd4da4d556844ced8", "refresh_token"=>"ff0796d0c9663978dfbe6916b717b6ecef2cdbdad5abfd2030dc4e3793210fe5", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622503541594a850001d0')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{:application_id=>BSON::ObjectId('5bb622503541594a850001d0')}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7d34566389d2e8f0bd29511dbae70ff00afa52185e6891a167a8bce3eff220b4"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622503541594a850001cf')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622503541594a850001d0')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"cb8bfab1f3f3c68e102108dac2cd19c37d904ff280068b94f9cf0ba641e1b6fb", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001d1')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"c1b1d790ab178fa3fc3117063a34b3f6cfb40231e9880e9657750ca778b65252", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001d1')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001d1'), "application_id"=>BSON::ObjectId('5bb622503541594a850001d0'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>31, "token"=>"cb8bfab1f3f3c68e102108dac2cd19c37d904ff280068b94f9cf0ba641e1b6fb", "refresh_token"=>"c1b1d790ab178fa3fc3117063a34b3f6cfb40231e9880e9657750ca778b65252", "previous_refresh_token"=>"ff0796d0c9663978dfbe6916b717b6ecef2cdbdad5abfd2030dc4e3793210fe5", "expires_in"=>1234, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001d1'), "application_id"=>BSON::ObjectId('5bb622503541594a850001d0'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>31, "token"=>"cb8bfab1f3f3c68e102108dac2cd19c37d904ff280068b94f9cf0ba641e1b6fb", "refresh_token"=>"c1b1d790ab178fa3fc3117063a34b3f6cfb40231e9880e9657750ca778b65252", "previous_refresh_token"=>"ff0796d0c9663978dfbe6916b717b6ecef2cdbdad5abfd2030dc4e3793210fe5", "expires_in"=>1234, "scopes"=>""}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622503541594a850001d0')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{:application_id=>BSON::ObjectId('5bb622503541594a850001d0')}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a61c62ddcd8d27f929b95c2bf8b5c081859b57922901dddc8de5b9897cc7d3c2", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001d3')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001d3'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 178", "uid"=>"a61c62ddcd8d27f929b95c2bf8b5c081859b57922901dddc8de5b9897cc7d3c2", "secret"=>"9a967a5a6d28b90cb6990386330201ba54ade482a5f015c29df1420e6b7d09a5", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001d3'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 178", "uid"=>"a61c62ddcd8d27f929b95c2bf8b5c081859b57922901dddc8de5b9897cc7d3c2", "secret"=>"9a967a5a6d28b90cb6990386330201ba54ade482a5f015c29df1420e6b7d09a5", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"8f3149c832dcace91921aebfda1795ef14634883508060050bc960279a43df1e", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001d2')}}, {:_id=>1}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"6b40e51f6306830b7ea77579314ba4edfe1c205351995fdfdf17cf052e66c90e", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001d2')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001d2'), "application_id"=>BSON::ObjectId('5bb622503541594a850001d3'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>32, "token"=>"8f3149c832dcace91921aebfda1795ef14634883508060050bc960279a43df1e", "refresh_token"=>"6b40e51f6306830b7ea77579314ba4edfe1c205351995fdfdf17cf052e66c90e", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001d2'), "application_id"=>BSON::ObjectId('5bb622503541594a850001d3'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>32, "token"=>"8f3149c832dcace91921aebfda1795ef14634883508060050bc960279a43df1e", "refresh_token"=>"6b40e51f6306830b7ea77579314ba4edfe1c205351995fdfdf17cf052e66c90e", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a61c62ddcd8d27f929b95c2bf8b5c081859b57922901dddc8de5b9897cc7d3c2"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3aeef648a7f6b97fc674afbc726d4a5909617c176a85959e82bc220de5f1a93c", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001d5')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001d5'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 179", "uid"=>"3aeef648a7f6b97fc674afbc726d4a5909617c176a85959e82bc220de5f1a93c", "secret"=>"acd925ac8261ac3308f03a548ec97fd7c64f165259b976e571ef16c66ba1ae9b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001d5'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 179", "uid"=>"3aeef648a7f6b97fc674afbc726d4a5909617c176a85959e82bc220de5f1a93c", "secret"=>"acd925ac8261ac3308f03a548ec97fd7c64f165259b976e571ef16c66ba1ae9b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"ddecfff1111eb21557c7aff0b4030c0257d25ce496ef2efb540fa1b65a41b701", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001d4')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"49d1f2026b5c21e41281ced168394428518da168958c203cf8892dc9f444fcb7", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001d4')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001d4'), "application_id"=>BSON::ObjectId('5bb622503541594a850001d5'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>33, "token"=>"ddecfff1111eb21557c7aff0b4030c0257d25ce496ef2efb540fa1b65a41b701", "refresh_token"=>"49d1f2026b5c21e41281ced168394428518da168958c203cf8892dc9f444fcb7", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001d4'), "application_id"=>BSON::ObjectId('5bb622503541594a850001d5'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>33, "token"=>"ddecfff1111eb21557c7aff0b4030c0257d25ce496ef2efb540fa1b65a41b701", "refresh_token"=>"49d1f2026b5c21e41281ced168394428518da168958c203cf8892dc9f444fcb7", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3aeef648a7f6b97fc674afbc726d4a5909617c176a85959e82bc220de5f1a93c"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622503541594a850001d4')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622503541594a850001d4')}, :u=>{"_id"=>BSON::ObjectId('5bb622503541594a850001d4'), "application_id"=>BSON::ObjectId('5bb622503541594a850001d5'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>33, "token"=>"ddecfff1111eb21557c7aff0b4030c0257d25ce496ef2efb540fa1b65a41b701", "refresh_token"=>"49d1f2026b5c21e41281ced168394428518da168958c203cf8892dc9f444fcb7", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC, "scopes"=>"public write"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622503541594a850001d4')}, {"_id"=>BSON::ObjectId('5bb622503541594a850001d4'), "application_id"=>BSON::ObjectId('5bb622503541594a850001d5'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>33, "token"=>"ddecfff1111eb21557c7aff0b4030c0257d25ce496ef2efb540fa1b65a41b701", "refresh_token"=>"49d1f2026b5c21e41281ced168394428518da168958c203cf8892dc9f444fcb7", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC, "scopes"=>"public write"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622503541594a850001d5')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"855d40e0da5ca4d86ced884343d2c8f8328cdf5f39d8005da1b839c3f82195ae", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001d6')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"ad87e85bf8448b4b4afbb432bccf3fd20357405452b40c50d5db741abd64ffc9", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001d6')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001d6'), "application_id"=>BSON::ObjectId('5bb622503541594a850001d5'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>33, "token"=>"855d40e0da5ca4d86ced884343d2c8f8328cdf5f39d8005da1b839c3f82195ae", "refresh_token"=>"ad87e85bf8448b4b4afbb432bccf3fd20357405452b40c50d5db741abd64ffc9", "expires_in"=>120, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001d6'), "application_id"=>BSON::ObjectId('5bb622503541594a850001d5'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>33, "token"=>"855d40e0da5ca4d86ced884343d2c8f8328cdf5f39d8005da1b839c3f82195ae", "refresh_token"=>"ad87e85bf8448b4b4afbb432bccf3fd20357405452b40c50d5db741abd64ffc9", "expires_in"=>120, "scopes"=>"public"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7420c2e349dc5afdd402ad4c50d0230789f0db62b1093bbe6a813528544f856a", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001d8')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001d8'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 180", "uid"=>"7420c2e349dc5afdd402ad4c50d0230789f0db62b1093bbe6a813528544f856a", "secret"=>"c653a6a43556c5beaf9c2907724bf5cccc437d7eb12d232f759fcb360e436bcc", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001d8'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 180", "uid"=>"7420c2e349dc5afdd402ad4c50d0230789f0db62b1093bbe6a813528544f856a", "secret"=>"c653a6a43556c5beaf9c2907724bf5cccc437d7eb12d232f759fcb360e436bcc", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"c033baffb92b699672f1b8a3a78ede3e7ff55d7f0ea68755f732f8cf422fc369", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001d7')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"f87ddf5e0b44c9b8bf9234db541990607b6182b7b3644c08dc227ad37493d4c6", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001d7')}}, {:_id=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001d7'), "application_id"=>BSON::ObjectId('5bb622503541594a850001d8'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>34, "token"=>"c033baffb92b699672f1b8a3a78ede3e7ff55d7f0ea68755f732f8cf422fc369", "refresh_token"=>"f87ddf5e0b44c9b8bf9234db541990607b6182b7b3644c08dc227ad37493d4c6", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001d7'), "application_id"=>BSON::ObjectId('5bb622503541594a850001d8'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>34, "token"=>"c033baffb92b699672f1b8a3a78ede3e7ff55d7f0ea68755f732f8cf422fc369", "refresh_token"=>"f87ddf5e0b44c9b8bf9234db541990607b6182b7b3644c08dc227ad37493d4c6", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7420c2e349dc5afdd402ad4c50d0230789f0db62b1093bbe6a813528544f856a"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622503541594a850001d7')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622503541594a850001d7')}, :u=>{"_id"=>BSON::ObjectId('5bb622503541594a850001d7'), "application_id"=>BSON::ObjectId('5bb622503541594a850001d8'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>34, "token"=>"c033baffb92b699672f1b8a3a78ede3e7ff55d7f0ea68755f732f8cf422fc369", "refresh_token"=>"f87ddf5e0b44c9b8bf9234db541990607b6182b7b3644c08dc227ad37493d4c6", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC, "scopes"=>"public write"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622503541594a850001d7')}, {"_id"=>BSON::ObjectId('5bb622503541594a850001d7'), "application_id"=>BSON::ObjectId('5bb622503541594a850001d8'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>34, "token"=>"c033baffb92b699672f1b8a3a78ede3e7ff55d7f0ea68755f732f8cf422fc369", "refresh_token"=>"f87ddf5e0b44c9b8bf9234db541990607b6182b7b3644c08dc227ad37493d4c6", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC, "scopes"=>"public write"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622503541594a850001d8')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e30f284620afcad18de93360f8487cba73d3a20d26590a962f6f731b6fcc1950", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001d9')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"8cd896a3109cf2563eb4c2543fee939195f065ea881da015edc62f3769c6f3a5", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001d9')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001d9'), "application_id"=>BSON::ObjectId('5bb622503541594a850001d8'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>34, "token"=>"e30f284620afcad18de93360f8487cba73d3a20d26590a962f6f731b6fcc1950", "refresh_token"=>"8cd896a3109cf2563eb4c2543fee939195f065ea881da015edc62f3769c6f3a5", "expires_in"=>120, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001d9'), "application_id"=>BSON::ObjectId('5bb622503541594a850001d8'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>34, "token"=>"e30f284620afcad18de93360f8487cba73d3a20d26590a962f6f731b6fcc1950", "refresh_token"=>"8cd896a3109cf2563eb4c2543fee939195f065ea881da015edc62f3769c6f3a5", "expires_in"=>120, "scopes"=>"public"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4ce321051e33f8b0f09a2da0020177ee387ca20fa2b3a28b54df843b46da93df", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001db')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001db'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 181", "uid"=>"4ce321051e33f8b0f09a2da0020177ee387ca20fa2b3a28b54df843b46da93df", "secret"=>"fa18da76fd1cf74578bcd621ca17af5ef083edb2432f69e5860fc3d13025500a", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001db'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 181", "uid"=>"4ce321051e33f8b0f09a2da0020177ee387ca20fa2b3a28b54df843b46da93df", "secret"=>"fa18da76fd1cf74578bcd621ca17af5ef083edb2432f69e5860fc3d13025500a", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"8e8bc5b0886334d01e9c9025fb929498f764b78fdbe5e7bbdaec582ec377ec49", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001da')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"0bef7508d4b4a50cac5675f2924e67e4fc3118700c36e2a65bc2b94e093ef83b", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001da')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001da'), "application_id"=>BSON::ObjectId('5bb622503541594a850001db'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>35, "token"=>"8e8bc5b0886334d01e9c9025fb929498f764b78fdbe5e7bbdaec582ec377ec49", "refresh_token"=>"0bef7508d4b4a50cac5675f2924e67e4fc3118700c36e2a65bc2b94e093ef83b", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001da'), "application_id"=>BSON::ObjectId('5bb622503541594a850001db'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>35, "token"=>"8e8bc5b0886334d01e9c9025fb929498f764b78fdbe5e7bbdaec582ec377ec49", "refresh_token"=>"0bef7508d4b4a50cac5675f2924e67e4fc3118700c36e2a65bc2b94e093ef83b", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4ce321051e33f8b0f09a2da0020177ee387ca20fa2b3a28b54df843b46da93df"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622503541594a850001da')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622503541594a850001da')}, :u=>{"_id"=>BSON::ObjectId('5bb622503541594a850001da'), "application_id"=>BSON::ObjectId('5bb622503541594a850001db'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>35, "token"=>"8e8bc5b0886334d01e9c9025fb929498f764b78fdbe5e7bbdaec582ec377ec49", "refresh_token"=>"0bef7508d4b4a50cac5675f2924e67e4fc3118700c36e2a65bc2b94e093ef83b", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC, "scopes"=>"public write"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622503541594a850001da')}, {"_id"=>BSON::ObjectId('5bb622503541594a850001da'), "application_id"=>BSON::ObjectId('5bb622503541594a850001db'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>35, "token"=>"8e8bc5b0886334d01e9c9025fb929498f764b78fdbe5e7bbdaec582ec377ec49", "refresh_token"=>"0bef7508d4b4a50cac5675f2924e67e4fc3118700c36e2a65bc2b94e093ef83b", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC, "scopes"=>"public write"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622503541594a850001db')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"1c5483d14f51249080e11a8d9bde0c135d06c4df8a707322c6850df84d9bbcf2", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001dc')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"6e1c81887a4006388c466138f32f8ca3e480a87d00c33d526884f40f2502218a", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001dc')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001dc'), "application_id"=>BSON::ObjectId('5bb622503541594a850001db'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>35, "token"=>"1c5483d14f51249080e11a8d9bde0c135d06c4df8a707322c6850df84d9bbcf2", "refresh_token"=>"6e1c81887a4006388c466138f32f8ca3e480a87d00c33d526884f40f2502218a", "expires_in"=>120, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001dc'), "application_id"=>BSON::ObjectId('5bb622503541594a850001db'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>35, "token"=>"1c5483d14f51249080e11a8d9bde0c135d06c4df8a707322c6850df84d9bbcf2", "refresh_token"=>"6e1c81887a4006388c466138f32f8ca3e480a87d00c33d526884f40f2502218a", "expires_in"=>120, "scopes"=>"public write"}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e502cc76c06121ee2332102ad508049c0f45e42f9094295020af92204dd1edc8", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001de')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001de'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 182", "uid"=>"e502cc76c06121ee2332102ad508049c0f45e42f9094295020af92204dd1edc8", "secret"=>"4903fd3718c2a5e5bfc3fb80b98cae4d41d96e0178d0ef0b29956644ff107bc9", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001de'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "name"=>"Application 182", "uid"=>"e502cc76c06121ee2332102ad508049c0f45e42f9094295020af92204dd1edc8", "secret"=>"4903fd3718c2a5e5bfc3fb80b98cae4d41d96e0178d0ef0b29956644ff107bc9", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"81366bd028f008e6eb910794e4457548571892365dc8d21c0e241630d50f07cf", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001dd')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"53a8dbd3e907945de32d6ee5e7db7f01093e6e1e914264c2cbadd18c45c1cfe7", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001dd')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001dd'), "application_id"=>BSON::ObjectId('5bb622503541594a850001de'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>36, "token"=>"81366bd028f008e6eb910794e4457548571892365dc8d21c0e241630d50f07cf", "refresh_token"=>"53a8dbd3e907945de32d6ee5e7db7f01093e6e1e914264c2cbadd18c45c1cfe7", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001dd'), "application_id"=>BSON::ObjectId('5bb622503541594a850001de'), "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>36, "token"=>"81366bd028f008e6eb910794e4457548571892365dc8d21c0e241630d50f07cf", "refresh_token"=>"53a8dbd3e907945de32d6ee5e7db7f01093e6e1e914264c2cbadd18c45c1cfe7", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e502cc76c06121ee2332102ad508049c0f45e42f9094295020af92204dd1edc8"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"7e2771e8ad76307889fdda69fe2213f9e071fa4b9cc5e7dec717d3f3fd4e853f", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001df')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"fe085f7823d33e384acd95f0baabaec814aba5c6ced224508ae34a7c68ec9a27", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001df')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001df'), "application_id"=>nil, "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>37, "token"=>"7e2771e8ad76307889fdda69fe2213f9e071fa4b9cc5e7dec717d3f3fd4e853f", "refresh_token"=>"fe085f7823d33e384acd95f0baabaec814aba5c6ced224508ae34a7c68ec9a27", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001df'), "application_id"=>nil, "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>37, "token"=>"7e2771e8ad76307889fdda69fe2213f9e071fa4b9cc5e7dec717d3f3fd4e853f", "refresh_token"=>"fe085f7823d33e384acd95f0baabaec814aba5c6ced224508ae34a7c68ec9a27", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622503541594a850001df')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622503541594a850001df')}, :u=>{"_id"=>BSON::ObjectId('5bb622503541594a850001df'), "application_id"=>nil, "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>37, "token"=>"7e2771e8ad76307889fdda69fe2213f9e071fa4b9cc5e7dec717d3f3fd4e853f", "refresh_token"=>"fe085f7823d33e384acd95f0baabaec814aba5c6ced224508ae34a7c68ec9a27", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622503541594a850001df')}, {"_id"=>BSON::ObjectId('5bb622503541594a850001df'), "application_id"=>nil, "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>37, "token"=>"7e2771e8ad76307889fdda69fe2213f9e071fa4b9cc5e7dec717d3f3fd4e853f", "refresh_token"=>"fe085f7823d33e384acd95f0baabaec814aba5c6ced224508ae34a7c68ec9a27", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"387354376e58b8bd2e5627992203e26a1036aae73dba4f83d40f5286bd412ae1", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001e0')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"3fe6bc9971e745858b8a4237087b6b882bc372d7892eac20a5cc22b393ea8597", :_id=>{:$ne=>BSON::ObjectId('5bb622503541594a850001e0')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622503541594a850001e0'), "application_id"=>nil, "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>37, "token"=>"387354376e58b8bd2e5627992203e26a1036aae73dba4f83d40f5286bd412ae1", "refresh_token"=>"3fe6bc9971e745858b8a4237087b6b882bc372d7892eac20a5cc22b393ea8597", "expires_in"=>120, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622503541594a850001e0'), "application_id"=>nil, "created_at"=>2018-10-04 14:23:12 UTC, "updated_at"=>2018-10-04 14:23:12 UTC, "resource_owner_id"=>37, "token"=>"387354376e58b8bd2e5627992203e26a1036aae73dba4f83d40f5286bd412ae1", "refresh_token"=>"3fe6bc9971e745858b8a4237087b6b882bc372d7892eac20a5cc22b393ea8597", "expires_in"=>120, "scopes"=>""}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (3.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (3.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3b000050d0ec27c17cae55622ae98c5ffee3254024fbc50a6b45cf2929d0453b", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a850001e1')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a850001e1'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 183", "uid"=>"3b000050d0ec27c17cae55622ae98c5ffee3254024fbc50a6b45cf2929d0453b", "secret"=>"b6681c2669c9a079d5b65a1a38f87814e7d078551acf41b303293d352a70131c", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a850001e1'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 183", "uid"=>"3b000050d0ec27c17cae55622ae98c5ffee3254024fbc50a6b45cf2929d0453b", "secret"=>"b6681c2669c9a079d5b65a1a38f87814e7d078551acf41b303293d352a70131c", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"b2c3ab86fa782dbcdcfdc8ea357fb9c5ca82ba58c3bd0c39ccbb2fe8f3ab75f4", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a850001e2')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a850001e2'), "application_id"=>BSON::ObjectId('5bb622513541594a850001e1'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>19, "token"=>"b2c3ab86fa782dbcdcfdc8ea357fb9c5ca82ba58c3bd0c39ccbb2fe8f3ab75f4", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622513541594a850001e2'), "application_id"=>BSON::ObjectId('5bb622513541594a850001e1'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>19, "token"=>"b2c3ab86fa782dbcdcfdc8ea357fb9c5ca82ba58c3bd0c39ccbb2fe8f3ab75f4", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token?code=[FILTERED]&client_id=3b000050d0ec27c17cae55622ae98c5ffee3254024fbc50a6b45cf2929d0453b&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=" for 127.0.0.1 at 2018-10-04 17:23:13 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"3b000050d0ec27c17cae55622ae98c5ffee3254024fbc50a6b45cf2929d0453b", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>""} Completed 401 Unauthorized in 0ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5d6031e53220293fd8b60c4e8a5ca4962ec6c65bbe9092a0d9135bada42d1bbc", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a850001e3')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a850001e3'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 184", "uid"=>"5d6031e53220293fd8b60c4e8a5ca4962ec6c65bbe9092a0d9135bada42d1bbc", "secret"=>"83472536a811a45f69983e6de9e3e8dbe9353b03aed31acf592c0ab54e0cd748", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a850001e3'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 184", "uid"=>"5d6031e53220293fd8b60c4e8a5ca4962ec6c65bbe9092a0d9135bada42d1bbc", "secret"=>"83472536a811a45f69983e6de9e3e8dbe9353b03aed31acf592c0ab54e0cd748", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"62380f3d48f9a17d0ee17a39f08649b6dd364ee17aabde6ab23b6fec3335b7be", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a850001e4')}}, {:_id=>1}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a850001e4'), "application_id"=>BSON::ObjectId('5bb622513541594a850001e3'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>20, "token"=>"62380f3d48f9a17d0ee17a39f08649b6dd364ee17aabde6ab23b6fec3335b7be", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622513541594a850001e4'), "application_id"=>BSON::ObjectId('5bb622513541594a850001e3'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>20, "token"=>"62380f3d48f9a17d0ee17a39f08649b6dd364ee17aabde6ab23b6fec3335b7be", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token?code=[FILTERED]&client_id=5d6031e53220293fd8b60c4e8a5ca4962ec6c65bbe9092a0d9135bada42d1bbc&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:23:13 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"5d6031e53220293fd8b60c4e8a5ca4962ec6c65bbe9092a0d9135bada42d1bbc", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} Completed 401 Unauthorized in 0ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"16df060b9047ea7f050a337b6e5478856f5975ccaf0f0b45f17c18542a4e5754", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a850001e5')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a850001e5'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 185", "uid"=>"16df060b9047ea7f050a337b6e5478856f5975ccaf0f0b45f17c18542a4e5754", "secret"=>"8f66d95641960599aa9c6eb9c6c20e444b739de086160fc5d33f2a33282bfb45", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a850001e5'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 185", "uid"=>"16df060b9047ea7f050a337b6e5478856f5975ccaf0f0b45f17c18542a4e5754", "secret"=>"8f66d95641960599aa9c6eb9c6c20e444b739de086160fc5d33f2a33282bfb45", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"1352054310905e6d8ec0aa1757f87c7ef06debc33843b229159f34fa2dff6f2e", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a850001e6')}}, {:_id=>1}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a850001e6'), "application_id"=>BSON::ObjectId('5bb622513541594a850001e5'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>21, "token"=>"1352054310905e6d8ec0aa1757f87c7ef06debc33843b229159f34fa2dff6f2e", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622513541594a850001e6'), "application_id"=>BSON::ObjectId('5bb622513541594a850001e5'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>21, "token"=>"1352054310905e6d8ec0aa1757f87c7ef06debc33843b229159f34fa2dff6f2e", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token?code=[FILTERED]&client_id=16df060b9047ea7f050a337b6e5478856f5975ccaf0f0b45f17c18542a4e5754&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:23:13 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"16df060b9047ea7f050a337b6e5478856f5975ccaf0f0b45f17c18542a4e5754", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"1352054310905e6d8ec0aa1757f87c7ef06debc33843b229159f34fa2dff6f2e"}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"16df060b9047ea7f050a337b6e5478856f5975ccaf0f0b45f17c18542a4e5754"}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb622513541594a850001e6')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622513541594a850001e6')}, :u=>{"_id"=>BSON::ObjectId('5bb622513541594a850001e6'), "application_id"=>BSON::ObjectId('5bb622513541594a850001e5'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>21, "token"=>"1352054310905e6d8ec0aa1757f87c7ef06debc33843b229159f34fa2dff6f2e", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb622513541594a850001e6')}, {"_id"=>BSON::ObjectId('5bb622513541594a850001e6'), "application_id"=>BSON::ObjectId('5bb622513541594a850001e5'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>21, "token"=>"1352054310905e6d8ec0aa1757f87c7ef06debc33843b229159f34fa2dff6f2e", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622513541594a850001e5')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622513541594a850001e5')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d9541fe5599a5c301eaecad40085e0119d2bcefee33f4f5dbab90119953f2f83", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a850001e7')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a850001e7'), "application_id"=>BSON::ObjectId('5bb622513541594a850001e5'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>21, "token"=>"d9541fe5599a5c301eaecad40085e0119d2bcefee33f4f5dbab90119953f2f83", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a850001e7'), "application_id"=>BSON::ObjectId('5bb622513541594a850001e5'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>21, "token"=>"d9541fe5599a5c301eaecad40085e0119d2bcefee33f4f5dbab90119953f2f83", "expires_in"=>7200, "scopes"=>"public"}) Completed 200 OK in 16ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"805c0c2e8474433c5e3b72f3ddcddbaf3ebe35e307204feeaec94137e4980344", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a850001e8')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a850001e8'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 186", "uid"=>"805c0c2e8474433c5e3b72f3ddcddbaf3ebe35e307204feeaec94137e4980344", "secret"=>"6c7f6030ab972b25d00a8882cefe3ce1241a8cf57a08fbc3ff25c9170ed372e6", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a850001e8'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 186", "uid"=>"805c0c2e8474433c5e3b72f3ddcddbaf3ebe35e307204feeaec94137e4980344", "secret"=>"6c7f6030ab972b25d00a8882cefe3ce1241a8cf57a08fbc3ff25c9170ed372e6", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"979059ca5d6ab3b3e1abccb2dfb6cf2a9552f380a93b7ae00844a683a8440b81", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a850001e9')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a850001e9'), "application_id"=>BSON::ObjectId('5bb622513541594a850001e8'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>22, "token"=>"979059ca5d6ab3b3e1abccb2dfb6cf2a9552f380a93b7ae00844a683a8440b81", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622513541594a850001e9'), "application_id"=>BSON::ObjectId('5bb622513541594a850001e8'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>22, "token"=>"979059ca5d6ab3b3e1abccb2dfb6cf2a9552f380a93b7ae00844a683a8440b81", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token?code=[FILTERED]&client_id=805c0c2e8474433c5e3b72f3ddcddbaf3ebe35e307204feeaec94137e4980344&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=nothing" for 127.0.0.1 at 2018-10-04 17:23:13 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"805c0c2e8474433c5e3b72f3ddcddbaf3ebe35e307204feeaec94137e4980344", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"nothing"} Completed 401 Unauthorized in 0ms MONGODB (3.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (3.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (3.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0f9214d019421807992eb883d17bb5fa793090e75f1610fd83802185d71e3388", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a850001ea')}}, {:_id=>1}).limit(-1) MONGODB (2.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a850001ea'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 187", "uid"=>"0f9214d019421807992eb883d17bb5fa793090e75f1610fd83802185d71e3388", "secret"=>"360cf383551969f7dbe52543a6a65e9f3080ddaf10658d8d5cea1140123562ee", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (2.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a850001ea'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 187", "uid"=>"0f9214d019421807992eb883d17bb5fa793090e75f1610fd83802185d71e3388", "secret"=>"360cf383551969f7dbe52543a6a65e9f3080ddaf10658d8d5cea1140123562ee", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"5ce29b4821a76e53c37d8884491c2581e1ca6cacf5d51cff7d874a96c62ec1d6", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a850001eb')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a850001eb'), "application_id"=>BSON::ObjectId('5bb622513541594a850001ea'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>23, "token"=>"5ce29b4821a76e53c37d8884491c2581e1ca6cacf5d51cff7d874a96c62ec1d6", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622513541594a850001eb'), "application_id"=>BSON::ObjectId('5bb622513541594a850001ea'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>23, "token"=>"5ce29b4821a76e53c37d8884491c2581e1ca6cacf5d51cff7d874a96c62ec1d6", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token?code=[FILTERED]&client_id=0f9214d019421807992eb883d17bb5fa793090e75f1610fd83802185d71e3388&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:23:13 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"0f9214d019421807992eb883d17bb5fa793090e75f1610fd83802185d71e3388", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"refresh_token"} Completed 401 Unauthorized in 0ms MONGODB (5.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f7dccd535d8a224c5935353b041536969b86df7ae964200fe5b0d07908407e60", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a850001ec')}}, {:_id=>1}).limit(-1) MONGODB (2.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a850001ec'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 188", "uid"=>"f7dccd535d8a224c5935353b041536969b86df7ae964200fe5b0d07908407e60", "secret"=>"4bda87b19b2436edc2c255a5fa1f2383f9ad419e0a0a27d31ac73973a5234c6e", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (2.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a850001ec'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 188", "uid"=>"f7dccd535d8a224c5935353b041536969b86df7ae964200fe5b0d07908407e60", "secret"=>"4bda87b19b2436edc2c255a5fa1f2383f9ad419e0a0a27d31ac73973a5234c6e", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (4.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"9052650dfffb02353563abd98585105623ff540fb1621b7ef0fb9c9511999b85", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a850001ed')}}, {:_id=>1}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a850001ed'), "application_id"=>BSON::ObjectId('5bb622513541594a850001ec'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>24, "token"=>"9052650dfffb02353563abd98585105623ff540fb1621b7ef0fb9c9511999b85", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622513541594a850001ed'), "application_id"=>BSON::ObjectId('5bb622513541594a850001ec'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>24, "token"=>"9052650dfffb02353563abd98585105623ff540fb1621b7ef0fb9c9511999b85", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token?code=[FILTERED]&client_id=f7dccd535d8a224c5935353b041536969b86df7ae964200fe5b0d07908407e60&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:23:13 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"f7dccd535d8a224c5935353b041536969b86df7ae964200fe5b0d07908407e60", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"9052650dfffb02353563abd98585105623ff540fb1621b7ef0fb9c9511999b85"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f7dccd535d8a224c5935353b041536969b86df7ae964200fe5b0d07908407e60"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb622513541594a850001ed')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622513541594a850001ed')}, :u=>{"_id"=>BSON::ObjectId('5bb622513541594a850001ed'), "application_id"=>BSON::ObjectId('5bb622513541594a850001ec'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>24, "token"=>"9052650dfffb02353563abd98585105623ff540fb1621b7ef0fb9c9511999b85", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb622513541594a850001ed')}, {"_id"=>BSON::ObjectId('5bb622513541594a850001ed'), "application_id"=>BSON::ObjectId('5bb622513541594a850001ec'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>24, "token"=>"9052650dfffb02353563abd98585105623ff540fb1621b7ef0fb9c9511999b85", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622513541594a850001ec')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622513541594a850001ec')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"84d857a610864ebd9e3cd678860769cf41b608fa35d1480ff296455e6c46ebf0", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a850001ee')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a850001ee'), "application_id"=>BSON::ObjectId('5bb622513541594a850001ec'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>24, "token"=>"84d857a610864ebd9e3cd678860769cf41b608fa35d1480ff296455e6c46ebf0", "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a850001ee'), "application_id"=>BSON::ObjectId('5bb622513541594a850001ec'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>24, "token"=>"84d857a610864ebd9e3cd678860769cf41b608fa35d1480ff296455e6c46ebf0", "scopes"=>"public"}) Completed 200 OK in 9ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"9a4943cef6d32e5891e6ea117c91acd71664436e650c9a78643d4466dc67fc14", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a850001ef')}}, {:_id=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a850001ef'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 189", "uid"=>"9a4943cef6d32e5891e6ea117c91acd71664436e650c9a78643d4466dc67fc14", "secret"=>"c7fa8ef0ca31b92365c39d5aed6b9d9c747949cff6f4552e81fd5d2475f50d98", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a850001ef'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 189", "uid"=>"9a4943cef6d32e5891e6ea117c91acd71664436e650c9a78643d4466dc67fc14", "secret"=>"c7fa8ef0ca31b92365c39d5aed6b9d9c747949cff6f4552e81fd5d2475f50d98", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"72b8276b5ef16835bfe6b059716d09716a260d8aeba86fc8edae6c3f806d79b9", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a850001f0')}}, {:_id=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a850001f0'), "application_id"=>BSON::ObjectId('5bb622513541594a850001ef'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>25, "token"=>"72b8276b5ef16835bfe6b059716d09716a260d8aeba86fc8edae6c3f806d79b9", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622513541594a850001f0'), "application_id"=>BSON::ObjectId('5bb622513541594a850001ef'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>25, "token"=>"72b8276b5ef16835bfe6b059716d09716a260d8aeba86fc8edae6c3f806d79b9", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token?code=[FILTERED]&client_id&client_secret&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:23:13 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>nil, "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"72b8276b5ef16835bfe6b059716d09716a260d8aeba86fc8edae6c3f806d79b9"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"9a4943cef6d32e5891e6ea117c91acd71664436e650c9a78643d4466dc67fc14"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb622513541594a850001f0')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622513541594a850001f0')}, :u=>{"_id"=>BSON::ObjectId('5bb622513541594a850001f0'), "application_id"=>BSON::ObjectId('5bb622513541594a850001ef'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>25, "token"=>"72b8276b5ef16835bfe6b059716d09716a260d8aeba86fc8edae6c3f806d79b9", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb622513541594a850001f0')}, {"_id"=>BSON::ObjectId('5bb622513541594a850001f0'), "application_id"=>BSON::ObjectId('5bb622513541594a850001ef'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>25, "token"=>"72b8276b5ef16835bfe6b059716d09716a260d8aeba86fc8edae6c3f806d79b9", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622513541594a850001ef')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622513541594a850001ef')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"823bf56e250371735ce7a34401befe48cf95f29e229ad13feea1faf1570a78ae", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a850001f1')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a850001f1'), "application_id"=>BSON::ObjectId('5bb622513541594a850001ef'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>25, "token"=>"823bf56e250371735ce7a34401befe48cf95f29e229ad13feea1faf1570a78ae", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a850001f1'), "application_id"=>BSON::ObjectId('5bb622513541594a850001ef'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>25, "token"=>"823bf56e250371735ce7a34401befe48cf95f29e229ad13feea1faf1570a78ae", "expires_in"=>7200, "scopes"=>"public"}) Completed 200 OK in 8ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e3cb98a7a560194ec1a2cb87172aeb3ae2495447593daf35a9196a273171e512", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a850001f3')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a850001f3'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 190", "uid"=>"e3cb98a7a560194ec1a2cb87172aeb3ae2495447593daf35a9196a273171e512", "secret"=>"3f351e39999ca2c1d61f24b0aac939719adb33e1a5162c97e5abec40fa048b29", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a850001f3'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 190", "uid"=>"e3cb98a7a560194ec1a2cb87172aeb3ae2495447593daf35a9196a273171e512", "secret"=>"3f351e39999ca2c1d61f24b0aac939719adb33e1a5162c97e5abec40fa048b29", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"87cebd7cc68e20db453acd20ca7a7a039f8bfed631fefb14d8d2f612825c518a", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a850001f2')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4b2981b8193de576815f9ab846353fd1a6772ff692ceb3b314718c203386b312", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a850001f4')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a850001f4'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 191", "uid"=>"4b2981b8193de576815f9ab846353fd1a6772ff692ceb3b314718c203386b312", "secret"=>"558538506a0ca5cf3fbf146c68fddc69f025da6edf84769753604c876ea79ad8", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a850001f4'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 191", "uid"=>"4b2981b8193de576815f9ab846353fd1a6772ff692ceb3b314718c203386b312", "secret"=>"558538506a0ca5cf3fbf146c68fddc69f025da6edf84769753604c876ea79ad8", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"cba07c3ef7921c98025afc09c563b74603bd76478aa0cb2f2214df76b45cf6a7", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a850001f5')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a850001f5'), "application_id"=>BSON::ObjectId('5bb622513541594a850001f4'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>100, "token"=>"cba07c3ef7921c98025afc09c563b74603bd76478aa0cb2f2214df76b45cf6a7", "expires_in"=>7200, "scopes"=>"public write email"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a850001f5'), "application_id"=>BSON::ObjectId('5bb622513541594a850001f4'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>100, "token"=>"cba07c3ef7921c98025afc09c563b74603bd76478aa0cb2f2214df76b45cf6a7", "expires_in"=>7200, "scopes"=>"public write email"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622513541594a850001f4'), :resource_owner_id=>100, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"cb084e62f4934fe4e897cbb7ba47cad2162c7fd0e19bedaafe8c173501ec809b", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a850001f6')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a850001f6'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 192", "uid"=>"cb084e62f4934fe4e897cbb7ba47cad2162c7fd0e19bedaafe8c173501ec809b", "secret"=>"e560a021471dbb083cbe7431f002ec7b414723067efe679d9e0ee5cf0f0a301d", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a850001f6'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 192", "uid"=>"cb084e62f4934fe4e897cbb7ba47cad2162c7fd0e19bedaafe8c173501ec809b", "secret"=>"e560a021471dbb083cbe7431f002ec7b414723067efe679d9e0ee5cf0f0a301d", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"70e2ceb0f4b4e9707e48b2faadd0d03eca7256e3447002c88eabef71c715f7e6", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a850001f7')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a850001f7'), "application_id"=>BSON::ObjectId('5bb622513541594a850001f6'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>100, "token"=>"70e2ceb0f4b4e9707e48b2faadd0d03eca7256e3447002c88eabef71c715f7e6", "expires_in"=>7200, "scopes"=>"public email"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a850001f7'), "application_id"=>BSON::ObjectId('5bb622513541594a850001f6'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>100, "token"=>"70e2ceb0f4b4e9707e48b2faadd0d03eca7256e3447002c88eabef71c715f7e6", "expires_in"=>7200, "scopes"=>"public email"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622513541594a850001f6'), :resource_owner_id=>100, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"fdcf2d92f2385ee658f8d0a19296bcdbfd61a764e31a2dfcd5fc257a70b03d45", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a850001f8')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a850001f8'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 193", "uid"=>"fdcf2d92f2385ee658f8d0a19296bcdbfd61a764e31a2dfcd5fc257a70b03d45", "secret"=>"d4c0122d6a5660ac80dc8317ce5102691ab0f0bb487662fd48cf9911e26fe00a", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a850001f8'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 193", "uid"=>"fdcf2d92f2385ee658f8d0a19296bcdbfd61a764e31a2dfcd5fc257a70b03d45", "secret"=>"d4c0122d6a5660ac80dc8317ce5102691ab0f0bb487662fd48cf9911e26fe00a", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"15f5114ce6ff27d2e5ad68d0109e4669e46d6b43aee2feff9366fa886e229abf", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a850001f9')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a850001f9'), "application_id"=>BSON::ObjectId('5bb622513541594a850001f8'), "created_at"=>2018-10-03 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>100, "token"=>"15f5114ce6ff27d2e5ad68d0109e4669e46d6b43aee2feff9366fa886e229abf", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a850001f9'), "application_id"=>BSON::ObjectId('5bb622513541594a850001f8'), "created_at"=>2018-10-03 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>100, "token"=>"15f5114ce6ff27d2e5ad68d0109e4669e46d6b43aee2feff9366fa886e229abf", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f12d6aa0643b549ebba761102a9390313d16be257cd8c47c1a99160842d42cd0", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a850001fa')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a850001fa'), "application_id"=>BSON::ObjectId('5bb622513541594a850001f8'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>100, "token"=>"f12d6aa0643b549ebba761102a9390313d16be257cd8c47c1a99160842d42cd0", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a850001fa'), "application_id"=>BSON::ObjectId('5bb622513541594a850001f8'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>100, "token"=>"f12d6aa0643b549ebba761102a9390313d16be257cd8c47c1a99160842d42cd0", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622513541594a850001f8'), :resource_owner_id=>100, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"155cb140c0ed36fbf043174b7898c8f30fdd193ad41221b2c438efc1856f8b19", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a850001fb')}}, {:_id=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a850001fb'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 194", "uid"=>"155cb140c0ed36fbf043174b7898c8f30fdd193ad41221b2c438efc1856f8b19", "secret"=>"99a1d3a26b7d6e58fbd1227bf0908cd2cfb0144201aed725fc44b070048d0aa0", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a850001fb'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 194", "uid"=>"155cb140c0ed36fbf043174b7898c8f30fdd193ad41221b2c438efc1856f8b19", "secret"=>"99a1d3a26b7d6e58fbd1227bf0908cd2cfb0144201aed725fc44b070048d0aa0", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"1de0cdff9bf8823125a6c1d95071b93ee66bdf5b8f0383952ee65b11b25aaabd", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a850001fc')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a850001fc'), "application_id"=>BSON::ObjectId('5bb622513541594a850001fb'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>100, "token"=>"1de0cdff9bf8823125a6c1d95071b93ee66bdf5b8f0383952ee65b11b25aaabd", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a850001fc'), "application_id"=>BSON::ObjectId('5bb622513541594a850001fb'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>100, "token"=>"1de0cdff9bf8823125a6c1d95071b93ee66bdf5b8f0383952ee65b11b25aaabd", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b9e445fbe4137d800fc7cd5ca7f67df38eeebe036cc25a03ef89e824e9a600cf", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a850001fd')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a850001fd'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 195", "uid"=>"b9e445fbe4137d800fc7cd5ca7f67df38eeebe036cc25a03ef89e824e9a600cf", "secret"=>"39e194b74420873d47c48f3c445893e54b29250b9870174dd185cfc8f6948279", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a850001fd'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 195", "uid"=>"b9e445fbe4137d800fc7cd5ca7f67df38eeebe036cc25a03ef89e824e9a600cf", "secret"=>"39e194b74420873d47c48f3c445893e54b29250b9870174dd185cfc8f6948279", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f0785941adf39f670509d15cdd7f678e4f2b674442cff4e78d288220de46b598", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a850001fe')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a850001fe'), "application_id"=>BSON::ObjectId('5bb622513541594a850001fd'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>100, "token"=>"f0785941adf39f670509d15cdd7f678e4f2b674442cff4e78d288220de46b598", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a850001fe'), "application_id"=>BSON::ObjectId('5bb622513541594a850001fd'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>100, "token"=>"f0785941adf39f670509d15cdd7f678e4f2b674442cff4e78d288220de46b598", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622513541594a850001fd'), :resource_owner_id=>100, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"63943d19ced5b9752436afea91934aab2c2d463817227279f1974fb4c89f0a45", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a850001ff')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a850001ff'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 196", "uid"=>"63943d19ced5b9752436afea91934aab2c2d463817227279f1974fb4c89f0a45", "secret"=>"b3eb24b243252ee20ef0269214a523cd7b9aecac1507004e390885dda52ae59c", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a850001ff'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 196", "uid"=>"63943d19ced5b9752436afea91934aab2c2d463817227279f1974fb4c89f0a45", "secret"=>"b3eb24b243252ee20ef0269214a523cd7b9aecac1507004e390885dda52ae59c", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"38f20131ccbe7f4f3e12852ef97fc7d1ac7b65ea56c685fd329d35f0bd4e2509", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000200')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000200'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 197", "uid"=>"38f20131ccbe7f4f3e12852ef97fc7d1ac7b65ea56c685fd329d35f0bd4e2509", "secret"=>"c27c04143ad39572a297259aa1afe3ff61f9bd7633a5c6fb68645309794ea168", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000200'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 197", "uid"=>"38f20131ccbe7f4f3e12852ef97fc7d1ac7b65ea56c685fd329d35f0bd4e2509", "secret"=>"c27c04143ad39572a297259aa1afe3ff61f9bd7633a5c6fb68645309794ea168", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"1c7604728d5e06e3f55fba4439b4b2b31dafc6dcd561031c92890fd80f700a49", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000201')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000201'), "application_id"=>BSON::ObjectId('5bb622513541594a85000200'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>100, "token"=>"1c7604728d5e06e3f55fba4439b4b2b31dafc6dcd561031c92890fd80f700a49", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000201'), "application_id"=>BSON::ObjectId('5bb622513541594a85000200'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>100, "token"=>"1c7604728d5e06e3f55fba4439b4b2b31dafc6dcd561031c92890fd80f700a49", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622513541594a850001ff'), :resource_owner_id=>100, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"629da6f1a9fccf881a3fde1f5af2b768898ef278d024fdd742302f701459f79d", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000202')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000202'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 198", "uid"=>"629da6f1a9fccf881a3fde1f5af2b768898ef278d024fdd742302f701459f79d", "secret"=>"a00c0b4561b2274426b5ca33800231ac25a781a9642bc1faea51a8e853e3475b", "redirect_uri"=>"https://app.com/callback", "scopes"=>"private read", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000202'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 198", "uid"=>"629da6f1a9fccf881a3fde1f5af2b768898ef278d024fdd742302f701459f79d", "secret"=>"a00c0b4561b2274426b5ca33800231ac25a781a9642bc1faea51a8e853e3475b", "redirect_uri"=>"https://app.com/callback", "scopes"=>"private read", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d2338495dfe15063c36ef8f0f6b587a97877ee2927ae09afa47d239999441463", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000203')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000203'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 199", "uid"=>"d2338495dfe15063c36ef8f0f6b587a97877ee2927ae09afa47d239999441463", "secret"=>"0d7b1a530f11f407385af93bdfb50d180a831db9fdcbcf412838d96874b286c8", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000203'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 199", "uid"=>"d2338495dfe15063c36ef8f0f6b587a97877ee2927ae09afa47d239999441463", "secret"=>"0d7b1a530f11f407385af93bdfb50d180a831db9fdcbcf412838d96874b286c8", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e2d5ff52665904703896697c1205d803f2f4108dcc4ff4ef3d3a04f7dbda6a37", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000204')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000204'), "application_id"=>BSON::ObjectId('5bb622513541594a85000202'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>100, "token"=>"e2d5ff52665904703896697c1205d803f2f4108dcc4ff4ef3d3a04f7dbda6a37", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000204'), "application_id"=>BSON::ObjectId('5bb622513541594a85000202'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>100, "token"=>"e2d5ff52665904703896697c1205d803f2f4108dcc4ff4ef3d3a04f7dbda6a37", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622513541594a85000202'), :resource_owner_id=>100, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"46d85bf6c071cbccbe769fe08e9e794ff72076c63766b90e9ce6c5d011beb73f", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000205')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000205'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 200", "uid"=>"46d85bf6c071cbccbe769fe08e9e794ff72076c63766b90e9ce6c5d011beb73f", "secret"=>"26c333959d7a14dc4603e3b9c11e176246b552feed8c355a2ab59f4e6cfce822", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000205'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 200", "uid"=>"46d85bf6c071cbccbe769fe08e9e794ff72076c63766b90e9ce6c5d011beb73f", "secret"=>"26c333959d7a14dc4603e3b9c11e176246b552feed8c355a2ab59f4e6cfce822", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"c6e3ed9ae6734a7d5aada98ee8e6fa03d5bd411272b688786209e79de9684d69", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000206')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000206'), "application_id"=>BSON::ObjectId('5bb622513541594a85000205'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>100, "token"=>"c6e3ed9ae6734a7d5aada98ee8e6fa03d5bd411272b688786209e79de9684d69", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000206'), "application_id"=>BSON::ObjectId('5bb622513541594a85000205'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>100, "token"=>"c6e3ed9ae6734a7d5aada98ee8e6fa03d5bd411272b688786209e79de9684d69", "expires_in"=>7200, "scopes"=>"public"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622513541594a85000205'), :resource_owner_id=>100, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8b66a0fd18b7a990a5e1d302963a7e2b76fa3e642cc801ba2dd543a628a85115", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000207')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000207'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 201", "uid"=>"8b66a0fd18b7a990a5e1d302963a7e2b76fa3e642cc801ba2dd543a628a85115", "secret"=>"ee6d695471b3e316a59d1a180df8b157665dc21cac4dfa610e289d30e979ed14", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000207'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 201", "uid"=>"8b66a0fd18b7a990a5e1d302963a7e2b76fa3e642cc801ba2dd543a628a85115", "secret"=>"ee6d695471b3e316a59d1a180df8b157665dc21cac4dfa610e289d30e979ed14", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"5f2882a737f1acf34004c65cfd9fd705a32b01ab869158ad70fa582065c0ba05", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000208')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000208'), "application_id"=>BSON::ObjectId('5bb622513541594a85000207'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>2, "token"=>"5f2882a737f1acf34004c65cfd9fd705a32b01ab869158ad70fa582065c0ba05", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000208'), "application_id"=>BSON::ObjectId('5bb622513541594a85000207'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>2, "token"=>"5f2882a737f1acf34004c65cfd9fd705a32b01ab869158ad70fa582065c0ba05", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622513541594a85000207'), :resource_owner_id=>100, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"89f3f34e1b8c9aa180106996601a01bdd10b7b0bd608cb44d5a7cacfc1f4f655", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000209')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000209'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 202", "uid"=>"89f3f34e1b8c9aa180106996601a01bdd10b7b0bd608cb44d5a7cacfc1f4f655", "secret"=>"e1e23faf02ae9c7f9b8e954ea314f94fe5efd9490bb402bf4c88e7595a595a84", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000209'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 202", "uid"=>"89f3f34e1b8c9aa180106996601a01bdd10b7b0bd608cb44d5a7cacfc1f4f655", "secret"=>"e1e23faf02ae9c7f9b8e954ea314f94fe5efd9490bb402bf4c88e7595a595a84", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"cab5ac8b3ce6a7b42fe88a8d1307b2692662e9785bf82f1e425edd4f48fb1a4f", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a8500020a')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a8500020a'), "application_id"=>BSON::ObjectId('5bb622513541594a85000209'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>nil, "token"=>"cab5ac8b3ce6a7b42fe88a8d1307b2692662e9785bf82f1e425edd4f48fb1a4f", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a8500020a'), "application_id"=>BSON::ObjectId('5bb622513541594a85000209'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>nil, "token"=>"cab5ac8b3ce6a7b42fe88a8d1307b2692662e9785bf82f1e425edd4f48fb1a4f", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622513541594a85000209'), :resource_owner_id=>nil, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ac3eff4c13ea57b8fd2a820d7268de202fa054bd97909d22bbbe6f30e8489e8f", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a8500020b')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a8500020b'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 203", "uid"=>"ac3eff4c13ea57b8fd2a820d7268de202fa054bd97909d22bbbe6f30e8489e8f", "secret"=>"dbe7fa9d8c1773a0bdcaa4c316a3e8cb27af9675272a44f4b951c30bdd3f8d56", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a8500020b'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 203", "uid"=>"ac3eff4c13ea57b8fd2a820d7268de202fa054bd97909d22bbbe6f30e8489e8f", "secret"=>"dbe7fa9d8c1773a0bdcaa4c316a3e8cb27af9675272a44f4b951c30bdd3f8d56", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"c97b5f1e1d072bddc1c4455a44852b82446472e19d7e5800229f78a586890b90", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a8500020c')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a8500020c'), "application_id"=>BSON::ObjectId('5bb622513541594a8500020b'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>100, "token"=>"c97b5f1e1d072bddc1c4455a44852b82446472e19d7e5800229f78a586890b90", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a8500020c'), "application_id"=>BSON::ObjectId('5bb622513541594a8500020b'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>100, "token"=>"c97b5f1e1d072bddc1c4455a44852b82446472e19d7e5800229f78a586890b90", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622513541594a8500020b'), :resource_owner_id=>100, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"99d16018ba2bce4d20cd040967f1367dae265273548fe5376444301ca78a7419", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a8500020d')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a8500020d'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 204", "uid"=>"99d16018ba2bce4d20cd040967f1367dae265273548fe5376444301ca78a7419", "secret"=>"4a0ef20848b2e6387b343efe22ab2ad9070b1ea1fac5d1315bcf1f665ad97952", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a8500020d'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 204", "uid"=>"99d16018ba2bce4d20cd040967f1367dae265273548fe5376444301ca78a7419", "secret"=>"4a0ef20848b2e6387b343efe22ab2ad9070b1ea1fac5d1315bcf1f665ad97952", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"dd748dc6ee56df0cce57b89a1337504769d7a8a31298107bbe7a9bf2ce0342ca", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a8500020e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a8500020e'), "application_id"=>BSON::ObjectId('5bb622513541594a8500020d'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>100, "token"=>"dd748dc6ee56df0cce57b89a1337504769d7a8a31298107bbe7a9bf2ce0342ca", "expires_in"=>7200, "revoked_at"=>2018-10-03 00:00:00 UTC, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a8500020e'), "application_id"=>BSON::ObjectId('5bb622513541594a8500020d'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>100, "token"=>"dd748dc6ee56df0cce57b89a1337504769d7a8a31298107bbe7a9bf2ce0342ca", "expires_in"=>7200, "revoked_at"=>2018-10-03 00:00:00 UTC, "scopes"=>"public write"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622513541594a8500020d'), :resource_owner_id=>100, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b57590054e56fa1f4d78c712014d9615a29ba904a201558224238ced09fbec84", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000210')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000210'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 205", "uid"=>"b57590054e56fa1f4d78c712014d9615a29ba904a201558224238ced09fbec84", "secret"=>"c42710878542a46e59be69c601f3b77556bb0d7ec24222518afe04ca2607e8c8", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000210'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 205", "uid"=>"b57590054e56fa1f4d78c712014d9615a29ba904a201558224238ced09fbec84", "secret"=>"c42710878542a46e59be69c601f3b77556bb0d7ec24222518afe04ca2607e8c8", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"7b6a57ccf19ecb70f2d6a2e581df1c4c61a514ab106aa9cd8a8702c1c32e6d14", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a8500020f')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"4e9a5ca641dc5fe6ca8535b87dec6831af05731bdbba30cc27af426ccd8dae98", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a8500020f')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a8500020f'), "application_id"=>BSON::ObjectId('5bb622513541594a85000210'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>39, "token"=>"7b6a57ccf19ecb70f2d6a2e581df1c4c61a514ab106aa9cd8a8702c1c32e6d14", "refresh_token"=>"4e9a5ca641dc5fe6ca8535b87dec6831af05731bdbba30cc27af426ccd8dae98", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a8500020f'), "application_id"=>BSON::ObjectId('5bb622513541594a85000210'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>39, "token"=>"7b6a57ccf19ecb70f2d6a2e581df1c4c61a514ab106aa9cd8a8702c1c32e6d14", "refresh_token"=>"4e9a5ca641dc5fe6ca8535b87dec6831af05731bdbba30cc27af426ccd8dae98", "expires_in"=>7200}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"eee81cec594372ec6134ebb0c49c39c02a3ffbf0266b16ad6e4e2104b36e3652", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000212')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000212'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 206", "uid"=>"eee81cec594372ec6134ebb0c49c39c02a3ffbf0266b16ad6e4e2104b36e3652", "secret"=>"16831bfeebdbe15bfde224e954ec11bce6f9c94bb83a0538149901b7961c14d8", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000212'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 206", "uid"=>"eee81cec594372ec6134ebb0c49c39c02a3ffbf0266b16ad6e4e2104b36e3652", "secret"=>"16831bfeebdbe15bfde224e954ec11bce6f9c94bb83a0538149901b7961c14d8", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"36eacc673371645db7ff1e0df05c05c5576e0cb265592516871dc62e05ec643b", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000211')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"6c802dd7f5ce7940ec4420f01b879e29d92c0b7488706a849eb3aae9c438bc9c", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000211')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000211'), "application_id"=>BSON::ObjectId('5bb622513541594a85000212'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>40, "token"=>"36eacc673371645db7ff1e0df05c05c5576e0cb265592516871dc62e05ec643b", "refresh_token"=>"6c802dd7f5ce7940ec4420f01b879e29d92c0b7488706a849eb3aae9c438bc9c", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000211'), "application_id"=>BSON::ObjectId('5bb622513541594a85000212'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>40, "token"=>"36eacc673371645db7ff1e0df05c05c5576e0cb265592516871dc62e05ec643b", "refresh_token"=>"6c802dd7f5ce7940ec4420f01b879e29d92c0b7488706a849eb3aae9c438bc9c", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622513541594a85000211')}, :u=>{"_id"=>BSON::ObjectId('5bb622513541594a85000211'), "application_id"=>BSON::ObjectId('5bb622513541594a85000212'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>40, "token"=>"36eacc673371645db7ff1e0df05c05c5576e0cb265592516871dc62e05ec643b", "refresh_token"=>"4e9a5ca641dc5fe6ca8535b87dec6831af05731bdbba30cc27af426ccd8dae98", "expires_in"=>7200}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"341640f655746985bf56db11f2bee0d4d8358e2aa582ecf26408e8c1682389c4", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000214')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000214'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 207", "uid"=>"341640f655746985bf56db11f2bee0d4d8358e2aa582ecf26408e8c1682389c4", "secret"=>"a152331a7a5f9d12802ff28821d5879d1875f0ddc5d87dca9f64e415ed6c4376", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000214'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 207", "uid"=>"341640f655746985bf56db11f2bee0d4d8358e2aa582ecf26408e8c1682389c4", "secret"=>"a152331a7a5f9d12802ff28821d5879d1875f0ddc5d87dca9f64e415ed6c4376", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"b0f93eb90d04691dff9b5bba1e3401d57598bb6713688809650925c4064b1b37", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000213')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000213'), "application_id"=>BSON::ObjectId('5bb622513541594a85000214'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>41, "token"=>"b0f93eb90d04691dff9b5bba1e3401d57598bb6713688809650925c4064b1b37", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000213'), "application_id"=>BSON::ObjectId('5bb622513541594a85000214'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>41, "token"=>"b0f93eb90d04691dff9b5bba1e3401d57598bb6713688809650925c4064b1b37", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a125378ef3f297ee0bef8f65df804a7f259782d29e425d5f59d3c62f6073cdb7", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000216')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000216'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 208", "uid"=>"a125378ef3f297ee0bef8f65df804a7f259782d29e425d5f59d3c62f6073cdb7", "secret"=>"b0dad2fef7ce19ac9761d118a7057ed68b814ba85122cb3494bc4fc9a00ad267", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000216'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 208", "uid"=>"a125378ef3f297ee0bef8f65df804a7f259782d29e425d5f59d3c62f6073cdb7", "secret"=>"b0dad2fef7ce19ac9761d118a7057ed68b814ba85122cb3494bc4fc9a00ad267", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"bf8fff96e4d429e0f3313eaa590478e8498a8e38eb5aedb18815f25317bd6dea", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000215')}}, {:_id=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"5bd8f36f3cf60f9086576d0e81214bcb464cb4f1fa7e12da30210b47a56b8242", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000215')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000215'), "application_id"=>BSON::ObjectId('5bb622513541594a85000216'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>42, "token"=>"bf8fff96e4d429e0f3313eaa590478e8498a8e38eb5aedb18815f25317bd6dea", "refresh_token"=>"5bd8f36f3cf60f9086576d0e81214bcb464cb4f1fa7e12da30210b47a56b8242", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000215'), "application_id"=>BSON::ObjectId('5bb622513541594a85000216'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>42, "token"=>"bf8fff96e4d429e0f3313eaa590478e8498a8e38eb5aedb18815f25317bd6dea", "refresh_token"=>"5bd8f36f3cf60f9086576d0e81214bcb464cb4f1fa7e12da30210b47a56b8242", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8056e2a8e2d33357f1eff572a78d84c1508e2c4fe4d09c610f2469df0bb86b3b", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000218')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000218'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 209", "uid"=>"8056e2a8e2d33357f1eff572a78d84c1508e2c4fe4d09c610f2469df0bb86b3b", "secret"=>"84e3f6b28ce7936e1bb5ae462c8b161a1839c960324bef56457ee01f3d5fcdc1", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000218'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 209", "uid"=>"8056e2a8e2d33357f1eff572a78d84c1508e2c4fe4d09c610f2469df0bb86b3b", "secret"=>"84e3f6b28ce7936e1bb5ae462c8b161a1839c960324bef56457ee01f3d5fcdc1", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"a7b67d74ea41f794ddeb01ff267cfb002b62314fb399076762794e2dd190fae8", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000217')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"415749582dbbbfd5f51cf8afb6d99120c9b99a68dc9fe7705855fec987ac69b0", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000217')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000217'), "application_id"=>BSON::ObjectId('5bb622513541594a85000218'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>43, "token"=>"a7b67d74ea41f794ddeb01ff267cfb002b62314fb399076762794e2dd190fae8", "refresh_token"=>"415749582dbbbfd5f51cf8afb6d99120c9b99a68dc9fe7705855fec987ac69b0", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000217'), "application_id"=>BSON::ObjectId('5bb622513541594a85000218'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>43, "token"=>"a7b67d74ea41f794ddeb01ff267cfb002b62314fb399076762794e2dd190fae8", "refresh_token"=>"415749582dbbbfd5f51cf8afb6d99120c9b99a68dc9fe7705855fec987ac69b0", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0c6db5017fb9ee663be26a7e774637342967ffc6a0cb5dd9a17d6bdca2d19590", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a8500021a')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a8500021a'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 210", "uid"=>"0c6db5017fb9ee663be26a7e774637342967ffc6a0cb5dd9a17d6bdca2d19590", "secret"=>"23f6e2efc68e0533c0e0e568fe39fdde3adce3f5b17142c7b1f035f0c099292e", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a8500021a'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 210", "uid"=>"0c6db5017fb9ee663be26a7e774637342967ffc6a0cb5dd9a17d6bdca2d19590", "secret"=>"23f6e2efc68e0533c0e0e568fe39fdde3adce3f5b17142c7b1f035f0c099292e", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"a0b7981b266dda3214c282ee59e718cc75583a694e903ebdf6bd50252648095b", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000219')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"6a5adafb28a50899f6d92da85c40676733090424b5222181a31fbbac2acb2384", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000219')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000219'), "application_id"=>BSON::ObjectId('5bb622513541594a8500021a'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>44, "token"=>"a0b7981b266dda3214c282ee59e718cc75583a694e903ebdf6bd50252648095b", "refresh_token"=>"6a5adafb28a50899f6d92da85c40676733090424b5222181a31fbbac2acb2384", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000219'), "application_id"=>BSON::ObjectId('5bb622513541594a8500021a'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>44, "token"=>"a0b7981b266dda3214c282ee59e718cc75583a694e903ebdf6bd50252648095b", "refresh_token"=>"6a5adafb28a50899f6d92da85c40676733090424b5222181a31fbbac2acb2384", "expires_in"=>7200}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"a0b7981b266dda3214c282ee59e718cc75583a694e903ebdf6bd50252648095b", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000219')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"415749582dbbbfd5f51cf8afb6d99120c9b99a68dc9fe7705855fec987ac69b0", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000219')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"70fbe14ab337c0d5c5c02d0edfb6e7605e95a9f2d52609e055f40454d616afd4", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a8500021c')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a8500021c'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 211", "uid"=>"70fbe14ab337c0d5c5c02d0edfb6e7605e95a9f2d52609e055f40454d616afd4", "secret"=>"06b5d4d9c0d365eb071942f4a185b97b6fa14f8ba5803b8f4d4af1591209964c", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a8500021c'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 211", "uid"=>"70fbe14ab337c0d5c5c02d0edfb6e7605e95a9f2d52609e055f40454d616afd4", "secret"=>"06b5d4d9c0d365eb071942f4a185b97b6fa14f8ba5803b8f4d4af1591209964c", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"27f8da98e095a02b832f68efa10a697485ed83ab16951bcfa29cf906ed64f7f4", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a8500021b')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (7.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e86d89923b3d78701fab4d42f7d0d0abcbc7bd51aa1d1fa8c59cf098ba5ea991", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a8500021e')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a8500021e'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 212", "uid"=>"e86d89923b3d78701fab4d42f7d0d0abcbc7bd51aa1d1fa8c59cf098ba5ea991", "secret"=>"2ad1b49bb99a8af0c4e07a31074b8934db83a3c2ed4857473cdeac40876e9802", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a8500021e'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 212", "uid"=>"e86d89923b3d78701fab4d42f7d0d0abcbc7bd51aa1d1fa8c59cf098ba5ea991", "secret"=>"2ad1b49bb99a8af0c4e07a31074b8934db83a3c2ed4857473cdeac40876e9802", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"35d2b84029a5d66173c3e7494fc78729f071cac42b0134c43bd90d5557ff9fb4", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a8500021d')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a8500021d'), "application_id"=>BSON::ObjectId('5bb622513541594a8500021e'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>46, "token"=>"35d2b84029a5d66173c3e7494fc78729f071cac42b0134c43bd90d5557ff9fb4", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a8500021d'), "application_id"=>BSON::ObjectId('5bb622513541594a8500021e'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>46, "token"=>"35d2b84029a5d66173c3e7494fc78729f071cac42b0134c43bd90d5557ff9fb4", "expires_in"=>7200}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b2915d06f58508ac7a66eb0da2a0261b75cc9ca2872e1fb6a4284f559fdd4c37", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000220')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000220'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 213", "uid"=>"b2915d06f58508ac7a66eb0da2a0261b75cc9ca2872e1fb6a4284f559fdd4c37", "secret"=>"97d4e097b1a48b9ce6d97dc326624ee80d41347e2e7f69278d7cb86e3c676d47", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000220'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 213", "uid"=>"b2915d06f58508ac7a66eb0da2a0261b75cc9ca2872e1fb6a4284f559fdd4c37", "secret"=>"97d4e097b1a48b9ce6d97dc326624ee80d41347e2e7f69278d7cb86e3c676d47", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"5b4ea28c28072e863fedfe5661142381e6aa51e85838510b15b00e95a4ba7f4f", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a8500021f')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a8500021f'), "application_id"=>BSON::ObjectId('5bb622513541594a85000220'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>47, "token"=>"5b4ea28c28072e863fedfe5661142381e6aa51e85838510b15b00e95a4ba7f4f", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a8500021f'), "application_id"=>BSON::ObjectId('5bb622513541594a85000220'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>47, "token"=>"5b4ea28c28072e863fedfe5661142381e6aa51e85838510b15b00e95a4ba7f4f", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"35d2b84029a5d66173c3e7494fc78729f071cac42b0134c43bd90d5557ff9fb4", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a8500021f')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c283c48f16b325b89a5fc7deb78bd005eb1352e5dcf41773fd36010c65d67aca", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000222')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000222'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 214", "uid"=>"c283c48f16b325b89a5fc7deb78bd005eb1352e5dcf41773fd36010c65d67aca", "secret"=>"c3db20f1d5afc5dbaf48527755884632081ac2b9a6d01f809a5af3b27058914c", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000222'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 214", "uid"=>"c283c48f16b325b89a5fc7deb78bd005eb1352e5dcf41773fd36010c65d67aca", "secret"=>"c3db20f1d5afc5dbaf48527755884632081ac2b9a6d01f809a5af3b27058914c", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"7dccfe231af13e09536e52aa63ff952ee955fdad693545c9d37db71c78286bab", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000221')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000221'), "application_id"=>BSON::ObjectId('5bb622513541594a85000222'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>48, "token"=>"7dccfe231af13e09536e52aa63ff952ee955fdad693545c9d37db71c78286bab", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000221'), "application_id"=>BSON::ObjectId('5bb622513541594a85000222'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>48, "token"=>"7dccfe231af13e09536e52aa63ff952ee955fdad693545c9d37db71c78286bab", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1b2ec860602792fcf7f5cbdce461e1669632ad99794965b76701129a92ad4e0a", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000224')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000224'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 215", "uid"=>"1b2ec860602792fcf7f5cbdce461e1669632ad99794965b76701129a92ad4e0a", "secret"=>"f1bec76e234f989d9971b5bfcc3eaccd74cb1044dafc87e63d310c846faaf6c5", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000224'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 215", "uid"=>"1b2ec860602792fcf7f5cbdce461e1669632ad99794965b76701129a92ad4e0a", "secret"=>"f1bec76e234f989d9971b5bfcc3eaccd74cb1044dafc87e63d310c846faaf6c5", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"93d4e159bf15d3106cf2608e257b8b3aafab07dcee3a9e435a8ada0d95216556", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000223')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000223'), "application_id"=>BSON::ObjectId('5bb622513541594a85000224'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>49, "token"=>"93d4e159bf15d3106cf2608e257b8b3aafab07dcee3a9e435a8ada0d95216556", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000223'), "application_id"=>BSON::ObjectId('5bb622513541594a85000224'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>49, "token"=>"93d4e159bf15d3106cf2608e257b8b3aafab07dcee3a9e435a8ada0d95216556", "expires_in"=>7200}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"7dccfe231af13e09536e52aa63ff952ee955fdad693545c9d37db71c78286bab", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000223')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"12689b5a9eabb59227d78d2577d4b553fe7ac37a225b1fd19734befe6750b34b", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000226')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000226'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 216", "uid"=>"12689b5a9eabb59227d78d2577d4b553fe7ac37a225b1fd19734befe6750b34b", "secret"=>"94584d03fd3a91aeef8fad2721e3e8b763bae9ff4bb934eca86903ebbf0ae134", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000226'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 216", "uid"=>"12689b5a9eabb59227d78d2577d4b553fe7ac37a225b1fd19734befe6750b34b", "secret"=>"94584d03fd3a91aeef8fad2721e3e8b763bae9ff4bb934eca86903ebbf0ae134", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"96fdd07440348f12bb0adbbb82cd1bcb927adc7188a2205e8a0bc0fbf5aaca1a", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000225')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (3.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (4.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (2.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d847bf68bae15447f350448eda3ebddba2f13724cb2c4935ab389763ca1ca437", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000228')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000228'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 217", "uid"=>"d847bf68bae15447f350448eda3ebddba2f13724cb2c4935ab389763ca1ca437", "secret"=>"bfcafe7bfd992111dc83509acd7cae47deab5e00dff50c1ca9c26cdb70b2113e", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000228'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 217", "uid"=>"d847bf68bae15447f350448eda3ebddba2f13724cb2c4935ab389763ca1ca437", "secret"=>"bfcafe7bfd992111dc83509acd7cae47deab5e00dff50c1ca9c26cdb70b2113e", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (5.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"23f5d5c9613651800d42dbb2c6feddea90e765f7592d89935362f51abac97190", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000227')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"9e7c7e6c0501b316dc9a3da82e2cf355eb4bd9a2ccf42375c2c022467d648ffd", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a8500022a')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a8500022a'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 218", "uid"=>"9e7c7e6c0501b316dc9a3da82e2cf355eb4bd9a2ccf42375c2c022467d648ffd", "secret"=>"045a9116ae2c930463b6b1647c874a333534b10c18d01552cb214027e988baae", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a8500022a'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 218", "uid"=>"9e7c7e6c0501b316dc9a3da82e2cf355eb4bd9a2ccf42375c2c022467d648ffd", "secret"=>"045a9116ae2c930463b6b1647c874a333534b10c18d01552cb214027e988baae", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"custom_generator_token_Application 218", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000229')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000229'), "application_id"=>BSON::ObjectId('5bb622513541594a8500022a'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>52, "token"=>"custom_generator_token_Application 218", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000229'), "application_id"=>BSON::ObjectId('5bb622513541594a8500022a'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>52, "token"=>"custom_generator_token_Application 218", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (9.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (9.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6e36cf21803db4a0e675dcc14e7286e22c53e4026ce3cd3ad8952292bef04760", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a8500022c')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a8500022c'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 219", "uid"=>"6e36cf21803db4a0e675dcc14e7286e22c53e4026ce3cd3ad8952292bef04760", "secret"=>"76cb75421a33fbe8ea21d4cc5bb71ffbcee1fc02f51266540876171c028dbf04", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a8500022c'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 219", "uid"=>"6e36cf21803db4a0e675dcc14e7286e22c53e4026ce3cd3ad8952292bef04760", "secret"=>"76cb75421a33fbe8ea21d4cc5bb71ffbcee1fc02f51266540876171c028dbf04", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (2.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"custom_generator_token_2_public write", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a8500022b')}}, {:_id=>1}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a8500022b'), "application_id"=>BSON::ObjectId('5bb622513541594a8500022c'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>53, "token"=>"custom_generator_token_2_public write", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a8500022b'), "application_id"=>BSON::ObjectId('5bb622513541594a8500022c'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>53, "token"=>"custom_generator_token_2_public write", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (2.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (2.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (3.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (2.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f3736a77362201a9a98555124f5dd335419be7ef271f976dbfc8cd13179013b0", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a8500022e')}}, {:_id=>1}).limit(-1) MONGODB (2.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a8500022e'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 220", "uid"=>"f3736a77362201a9a98555124f5dd335419be7ef271f976dbfc8cd13179013b0", "secret"=>"ac34e55187fe8353c2953781fddc275b38bf60cdd86940d357f0f54c2122159c", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (2.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a8500022e'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 220", "uid"=>"f3736a77362201a9a98555124f5dd335419be7ef271f976dbfc8cd13179013b0", "secret"=>"ac34e55187fe8353c2953781fddc275b38bf60cdd86940d357f0f54c2122159c", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (4.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (4.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5e555e1519c84dd12eb17b7c9225e84d1352217fc66e5a6584bf8afd4d6998f2", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000230')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000230'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 221", "uid"=>"5e555e1519c84dd12eb17b7c9225e84d1352217fc66e5a6584bf8afd4d6998f2", "secret"=>"2fb417589705b99cf602addde8b58417f8e7c1cdb9792d162478e27584af62be", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000230'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 221", "uid"=>"5e555e1519c84dd12eb17b7c9225e84d1352217fc66e5a6584bf8afd4d6998f2", "secret"=>"2fb417589705b99cf602addde8b58417f8e7c1cdb9792d162478e27584af62be", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"custom_generator_token_7200", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a8500022f')}}, {:_id=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a8500022f'), "application_id"=>BSON::ObjectId('5bb622513541594a85000230'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>55, "token"=>"custom_generator_token_7200", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a8500022f'), "application_id"=>BSON::ObjectId('5bb622513541594a85000230'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>55, "token"=>"custom_generator_token_7200", "expires_in"=>7200}) MONGODB (4.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (2.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"bd0eedc1676a4efc33338fa8c7760e4e2bf49d308f80469555e71f4284fa660a", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000232')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000232'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 222", "uid"=>"bd0eedc1676a4efc33338fa8c7760e4e2bf49d308f80469555e71f4284fa660a", "secret"=>"b276fb700cbf6d350d51c9ee409dab9251673c407cb60c37333b876e5556c1ee", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000232'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 222", "uid"=>"bd0eedc1676a4efc33338fa8c7760e4e2bf49d308f80469555e71f4284fa660a", "secret"=>"b276fb700cbf6d350d51c9ee409dab9251673c407cb60c37333b876e5556c1ee", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"custom_generator_token_56", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000231')}}, {:_id=>1}).limit(-1) MONGODB (4.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000231'), "application_id"=>BSON::ObjectId('5bb622513541594a85000232'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>56, "token"=>"custom_generator_token_56", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (4.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000231'), "application_id"=>BSON::ObjectId('5bb622513541594a85000232'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>56, "token"=>"custom_generator_token_56", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6ba9df05127376265bbd5e8568eeb9a9f95fdc1a599ea5226fd5c0c0b5564279", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000234')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000234'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 223", "uid"=>"6ba9df05127376265bbd5e8568eeb9a9f95fdc1a599ea5226fd5c0c0b5564279", "secret"=>"cc772b369df1e1e6eba2f0a8a5be99ba36decf07d92134a60e83b7613e005138", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000234'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 223", "uid"=>"6ba9df05127376265bbd5e8568eeb9a9f95fdc1a599ea5226fd5c0c0b5564279", "secret"=>"cc772b369df1e1e6eba2f0a8a5be99ba36decf07d92134a60e83b7613e005138", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4550ffa0863f9e5c051fd485b6c71b2fbb6cdffe5641739a48bdffd9fd38981a", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000236')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000236'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 224", "uid"=>"4550ffa0863f9e5c051fd485b6c71b2fbb6cdffe5641739a48bdffd9fd38981a", "secret"=>"6f11cd5e286f304e628262cfb9ac812841d638554c7aea9318e0f8994ca6b033", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000236'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 224", "uid"=>"4550ffa0863f9e5c051fd485b6c71b2fbb6cdffe5641739a48bdffd9fd38981a", "secret"=>"6f11cd5e286f304e628262cfb9ac812841d638554c7aea9318e0f8994ca6b033", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f74b6159e3dc97899410bcea724b7545978b8325cae23417d1df7c04a30a0179", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000235')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000235'), "application_id"=>BSON::ObjectId('5bb622513541594a85000236'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>58, "token"=>"f74b6159e3dc97899410bcea724b7545978b8325cae23417d1df7c04a30a0179", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000235'), "application_id"=>BSON::ObjectId('5bb622513541594a85000236'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>58, "token"=>"f74b6159e3dc97899410bcea724b7545978b8325cae23417d1df7c04a30a0179", "expires_in"=>7200}) MONGODB (2.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4c116e331ce9d65c484787f60740b79ff7ffab76b6130c75a520c745b93a46de", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000238')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000238'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 225", "uid"=>"4c116e331ce9d65c484787f60740b79ff7ffab76b6130c75a520c745b93a46de", "secret"=>"7688df166c0e982d499ba01805e83c6c0a33b7d322c0c9d1e647df55cd72d696", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000238'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 225", "uid"=>"4c116e331ce9d65c484787f60740b79ff7ffab76b6130c75a520c745b93a46de", "secret"=>"7688df166c0e982d499ba01805e83c6c0a33b7d322c0c9d1e647df55cd72d696", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"653ac83765db66a815be4f60509b7b3c649e8f9b38377671aa73948c054940a5", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000237')}}, {:_id=>1}).limit(-1) MONGODB (5.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000237'), "application_id"=>BSON::ObjectId('5bb622513541594a85000238'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>59, "token"=>"653ac83765db66a815be4f60509b7b3c649e8f9b38377671aa73948c054940a5", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (5.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000237'), "application_id"=>BSON::ObjectId('5bb622513541594a85000238'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>59, "token"=>"653ac83765db66a815be4f60509b7b3c649e8f9b38377671aa73948c054940a5", "expires_in"=>7200}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2d0ded20e886a864cecd15eb8cb7467540143039985b26397cc38b33ea25238f", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a8500023a')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a8500023a'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 226", "uid"=>"2d0ded20e886a864cecd15eb8cb7467540143039985b26397cc38b33ea25238f", "secret"=>"7d3d8f80db46100f6371a1f20f27b27af36ca3db33c4cf9e4918c119280973d8", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (11.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a8500023a'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 226", "uid"=>"2d0ded20e886a864cecd15eb8cb7467540143039985b26397cc38b33ea25238f", "secret"=>"7d3d8f80db46100f6371a1f20f27b27af36ca3db33c4cf9e4918c119280973d8", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (4.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d61e977e0c520c5aa87582d2558ef2da5e8aee810d4f4300cdb31698fc2b2316", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a8500023c')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a8500023c'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 227", "uid"=>"d61e977e0c520c5aa87582d2558ef2da5e8aee810d4f4300cdb31698fc2b2316", "secret"=>"e1ee3a50de1048eed0c97cbb504f2364ba5a73493a3b4adf71ee45403425ccde", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a8500023c'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 227", "uid"=>"d61e977e0c520c5aa87582d2558ef2da5e8aee810d4f4300cdb31698fc2b2316", "secret"=>"e1ee3a50de1048eed0c97cbb504f2364ba5a73493a3b4adf71ee45403425ccde", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"custom_generator_token_1538662993", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a8500023b')}}, {:_id=>1}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a8500023b'), "application_id"=>BSON::ObjectId('5bb622513541594a8500023c'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>61, "token"=>"custom_generator_token_1538662993", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a8500023b'), "application_id"=>BSON::ObjectId('5bb622513541594a8500023c'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>61, "token"=>"custom_generator_token_1538662993", "expires_in"=>7200}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6f467273b96a481687f49f4193fa6c8ab8bd6ac437ba908a41d89c02b70e11d0", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a8500023d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a8500023d'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 228", "uid"=>"6f467273b96a481687f49f4193fa6c8ab8bd6ac437ba908a41d89c02b70e11d0", "secret"=>"23cbbbeb968f0b544d72c1e71a2d25c041c4cccd5f41fd1a548da1d3bb8afed8", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a8500023d'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 228", "uid"=>"6f467273b96a481687f49f4193fa6c8ab8bd6ac437ba908a41d89c02b70e11d0", "secret"=>"23cbbbeb968f0b544d72c1e71a2d25c041c4cccd5f41fd1a548da1d3bb8afed8", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"4afc1ce0abddea8ca30775c909547e71cc88f886724215a0f4265a921a45e4f9", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a8500023e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a8500023e'), "application_id"=>BSON::ObjectId('5bb622513541594a8500023d'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>90, "token"=>"4afc1ce0abddea8ca30775c909547e71cc88f886724215a0f4265a921a45e4f9", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a8500023e'), "application_id"=>BSON::ObjectId('5bb622513541594a8500023d'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>90, "token"=>"4afc1ce0abddea8ca30775c909547e71cc88f886724215a0f4265a921a45e4f9", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622513541594a8500023d'), :resource_owner_id=>100, :revoked_at=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b0f1cfc674181d5e13d9b1f36e7a6402ec21108281364b40cb88964f5acdbf22", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a8500023f')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a8500023f'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 229", "uid"=>"b0f1cfc674181d5e13d9b1f36e7a6402ec21108281364b40cb88964f5acdbf22", "secret"=>"1698da676d68ade347a23c6c528ecc84af6a606a7ed480a997567722538652f6", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a8500023f'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 229", "uid"=>"b0f1cfc674181d5e13d9b1f36e7a6402ec21108281364b40cb88964f5acdbf22", "secret"=>"1698da676d68ade347a23c6c528ecc84af6a606a7ed480a997567722538652f6", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"bbe45d07e5cdf97a096fd70c9238412705f639483daf258dddfd0608f4021383", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000240')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000240'), "application_id"=>BSON::ObjectId('5bb622513541594a8500023f'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>100, "token"=>"bbe45d07e5cdf97a096fd70c9238412705f639483daf258dddfd0608f4021383", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000240'), "application_id"=>BSON::ObjectId('5bb622513541594a8500023f'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>100, "token"=>"bbe45d07e5cdf97a096fd70c9238412705f639483daf258dddfd0608f4021383", "expires_in"=>7200}) MONGODB (4.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622513541594a8500023f'), :resource_owner_id=>100, :revoked_at=>nil}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622513541594a85000240')}, :u=>{"_id"=>BSON::ObjectId('5bb622513541594a85000240'), "application_id"=>BSON::ObjectId('5bb622513541594a8500023f'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>100, "token"=>"bbe45d07e5cdf97a096fd70c9238412705f639483daf258dddfd0608f4021383", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622513541594a85000240')}, {"_id"=>BSON::ObjectId('5bb622513541594a85000240'), "application_id"=>BSON::ObjectId('5bb622513541594a8500023f'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>100, "token"=>"bbe45d07e5cdf97a096fd70c9238412705f639483daf258dddfd0608f4021383", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"90491c1418a201717e2b123560cbb7393fb39589d5d54dc1e4dcb64013c130a6", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000241')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000241'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 230", "uid"=>"90491c1418a201717e2b123560cbb7393fb39589d5d54dc1e4dcb64013c130a6", "secret"=>"9e91681bf37a815cdb7a5db41716e3668642848b1206565655952f610df7215c", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000241'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 230", "uid"=>"90491c1418a201717e2b123560cbb7393fb39589d5d54dc1e4dcb64013c130a6", "secret"=>"9e91681bf37a815cdb7a5db41716e3668642848b1206565655952f610df7215c", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"cacc7d1677ce72b5e2834517475896f13b7754ee029ba950c7f26555ae6bd06f", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000242')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000242'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 231", "uid"=>"cacc7d1677ce72b5e2834517475896f13b7754ee029ba950c7f26555ae6bd06f", "secret"=>"bf8cd75db9e6053174c650de991ca7c037838d5b4c64afb3345b0c68f9339789", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000242'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 231", "uid"=>"cacc7d1677ce72b5e2834517475896f13b7754ee029ba950c7f26555ae6bd06f", "secret"=>"bf8cd75db9e6053174c650de991ca7c037838d5b4c64afb3345b0c68f9339789", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"eebe0712c2584be6b97cc48cf3bc87cdc2d5dcbc4259b0e3a262507ca8751f73", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000243')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000243'), "application_id"=>BSON::ObjectId('5bb622513541594a85000242'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>100, "token"=>"eebe0712c2584be6b97cc48cf3bc87cdc2d5dcbc4259b0e3a262507ca8751f73", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000243'), "application_id"=>BSON::ObjectId('5bb622513541594a85000242'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>100, "token"=>"eebe0712c2584be6b97cc48cf3bc87cdc2d5dcbc4259b0e3a262507ca8751f73", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622513541594a85000241'), :resource_owner_id=>100, :revoked_at=>nil}) MONGODB (2.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6dc340338324cde5264682fdc0217fc480bcabb4a21878a6aef14a7797437114", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000244')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000244'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 232", "uid"=>"6dc340338324cde5264682fdc0217fc480bcabb4a21878a6aef14a7797437114", "secret"=>"698c8460ccbf30f7207cea8c1c89e041b5c93d1d4684af454923cd80ab142de8", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000244'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 232", "uid"=>"6dc340338324cde5264682fdc0217fc480bcabb4a21878a6aef14a7797437114", "secret"=>"698c8460ccbf30f7207cea8c1c89e041b5c93d1d4684af454923cd80ab142de8", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"6fa11da18668d7294235ef129a5ce3c5ade366bc8e025e7c4a878e1daff9dc8a", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000245')}}, {:_id=>1}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000245'), "application_id"=>BSON::ObjectId('5bb622513541594a85000244'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>100, "token"=>"6fa11da18668d7294235ef129a5ce3c5ade366bc8e025e7c4a878e1daff9dc8a", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000245'), "application_id"=>BSON::ObjectId('5bb622513541594a85000244'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>100, "token"=>"6fa11da18668d7294235ef129a5ce3c5ade366bc8e025e7c4a878e1daff9dc8a", "expires_in"=>7200}) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"641609a397132984e5218993abc1279b1dacd302fae3efd5d53cde151abcfe47", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000246')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000246'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 233", "uid"=>"641609a397132984e5218993abc1279b1dacd302fae3efd5d53cde151abcfe47", "secret"=>"0f4f30db530935736762d4372306c4cb332aa7d291f5bea7254b13ee013f0b79", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000246'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 233", "uid"=>"641609a397132984e5218993abc1279b1dacd302fae3efd5d53cde151abcfe47", "secret"=>"0f4f30db530935736762d4372306c4cb332aa7d291f5bea7254b13ee013f0b79", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"8c09f59b65657d08e20ab64b85859fafd817ecba0f525e1f9f31767f789dcc00", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000247')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000247'), "application_id"=>BSON::ObjectId('5bb622513541594a85000246'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>42, "token"=>"8c09f59b65657d08e20ab64b85859fafd817ecba0f525e1f9f31767f789dcc00", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000247'), "application_id"=>BSON::ObjectId('5bb622513541594a85000246'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>42, "token"=>"8c09f59b65657d08e20ab64b85859fafd817ecba0f525e1f9f31767f789dcc00", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2059c086c68cd2ffac41c56469cb71d0eaad1ca5c85761ff87d2f47021f17985", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000248')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000248'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 234", "uid"=>"2059c086c68cd2ffac41c56469cb71d0eaad1ca5c85761ff87d2f47021f17985", "secret"=>"51a93b30fdd40ffdeadc74e4aaabf47a38d28139758626dc8c241d1d55958499", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000248'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 234", "uid"=>"2059c086c68cd2ffac41c56469cb71d0eaad1ca5c85761ff87d2f47021f17985", "secret"=>"51a93b30fdd40ffdeadc74e4aaabf47a38d28139758626dc8c241d1d55958499", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"1dfe2c62acd6f5ce751365504ef89a7dcf4d05442b88900d8082fea276afc346", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000249')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000249'), "application_id"=>BSON::ObjectId('5bb622513541594a85000248'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>100, "token"=>"1dfe2c62acd6f5ce751365504ef89a7dcf4d05442b88900d8082fea276afc346", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000249'), "application_id"=>BSON::ObjectId('5bb622513541594a85000248'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>100, "token"=>"1dfe2c62acd6f5ce751365504ef89a7dcf4d05442b88900d8082fea276afc346", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"54ed4cbc83dd5dc373961c60edaf05505cb3060ce7200d9a6720f027e923dd8c", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a8500024a')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a8500024a'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 235", "uid"=>"54ed4cbc83dd5dc373961c60edaf05505cb3060ce7200d9a6720f027e923dd8c", "secret"=>"692c69acefe43fb2324698e3c8f6a3da3c20f91fb2961ee5ce49a359a818f9d3", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a8500024a'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 235", "uid"=>"54ed4cbc83dd5dc373961c60edaf05505cb3060ce7200d9a6720f027e923dd8c", "secret"=>"692c69acefe43fb2324698e3c8f6a3da3c20f91fb2961ee5ce49a359a818f9d3", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"5aeb97ae7ed20390f1600ebf57d2862434200625e8bcc63d824f174dcf4f93fc", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a8500024b')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a8500024b'), "application_id"=>BSON::ObjectId('5bb622513541594a8500024a'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>100, "token"=>"5aeb97ae7ed20390f1600ebf57d2862434200625e8bcc63d824f174dcf4f93fc", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a8500024b'), "application_id"=>BSON::ObjectId('5bb622513541594a8500024a'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>100, "token"=>"5aeb97ae7ed20390f1600ebf57d2862434200625e8bcc63d824f174dcf4f93fc", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (4.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (5.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"84b2f3287f9d1f7fd56afe7817c7f0ad5a32c6b08d49336e49b855e07904a19f", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a8500024c')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a8500024c'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 236", "uid"=>"84b2f3287f9d1f7fd56afe7817c7f0ad5a32c6b08d49336e49b855e07904a19f", "secret"=>"97e4c1d2622c11123dbf81e69ca5bc7e1de147236a1de4a905670c9f81057825", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a8500024c'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 236", "uid"=>"84b2f3287f9d1f7fd56afe7817c7f0ad5a32c6b08d49336e49b855e07904a19f", "secret"=>"97e4c1d2622c11123dbf81e69ca5bc7e1de147236a1de4a905670c9f81057825", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f37216d006d191b1bf740c3424615d493b4bf15b872b206100c8b249bdc67635", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a8500024d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a8500024d'), "application_id"=>BSON::ObjectId('5bb622513541594a8500024c'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>100, "token"=>"f37216d006d191b1bf740c3424615d493b4bf15b872b206100c8b249bdc67635", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a8500024d'), "application_id"=>BSON::ObjectId('5bb622513541594a8500024c'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>100, "token"=>"f37216d006d191b1bf740c3424615d493b4bf15b872b206100c8b249bdc67635", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"5529ba5312edf4fa31404eea44178b0c3362cfef397ac66ea796bec463f9bfd7", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a8500024e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a8500024e'), "application_id"=>BSON::ObjectId('5bb622513541594a8500024c'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>100, "token"=>"5529ba5312edf4fa31404eea44178b0c3362cfef397ac66ea796bec463f9bfd7", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a8500024e'), "application_id"=>BSON::ObjectId('5bb622513541594a8500024c'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>100, "token"=>"5529ba5312edf4fa31404eea44178b0c3362cfef397ac66ea796bec463f9bfd7", "expires_in"=>7200}) MONGODB (3.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (2.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (2.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e51d92643fb25b8127568bf71d449a53b5bab6ea970d4ddf985c06f470232e09", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a8500024f')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a8500024f'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 237", "uid"=>"e51d92643fb25b8127568bf71d449a53b5bab6ea970d4ddf985c06f470232e09", "secret"=>"7d3eaaf639a2fba303bd6cef2102ab60641278f1e142ba242788e0e5ad5dfa23", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a8500024f'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 237", "uid"=>"e51d92643fb25b8127568bf71d449a53b5bab6ea970d4ddf985c06f470232e09", "secret"=>"7d3eaaf639a2fba303bd6cef2102ab60641278f1e142ba242788e0e5ad5dfa23", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d673c5a698ef104f1dfa16bbe4af929334203ce386b3d1f4248b762685f1a2f5", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000250')}}, {:_id=>1}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000250'), "application_id"=>BSON::ObjectId('5bb622513541594a8500024f'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>100, "token"=>"d673c5a698ef104f1dfa16bbe4af929334203ce386b3d1f4248b762685f1a2f5", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000250'), "application_id"=>BSON::ObjectId('5bb622513541594a8500024f'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>100, "token"=>"d673c5a698ef104f1dfa16bbe4af929334203ce386b3d1f4248b762685f1a2f5", "expires_in"=>7200}) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"85366139c8f88c53798e938be6b0842e8469e3e2cc30695e1b43adf615f0ae3a", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000251')}}, {:_id=>1}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000251'), "application_id"=>BSON::ObjectId('5bb622513541594a8500024f'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>42, "token"=>"85366139c8f88c53798e938be6b0842e8469e3e2cc30695e1b43adf615f0ae3a", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000251'), "application_id"=>BSON::ObjectId('5bb622513541594a8500024f'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>42, "token"=>"85366139c8f88c53798e938be6b0842e8469e3e2cc30695e1b43adf615f0ae3a", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (2.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (3.1ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (12.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5fe65d5feaed39c6c68312f9bc438b2d544fff55155113b3359110169750586d", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000253')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000253'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 238", "uid"=>"5fe65d5feaed39c6c68312f9bc438b2d544fff55155113b3359110169750586d", "secret"=>"12eeed585262df6c3fc3268e607d760a7cdbe87685d22db60861de59e9692c77", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000253'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 238", "uid"=>"5fe65d5feaed39c6c68312f9bc438b2d544fff55155113b3359110169750586d", "secret"=>"12eeed585262df6c3fc3268e607d760a7cdbe87685d22db60861de59e9692c77", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"0034aeaf72c518ae334d9aa954d5233e8b5dc48d0f271c756d87db1ec162d554", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000252')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000252'), "application_id"=>BSON::ObjectId('5bb622513541594a85000253'), "created_at"=>2018-10-04 08:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>62, "token"=>"0034aeaf72c518ae334d9aa954d5233e8b5dc48d0f271c756d87db1ec162d554", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000252'), "application_id"=>BSON::ObjectId('5bb622513541594a85000253'), "created_at"=>2018-10-04 08:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "resource_owner_id"=>62, "token"=>"0034aeaf72c518ae334d9aa954d5233e8b5dc48d0f271c756d87db1ec162d554", "expires_in"=>7200}) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3cabf6a5b5a9b8f1b8d12b5a6918e3b0c0f2fe9e364257dc5f513f2978cc21e4", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000255')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000255'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 239", "uid"=>"3cabf6a5b5a9b8f1b8d12b5a6918e3b0c0f2fe9e364257dc5f513f2978cc21e4", "secret"=>"c7c4b2475831bc6034977efcb52f3b92ee5b4aa5b25972a7c7dec757bed8a66f", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000255'), "created_at"=>2018-10-04 14:23:13 UTC, "updated_at"=>2018-10-04 14:23:13 UTC, "name"=>"Application 239", "uid"=>"3cabf6a5b5a9b8f1b8d12b5a6918e3b0c0f2fe9e364257dc5f513f2978cc21e4", "secret"=>"c7c4b2475831bc6034977efcb52f3b92ee5b4aa5b25972a7c7dec757bed8a66f", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"5f76c98d7d8f43155247f8551045e219daffd3455f6eefc1c879d4779441bd15", :_id=>{:$ne=>BSON::ObjectId('5bb622513541594a85000254')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622513541594a85000254'), "application_id"=>BSON::ObjectId('5bb622513541594a85000255'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>63, "token"=>"5f76c98d7d8f43155247f8551045e219daffd3455f6eefc1c879d4779441bd15", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622513541594a85000254'), "application_id"=>BSON::ObjectId('5bb622513541594a85000255'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>63, "token"=>"5f76c98d7d8f43155247f8551045e219daffd3455f6eefc1c879d4779441bd15", "expires_in"=>7200}) MONGODB (2.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (4.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6d7c55cd91da97d7fefe7a8919a525e63f9811507d3ee278c54e3d44e7763268", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000257')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a85000257'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 240", "uid"=>"6d7c55cd91da97d7fefe7a8919a525e63f9811507d3ee278c54e3d44e7763268", "secret"=>"fd69dddf306182ad3ce1e9fe25d1fc652f25441f99908a7e91e479bb6922c78d", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a85000257'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 240", "uid"=>"6d7c55cd91da97d7fefe7a8919a525e63f9811507d3ee278c54e3d44e7763268", "secret"=>"fd69dddf306182ad3ce1e9fe25d1fc652f25441f99908a7e91e479bb6922c78d", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (12.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"bd29126522ecb9a755e4ae0e23d7ddfc561f6390668ad5861c53689bd7abd1b1", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000256')}}, {:_id=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a85000256'), "application_id"=>BSON::ObjectId('5bb622523541594a85000257'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>64, "token"=>"bd29126522ecb9a755e4ae0e23d7ddfc561f6390668ad5861c53689bd7abd1b1", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622523541594a85000256'), "application_id"=>BSON::ObjectId('5bb622523541594a85000257'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>64, "token"=>"bd29126522ecb9a755e4ae0e23d7ddfc561f6390668ad5861c53689bd7abd1b1", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c9fa8b351d138181e42e32bbdc7469fdfc78b44c570ca704b23d7291b9e857f6", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000259')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a85000259'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 241", "uid"=>"c9fa8b351d138181e42e32bbdc7469fdfc78b44c570ca704b23d7291b9e857f6", "secret"=>"96127f55333d007abed50f051b9d835437bea75d898ab5811627c13be4d00d9b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a85000259'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 241", "uid"=>"c9fa8b351d138181e42e32bbdc7469fdfc78b44c570ca704b23d7291b9e857f6", "secret"=>"96127f55333d007abed50f051b9d835437bea75d898ab5811627c13be4d00d9b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"957c01d39527bb0e33f7931634fc8da3f67e39e580f6e0042fcc5f816ca0a5c3", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a8500025b')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a8500025b'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 242", "uid"=>"957c01d39527bb0e33f7931634fc8da3f67e39e580f6e0042fcc5f816ca0a5c3", "secret"=>"8c65fe182edc05f60774ea231db1a6e90b4b8eec8810458d58995e67007d4787", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a8500025b'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 242", "uid"=>"957c01d39527bb0e33f7931634fc8da3f67e39e580f6e0042fcc5f816ca0a5c3", "secret"=>"8c65fe182edc05f60774ea231db1a6e90b4b8eec8810458d58995e67007d4787", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"31a3b844559cd9860a95a2c1a191ecf1679b6a3f3ae88e93cfb698d5bfdd96a0", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a8500025d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a8500025d'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 243", "uid"=>"31a3b844559cd9860a95a2c1a191ecf1679b6a3f3ae88e93cfb698d5bfdd96a0", "secret"=>"0f7ba576fa124829d24e6a4f78aac855068a416078f94b94ce2f0a5e4adb5c2b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a8500025d'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 243", "uid"=>"31a3b844559cd9860a95a2c1a191ecf1679b6a3f3ae88e93cfb698d5bfdd96a0", "secret"=>"0f7ba576fa124829d24e6a4f78aac855068a416078f94b94ce2f0a5e4adb5c2b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f4f5d91a6807acaaacbd3f14ee9651fa21379b28545da3643de63cfad0325c2c", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a8500025c')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a8500025c'), "application_id"=>BSON::ObjectId('5bb622523541594a8500025d'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>67, "token"=>"f4f5d91a6807acaaacbd3f14ee9651fa21379b28545da3643de63cfad0325c2c", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622523541594a8500025c'), "application_id"=>BSON::ObjectId('5bb622523541594a8500025d'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>67, "token"=>"f4f5d91a6807acaaacbd3f14ee9651fa21379b28545da3643de63cfad0325c2c", "expires_in"=>7200}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622523541594a8500025c')}, :u=>{"_id"=>BSON::ObjectId('5bb622523541594a8500025c'), "application_id"=>BSON::ObjectId('5bb622523541594a8500025d'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>67, "token"=>"f4f5d91a6807acaaacbd3f14ee9651fa21379b28545da3643de63cfad0325c2c", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622523541594a8500025c')}, {"_id"=>BSON::ObjectId('5bb622523541594a8500025c'), "application_id"=>BSON::ObjectId('5bb622523541594a8500025d'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>67, "token"=>"f4f5d91a6807acaaacbd3f14ee9651fa21379b28545da3643de63cfad0325c2c", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c907503191fb2c7234db5b9cafc945c4985f90fbf3b2a37843d8074c629221aa", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a8500025f')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a8500025f'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 244", "uid"=>"c907503191fb2c7234db5b9cafc945c4985f90fbf3b2a37843d8074c629221aa", "secret"=>"44101f5e2980b151eef80951e3225b48828aeaf9ad4298795962eeb227cb6c35", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a8500025f'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 244", "uid"=>"c907503191fb2c7234db5b9cafc945c4985f90fbf3b2a37843d8074c629221aa", "secret"=>"44101f5e2980b151eef80951e3225b48828aeaf9ad4298795962eeb227cb6c35", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"b5116eecc406810683ec37a1b557be7c24052388929e985cf2279f2e7fbbfbeb", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a8500025e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a8500025e'), "application_id"=>BSON::ObjectId('5bb622523541594a8500025f'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>68, "token"=>"b5116eecc406810683ec37a1b557be7c24052388929e985cf2279f2e7fbbfbeb", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622523541594a8500025e'), "application_id"=>BSON::ObjectId('5bb622523541594a8500025f'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>68, "token"=>"b5116eecc406810683ec37a1b557be7c24052388929e985cf2279f2e7fbbfbeb", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"1454dc909d6be7e59e79124826bf5e9d3e073f51d71cafd3dca34461b6bcf8da", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000260')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a85000260'), "application_id"=>1, "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>1, "token"=>"1454dc909d6be7e59e79124826bf5e9d3e073f51d71cafd3dca34461b6bcf8da", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622523541594a85000260'), "application_id"=>1, "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>1, "token"=>"1454dc909d6be7e59e79124826bf5e9d3e073f51d71cafd3dca34461b6bcf8da", "expires_in"=>7200, "scopes"=>"public"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (3.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2686fb06da8e55d812b1f3acf14350413949792b384504e0c6d90489b7d1567b", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000261')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a85000261'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"OMG my app", "uid"=>"2686fb06da8e55d812b1f3acf14350413949792b384504e0c6d90489b7d1567b", "secret"=>"e86677f49f62592a9681068fa49cd243c7cc754731296e6994b63b10f57edf57", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a85000261'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"OMG my app", "uid"=>"2686fb06da8e55d812b1f3acf14350413949792b384504e0c6d90489b7d1567b", "secret"=>"e86677f49f62592a9681068fa49cd243c7cc754731296e6994b63b10f57edf57", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Started GET "/oauth/applications/5bb622523541594a85000261/edit" for 127.0.0.1 at 2018-10-04 17:23:14 +0300 Processing by Doorkeeper::ApplicationsController#edit as HTML Parameters: {"id"=>"5bb622523541594a85000261"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622523541594a85000261')}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_form.html.erb (3.2ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/edit.html.erb within layouts/doorkeeper/admin (4.7ms) Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.0ms) Started PATCH "/oauth/applications/5bb622523541594a85000261" for 127.0.0.1 at 2018-10-04 17:23:14 +0300 Processing by Doorkeeper::ApplicationsController#update as HTML Parameters: {"utf8"=>"✓", "doorkeeper_application"=>{"name"=>"", "redirect_uri"=>"https://app.com/callback", "confidential"=>"0", "scopes"=>""}, "commit"=>"Submit", "id"=>"5bb622523541594a85000261"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622523541594a85000261')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2686fb06da8e55d812b1f3acf14350413949792b384504e0c6d90489b7d1567b", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000261')}}, {:_id=>1}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_form.html.erb (2.7ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/edit.html.erb within layouts/doorkeeper/admin (3.0ms) Completed 200 OK in 7ms (Views: 4.4ms | ActiveRecord: 0.0ms) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5e740d9e2d028d19468864a75353c7fda21b61a3c62a81ee8723b8095fbe3708", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000262')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a85000262'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"OMG my app", "uid"=>"5e740d9e2d028d19468864a75353c7fda21b61a3c62a81ee8723b8095fbe3708", "secret"=>"30de42924989a479270c431c3f0d76d91f7d81207c8cf55ede76f95b91ec712a", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a85000262'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"OMG my app", "uid"=>"5e740d9e2d028d19468864a75353c7fda21b61a3c62a81ee8723b8095fbe3708", "secret"=>"30de42924989a479270c431c3f0d76d91f7d81207c8cf55ede76f95b91ec712a", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Started GET "/oauth/applications/5bb622523541594a85000262/edit" for 127.0.0.1 at 2018-10-04 17:23:14 +0300 Processing by Doorkeeper::ApplicationsController#edit as HTML Parameters: {"id"=>"5bb622523541594a85000262"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622523541594a85000262')}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_form.html.erb (2.2ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/edit.html.erb within layouts/doorkeeper/admin (2.5ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started PATCH "/oauth/applications/5bb622523541594a85000262" for 127.0.0.1 at 2018-10-04 17:23:14 +0300 Processing by Doorkeeper::ApplicationsController#update as HTML Parameters: {"utf8"=>"✓", "doorkeeper_application"=>{"name"=>"Serious app", "redirect_uri"=>"https://app.com/callback", "confidential"=>"0", "scopes"=>""}, "commit"=>"Submit", "id"=>"5bb622523541594a85000262"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622523541594a85000262')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5e740d9e2d028d19468864a75353c7fda21b61a3c62a81ee8723b8095fbe3708", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000262')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622523541594a85000262')}, :u=>{"_id"=>BSON::ObjectId('5bb622523541594a85000262'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Serious app", "uid"=>"5e740d9e2d028d19468864a75353c7fda21b61a3c62a81ee8723b8095fbe3708", "secret"=>"30de42924989a479270c431c3f0d76d91f7d81207c8cf55ede76f95b91ec712a", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "scopes"=>"", "owner_id"=>nil}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb622523541594a85000262')}, {"_id"=>BSON::ObjectId('5bb622523541594a85000262'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Serious app", "uid"=>"5e740d9e2d028d19468864a75353c7fda21b61a3c62a81ee8723b8095fbe3708", "secret"=>"30de42924989a479270c431c3f0d76d91f7d81207c8cf55ede76f95b91ec712a", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "scopes"=>"", "owner_id"=>nil}) Redirected to http://www.example.com/oauth/applications/5bb622523541594a85000262 Completed 302 Found in 4ms (ActiveRecord: 0.0ms) Started GET "/oauth/applications/5bb622523541594a85000262" for 127.0.0.1 at 2018-10-04 17:23:14 +0300 Processing by Doorkeeper::ApplicationsController#show as HTML Parameters: {"id"=>"5bb622523541594a85000262"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622523541594a85000262')}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (0.3ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/show.html.erb within layouts/doorkeeper/admin (1.3ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Started POST "/oauth/token" for 127.0.0.1 at 2018-10-04 17:23:14 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"grant_type"=>"client_credentials"} Completed 401 Unauthorized in 0ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2cf904f40d3b2f5353d2afaee6566274c51e3ca59bd0c00441f8ed40d1486557", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000263')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a85000263'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 245", "uid"=>"2cf904f40d3b2f5353d2afaee6566274c51e3ca59bd0c00441f8ed40d1486557", "secret"=>"f3ce4c624f56cd26c3da10edcfff1c009b94fd5bc0b1530cb7621e1a8fafb683", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a85000263'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 245", "uid"=>"2cf904f40d3b2f5353d2afaee6566274c51e3ca59bd0c00441f8ed40d1486557", "secret"=>"f3ce4c624f56cd26c3da10edcfff1c009b94fd5bc0b1530cb7621e1a8fafb683", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Started POST "/oauth/token" for 127.0.0.1 at 2018-10-04 17:23:14 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"grant_type"=>"client_credentials"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2cf904f40d3b2f5353d2afaee6566274c51e3ca59bd0c00441f8ed40d1486557"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622523541594a85000263')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"ebfbc5c90f4860e0e44d8af244190064b7afbe324027edc32ea23e98af518cb3", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000264')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a85000264'), "application_id"=>BSON::ObjectId('5bb622523541594a85000263'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>nil, "token"=>"ebfbc5c90f4860e0e44d8af244190064b7afbe324027edc32ea23e98af518cb3", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622523541594a85000264'), "application_id"=>BSON::ObjectId('5bb622523541594a85000263'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>nil, "token"=>"ebfbc5c90f4860e0e44d8af244190064b7afbe324027edc32ea23e98af518cb3", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 5ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"04ea11c4dd311aabe7ee0050df80b70617ca91c717f6be8746fcfba992532404", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000265')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a85000265'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 246", "uid"=>"04ea11c4dd311aabe7ee0050df80b70617ca91c717f6be8746fcfba992532404", "secret"=>"828f4a080694e161074e2b1d8d1e0d99a254e925b074f8cd4016248b2badc725", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a85000265'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 246", "uid"=>"04ea11c4dd311aabe7ee0050df80b70617ca91c717f6be8746fcfba992532404", "secret"=>"828f4a080694e161074e2b1d8d1e0d99a254e925b074f8cd4016248b2badc725", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Started POST "/oauth/token" for 127.0.0.1 at 2018-10-04 17:23:14 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"grant_type"=>"client_credentials", "scope"=>"write"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"04ea11c4dd311aabe7ee0050df80b70617ca91c717f6be8746fcfba992532404"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622523541594a85000265')}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"5730653afe7be3034e75e945efdc104640eddff88f7f76b914bf5b8ad5e44ac8", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000266')}}, {:_id=>1}).limit(-1) MONGODB (10.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a85000266'), "application_id"=>BSON::ObjectId('5bb622523541594a85000265'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>nil, "token"=>"5730653afe7be3034e75e945efdc104640eddff88f7f76b914bf5b8ad5e44ac8", "expires_in"=>7200, "scopes"=>"write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (10.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622523541594a85000266'), "application_id"=>BSON::ObjectId('5bb622523541594a85000265'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>nil, "token"=>"5730653afe7be3034e75e945efdc104640eddff88f7f76b914bf5b8ad5e44ac8", "expires_in"=>7200, "scopes"=>"write"}) Completed 200 OK in 21ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8a0caa7117e0898b9710f52dec79eab7c5e8fbdd77bd5d03b374ea2b37800cf7", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000267')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a85000267'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 247", "uid"=>"8a0caa7117e0898b9710f52dec79eab7c5e8fbdd77bd5d03b374ea2b37800cf7", "secret"=>"9a7e23b6a80e4fed022e5d664f30094e35c7e73d89d787f3cb85d67b8e3607a6", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a85000267'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 247", "uid"=>"8a0caa7117e0898b9710f52dec79eab7c5e8fbdd77bd5d03b374ea2b37800cf7", "secret"=>"9a7e23b6a80e4fed022e5d664f30094e35c7e73d89d787f3cb85d67b8e3607a6", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Started POST "/oauth/token" for 127.0.0.1 at 2018-10-04 17:23:14 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"grant_type"=>"client_credentials", "scope"=>"random"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8a0caa7117e0898b9710f52dec79eab7c5e8fbdd77bd5d03b374ea2b37800cf7"}).limit(-1) Completed 401 Unauthorized in 2ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (4.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (4.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6736709467d11287cc26361857f4880ff5f9991f8a7251a2a1ae2185faeac0da", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000268')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a85000268'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 248", "uid"=>"6736709467d11287cc26361857f4880ff5f9991f8a7251a2a1ae2185faeac0da", "secret"=>"4f2f43eef2ab771e63cc8cdf8e3b9472451b29f1115129189fd07073c4363c81", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a85000268'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 248", "uid"=>"6736709467d11287cc26361857f4880ff5f9991f8a7251a2a1ae2185faeac0da", "secret"=>"4f2f43eef2ab771e63cc8cdf8e3b9472451b29f1115129189fd07073c4363c81", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Started POST "/oauth/token" for 127.0.0.1 at 2018-10-04 17:23:14 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"grant_type"=>"client_credentials", "scope"=>"public"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6736709467d11287cc26361857f4880ff5f9991f8a7251a2a1ae2185faeac0da"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622523541594a85000268')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"fc997a0fbe926019586a16513d59a63f58f22e8a9f5b137754d6b017fcde7f53", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000269')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a85000269'), "application_id"=>BSON::ObjectId('5bb622523541594a85000268'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>nil, "token"=>"fc997a0fbe926019586a16513d59a63f58f22e8a9f5b137754d6b017fcde7f53", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622523541594a85000269'), "application_id"=>BSON::ObjectId('5bb622523541594a85000268'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>nil, "token"=>"fc997a0fbe926019586a16513d59a63f58f22e8a9f5b137754d6b017fcde7f53", "expires_in"=>7200, "scopes"=>"public"}) Completed 200 OK in 5ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (2.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"856c6906339c7be8a7033cdd58af2f7c7d3140824bd156c0f6f7564406ba4442", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a8500026a')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6718c1011b2993741123ea38ac8348af78e188fde5d8f06f203c10a4cfc69b38", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a8500026b')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a8500026b'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 250", "uid"=>"6718c1011b2993741123ea38ac8348af78e188fde5d8f06f203c10a4cfc69b38", "secret"=>"7249dfc7840223b8b5c995def07852af819b5fe871e7c94e24aa521844c47aa1", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a8500026b'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 250", "uid"=>"6718c1011b2993741123ea38ac8348af78e188fde5d8f06f203c10a4cfc69b38", "secret"=>"7249dfc7840223b8b5c995def07852af819b5fe871e7c94e24aa521844c47aa1", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"cc81bbff2010f7fb14fb0c0e124ea4b55b908ca1485d174443ceb990dc1279a3", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a8500026c')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a8500026c'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 251", "uid"=>"cc81bbff2010f7fb14fb0c0e124ea4b55b908ca1485d174443ceb990dc1279a3", "secret"=>"f7434786aa9ba94ab4bcc1649984805ebba8354dad7511c57557b5635d38198e", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a8500026c'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 251", "uid"=>"cc81bbff2010f7fb14fb0c0e124ea4b55b908ca1485d174443ceb990dc1279a3", "secret"=>"f7434786aa9ba94ab4bcc1649984805ebba8354dad7511c57557b5635d38198e", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"cc81bbff2010f7fb14fb0c0e124ea4b55b908ca1485d174443ceb990dc1279a3", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a8500026c')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c1831369d80c3981214dacbddf759f61eb4aa98cf63b973d2ce20aa5b72b1177", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a8500026d')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a8500026d'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 252", "uid"=>"c1831369d80c3981214dacbddf759f61eb4aa98cf63b973d2ce20aa5b72b1177", "secret"=>"15b6ea9119951247aaa658591ab44256fc2a9fa9e7d8dad8d9869866b2aeafd4", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a8500026d'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 252", "uid"=>"c1831369d80c3981214dacbddf759f61eb4aa98cf63b973d2ce20aa5b72b1177", "secret"=>"15b6ea9119951247aaa658591ab44256fc2a9fa9e7d8dad8d9869866b2aeafd4", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d4eb1412ef83322a9ced2300d9ceb9fc3881b4a34a04c7a3e6bc74904e703ac1", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a8500026e')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a8500026e'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 253", "uid"=>"d4eb1412ef83322a9ced2300d9ceb9fc3881b4a34a04c7a3e6bc74904e703ac1", "secret"=>"313fb05af91fc0f4adb02f0198db5a8bd32353223cdafafe4fbba4054a63e9d2", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a8500026e'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 253", "uid"=>"d4eb1412ef83322a9ced2300d9ceb9fc3881b4a34a04c7a3e6bc74904e703ac1", "secret"=>"313fb05af91fc0f4adb02f0198db5a8bd32353223cdafafe4fbba4054a63e9d2", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c1831369d80c3981214dacbddf759f61eb4aa98cf63b973d2ce20aa5b72b1177", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a8500026e')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"60fa5a0578bacce25f0f4eb610c1631672c36537c86690c53812c9e45b88ba12", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a8500026f')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a8500026f'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 254", "uid"=>"60fa5a0578bacce25f0f4eb610c1631672c36537c86690c53812c9e45b88ba12", "secret"=>"dd4427c742a2f06b7632c49f5fe72985649ff551d9a9d571b422403343a3a316", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a8500026f'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 254", "uid"=>"60fa5a0578bacce25f0f4eb610c1631672c36537c86690c53812c9e45b88ba12", "secret"=>"dd4427c742a2f06b7632c49f5fe72985649ff551d9a9d571b422403343a3a316", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>nil, :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a8500026f')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"70ac6dc380dbd6bc2820a7912ca555052b29dcc8fbb83088af2729f1f62a087d", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000270')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a85000270'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 255", "uid"=>"70ac6dc380dbd6bc2820a7912ca555052b29dcc8fbb83088af2729f1f62a087d", "secret"=>"05fff2e334d41183dcd66cda747dfcd592b64cba5d1a4e983a41db69e7b1f0b4", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a85000270'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 255", "uid"=>"70ac6dc380dbd6bc2820a7912ca555052b29dcc8fbb83088af2729f1f62a087d", "secret"=>"05fff2e334d41183dcd66cda747dfcd592b64cba5d1a4e983a41db69e7b1f0b4", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3186aa7d5ee7727c6782bed26ad350299a97dd0a55dce1bc85e8f51b135887bf", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000271')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a85000271'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 256", "uid"=>"3186aa7d5ee7727c6782bed26ad350299a97dd0a55dce1bc85e8f51b135887bf", "secret"=>"9d63ba936f2dca8c3a10f54083b7ae57260a98ffb80a0c937c5fee71abf4607f", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a85000271'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 256", "uid"=>"3186aa7d5ee7727c6782bed26ad350299a97dd0a55dce1bc85e8f51b135887bf", "secret"=>"9d63ba936f2dca8c3a10f54083b7ae57260a98ffb80a0c937c5fee71abf4607f", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3186aa7d5ee7727c6782bed26ad350299a97dd0a55dce1bc85e8f51b135887bf", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000271')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5d95ba8cc9534ded339081cf9d60c331554eb398fd01278510957b4be63a2e6f", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000272')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"711e0464f434a50366d08062710eec577f386ffb2fcee4e227964b1f7d80e714", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000273')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a85000273'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 258", "uid"=>"711e0464f434a50366d08062710eec577f386ffb2fcee4e227964b1f7d80e714", "secret"=>"2577d579f2ef39a0352de13c0f7b754a40dac13ae6da778cb60d8d08a498b1ae", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a85000273'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 258", "uid"=>"711e0464f434a50366d08062710eec577f386ffb2fcee4e227964b1f7d80e714", "secret"=>"2577d579f2ef39a0352de13c0f7b754a40dac13ae6da778cb60d8d08a498b1ae", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6d3ab8c045bb4837", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000274')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a85000274'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 259", "uid"=>"6d3ab8c045bb4837", "secret"=>"e991361f173624446fae6b980ff5a128b554c2b85d0457da7d339f60abfb53a7", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a85000274'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 259", "uid"=>"6d3ab8c045bb4837", "secret"=>"e991361f173624446fae6b980ff5a128b554c2b85d0457da7d339f60abfb53a7", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"28aa00a3033f48f0171d47347f8109b351c903265e579bf6f8a4a9a2b7902862", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000275')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a85000275'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 260", "uid"=>"28aa00a3033f48f0171d47347f8109b351c903265e579bf6f8a4a9a2b7902862", "secret"=>"f9dee312617deb3d", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a85000275'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 260", "uid"=>"28aa00a3033f48f0171d47347f8109b351c903265e579bf6f8a4a9a2b7902862", "secret"=>"f9dee312617deb3d", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"11244be362604c15fdc0870b0788e1cf7de5b64dcbf6e431ad30abccb6103e48", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000276')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a85000276'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 261", "uid"=>"11244be362604c15fdc0870b0788e1cf7de5b64dcbf6e431ad30abccb6103e48", "secret"=>"9ee8dfa18b24222d405ee3c27b3a423817e8ee978a47d07e6c5205dfd04a5cc0", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a85000276'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 261", "uid"=>"11244be362604c15fdc0870b0788e1cf7de5b64dcbf6e431ad30abccb6103e48", "secret"=>"9ee8dfa18b24222d405ee3c27b3a423817e8ee978a47d07e6c5205dfd04a5cc0", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c8437002da20cfaaa510da8d6c12e01305b9ec46c96c703f92720a788ea2e569", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000277')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a85000277'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 262", "uid"=>"c8437002da20cfaaa510da8d6c12e01305b9ec46c96c703f92720a788ea2e569", "secret"=>"11c9b4bcc0377ec178a25cb97fc55b44909b78876507d5083436d889a6b7e45d", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a85000277'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 262", "uid"=>"c8437002da20cfaaa510da8d6c12e01305b9ec46c96c703f92720a788ea2e569", "secret"=>"11c9b4bcc0377ec178a25cb97fc55b44909b78876507d5083436d889a6b7e45d", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"9a40a8fec39d7fb167aa16d6420c6d3cfbac874388182fe0194e3d198126ac6e", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000278')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a85000278'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 263", "uid"=>"9a40a8fec39d7fb167aa16d6420c6d3cfbac874388182fe0194e3d198126ac6e", "secret"=>"4a7f3735a087e2167785e998f130d6e804262eedafcace02f3ef37c70789122a", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a85000278'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 263", "uid"=>"9a40a8fec39d7fb167aa16d6420c6d3cfbac874388182fe0194e3d198126ac6e", "secret"=>"4a7f3735a087e2167785e998f130d6e804262eedafcace02f3ef37c70789122a", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c8437002da20cfaaa510da8d6c12e01305b9ec46c96c703f92720a788ea2e569", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000278')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0defc9d573ec16201a7a94601182d242188870b455e2025cf5ec6fefcc752ad5", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000279')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a85000279'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 264", "uid"=>"0defc9d573ec16201a7a94601182d242188870b455e2025cf5ec6fefcc752ad5", "secret"=>"51445cb086ae76f3ae79ae4a568805e07729e52b647e185a1bcf058bd2090ff7", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a85000279'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 264", "uid"=>"0defc9d573ec16201a7a94601182d242188870b455e2025cf5ec6fefcc752ad5", "secret"=>"51445cb086ae76f3ae79ae4a568805e07729e52b647e185a1bcf058bd2090ff7", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"0eaa0de01ba504051c9e02306e41a3df16412dac59d23f01e81283b9a1a1f4b3", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a8500027a')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a8500027a'), "application_id"=>BSON::ObjectId('5bb622523541594a85000279'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>26, "token"=>"0eaa0de01ba504051c9e02306e41a3df16412dac59d23f01e81283b9a1a1f4b3", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622523541594a8500027a'), "application_id"=>BSON::ObjectId('5bb622523541594a85000279'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>26, "token"=>"0eaa0de01ba504051c9e02306e41a3df16412dac59d23f01e81283b9a1a1f4b3", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:application_id=>BSON::ObjectId('5bb622523541594a85000279')}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{:_id=>{:$in=>[BSON::ObjectId('5bb622523541594a8500027a')]}}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({:_id=>{:$in=>[BSON::ObjectId('5bb622523541594a8500027a')]}}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622523541594a85000279')}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622523541594a85000279')}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{:_id=>{:$in=>[BSON::ObjectId('5bb622523541594a85000279')]}}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({:_id=>{:$in=>[BSON::ObjectId('5bb622523541594a85000279')]}}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f52510bf0bede76841bda34a57ee86fca92472985f33be23a22eea21c5d88721", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a8500027b')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a8500027b'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 265", "uid"=>"f52510bf0bede76841bda34a57ee86fca92472985f33be23a22eea21c5d88721", "secret"=>"8c91f931bf638fb8fd56b1c99530d6686331176933dc0afc8678b96f8b4205ef", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a8500027b'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 265", "uid"=>"f52510bf0bede76841bda34a57ee86fca92472985f33be23a22eea21c5d88721", "secret"=>"8c91f931bf638fb8fd56b1c99530d6686331176933dc0afc8678b96f8b4205ef", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"44806e229638c2b4532e5ada6a3ce3b1427288014058c8d6e31df3445d2a9872", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a8500027c')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a8500027c'), "application_id"=>BSON::ObjectId('5bb622523541594a8500027b'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>69, "token"=>"44806e229638c2b4532e5ada6a3ce3b1427288014058c8d6e31df3445d2a9872", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622523541594a8500027c'), "application_id"=>BSON::ObjectId('5bb622523541594a8500027b'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>69, "token"=>"44806e229638c2b4532e5ada6a3ce3b1427288014058c8d6e31df3445d2a9872", "expires_in"=>7200}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"74eb34b82d2bfef8df62398cd757f5e5a5c2a1d6c558aca6aad5e923727fe81d", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a8500027d')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a8500027d'), "application_id"=>BSON::ObjectId('5bb622523541594a8500027b'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>70, "token"=>"74eb34b82d2bfef8df62398cd757f5e5a5c2a1d6c558aca6aad5e923727fe81d", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622523541594a8500027d'), "application_id"=>BSON::ObjectId('5bb622523541594a8500027b'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>70, "token"=>"74eb34b82d2bfef8df62398cd757f5e5a5c2a1d6c558aca6aad5e923727fe81d", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:application_id=>BSON::ObjectId('5bb622523541594a8500027b')}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622523541594a8500027b')}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{:_id=>{:$in=>[BSON::ObjectId('5bb622523541594a8500027c')]}}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({:_id=>{:$in=>[BSON::ObjectId('5bb622523541594a8500027c')]}}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{:_id=>{:$in=>[BSON::ObjectId('5bb622523541594a8500027d')]}}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({:_id=>{:$in=>[BSON::ObjectId('5bb622523541594a8500027d')]}}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622523541594a8500027b')}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{:_id=>{:$in=>[BSON::ObjectId('5bb622523541594a8500027b')]}}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({:_id=>{:$in=>[BSON::ObjectId('5bb622523541594a8500027b')]}}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"82f6e1513554fb96564ccfb99ee6add416130b29e7121dc040f35ee1372789ce", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a8500027e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a8500027e'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 266", "uid"=>"82f6e1513554fb96564ccfb99ee6add416130b29e7121dc040f35ee1372789ce", "secret"=>"bcee68ca27324db133cc21172ba374af7684fafad3659d454ae15db50f9f1254", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a8500027e'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 266", "uid"=>"82f6e1513554fb96564ccfb99ee6add416130b29e7121dc040f35ee1372789ce", "secret"=>"bcee68ca27324db133cc21172ba374af7684fafad3659d454ae15db50f9f1254", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"658cca4283ae0463a04661315fcf568f627af2f02bd3edb49bf065eb5b124109", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a8500027f')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a8500027f'), "application_id"=>BSON::ObjectId('5bb622523541594a8500027e'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>10, "token"=>"658cca4283ae0463a04661315fcf568f627af2f02bd3edb49bf065eb5b124109", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622523541594a8500027f'), "application_id"=>BSON::ObjectId('5bb622523541594a8500027e'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>10, "token"=>"658cca4283ae0463a04661315fcf568f627af2f02bd3edb49bf065eb5b124109", "expires_in"=>7200}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"6c25bc9a569426ce348a8735bdbe6caa42f5aa83163b61c3c3e3533e2a1194d4", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000280')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a85000280'), "application_id"=>BSON::ObjectId('5bb622523541594a8500027e'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>10, "token"=>"6c25bc9a569426ce348a8735bdbe6caa42f5aa83163b61c3c3e3533e2a1194d4", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622523541594a85000280'), "application_id"=>BSON::ObjectId('5bb622523541594a8500027e'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>10, "token"=>"6c25bc9a569426ce348a8735bdbe6caa42f5aa83163b61c3c3e3533e2a1194d4", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:resource_owner_id=>10, :revoked_at=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>{:$in=>[BSON::ObjectId('5bb622523541594a8500027e'), BSON::ObjectId('5bb622523541594a8500027e')]}}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"814324dc0d3ded9eb605f458fcf3fe8c35b4aa273befa0daab436d00bf02a137", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000282')}}, {:_id=>1}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a85000282'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 267", "uid"=>"814324dc0d3ded9eb605f458fcf3fe8c35b4aa273befa0daab436d00bf02a137", "secret"=>"b01d551276dae11502fcd0eee1d7a6b9572a154be2dcf2fd4d95182d75c01aea", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (2.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a85000282'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 267", "uid"=>"814324dc0d3ded9eb605f458fcf3fe8c35b4aa273befa0daab436d00bf02a137", "secret"=>"b01d551276dae11502fcd0eee1d7a6b9572a154be2dcf2fd4d95182d75c01aea", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"a035bf51ff1756dce6a152aa7a4cb1866af5d9ff485aeac532bf725c7c2bba59", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000281')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a85000281'), "application_id"=>BSON::ObjectId('5bb622523541594a85000282'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>10, "token"=>"a035bf51ff1756dce6a152aa7a4cb1866af5d9ff485aeac532bf725c7c2bba59", "expires_in"=>7200, "revoked_at"=>2018-10-02 00:00:00 UTC}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622523541594a85000281'), "application_id"=>BSON::ObjectId('5bb622523541594a85000282'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>10, "token"=>"a035bf51ff1756dce6a152aa7a4cb1866af5d9ff485aeac532bf725c7c2bba59", "expires_in"=>7200, "revoked_at"=>2018-10-02 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:resource_owner_id=>10, :revoked_at=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>[]}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c1d7f256e0b6695f894101e9568f368847e0e3e9609f6619623da8ed8f61cbcd", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000284')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a85000284'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 268", "uid"=>"c1d7f256e0b6695f894101e9568f368847e0e3e9609f6619623da8ed8f61cbcd", "secret"=>"9fc5b00c223337ac21b703a70d983931afc56def7f54fc6333cadc872b834678", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a85000284'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 268", "uid"=>"c1d7f256e0b6695f894101e9568f368847e0e3e9609f6619623da8ed8f61cbcd", "secret"=>"9fc5b00c223337ac21b703a70d983931afc56def7f54fc6333cadc872b834678", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"cca2b2e65107af4cb50dbd0145f3829b62630987c00f62f53d48fa01ff54cf04", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000283')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a85000283'), "application_id"=>BSON::ObjectId('5bb622523541594a85000284'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>11, "token"=>"cca2b2e65107af4cb50dbd0145f3829b62630987c00f62f53d48fa01ff54cf04", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622523541594a85000283'), "application_id"=>BSON::ObjectId('5bb622523541594a85000284'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>11, "token"=>"cca2b2e65107af4cb50dbd0145f3829b62630987c00f62f53d48fa01ff54cf04", "expires_in"=>7200}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"cb0898c44cd1db6708fb7e2996d9a7f88eb8d63e9a67f1af7cbba5bdd146e906", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000286')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a85000286'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 269", "uid"=>"cb0898c44cd1db6708fb7e2996d9a7f88eb8d63e9a67f1af7cbba5bdd146e906", "secret"=>"9e3a6531098a47892891a4380cd220ead1e7fcc84daf38c5e57b5a166930e91e", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a85000286'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 269", "uid"=>"cb0898c44cd1db6708fb7e2996d9a7f88eb8d63e9a67f1af7cbba5bdd146e906", "secret"=>"9e3a6531098a47892891a4380cd220ead1e7fcc84daf38c5e57b5a166930e91e", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d84912e913255d1ad48478cb2d6ef1b1b43c317faeadc00479688e9e9550a1b7", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000285')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a85000285'), "application_id"=>BSON::ObjectId('5bb622523541594a85000286'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>10, "token"=>"d84912e913255d1ad48478cb2d6ef1b1b43c317faeadc00479688e9e9550a1b7", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622523541594a85000285'), "application_id"=>BSON::ObjectId('5bb622523541594a85000286'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>10, "token"=>"d84912e913255d1ad48478cb2d6ef1b1b43c317faeadc00479688e9e9550a1b7", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:resource_owner_id=>10, :revoked_at=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>{:$in=>[BSON::ObjectId('5bb622523541594a85000286')]}}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (2.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"df8feae58d2cf36f72dd22c88994b56af8575ca26ada4830d47011767bda6937", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000288')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a85000288'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 270", "uid"=>"df8feae58d2cf36f72dd22c88994b56af8575ca26ada4830d47011767bda6937", "secret"=>"75bb3659bf8222793f53cb82ac0c31a20878ab4689849b9b5dfdf59a18a513d9", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a85000288'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 270", "uid"=>"df8feae58d2cf36f72dd22c88994b56af8575ca26ada4830d47011767bda6937", "secret"=>"75bb3659bf8222793f53cb82ac0c31a20878ab4689849b9b5dfdf59a18a513d9", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"8e4b32e5bf78806ea3096caa9776a3b02635b533d273948431e418c5581887e3", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000287')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a85000287'), "application_id"=>BSON::ObjectId('5bb622523541594a85000288'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>10, "token"=>"8e4b32e5bf78806ea3096caa9776a3b02635b533d273948431e418c5581887e3", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622523541594a85000287'), "application_id"=>BSON::ObjectId('5bb622523541594a85000288'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>10, "token"=>"8e4b32e5bf78806ea3096caa9776a3b02635b533d273948431e418c5581887e3", "expires_in"=>7200}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"83cbf3b8d4796a0dd266eb1b4bc35930d9aa212e878dd684b8a09ba8715c15e4", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a8500028a')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a8500028a'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 271", "uid"=>"83cbf3b8d4796a0dd266eb1b4bc35930d9aa212e878dd684b8a09ba8715c15e4", "secret"=>"565208a8b994f5f85409a8f420a75bd76aa34bd41d3c25c122760a6e579e3f84", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a8500028a'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 271", "uid"=>"83cbf3b8d4796a0dd266eb1b4bc35930d9aa212e878dd684b8a09ba8715c15e4", "secret"=>"565208a8b994f5f85409a8f420a75bd76aa34bd41d3c25c122760a6e579e3f84", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"28c4a78a34156bc8d3b65259f70e2b41072c69abd0f45ca3e889512d8d908a05", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000289')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a85000289'), "application_id"=>BSON::ObjectId('5bb622523541594a8500028a'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>10, "token"=>"28c4a78a34156bc8d3b65259f70e2b41072c69abd0f45ca3e889512d8d908a05", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622523541594a85000289'), "application_id"=>BSON::ObjectId('5bb622523541594a8500028a'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>10, "token"=>"28c4a78a34156bc8d3b65259f70e2b41072c69abd0f45ca3e889512d8d908a05", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:resource_owner_id=>10, :revoked_at=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>{:$in=>[BSON::ObjectId('5bb622523541594a85000288'), BSON::ObjectId('5bb622523541594a8500028a')]}}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:resource_owner_id=>10, :revoked_at=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>[]}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"09947fd696c4c44b3c60a661940435e3f3194694c1c0bfb91014fd90118f12b9", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a8500028b')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a8500028b'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 272", "uid"=>"09947fd696c4c44b3c60a661940435e3f3194694c1c0bfb91014fd90118f12b9", "secret"=>"44457b8997b4f1ad382e3c59bb2767950b34201d36433e4e53ac73774632d09c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a8500028b'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 272", "uid"=>"09947fd696c4c44b3c60a661940435e3f3194694c1c0bfb91014fd90118f12b9", "secret"=>"44457b8997b4f1ad382e3c59bb2767950b34201d36433e4e53ac73774632d09c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2551a59ef0cb223354958de7082ef493d8b7b2b62844e12ce87c88f7634e0ced", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a8500028c')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a8500028c'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 273", "uid"=>"2551a59ef0cb223354958de7082ef493d8b7b2b62844e12ce87c88f7634e0ced", "secret"=>"0a842396f4409e5a777abe8911ee43b295190963d10bc107db7b67136e176c40", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a8500028c'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 273", "uid"=>"2551a59ef0cb223354958de7082ef493d8b7b2b62844e12ce87c88f7634e0ced", "secret"=>"0a842396f4409e5a777abe8911ee43b295190963d10bc107db7b67136e176c40", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"61a98899a703e87fc85bfc34497898a65b51fb56cd66680b9a1d545e66a89a3a", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a8500028e')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a8500028e'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 274", "uid"=>"61a98899a703e87fc85bfc34497898a65b51fb56cd66680b9a1d545e66a89a3a", "secret"=>"1a4275499dcaef00c91b96058f0d699d72eeef10136987d72d169f3b2943cf68", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a8500028e'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 274", "uid"=>"61a98899a703e87fc85bfc34497898a65b51fb56cd66680b9a1d545e66a89a3a", "secret"=>"1a4275499dcaef00c91b96058f0d699d72eeef10136987d72d169f3b2943cf68", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"01dd4292ae29c48ba18b5497dc06a6ac98a2683dc861596740b71b0314730ee3", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000291')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a85000291'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 277", "uid"=>"01dd4292ae29c48ba18b5497dc06a6ac98a2683dc861596740b71b0314730ee3", "secret"=>"d651fb6620c5d3fb2679dbfe23424bb54c998ab3822a620a908f9296809849b6", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a85000291'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 277", "uid"=>"01dd4292ae29c48ba18b5497dc06a6ac98a2683dc861596740b71b0314730ee3", "secret"=>"d651fb6620c5d3fb2679dbfe23424bb54c998ab3822a620a908f9296809849b6", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"daf6ac5b67bad741d19ebc8ac23455b2d556de8df0436041d93b6efaa4c53d9e", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000292')}}, {:_id=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a85000292'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 278", "uid"=>"daf6ac5b67bad741d19ebc8ac23455b2d556de8df0436041d93b6efaa4c53d9e", "secret"=>"a9416551a2f35dec84b801f10a1eb508ac1ea8caa67e70b31b6111a049ce72e0", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a85000292'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 278", "uid"=>"daf6ac5b67bad741d19ebc8ac23455b2d556de8df0436041d93b6efaa4c53d9e", "secret"=>"a9416551a2f35dec84b801f10a1eb508ac1ea8caa67e70b31b6111a049ce72e0", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"fdbf2240de0e836e638ff0dfbd882286fed0e5ff7e26fe1e4082097ce015963a", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000293')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a85000293'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 279", "uid"=>"fdbf2240de0e836e638ff0dfbd882286fed0e5ff7e26fe1e4082097ce015963a", "secret"=>"602bfbea1fd53e61e9e4b368e6d95683f21df2a2f8e5f094690f52a480dba54c", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a85000293'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 279", "uid"=>"fdbf2240de0e836e638ff0dfbd882286fed0e5ff7e26fe1e4082097ce015963a", "secret"=>"602bfbea1fd53e61e9e4b368e6d95683f21df2a2f8e5f094690f52a480dba54c", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"fdbf2240de0e836e638ff0dfbd882286fed0e5ff7e26fe1e4082097ce015963a"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (2.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a12cce7179a4fc67a6db94798490461622f12ff41989591db6c4725219d27bbc", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000294')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a85000294'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 280", "uid"=>"a12cce7179a4fc67a6db94798490461622f12ff41989591db6c4725219d27bbc", "secret"=>"19fe630ef3708189a76f422aa5f6183dbd8f131cd486da043546c865d92096ac", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a85000294'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 280", "uid"=>"a12cce7179a4fc67a6db94798490461622f12ff41989591db6c4725219d27bbc", "secret"=>"19fe630ef3708189a76f422aa5f6183dbd8f131cd486da043546c865d92096ac", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a12cce7179a4fc67a6db94798490461622f12ff41989591db6c4725219d27bbc"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e946769af8247d679f8e18cca5cb67eb5e050e0ee7179989c2be7a14ccf284bf", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000295')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a85000295'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 281", "uid"=>"e946769af8247d679f8e18cca5cb67eb5e050e0ee7179989c2be7a14ccf284bf", "secret"=>"562362c91156a588a9930dc9ee9767f26668700f621c06d0c06817d8320588fe", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a85000295'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 281", "uid"=>"e946769af8247d679f8e18cca5cb67eb5e050e0ee7179989c2be7a14ccf284bf", "secret"=>"562362c91156a588a9930dc9ee9767f26668700f621c06d0c06817d8320588fe", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e946769af8247d679f8e18cca5cb67eb5e050e0ee7179989c2be7a14ccf284bf"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2ffacd7e30331d0916310b1186019f30f95f1394bdaae8af671b013f6321632e", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000296')}}, {:_id=>1}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a85000296'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 282", "uid"=>"2ffacd7e30331d0916310b1186019f30f95f1394bdaae8af671b013f6321632e", "secret"=>"5b18e60aaea87fba70b6c8fb5dd0a2259bc86ddc782dff009758e51047779c15", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a85000296'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 282", "uid"=>"2ffacd7e30331d0916310b1186019f30f95f1394bdaae8af671b013f6321632e", "secret"=>"5b18e60aaea87fba70b6c8fb5dd0a2259bc86ddc782dff009758e51047779c15", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2ffacd7e30331d0916310b1186019f30f95f1394bdaae8af671b013f6321632e"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"be4af4a650248ec54b39ec7aca0ca6f1a296e1de6f1823507725740402688e50", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a85000298')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0f8ccc3267f1bab123081b8573953a0154ab28dd8cd4427b7b6d1e0a3eeff01f", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a8500029a')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"45f58910c46ac6df26aed66110891b937c296673ed039a52a9e5cb72c5f6d30d", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a8500029b')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"435b08eff3446e649d521b00cd492d805d086fe66ec2e59314899cce8a600203", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a8500029c')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a8500029c'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 286", "uid"=>"435b08eff3446e649d521b00cd492d805d086fe66ec2e59314899cce8a600203", "secret"=>"486057c2b642bbe732eaecf43a85b53bcb5ee15a4d2ae0f3fa223187c67afa38", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a8500029c'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 286", "uid"=>"435b08eff3446e649d521b00cd492d805d086fe66ec2e59314899cce8a600203", "secret"=>"486057c2b642bbe732eaecf43a85b53bcb5ee15a4d2ae0f3fa223187c67afa38", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7c73c0d866a79b68e022d28eb8127cf4b782cb016be5a10270c7c9c8e225d8c4", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a8500029d')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a8500029d'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 287", "uid"=>"7c73c0d866a79b68e022d28eb8127cf4b782cb016be5a10270c7c9c8e225d8c4", "secret"=>"2995d28ae442c1b072d34968149e9a7344fec46853415c46c85a6d8caa3a7284", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a8500029d'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 287", "uid"=>"7c73c0d866a79b68e022d28eb8127cf4b782cb016be5a10270c7c9c8e225d8c4", "secret"=>"2995d28ae442c1b072d34968149e9a7344fec46853415c46c85a6d8caa3a7284", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c3eba7db6b4c7134b5c1cd47ff740c35d4e5c57b8782ce44eade57b00ae1f1e4", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a8500029e')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a8500029e'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 288", "uid"=>"c3eba7db6b4c7134b5c1cd47ff740c35d4e5c57b8782ce44eade57b00ae1f1e4", "secret"=>"ba0601ff42646dc69640865efd5ddc06192a519e13776e6dc3f09e186c4d867f", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a8500029e'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 288", "uid"=>"c3eba7db6b4c7134b5c1cd47ff740c35d4e5c57b8782ce44eade57b00ae1f1e4", "secret"=>"ba0601ff42646dc69640865efd5ddc06192a519e13776e6dc3f09e186c4d867f", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"947bd9ac550e242d321be00c92a7bc800d31b21363d4394998032a51d9a12527", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a8500029f')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a8500029f'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 289", "uid"=>"947bd9ac550e242d321be00c92a7bc800d31b21363d4394998032a51d9a12527", "secret"=>"e9ec45245cec405acc2c73833e462cd6e164b6f6e31f735faf149d1bc77636e5", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a8500029f'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 289", "uid"=>"947bd9ac550e242d321be00c92a7bc800d31b21363d4394998032a51d9a12527", "secret"=>"e9ec45245cec405acc2c73833e462cd6e164b6f6e31f735faf149d1bc77636e5", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d9e857d00c0cc01e81a8cbb34fc96b46176ebdc0a8a8e6801d1c64f5a5309d42", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a850002a0')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a850002a0'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 290", "uid"=>"d9e857d00c0cc01e81a8cbb34fc96b46176ebdc0a8a8e6801d1c64f5a5309d42", "secret"=>"6f9023ddc11ac62f8155fd51f68350e756bfb0cb904e4679da355849142055fc", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a850002a0'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 290", "uid"=>"d9e857d00c0cc01e81a8cbb34fc96b46176ebdc0a8a8e6801d1c64f5a5309d42", "secret"=>"6f9023ddc11ac62f8155fd51f68350e756bfb0cb904e4679da355849142055fc", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({}).sort([["name", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (4.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (4.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (2.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b249d531a6faa72d59cfe8122db1d61f53920a60c3ac06024d06a3d1dcdb28df", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a850002a1')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a850002a1'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 291", "uid"=>"b249d531a6faa72d59cfe8122db1d61f53920a60c3ac06024d06a3d1dcdb28df", "secret"=>"10570d5662e7765a09f59915192540949847f7cc559dadad2539dbf5ff60395b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a850002a1'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 291", "uid"=>"b249d531a6faa72d59cfe8122db1d61f53920a60c3ac06024d06a3d1dcdb28df", "secret"=>"10570d5662e7765a09f59915192540949847f7cc559dadad2539dbf5ff60395b", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"db90b65c38fa1c974912e1ed7b1720583317a3f7acefd1a2a14c0545fe4b8f59", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a850002a2')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a850002a2'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 292", "uid"=>"db90b65c38fa1c974912e1ed7b1720583317a3f7acefd1a2a14c0545fe4b8f59", "secret"=>"5f61c347fd47f439022a8c9ca601acf248b0c807aee43f4d6359aa32392c9cb5", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a850002a2'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 292", "uid"=>"db90b65c38fa1c974912e1ed7b1720583317a3f7acefd1a2a14c0545fe4b8f59", "secret"=>"5f61c347fd47f439022a8c9ca601acf248b0c807aee43f4d6359aa32392c9cb5", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"12cc4bbcd41a08d799b3c91bde0c849d71f0dd77c1a0aee46431f223005301de", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a850002a3')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a850002a3'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 293", "uid"=>"12cc4bbcd41a08d799b3c91bde0c849d71f0dd77c1a0aee46431f223005301de", "secret"=>"6dad322775b250fe3bbaac370922f3307c45d7445f6f4fc1c5e86d86e16cc465", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a850002a3'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 293", "uid"=>"12cc4bbcd41a08d799b3c91bde0c849d71f0dd77c1a0aee46431f223005301de", "secret"=>"6dad322775b250fe3bbaac370922f3307c45d7445f6f4fc1c5e86d86e16cc465", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f1a347179d8c7bfa7231706b283061f4077da4298dbec4083d87ae40a80427c4", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a850002a4')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a850002a4'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 294", "uid"=>"f1a347179d8c7bfa7231706b283061f4077da4298dbec4083d87ae40a80427c4", "secret"=>"f9ee302d5bcc1ef84ac36d1329a1b6c90974e79a1aaeeb999deca0848d249ac1", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a850002a4'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 294", "uid"=>"f1a347179d8c7bfa7231706b283061f4077da4298dbec4083d87ae40a80427c4", "secret"=>"f9ee302d5bcc1ef84ac36d1329a1b6c90974e79a1aaeeb999deca0848d249ac1", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4efa3cb7473d5af487a3aff176649462e9998bac6746ef115a7301b0788e4c9e", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a850002a5')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a850002a5'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 295", "uid"=>"4efa3cb7473d5af487a3aff176649462e9998bac6746ef115a7301b0788e4c9e", "secret"=>"ab12726c470eed2b671ee27b485af6fed6596a21a22df0fccc2f2e69c2e1e14d", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a850002a5'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 295", "uid"=>"4efa3cb7473d5af487a3aff176649462e9998bac6746ef115a7301b0788e4c9e", "secret"=>"ab12726c470eed2b671ee27b485af6fed6596a21a22df0fccc2f2e69c2e1e14d", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({}).sort([["name", 1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>"1"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"a53238cf691adc96ca0afb9c506e583d0deeb19340683ddb7dda3afc78a934ef", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a850002a6')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a850002a6'), "application_id"=>"1", "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>"1", "token"=>"a53238cf691adc96ca0afb9c506e583d0deeb19340683ddb7dda3afc78a934ef", "expires_in"=>100, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622523541594a850002a6'), "application_id"=>"1", "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>"1", "token"=>"a53238cf691adc96ca0afb9c506e583d0deeb19340683ddb7dda3afc78a934ef", "expires_in"=>100, "scopes"=>"public"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f6f921eb86714f68be14ce891f254a617522b531da0c131efa1d9f7d94d916b4", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a850002a7')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a850002a7'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 296", "uid"=>"f6f921eb86714f68be14ce891f254a617522b531da0c131efa1d9f7d94d916b4", "secret"=>"f9d98714976a050a0c2e4e577047f8eefd223fb1752170b224fd8acce71568af", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a850002a7'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 296", "uid"=>"f6f921eb86714f68be14ce891f254a617522b531da0c131efa1d9f7d94d916b4", "secret"=>"f9d98714976a050a0c2e4e577047f8eefd223fb1752170b224fd8acce71568af", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a850002a8'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622523541594a850002a8'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"bea1de395deae55825192e5facb72b6df1ae8f2743add865478c531af2a2c372", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a850002a9')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a850002a9'), "application_id"=>BSON::ObjectId('5bb622523541594a850002a7'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622523541594a850002a8'), "token"=>"bea1de395deae55825192e5facb72b6df1ae8f2743add865478c531af2a2c372", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622523541594a850002a9'), "application_id"=>BSON::ObjectId('5bb622523541594a850002a7'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622523541594a850002a8'), "token"=>"bea1de395deae55825192e5facb72b6df1ae8f2743add865478c531af2a2c372", "expires_in"=>7200}) Started GET "/metal.json?access_token=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:23:14 +0300 MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"bea1de395deae55825192e5facb72b6df1ae8f2743add865478c531af2a2c372"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622523541594a850002a9')}, :u=>{"_id"=>BSON::ObjectId('5bb622523541594a850002a9'), "application_id"=>BSON::ObjectId('5bb622523541594a850002a7'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622523541594a850002a8'), "token"=>"bea1de395deae55825192e5facb72b6df1ae8f2743add865478c531af2a2c372", "previous_refresh_token"=>"", "expires_in"=>7200}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622523541594a850002a9')}, {"_id"=>BSON::ObjectId('5bb622523541594a850002a9'), "application_id"=>BSON::ObjectId('5bb622523541594a850002a7'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622523541594a850002a8'), "token"=>"bea1de395deae55825192e5facb72b6df1ae8f2743add865478c531af2a2c372", "previous_refresh_token"=>"", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"55fb3de136c82d9dba2576d3c38a6e81daddf2287c06699920bf01ba0dce27ac", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a850002aa')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a850002aa'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Just another oauth app", "uid"=>"55fb3de136c82d9dba2576d3c38a6e81daddf2287c06699920bf01ba0dce27ac", "secret"=>"0bf99a597721f3e6d37da7dc87c01eb734cc408f99120c92b38038b445318d27", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a850002aa'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Just another oauth app", "uid"=>"55fb3de136c82d9dba2576d3c38a6e81daddf2287c06699920bf01ba0dce27ac", "secret"=>"0bf99a597721f3e6d37da7dc87c01eb734cc408f99120c92b38038b445318d27", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Started GET "/oauth/applications/5bb622523541594a850002aa" for 127.0.0.1 at 2018-10-04 17:23:14 +0300 Processing by Doorkeeper::ApplicationsController#show as HTML Parameters: {"id"=>"5bb622523541594a850002aa"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622523541594a850002aa')}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (0.3ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/show.html.erb within layouts/doorkeeper/admin (1.3ms) Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.0ms) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ef157ff9c8dc8cc6a306e7386965487eaf41db63e2cc9a241242bd0db042296d", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a850002ab')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a850002ab'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 297", "uid"=>"ef157ff9c8dc8cc6a306e7386965487eaf41db63e2cc9a241242bd0db042296d", "secret"=>"36c56bf09b9bc8cd9c26c2757cfc69f3a8b7ad534bdaa01bea9946a62461c3b4", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a850002ab'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 297", "uid"=>"ef157ff9c8dc8cc6a306e7386965487eaf41db63e2cc9a241242bd0db042296d", "secret"=>"36c56bf09b9bc8cd9c26c2757cfc69f3a8b7ad534bdaa01bea9946a62461c3b4", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e0f6367b9d39e60fd65ae280d9e5d0cd201a1547622d1714416c49842f452a9b", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a850002ac')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a850002ac'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 298", "uid"=>"e0f6367b9d39e60fd65ae280d9e5d0cd201a1547622d1714416c49842f452a9b", "secret"=>"f146696ba28d54527996b0c3b6ae896ed1971bccc2a7badef360fe11669e07e0", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a850002ac'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 298", "uid"=>"e0f6367b9d39e60fd65ae280d9e5d0cd201a1547622d1714416c49842f452a9b", "secret"=>"f146696ba28d54527996b0c3b6ae896ed1971bccc2a7badef360fe11669e07e0", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622523541594a850002ac')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"6927cb3c1ad6b280506c8d1f70ff3a5f2e723247e83d63f51f97a00014762703", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a850002ad')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a850002ad'), "application_id"=>BSON::ObjectId('5bb622523541594a850002ac'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>nil, "token"=>"6927cb3c1ad6b280506c8d1f70ff3a5f2e723247e83d63f51f97a00014762703", "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622523541594a850002ad'), "application_id"=>BSON::ObjectId('5bb622523541594a850002ac'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>nil, "token"=>"6927cb3c1ad6b280506c8d1f70ff3a5f2e723247e83d63f51f97a00014762703", "scopes"=>"public"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b7dceb4fe5a14fa73bbe67f80e00fef5e7e3b5c6ddf5d5a0c2ff37537c1042a8", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a850002ae')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a850002ae'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 299", "uid"=>"b7dceb4fe5a14fa73bbe67f80e00fef5e7e3b5c6ddf5d5a0c2ff37537c1042a8", "secret"=>"ee2bfd783ada9b64baff62a7aeb1849da971a02d85a6bdf39e23d903b56050b1", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a850002ae'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 299", "uid"=>"b7dceb4fe5a14fa73bbe67f80e00fef5e7e3b5c6ddf5d5a0c2ff37537c1042a8", "secret"=>"ee2bfd783ada9b64baff62a7aeb1849da971a02d85a6bdf39e23d903b56050b1", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622523541594a850002ae')}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"317790ab58a6ff3b256dcd9f9a97aba7a3a16be246698177fd9bd8b97210d6f3", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a850002af')}}, {:_id=>1}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a850002af'), "application_id"=>BSON::ObjectId('5bb622523541594a850002ae'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>nil, "token"=>"317790ab58a6ff3b256dcd9f9a97aba7a3a16be246698177fd9bd8b97210d6f3", "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622523541594a850002af'), "application_id"=>BSON::ObjectId('5bb622523541594a850002ae'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>nil, "token"=>"317790ab58a6ff3b256dcd9f9a97aba7a3a16be246698177fd9bd8b97210d6f3", "scopes"=>"public"}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622523541594a850002ae')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"831ff3ea75cdc7feb8447698c67e8ea5afad835aeaa5429de9ab7c6f5506797b", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a850002b0')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a850002b0'), "application_id"=>BSON::ObjectId('5bb622523541594a850002ae'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>nil, "token"=>"831ff3ea75cdc7feb8447698c67e8ea5afad835aeaa5429de9ab7c6f5506797b", "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622523541594a850002b0'), "application_id"=>BSON::ObjectId('5bb622523541594a850002ae'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>nil, "token"=>"831ff3ea75cdc7feb8447698c67e8ea5afad835aeaa5429de9ab7c6f5506797b", "scopes"=>"public"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a148028ec2e7cb901a8d385663979a3e307d8c642df3bd6c22af3e7db69ab4b3", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a850002b1')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a850002b1'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 300", "uid"=>"a148028ec2e7cb901a8d385663979a3e307d8c642df3bd6c22af3e7db69ab4b3", "secret"=>"574648c92cc54de5a954856763b8cf9430ccc5273c78036f83e2bd8d63ff0803", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a850002b1'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 300", "uid"=>"a148028ec2e7cb901a8d385663979a3e307d8c642df3bd6c22af3e7db69ab4b3", "secret"=>"574648c92cc54de5a954856763b8cf9430ccc5273c78036f83e2bd8d63ff0803", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622523541594a850002b1'), :resource_owner_id=>nil, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622523541594a850002b1')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"27749f4d64a7ba9d85afcf1999a86ecb18d7b01b990b79e672f50b114d65563f", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a850002b2')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a850002b2'), "application_id"=>BSON::ObjectId('5bb622523541594a850002b1'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>nil, "token"=>"27749f4d64a7ba9d85afcf1999a86ecb18d7b01b990b79e672f50b114d65563f", "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622523541594a850002b2'), "application_id"=>BSON::ObjectId('5bb622523541594a850002b1'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>nil, "token"=>"27749f4d64a7ba9d85afcf1999a86ecb18d7b01b990b79e672f50b114d65563f", "scopes"=>"public"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622523541594a850002b1'), :resource_owner_id=>nil, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (4.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"358782549ce89214e322e143bda879983d57ce5de9da7653c21cb581544116d6", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a850002b3')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a850002b3'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 301", "uid"=>"358782549ce89214e322e143bda879983d57ce5de9da7653c21cb581544116d6", "secret"=>"8336d1be33c7f15b29120940ee3d2eeb089301586cc61a2a0a69e358bc964a05", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a850002b3'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 301", "uid"=>"358782549ce89214e322e143bda879983d57ce5de9da7653c21cb581544116d6", "secret"=>"8336d1be33c7f15b29120940ee3d2eeb089301586cc61a2a0a69e358bc964a05", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a850002b4'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622523541594a850002b4'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"3bc650d1ca8d917bfb2ab05b99a94bb650c5232312aeba00d7a5ab6e1636493b", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a850002b5')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a850002b5'), "application_id"=>BSON::ObjectId('5bb622523541594a850002b3'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622523541594a850002b4'), "token"=>"3bc650d1ca8d917bfb2ab05b99a94bb650c5232312aeba00d7a5ab6e1636493b", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622523541594a850002b5'), "application_id"=>BSON::ObjectId('5bb622523541594a850002b3'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622523541594a850002b4'), "token"=>"3bc650d1ca8d917bfb2ab05b99a94bb650c5232312aeba00d7a5ab6e1636493b", "expires_in"=>7200}) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:23:14 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"358782549ce89214e322e143bda879983d57ce5de9da7653c21cb581544116d6", "state"=>"", "redirect_uri"=>"https://app.com/callback", "response_type"=>"token", "commit"=>"Authorize"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"358782549ce89214e322e143bda879983d57ce5de9da7653c21cb581544116d6"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622523541594a850002b3')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"7d4771cbed52424d1de128c018c17074ed917296255840f6b95be7302540946e", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a850002b6')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a850002b6'), "application_id"=>BSON::ObjectId('5bb622523541594a850002b3'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622523541594a850002b4'), "token"=>"7d4771cbed52424d1de128c018c17074ed917296255840f6b95be7302540946e", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622523541594a850002b6'), "application_id"=>BSON::ObjectId('5bb622523541594a850002b3'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622523541594a850002b4'), "token"=>"7d4771cbed52424d1de128c018c17074ed917296255840f6b95be7302540946e", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=7d4771cbed52424d1de128c018c17074ed917296255840f6b95be7302540946e&token_type=Bearer&expires_in=7200 Completed 302 Found in 7ms (ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"731a6cf39783d737f697602b78d020ace2b396f86181f4ee2e6d56aa74ad253e", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a850002b7')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a850002b7'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 302", "uid"=>"731a6cf39783d737f697602b78d020ace2b396f86181f4ee2e6d56aa74ad253e", "secret"=>"84f345baa161f5cad2039dd320214aca84d98df10c0f41c2b8fe22db72129a91", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622523541594a850002b7'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Application 302", "uid"=>"731a6cf39783d737f697602b78d020ace2b396f86181f4ee2e6d56aa74ad253e", "secret"=>"84f345baa161f5cad2039dd320214aca84d98df10c0f41c2b8fe22db72129a91", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a850002b8'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622523541594a850002b8'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"ed1c03c12b8c7301eef6863438e1f4364f62f7a0cef7509b84715bb9b391fc38", :_id=>{:$ne=>BSON::ObjectId('5bb622523541594a850002b9')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622523541594a850002b9'), "application_id"=>BSON::ObjectId('5bb622523541594a850002b7'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622523541594a850002b8'), "token"=>"ed1c03c12b8c7301eef6863438e1f4364f62f7a0cef7509b84715bb9b391fc38", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622523541594a850002b9'), "application_id"=>BSON::ObjectId('5bb622523541594a850002b7'), "created_at"=>2018-10-04 14:23:14 UTC, "updated_at"=>2018-10-04 14:23:14 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622523541594a850002b8'), "token"=>"ed1c03c12b8c7301eef6863438e1f4364f62f7a0cef7509b84715bb9b391fc38", "expires_in"=>7200}) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:23:14 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"731a6cf39783d737f697602b78d020ace2b396f86181f4ee2e6d56aa74ad253e", "state"=>"", "redirect_uri"=>"https://app.com/callback", "response_type"=>"token", "commit"=>"Authorize"} MONGODB (2.1ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (4.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"731a6cf39783d737f697602b78d020ace2b396f86181f4ee2e6d56aa74ad253e"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622523541594a850002b7'), :resource_owner_id=>BSON::ObjectId('5bb622523541594a850002b8'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Redirected to https://app.com/callback#access_token=ed1c03c12b8c7301eef6863438e1f4364f62f7a0cef7509b84715bb9b391fc38&token_type=Bearer&expires_in=7200 Completed 302 Found in 30ms (ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_applications", "query"=>{}, "fields"=>nil}).limit(-1) Processing by Doorkeeper::ApplicationsController#create as HTML Parameters: {"doorkeeper_application"=>{"name"=>"Example", "redirect_uri"=>"https://example.com"}} Redirected to http://test.host/ Filter chain halted as :authenticate_admin! rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) MONGODB (7.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_applications", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (4.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (4.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::ApplicationsController#index as HTML Redirected to http://test.host/ Filter chain halted as :authenticate_admin! rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7dba95214aa582e1b966a7182ecffc456305ab991f45f335f01b988d999a6425", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002ba')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002ba'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 303", "uid"=>"7dba95214aa582e1b966a7182ecffc456305ab991f45f335f01b988d999a6425", "secret"=>"869eaefe1da5714ccc06f79b5f0e9fdf9677446935a5630dcac7d2ba6dea5420", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002ba'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 303", "uid"=>"7dba95214aa582e1b966a7182ecffc456305ab991f45f335f01b988d999a6425", "secret"=>"869eaefe1da5714ccc06f79b5f0e9fdf9677446935a5630dcac7d2ba6dea5420", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::ApplicationsController#update as HTML Parameters: {"doorkeeper_application"=>{"name"=>"Example", "redirect_uri"=>"https://example.com"}, "id"=>"5bb622533541594a850002ba"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622533541594a850002ba')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7dba95214aa582e1b966a7182ecffc456305ab991f45f335f01b988d999a6425", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002ba')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622533541594a850002ba')}, :u=>{"_id"=>BSON::ObjectId('5bb622533541594a850002ba'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Example", "uid"=>"7dba95214aa582e1b966a7182ecffc456305ab991f45f335f01b988d999a6425", "secret"=>"869eaefe1da5714ccc06f79b5f0e9fdf9677446935a5630dcac7d2ba6dea5420", "redirect_uri"=>"https://example.com", "owner_id"=>nil}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb622533541594a850002ba')}, {"_id"=>BSON::ObjectId('5bb622533541594a850002ba'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Example", "uid"=>"7dba95214aa582e1b966a7182ecffc456305ab991f45f335f01b988d999a6425", "secret"=>"869eaefe1da5714ccc06f79b5f0e9fdf9677446935a5630dcac7d2ba6dea5420", "redirect_uri"=>"https://example.com", "owner_id"=>nil}) Redirected to http://test.host/oauth/applications/5bb622533541594a850002ba Completed 302 Found in 5ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622533541594a850002ba')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (2.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1c8be3f34e9a11c741378fbffbd9f06345d248a002c34401744dddbb79343827", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002bb')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002bb'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 304", "uid"=>"1c8be3f34e9a11c741378fbffbd9f06345d248a002c34401744dddbb79343827", "secret"=>"d6a9dacaca609d51307a1951036b3200461c73e47bd7e93c5e1ad293133cd2fd", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002bb'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 304", "uid"=>"1c8be3f34e9a11c741378fbffbd9f06345d248a002c34401744dddbb79343827", "secret"=>"d6a9dacaca609d51307a1951036b3200461c73e47bd7e93c5e1ad293133cd2fd", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::ApplicationsController#update as HTML Parameters: {"doorkeeper_application"=>{"uid"=>"1A2B3C4D", "secret"=>"1A2B3C4D"}, "id"=>"5bb622533541594a850002bb"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622533541594a850002bb')}).limit(-1) Unpermitted parameters: uid, secret MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1c8be3f34e9a11c741378fbffbd9f06345d248a002c34401744dddbb79343827", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002bb')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622533541594a850002bb')}, :u=>{"_id"=>BSON::ObjectId('5bb622533541594a850002bb'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 304", "uid"=>"1c8be3f34e9a11c741378fbffbd9f06345d248a002c34401744dddbb79343827", "secret"=>"d6a9dacaca609d51307a1951036b3200461c73e47bd7e93c5e1ad293133cd2fd", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb622533541594a850002bb')}, {"_id"=>BSON::ObjectId('5bb622533541594a850002bb'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 304", "uid"=>"1c8be3f34e9a11c741378fbffbd9f06345d248a002c34401744dddbb79343827", "secret"=>"d6a9dacaca609d51307a1951036b3200461c73e47bd7e93c5e1ad293133cd2fd", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Redirected to http://test.host/oauth/applications/5bb622533541594a850002bb Completed 302 Found in 4ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622533541594a850002bb')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_applications", "query"=>{}, "fields"=>nil}).limit(-1) Processing by Doorkeeper::ApplicationsController#create as HTML Parameters: {"doorkeeper_application"=>{"name"=>"Example", "redirect_uri"=>"https://example.com"}} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b53969e0df0845e868ecd785726de7f1996569fdd208d9a4a18f54c5f4f85610", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002bc')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002bc'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Example", "uid"=>"b53969e0df0845e868ecd785726de7f1996569fdd208d9a4a18f54c5f4f85610", "secret"=>"80fb58abba6ca43577b6d114f236182d2f9734cb55813793461af34fb8583c68", "redirect_uri"=>"https://example.com", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002bc'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Example", "uid"=>"b53969e0df0845e868ecd785726de7f1996569fdd208d9a4a18f54c5f4f85610", "secret"=>"80fb58abba6ca43577b6d114f236182d2f9734cb55813793461af34fb8583c68", "redirect_uri"=>"https://example.com", "owner_id"=>nil}) Redirected to http://test.host/oauth/applications/5bb622533541594a850002bc Completed 302 Found in 3ms (ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_applications", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5a17a7fac8657bf5690e7b72decfa7b4140fc7dc49301e9e4db7993b000aa58b", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002bd')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002bd'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 305", "uid"=>"5a17a7fac8657bf5690e7b72decfa7b4140fc7dc49301e9e4db7993b000aa58b", "secret"=>"f39b63ed9c9c9dde36d10e107315b89553f0b4e6bc4aee2f876dd6729668a5f0", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002bd'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 305", "uid"=>"5a17a7fac8657bf5690e7b72decfa7b4140fc7dc49301e9e4db7993b000aa58b", "secret"=>"f39b63ed9c9c9dde36d10e107315b89553f0b4e6bc4aee2f876dd6729668a5f0", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f7ad016ff5770ab07293aab71cd9ee8209eb614d3447323cc668d8fa4c3703fb", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002be')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002be'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 306", "uid"=>"f7ad016ff5770ab07293aab71cd9ee8209eb614d3447323cc668d8fa4c3703fb", "secret"=>"acc2d22aae5bf32c774394af4b0a2e464d9c338c0fad087287a6b308674730ef", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002be'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 306", "uid"=>"f7ad016ff5770ab07293aab71cd9ee8209eb614d3447323cc668d8fa4c3703fb", "secret"=>"acc2d22aae5bf32c774394af4b0a2e464d9c338c0fad087287a6b308674730ef", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) Processing by Doorkeeper::ApplicationsController#index as HTML MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({}).sort([["created_at", 1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (0.4ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (0.3ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/index.html.erb within layouts/doorkeeper/admin (3.1ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7ba821597c2940c43abf57fb943d26382dcfa24bec4023f8b066c4e1ec12124e", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002c0')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002c0'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 307", "uid"=>"7ba821597c2940c43abf57fb943d26382dcfa24bec4023f8b066c4e1ec12124e", "secret"=>"b63360d8ffd06daff5f21b1a80a3e89af6e7b5f0a41555d5b2090caf0a255dcd", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002c0'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 307", "uid"=>"7ba821597c2940c43abf57fb943d26382dcfa24bec4023f8b066c4e1ec12124e", "secret"=>"b63360d8ffd06daff5f21b1a80a3e89af6e7b5f0a41555d5b2090caf0a255dcd", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"f7f3b12ee9212490dc588162b6d4f5199c9e8e77b40d419b3e1b3fc2547361bc", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002bf')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4689cd612c1c9872bbb72268d7b5f878a289f0eb0f14bb01a704532fb3253b02", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002c2')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002c2'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 308", "uid"=>"4689cd612c1c9872bbb72268d7b5f878a289f0eb0f14bb01a704532fb3253b02", "secret"=>"e42266f12aba8e703989453543854eb14f37e7ce7a5dd8933da1e5eb1782fd05", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002c2'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 308", "uid"=>"4689cd612c1c9872bbb72268d7b5f878a289f0eb0f14bb01a704532fb3253b02", "secret"=>"e42266f12aba8e703989453543854eb14f37e7ce7a5dd8933da1e5eb1782fd05", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"ce7380160fedd633e45f9fb41d8ba31a43d20e18ef6c479599ece18e3e9ed96a", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002c1')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002c1'), "application_id"=>BSON::ObjectId('5bb622533541594a850002c2'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>28, "token"=>"ce7380160fedd633e45f9fb41d8ba31a43d20e18ef6c479599ece18e3e9ed96a", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002c1'), "application_id"=>BSON::ObjectId('5bb622533541594a850002c2'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>28, "token"=>"ce7380160fedd633e45f9fb41d8ba31a43d20e18ef6c479599ece18e3e9ed96a", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622533541594a850002c1')}, :u=>{"_id"=>BSON::ObjectId('5bb622533541594a850002c1'), "application_id"=>BSON::ObjectId('5bb622533541594a850002c2'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>28, "token"=>"ce7380160fedd633e45f9fb41d8ba31a43d20e18ef6c479599ece18e3e9ed96a", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb622533541594a850002c1')}, {"_id"=>BSON::ObjectId('5bb622533541594a850002c1'), "application_id"=>BSON::ObjectId('5bb622533541594a850002c2'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>28, "token"=>"ce7380160fedd633e45f9fb41d8ba31a43d20e18ef6c479599ece18e3e9ed96a", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1e76bfd684a60ca11e13bd20042fae1f0dbf11701e24fa8a80d1f9b2970304b4", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002c4')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002c4'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 309", "uid"=>"1e76bfd684a60ca11e13bd20042fae1f0dbf11701e24fa8a80d1f9b2970304b4", "secret"=>"8c66a6d803c95e63d0eb30ab20bb89358265ab8c8173a3a740c1ba7fc48743f8", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002c4'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 309", "uid"=>"1e76bfd684a60ca11e13bd20042fae1f0dbf11701e24fa8a80d1f9b2970304b4", "secret"=>"8c66a6d803c95e63d0eb30ab20bb89358265ab8c8173a3a740c1ba7fc48743f8", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"d781b2473913e03058dd961e6a2c8b2dceb05abaff687fcc7b6cbdf6552e7a9b", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002c3')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002c3'), "application_id"=>BSON::ObjectId('5bb622533541594a850002c4'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>29, "token"=>"d781b2473913e03058dd961e6a2c8b2dceb05abaff687fcc7b6cbdf6552e7a9b", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002c3'), "application_id"=>BSON::ObjectId('5bb622533541594a850002c4'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>29, "token"=>"d781b2473913e03058dd961e6a2c8b2dceb05abaff687fcc7b6cbdf6552e7a9b", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a4de5c5fb96c5e46439a8bb418910b0bb71a9b8a473e96392a3357cbaaf2a6e5", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002c6')}}, {:_id=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002c6'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 310", "uid"=>"a4de5c5fb96c5e46439a8bb418910b0bb71a9b8a473e96392a3357cbaaf2a6e5", "secret"=>"8dc2d467f4a1c0da670c68c41e848ed8cf93d02277e281fffa7481764d6d13c3", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002c6'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 310", "uid"=>"a4de5c5fb96c5e46439a8bb418910b0bb71a9b8a473e96392a3357cbaaf2a6e5", "secret"=>"8dc2d467f4a1c0da670c68c41e848ed8cf93d02277e281fffa7481764d6d13c3", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"fb6d4ac07fcf09fa3ddde78031661080dc6dce126018221e9b01d5e8ea95b9b9", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002c5')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002c5'), "application_id"=>BSON::ObjectId('5bb622533541594a850002c6'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>30, "token"=>"fb6d4ac07fcf09fa3ddde78031661080dc6dce126018221e9b01d5e8ea95b9b9", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002c5'), "application_id"=>BSON::ObjectId('5bb622533541594a850002c6'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>30, "token"=>"fb6d4ac07fcf09fa3ddde78031661080dc6dce126018221e9b01d5e8ea95b9b9", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"cf89487d32bd7b804370226ca2a2547012ab99ea2303fe79ca0f91f6ec33a45f", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002c8')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002c8'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 311", "uid"=>"cf89487d32bd7b804370226ca2a2547012ab99ea2303fe79ca0f91f6ec33a45f", "secret"=>"bdf0e5b160dbe15f333a3128ea1233b6d54f23d13e9b2e1069935e5ed9e2092a", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002c8'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 311", "uid"=>"cf89487d32bd7b804370226ca2a2547012ab99ea2303fe79ca0f91f6ec33a45f", "secret"=>"bdf0e5b160dbe15f333a3128ea1233b6d54f23d13e9b2e1069935e5ed9e2092a", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"b0f61c9e126c54a694cd8ff630913a0f038c15cb8244ab71e41b871a09f93a07", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002c7')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002c7'), "application_id"=>BSON::ObjectId('5bb622533541594a850002c8'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>31, "token"=>"b0f61c9e126c54a694cd8ff630913a0f038c15cb8244ab71e41b871a09f93a07", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002c7'), "application_id"=>BSON::ObjectId('5bb622533541594a850002c8'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>31, "token"=>"b0f61c9e126c54a694cd8ff630913a0f038c15cb8244ab71e41b871a09f93a07", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"fb6d4ac07fcf09fa3ddde78031661080dc6dce126018221e9b01d5e8ea95b9b9", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002c7')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e07a81e0bfa448948e23436d1d977c0f0bedb1925d38d1da6e5a4091e43e1915", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002ca')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002ca'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 312", "uid"=>"e07a81e0bfa448948e23436d1d977c0f0bedb1925d38d1da6e5a4091e43e1915", "secret"=>"17fd20175e82be231aa9def934245e0290aa0632ae643cdb4a6c612fe85a102e", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002ca'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 312", "uid"=>"e07a81e0bfa448948e23436d1d977c0f0bedb1925d38d1da6e5a4091e43e1915", "secret"=>"17fd20175e82be231aa9def934245e0290aa0632ae643cdb4a6c612fe85a102e", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"b68039f5dce47a708a48c4022d24205113dcd2dbe37c51114d77183d75175f49", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002c9')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c3ea5da89fbec7915a7092369a2f60158a3e7c11b9e635f7608be608de5d84d3", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002cc')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002cc'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 313", "uid"=>"c3ea5da89fbec7915a7092369a2f60158a3e7c11b9e635f7608be608de5d84d3", "secret"=>"2bf6efce09626f733b9d29bf4398785042673b04f301c7b0578dbfbf6e4de9ac", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002cc'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 313", "uid"=>"c3ea5da89fbec7915a7092369a2f60158a3e7c11b9e635f7608be608de5d84d3", "secret"=>"2bf6efce09626f733b9d29bf4398785042673b04f301c7b0578dbfbf6e4de9ac", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"3128f9b0ab7b76ae66244cd9a82781a4af3abcdd4ffefd7ac7f5afaaca21669f", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002cb')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002cb'), "application_id"=>BSON::ObjectId('5bb622533541594a850002cc'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>33, "token"=>"3128f9b0ab7b76ae66244cd9a82781a4af3abcdd4ffefd7ac7f5afaaca21669f", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002cb'), "application_id"=>BSON::ObjectId('5bb622533541594a850002cc'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>33, "token"=>"3128f9b0ab7b76ae66244cd9a82781a4af3abcdd4ffefd7ac7f5afaaca21669f", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"83e8bde240bca51c31658750b448e5176a9409b0750d8fe6dc9352bed836f73b", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002ce')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002ce'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 314", "uid"=>"83e8bde240bca51c31658750b448e5176a9409b0750d8fe6dc9352bed836f73b", "secret"=>"388a6f4828b79b86fc80d60b53fbb21526c0cf5ce4fab61ff110e014f23af3ed", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002ce'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 314", "uid"=>"83e8bde240bca51c31658750b448e5176a9409b0750d8fe6dc9352bed836f73b", "secret"=>"388a6f4828b79b86fc80d60b53fbb21526c0cf5ce4fab61ff110e014f23af3ed", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"b2336f9f93c2522196398d1bb26a931ba673b46549fdec267ae7236ab083af88", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002cd')}}, {:_id=>1}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002cd'), "application_id"=>BSON::ObjectId('5bb622533541594a850002ce'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>34, "token"=>"b2336f9f93c2522196398d1bb26a931ba673b46549fdec267ae7236ab083af88", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002cd'), "application_id"=>BSON::ObjectId('5bb622533541594a850002ce'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>34, "token"=>"b2336f9f93c2522196398d1bb26a931ba673b46549fdec267ae7236ab083af88", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"3128f9b0ab7b76ae66244cd9a82781a4af3abcdd4ffefd7ac7f5afaaca21669f", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002cd')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1324a75401b595a478beca54110c4c26ba6b85881e44d21ff12142010273c93a", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002d0')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002d0'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 315", "uid"=>"1324a75401b595a478beca54110c4c26ba6b85881e44d21ff12142010273c93a", "secret"=>"407147bf3cc0610787cdd8cbde662e1b08eda05d61909f64df70a46e02d51a6e", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002d0'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 315", "uid"=>"1324a75401b595a478beca54110c4c26ba6b85881e44d21ff12142010273c93a", "secret"=>"407147bf3cc0610787cdd8cbde662e1b08eda05d61909f64df70a46e02d51a6e", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"887b4551434acf5dadd991ecbd9f9741afea44b17c0e225550a0392ad0bc2855", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002cf')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002cf'), "application_id"=>BSON::ObjectId('5bb622533541594a850002d0'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>35, "token"=>"887b4551434acf5dadd991ecbd9f9741afea44b17c0e225550a0392ad0bc2855", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002cf'), "application_id"=>BSON::ObjectId('5bb622533541594a850002d0'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>35, "token"=>"887b4551434acf5dadd991ecbd9f9741afea44b17c0e225550a0392ad0bc2855", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>nil, :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002cf')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"fad9bcf7a0eaef5bcaf3be096ab6ef4fad15ec4f0759338889a9416ab209775c", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002d2')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002d2'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 316", "uid"=>"fad9bcf7a0eaef5bcaf3be096ab6ef4fad15ec4f0759338889a9416ab209775c", "secret"=>"aa90a46dd889490e30f4c3a8ec54cc9c9ace77eb082dceed2ed5d79ac8930dc4", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002d2'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 316", "uid"=>"fad9bcf7a0eaef5bcaf3be096ab6ef4fad15ec4f0759338889a9416ab209775c", "secret"=>"aa90a46dd889490e30f4c3a8ec54cc9c9ace77eb082dceed2ed5d79ac8930dc4", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"9e1998a14c685b8fb89a910f5797c6f7569451ec0e190c8ae2c7eee928299a2f", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002d1')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d6b9d5abaa80c4d587ad4ce93034c1f7ac604bc387f30faf34806ea9adc8945c", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002d4')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002d4'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 317", "uid"=>"d6b9d5abaa80c4d587ad4ce93034c1f7ac604bc387f30faf34806ea9adc8945c", "secret"=>"dfd76e38049be79aa20a1d6c36564fb9ff27e66ca832b3bedb1c65fa730c2594", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002d4'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 317", "uid"=>"d6b9d5abaa80c4d587ad4ce93034c1f7ac604bc387f30faf34806ea9adc8945c", "secret"=>"dfd76e38049be79aa20a1d6c36564fb9ff27e66ca832b3bedb1c65fa730c2594", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (1.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"6ac282aa3a0055c2570252ed6a31144dca1ecd7c33edb988a12af387189104e9", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002d3')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4a8cfc514e53afaef5aefca91c56530a283a480b811866f52258df61819053dd", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002d6')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002d6'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 318", "uid"=>"4a8cfc514e53afaef5aefca91c56530a283a480b811866f52258df61819053dd", "secret"=>"d0f9d33a65384f4538ad04ab15caaf8a2471ffc055a75c2b63c461ccaacf463f", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002d6'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 318", "uid"=>"4a8cfc514e53afaef5aefca91c56530a283a480b811866f52258df61819053dd", "secret"=>"d0f9d33a65384f4538ad04ab15caaf8a2471ffc055a75c2b63c461ccaacf463f", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"0f3c7d4b6e406781ecd42e378de77ff639da582ccdd16ac11a2ff2ac3a5106d9", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002d5')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4dc6ebd8877f00ea90c5c3d5a033c523987cc44d9f7482ea396da89cca6bb35a", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002d8')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002d8'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 319", "uid"=>"4dc6ebd8877f00ea90c5c3d5a033c523987cc44d9f7482ea396da89cca6bb35a", "secret"=>"68613a478cb74236f57ff05b0c2f6063dba4303881a26ef6f53d7316b29e541e", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002d8'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 319", "uid"=>"4dc6ebd8877f00ea90c5c3d5a033c523987cc44d9f7482ea396da89cca6bb35a", "secret"=>"68613a478cb74236f57ff05b0c2f6063dba4303881a26ef6f53d7316b29e541e", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (10.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (11.0ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4f32599acae0a40e556f882c2d606fd6ef20578ce50f162c3be2697108d5be7a", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002da')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002da'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 320", "uid"=>"4f32599acae0a40e556f882c2d606fd6ef20578ce50f162c3be2697108d5be7a", "secret"=>"07483b6f0ca81c85b9dbabb231494de03fa1b4b5df434e2bd983f1cdfe161732", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002da'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 320", "uid"=>"4f32599acae0a40e556f882c2d606fd6ef20578ce50f162c3be2697108d5be7a", "secret"=>"07483b6f0ca81c85b9dbabb231494de03fa1b4b5df434e2bd983f1cdfe161732", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a236b8c017bcba6fdf24b86adbd3fb7e17460129b4fd3b8f67911c8352be4663", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002db')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002db'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 321", "uid"=>"a236b8c017bcba6fdf24b86adbd3fb7e17460129b4fd3b8f67911c8352be4663", "secret"=>"4087de7806025f646d7f1160829d80126069309d2594dd14ea79071798061795", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002db'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 321", "uid"=>"a236b8c017bcba6fdf24b86adbd3fb7e17460129b4fd3b8f67911c8352be4663", "secret"=>"4087de7806025f646d7f1160829d80126069309d2594dd14ea79071798061795", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"ec25db3c03ba8656fac35490c560e55d7e08ab5230828b700c7e436c7b154c08", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002dc')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002dc'), "application_id"=>BSON::ObjectId('5bb622533541594a850002db'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>41, "token"=>"ec25db3c03ba8656fac35490c560e55d7e08ab5230828b700c7e436c7b154c08", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002dc'), "application_id"=>BSON::ObjectId('5bb622533541594a850002db'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>41, "token"=>"ec25db3c03ba8656fac35490c560e55d7e08ab5230828b700c7e436c7b154c08", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token?code=[FILTERED]&client_id=a236b8c017bcba6fdf24b86adbd3fb7e17460129b4fd3b8f67911c8352be4663&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:23:15 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"a236b8c017bcba6fdf24b86adbd3fb7e17460129b4fd3b8f67911c8352be4663", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"ec25db3c03ba8656fac35490c560e55d7e08ab5230828b700c7e436c7b154c08"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a236b8c017bcba6fdf24b86adbd3fb7e17460129b4fd3b8f67911c8352be4663"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb622533541594a850002dc')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622533541594a850002dc')}, :u=>{"_id"=>BSON::ObjectId('5bb622533541594a850002dc'), "application_id"=>BSON::ObjectId('5bb622533541594a850002db'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>41, "token"=>"ec25db3c03ba8656fac35490c560e55d7e08ab5230828b700c7e436c7b154c08", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb622533541594a850002dc')}, {"_id"=>BSON::ObjectId('5bb622533541594a850002dc'), "application_id"=>BSON::ObjectId('5bb622533541594a850002db'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>41, "token"=>"ec25db3c03ba8656fac35490c560e55d7e08ab5230828b700c7e436c7b154c08", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622533541594a850002db')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622533541594a850002db')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"2ae5388a9397ef9f4e44116ba4f83e49c7618681e9ded061a127d02f1612f16f", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002dd')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"570ffd98b4ea94786ddb0dca39b0ee5ad89104534bc2e629ab1442ab3dc5f6f9", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002dd')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002dd'), "application_id"=>BSON::ObjectId('5bb622533541594a850002db'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>41, "token"=>"2ae5388a9397ef9f4e44116ba4f83e49c7618681e9ded061a127d02f1612f16f", "refresh_token"=>"570ffd98b4ea94786ddb0dca39b0ee5ad89104534bc2e629ab1442ab3dc5f6f9", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002dd'), "application_id"=>BSON::ObjectId('5bb622533541594a850002db'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>41, "token"=>"2ae5388a9397ef9f4e44116ba4f83e49c7618681e9ded061a127d02f1612f16f", "refresh_token"=>"570ffd98b4ea94786ddb0dca39b0ee5ad89104534bc2e629ab1442ab3dc5f6f9", "expires_in"=>7200, "scopes"=>"public write"}) Completed 200 OK in 8ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb622533541594a850002dc')}).limit(-1) Started POST "/oauth/token?refresh_token=[FILTERED]&client_id=a236b8c017bcba6fdf24b86adbd3fb7e17460129b4fd3b8f67911c8352be4663&client_secret=[FILTERED]&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:23:15 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"refresh_token"=>"[FILTERED]", "client_id"=>"a236b8c017bcba6fdf24b86adbd3fb7e17460129b4fd3b8f67911c8352be4663", "client_secret"=>"[FILTERED]", "grant_type"=>"refresh_token"} MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"570ffd98b4ea94786ddb0dca39b0ee5ad89104534bc2e629ab1442ab3dc5f6f9"}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a236b8c017bcba6fdf24b86adbd3fb7e17460129b4fd3b8f67911c8352be4663"}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622533541594a850002dd')}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622533541594a850002db')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"452b3eb7673a1a3a24471b8e9475867a1696b809974703c5b7772f4c246804c0", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002de')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"457d2b0bc64859e5e1b308afa9bf291e398b7caba64ab6af743a61a19f574aa9", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002de')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002de'), "application_id"=>BSON::ObjectId('5bb622533541594a850002db'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>41, "token"=>"452b3eb7673a1a3a24471b8e9475867a1696b809974703c5b7772f4c246804c0", "refresh_token"=>"457d2b0bc64859e5e1b308afa9bf291e398b7caba64ab6af743a61a19f574aa9", "previous_refresh_token"=>"570ffd98b4ea94786ddb0dca39b0ee5ad89104534bc2e629ab1442ab3dc5f6f9", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002de'), "application_id"=>BSON::ObjectId('5bb622533541594a850002db'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>41, "token"=>"452b3eb7673a1a3a24471b8e9475867a1696b809974703c5b7772f4c246804c0", "refresh_token"=>"457d2b0bc64859e5e1b308afa9bf291e398b7caba64ab6af743a61a19f574aa9", "previous_refresh_token"=>"570ffd98b4ea94786ddb0dca39b0ee5ad89104534bc2e629ab1442ab3dc5f6f9", "expires_in"=>7200, "scopes"=>"public write"}) Completed 200 OK in 11ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8558dc1e0d76744c28486a39c28fa68a554b46d636fa77152a854b929a75a35a", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002df')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002df'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 322", "uid"=>"8558dc1e0d76744c28486a39c28fa68a554b46d636fa77152a854b929a75a35a", "secret"=>"28a9f8463d99fe196df9b67f44b012498d38934f2f8256bdc8665fe523be77c7", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002df'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 322", "uid"=>"8558dc1e0d76744c28486a39c28fa68a554b46d636fa77152a854b929a75a35a", "secret"=>"28a9f8463d99fe196df9b67f44b012498d38934f2f8256bdc8665fe523be77c7", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002e0'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002e0'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Joe", "password"=>"sekret"}) Started POST "/oauth/token?code&client_id=8558dc1e0d76744c28486a39c28fa68a554b46d636fa77152a854b929a75a35a&client_secret=[FILTERED]&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:23:15 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"8558dc1e0d76744c28486a39c28fa68a554b46d636fa77152a854b929a75a35a", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8558dc1e0d76744c28486a39c28fa68a554b46d636fa77152a854b929a75a35a"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622533541594a850002df')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"93bc05562cc50321cc568737fa1cd5fd9fa6078b6a0a17a89b996734900c2c62", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002e1')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"f2362e1cd953fd1c028c907c4afbcfe0cfb185fb08520dd783e8b8ef256ace56", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002e1')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002e1'), "application_id"=>BSON::ObjectId('5bb622533541594a850002df'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622533541594a850002e0'), "token"=>"93bc05562cc50321cc568737fa1cd5fd9fa6078b6a0a17a89b996734900c2c62", "refresh_token"=>"f2362e1cd953fd1c028c907c4afbcfe0cfb185fb08520dd783e8b8ef256ace56", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002e1'), "application_id"=>BSON::ObjectId('5bb622533541594a850002df'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622533541594a850002e0'), "token"=>"93bc05562cc50321cc568737fa1cd5fd9fa6078b6a0a17a89b996734900c2c62", "refresh_token"=>"f2362e1cd953fd1c028c907c4afbcfe0cfb185fb08520dd783e8b8ef256ace56", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 6ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622533541594a850002df'), :resource_owner_id=>BSON::ObjectId('5bb622533541594a850002e0'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622533541594a850002e1')}, :u=>{"_id"=>BSON::ObjectId('5bb622533541594a850002e1'), "application_id"=>BSON::ObjectId('5bb622533541594a850002df'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622533541594a850002e0'), "token"=>"93bc05562cc50321cc568737fa1cd5fd9fa6078b6a0a17a89b996734900c2c62", "refresh_token"=>"f2362e1cd953fd1c028c907c4afbcfe0cfb185fb08520dd783e8b8ef256ace56", "expires_in"=>7200, "scopes"=>""}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622533541594a850002e1')}, {"_id"=>BSON::ObjectId('5bb622533541594a850002e1'), "application_id"=>BSON::ObjectId('5bb622533541594a850002df'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622533541594a850002e0'), "token"=>"93bc05562cc50321cc568737fa1cd5fd9fa6078b6a0a17a89b996734900c2c62", "refresh_token"=>"f2362e1cd953fd1c028c907c4afbcfe0cfb185fb08520dd783e8b8ef256ace56", "expires_in"=>7200, "scopes"=>""}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"6bf33cb2fbe0821175c4c1bea0b307e2c5ab81357f103001814cce2eacc8e378", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002e2')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"ac99c8f49f0bb6ef5b47667d757f176b3d83eecc96591887222f37af572e95cd", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002e2')}}, {:_id=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002e2'), "application_id"=>BSON::ObjectId('5bb622533541594a850002df'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622533541594a850002e0'), "token"=>"6bf33cb2fbe0821175c4c1bea0b307e2c5ab81357f103001814cce2eacc8e378", "refresh_token"=>"ac99c8f49f0bb6ef5b47667d757f176b3d83eecc96591887222f37af572e95cd", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002e2'), "application_id"=>BSON::ObjectId('5bb622533541594a850002df'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622533541594a850002e0'), "token"=>"6bf33cb2fbe0821175c4c1bea0b307e2c5ab81357f103001814cce2eacc8e378", "refresh_token"=>"ac99c8f49f0bb6ef5b47667d757f176b3d83eecc96591887222f37af572e95cd", "expires_in"=>7200}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622533541594a850002e2')}, :u=>{"_id"=>BSON::ObjectId('5bb622533541594a850002e2'), "application_id"=>BSON::ObjectId('5bb622533541594a850002df'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622533541594a850002e0'), "token"=>"6bf33cb2fbe0821175c4c1bea0b307e2c5ab81357f103001814cce2eacc8e378", "refresh_token"=>"ac99c8f49f0bb6ef5b47667d757f176b3d83eecc96591887222f37af572e95cd", "expires_in"=>-100}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622533541594a850002e2')}, {"_id"=>BSON::ObjectId('5bb622533541594a850002e2'), "application_id"=>BSON::ObjectId('5bb622533541594a850002df'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622533541594a850002e0'), "token"=>"6bf33cb2fbe0821175c4c1bea0b307e2c5ab81357f103001814cce2eacc8e378", "refresh_token"=>"ac99c8f49f0bb6ef5b47667d757f176b3d83eecc96591887222f37af572e95cd", "expires_in"=>-100}) Started POST "/oauth/token?refresh_token=[FILTERED]&client_id=8558dc1e0d76744c28486a39c28fa68a554b46d636fa77152a854b929a75a35a&client_secret=[FILTERED]&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:23:15 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"refresh_token"=>"[FILTERED]", "client_id"=>"8558dc1e0d76744c28486a39c28fa68a554b46d636fa77152a854b929a75a35a", "client_secret"=>"[FILTERED]", "grant_type"=>"refresh_token"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"ac99c8f49f0bb6ef5b47667d757f176b3d83eecc96591887222f37af572e95cd"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8558dc1e0d76744c28486a39c28fa68a554b46d636fa77152a854b929a75a35a"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622533541594a850002e2')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622533541594a850002df')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"356cb98f66b7fd386647b99635ee86d54607a907c395492080b7511f62ac5306", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002e3')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"ce96f7d8250c34e07f4ced52403ea10d43c8919a9eb53b476db563051a0dbd94", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002e3')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002e3'), "application_id"=>BSON::ObjectId('5bb622533541594a850002df'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622533541594a850002e0'), "token"=>"356cb98f66b7fd386647b99635ee86d54607a907c395492080b7511f62ac5306", "refresh_token"=>"ce96f7d8250c34e07f4ced52403ea10d43c8919a9eb53b476db563051a0dbd94", "previous_refresh_token"=>"ac99c8f49f0bb6ef5b47667d757f176b3d83eecc96591887222f37af572e95cd", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002e3'), "application_id"=>BSON::ObjectId('5bb622533541594a850002df'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622533541594a850002e0'), "token"=>"356cb98f66b7fd386647b99635ee86d54607a907c395492080b7511f62ac5306", "refresh_token"=>"ce96f7d8250c34e07f4ced52403ea10d43c8919a9eb53b476db563051a0dbd94", "previous_refresh_token"=>"ac99c8f49f0bb6ef5b47667d757f176b3d83eecc96591887222f37af572e95cd", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 8ms MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622533541594a850002df'), :resource_owner_id=>BSON::ObjectId('5bb622533541594a850002e0'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622533541594a850002e2')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c662f28bf670690a367824325c7bf726f75c386ea02408d902c15aaa1d1621b2", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002e4')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002e4'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 323", "uid"=>"c662f28bf670690a367824325c7bf726f75c386ea02408d902c15aaa1d1621b2", "secret"=>"27d2a9590286e7d8d8f93b903535e9dbbc533497c2b60e01882a581f645080ec", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002e4'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 323", "uid"=>"c662f28bf670690a367824325c7bf726f75c386ea02408d902c15aaa1d1621b2", "secret"=>"27d2a9590286e7d8d8f93b903535e9dbbc533497c2b60e01882a581f645080ec", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002e5'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002e5'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Joe", "password"=>"sekret"}) Started POST "/oauth/token?code&client_id=c662f28bf670690a367824325c7bf726f75c386ea02408d902c15aaa1d1621b2&client_secret=[FILTERED]&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:23:15 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"c662f28bf670690a367824325c7bf726f75c386ea02408d902c15aaa1d1621b2", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c662f28bf670690a367824325c7bf726f75c386ea02408d902c15aaa1d1621b2"}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622533541594a850002e4')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"bd5f746f7a1102a056494fd47e8aa492f3f978dd0fe27fada392b3ef17527660", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002e6')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"50854ff7850d4a3119236713ad48359f75be4e57f11dc9b554d98238ff8a02cb", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002e6')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002e6'), "application_id"=>BSON::ObjectId('5bb622533541594a850002e4'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622533541594a850002e5'), "token"=>"bd5f746f7a1102a056494fd47e8aa492f3f978dd0fe27fada392b3ef17527660", "refresh_token"=>"50854ff7850d4a3119236713ad48359f75be4e57f11dc9b554d98238ff8a02cb", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002e6'), "application_id"=>BSON::ObjectId('5bb622533541594a850002e4'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622533541594a850002e5'), "token"=>"bd5f746f7a1102a056494fd47e8aa492f3f978dd0fe27fada392b3ef17527660", "refresh_token"=>"50854ff7850d4a3119236713ad48359f75be4e57f11dc9b554d98238ff8a02cb", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 9ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622533541594a850002e4'), :resource_owner_id=>BSON::ObjectId('5bb622533541594a850002e5'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622533541594a850002e6')}, :u=>{"_id"=>BSON::ObjectId('5bb622533541594a850002e6'), "application_id"=>BSON::ObjectId('5bb622533541594a850002e4'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622533541594a850002e5'), "token"=>"bd5f746f7a1102a056494fd47e8aa492f3f978dd0fe27fada392b3ef17527660", "refresh_token"=>"50854ff7850d4a3119236713ad48359f75be4e57f11dc9b554d98238ff8a02cb", "expires_in"=>7200, "scopes"=>""}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622533541594a850002e6')}, {"_id"=>BSON::ObjectId('5bb622533541594a850002e6'), "application_id"=>BSON::ObjectId('5bb622533541594a850002e4'), "created_at"=>2018-10-04 14:23:10 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622533541594a850002e5'), "token"=>"bd5f746f7a1102a056494fd47e8aa492f3f978dd0fe27fada392b3ef17527660", "refresh_token"=>"50854ff7850d4a3119236713ad48359f75be4e57f11dc9b554d98238ff8a02cb", "expires_in"=>7200, "scopes"=>""}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"fd702f14c34e68f258d6f6846300cc695fb84bb699fba9b709fca005a2b3840d", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002e7')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"2d842e71795f2fbaba8747ff60f7701fec0780d23b3a425b4969b39a9a5ab0db", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002e7')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002e7'), "application_id"=>BSON::ObjectId('5bb622533541594a850002e4'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622533541594a850002e5'), "token"=>"fd702f14c34e68f258d6f6846300cc695fb84bb699fba9b709fca005a2b3840d", "refresh_token"=>"2d842e71795f2fbaba8747ff60f7701fec0780d23b3a425b4969b39a9a5ab0db", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002e7'), "application_id"=>BSON::ObjectId('5bb622533541594a850002e4'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622533541594a850002e5'), "token"=>"fd702f14c34e68f258d6f6846300cc695fb84bb699fba9b709fca005a2b3840d", "refresh_token"=>"2d842e71795f2fbaba8747ff60f7701fec0780d23b3a425b4969b39a9a5ab0db", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622533541594a850002e7')}, :u=>{"_id"=>BSON::ObjectId('5bb622533541594a850002e7'), "application_id"=>BSON::ObjectId('5bb622533541594a850002e4'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622533541594a850002e5'), "token"=>"fd702f14c34e68f258d6f6846300cc695fb84bb699fba9b709fca005a2b3840d", "refresh_token"=>"2d842e71795f2fbaba8747ff60f7701fec0780d23b3a425b4969b39a9a5ab0db", "expires_in"=>-100}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622533541594a850002e7')}, {"_id"=>BSON::ObjectId('5bb622533541594a850002e7'), "application_id"=>BSON::ObjectId('5bb622533541594a850002e4'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622533541594a850002e5'), "token"=>"fd702f14c34e68f258d6f6846300cc695fb84bb699fba9b709fca005a2b3840d", "refresh_token"=>"2d842e71795f2fbaba8747ff60f7701fec0780d23b3a425b4969b39a9a5ab0db", "expires_in"=>-100}) Started POST "/oauth/token?refresh_token=[FILTERED]&client_id=c662f28bf670690a367824325c7bf726f75c386ea02408d902c15aaa1d1621b2&client_secret=[FILTERED]&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:23:15 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"refresh_token"=>"[FILTERED]", "client_id"=>"c662f28bf670690a367824325c7bf726f75c386ea02408d902c15aaa1d1621b2", "client_secret"=>"[FILTERED]", "grant_type"=>"refresh_token"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"2d842e71795f2fbaba8747ff60f7701fec0780d23b3a425b4969b39a9a5ab0db"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c662f28bf670690a367824325c7bf726f75c386ea02408d902c15aaa1d1621b2"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622533541594a850002e7')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622533541594a850002e7')}, :u=>{"_id"=>BSON::ObjectId('5bb622533541594a850002e7'), "application_id"=>BSON::ObjectId('5bb622533541594a850002e4'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622533541594a850002e5'), "token"=>"fd702f14c34e68f258d6f6846300cc695fb84bb699fba9b709fca005a2b3840d", "refresh_token"=>"2d842e71795f2fbaba8747ff60f7701fec0780d23b3a425b4969b39a9a5ab0db", "expires_in"=>-100, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622533541594a850002e7')}, {"_id"=>BSON::ObjectId('5bb622533541594a850002e7'), "application_id"=>BSON::ObjectId('5bb622533541594a850002e4'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622533541594a850002e5'), "token"=>"fd702f14c34e68f258d6f6846300cc695fb84bb699fba9b709fca005a2b3840d", "refresh_token"=>"2d842e71795f2fbaba8747ff60f7701fec0780d23b3a425b4969b39a9a5ab0db", "expires_in"=>-100, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622533541594a850002e4')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"14e8bc4cb1485ed33d3e469aff9739134d1c0302a14b7384660af4243a9c59de", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002e8')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"e0e68d76381c1b32372725223d60a2c9ea29c756b4505909894e962573fab1a6", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002e8')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002e8'), "application_id"=>BSON::ObjectId('5bb622533541594a850002e4'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622533541594a850002e5'), "token"=>"14e8bc4cb1485ed33d3e469aff9739134d1c0302a14b7384660af4243a9c59de", "refresh_token"=>"e0e68d76381c1b32372725223d60a2c9ea29c756b4505909894e962573fab1a6", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002e8'), "application_id"=>BSON::ObjectId('5bb622533541594a850002e4'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622533541594a850002e5'), "token"=>"14e8bc4cb1485ed33d3e469aff9739134d1c0302a14b7384660af4243a9c59de", "refresh_token"=>"e0e68d76381c1b32372725223d60a2c9ea29c756b4505909894e962573fab1a6", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 7ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622533541594a850002e4'), :resource_owner_id=>BSON::ObjectId('5bb622533541594a850002e5'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622533541594a850002e7')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ecf64bf66210f7a26c4caf152555b17bb8f951d5e46c5dce96847047bac54841", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002e9')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002e9'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 324", "uid"=>"ecf64bf66210f7a26c4caf152555b17bb8f951d5e46c5dce96847047bac54841", "secret"=>"5e091d9e2c8115484d117afd00321b5ac079b8ddfbd19fcf4f20fca6d45903b1", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002e9'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 324", "uid"=>"ecf64bf66210f7a26c4caf152555b17bb8f951d5e46c5dce96847047bac54841", "secret"=>"5e091d9e2c8115484d117afd00321b5ac079b8ddfbd19fcf4f20fca6d45903b1", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"75f46ad24576d36ec8a20dea6ec3a6fb0324827ae3eb2cab97af6485e3e31a85", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002ea')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"82680fc591177c6f4d3f0928c0f84255b4810d996e4a95c4669eadd3eed2deeb", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002ea')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002ea'), "application_id"=>BSON::ObjectId('5bb622533541594a850002e9'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>1, "token"=>"75f46ad24576d36ec8a20dea6ec3a6fb0324827ae3eb2cab97af6485e3e31a85", "refresh_token"=>"82680fc591177c6f4d3f0928c0f84255b4810d996e4a95c4669eadd3eed2deeb", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002ea'), "application_id"=>BSON::ObjectId('5bb622533541594a850002e9'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>1, "token"=>"75f46ad24576d36ec8a20dea6ec3a6fb0324827ae3eb2cab97af6485e3e31a85", "refresh_token"=>"82680fc591177c6f4d3f0928c0f84255b4810d996e4a95c4669eadd3eed2deeb", "expires_in"=>7200}) Started POST "/oauth/token?refresh_token=[FILTERED]&client_id=ecf64bf66210f7a26c4caf152555b17bb8f951d5e46c5dce96847047bac54841&client_secret=[FILTERED]&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:23:15 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"refresh_token"=>"[FILTERED]", "client_id"=>"ecf64bf66210f7a26c4caf152555b17bb8f951d5e46c5dce96847047bac54841", "client_secret"=>"[FILTERED]", "grant_type"=>"refresh_token"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"82680fc591177c6f4d3f0928c0f84255b4810d996e4a95c4669eadd3eed2deeb"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ecf64bf66210f7a26c4caf152555b17bb8f951d5e46c5dce96847047bac54841"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622533541594a850002ea')}).limit(-1) Completed 401 Unauthorized in 4ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ed4a2fcdfed37946954f7bde6eabc8980051e3861c7ae4027b372d857687d459", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002eb')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002eb'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 325", "uid"=>"ed4a2fcdfed37946954f7bde6eabc8980051e3861c7ae4027b372d857687d459", "secret"=>"437f74ed9b2e90d0c2cba7be2b937929baccf2cf94f3a525a4074087dbf0411c", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002eb'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 325", "uid"=>"ed4a2fcdfed37946954f7bde6eabc8980051e3861c7ae4027b372d857687d459", "secret"=>"437f74ed9b2e90d0c2cba7be2b937929baccf2cf94f3a525a4074087dbf0411c", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"6e99270a8c89bccaf47a377fe59ead44a33e0e91e5166d0278d70b7c547b5865", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002ec')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"f41c0253e4f3d29f85cb47dff7ba698c760e8a315add39bef18c9092d6aafce3", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002ec')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002ec'), "application_id"=>BSON::ObjectId('5bb622533541594a850002eb'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>1, "token"=>"6e99270a8c89bccaf47a377fe59ead44a33e0e91e5166d0278d70b7c547b5865", "refresh_token"=>"f41c0253e4f3d29f85cb47dff7ba698c760e8a315add39bef18c9092d6aafce3", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002ec'), "application_id"=>BSON::ObjectId('5bb622533541594a850002eb'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>1, "token"=>"6e99270a8c89bccaf47a377fe59ead44a33e0e91e5166d0278d70b7c547b5865", "refresh_token"=>"f41c0253e4f3d29f85cb47dff7ba698c760e8a315add39bef18c9092d6aafce3", "expires_in"=>7200}) Started POST "/oauth/token?refresh_token=[FILTERED]&client_id=ed4a2fcdfed37946954f7bde6eabc8980051e3861c7ae4027b372d857687d459&client_secret=[FILTERED]&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:23:15 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"refresh_token"=>"[FILTERED]", "client_id"=>"ed4a2fcdfed37946954f7bde6eabc8980051e3861c7ae4027b372d857687d459", "client_secret"=>"[FILTERED]", "grant_type"=>"refresh_token"} MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"invalid"}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ed4a2fcdfed37946954f7bde6eabc8980051e3861c7ae4027b372d857687d459"}).limit(-1) Completed 401 Unauthorized in 4ms MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a3b31e379e43e71115c971fdba6052daa208dfabd4176af2a26a0a605d98f2b4", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002ed')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002ed'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 326", "uid"=>"a3b31e379e43e71115c971fdba6052daa208dfabd4176af2a26a0a605d98f2b4", "secret"=>"b8b21972491ea4664f5ac2c7b9defc683aefc81bc2d331578a93a123b2546fb8", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002ed'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 326", "uid"=>"a3b31e379e43e71115c971fdba6052daa208dfabd4176af2a26a0a605d98f2b4", "secret"=>"b8b21972491ea4664f5ac2c7b9defc683aefc81bc2d331578a93a123b2546fb8", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"b1e82c0d02598e2f532d4b82ae54b9e4f0b5d12c039ad93cf02716d993726e10", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002ee')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"606738e808a07ecb6f4d1296aed2b066f397389c1815078a6a728e1987713304", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002ee')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002ee'), "application_id"=>BSON::ObjectId('5bb622533541594a850002ed'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>1, "token"=>"b1e82c0d02598e2f532d4b82ae54b9e4f0b5d12c039ad93cf02716d993726e10", "refresh_token"=>"606738e808a07ecb6f4d1296aed2b066f397389c1815078a6a728e1987713304", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002ee'), "application_id"=>BSON::ObjectId('5bb622533541594a850002ed'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>1, "token"=>"b1e82c0d02598e2f532d4b82ae54b9e4f0b5d12c039ad93cf02716d993726e10", "refresh_token"=>"606738e808a07ecb6f4d1296aed2b066f397389c1815078a6a728e1987713304", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622533541594a850002ee')}, :u=>{"_id"=>BSON::ObjectId('5bb622533541594a850002ee'), "application_id"=>BSON::ObjectId('5bb622533541594a850002ed'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>1, "token"=>"b1e82c0d02598e2f532d4b82ae54b9e4f0b5d12c039ad93cf02716d993726e10", "refresh_token"=>"606738e808a07ecb6f4d1296aed2b066f397389c1815078a6a728e1987713304", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622533541594a850002ee')}, {"_id"=>BSON::ObjectId('5bb622533541594a850002ee'), "application_id"=>BSON::ObjectId('5bb622533541594a850002ed'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>1, "token"=>"b1e82c0d02598e2f532d4b82ae54b9e4f0b5d12c039ad93cf02716d993726e10", "refresh_token"=>"606738e808a07ecb6f4d1296aed2b066f397389c1815078a6a728e1987713304", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Started POST "/oauth/token?refresh_token=[FILTERED]&client_id=a3b31e379e43e71115c971fdba6052daa208dfabd4176af2a26a0a605d98f2b4&client_secret=[FILTERED]&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:23:15 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"refresh_token"=>"[FILTERED]", "client_id"=>"a3b31e379e43e71115c971fdba6052daa208dfabd4176af2a26a0a605d98f2b4", "client_secret"=>"[FILTERED]", "grant_type"=>"refresh_token"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"606738e808a07ecb6f4d1296aed2b066f397389c1815078a6a728e1987713304"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a3b31e379e43e71115c971fdba6052daa208dfabd4176af2a26a0a605d98f2b4"}).limit(-1) Completed 401 Unauthorized in 2ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"9209280f1cdfe46d3a82fd306dc1825824838cf7acfc8537a8b009329e44d317", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002ef')}}, {:_id=>1}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002ef'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 327", "uid"=>"9209280f1cdfe46d3a82fd306dc1825824838cf7acfc8537a8b009329e44d317", "secret"=>"cdcbe3c7866783cd79b0c6d6e4c5fecd204001ec53d70b86de6b9a48470c3fe7", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002ef'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 327", "uid"=>"9209280f1cdfe46d3a82fd306dc1825824838cf7acfc8537a8b009329e44d317", "secret"=>"cdcbe3c7866783cd79b0c6d6e4c5fecd204001ec53d70b86de6b9a48470c3fe7", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"7141b9b7fd8345eb13c3b8f5abdaeb2d550ef7ef752c6333f8c40be798b061d2", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002f0')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"7c6d1133eb449756ac733aa3013631f40a4d62cdd8c3e1571224e81d46b9fb2c", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002f0')}}, {:_id=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002f0'), "application_id"=>BSON::ObjectId('5bb622533541594a850002ef'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>1, "token"=>"7141b9b7fd8345eb13c3b8f5abdaeb2d550ef7ef752c6333f8c40be798b061d2", "refresh_token"=>"7c6d1133eb449756ac733aa3013631f40a4d62cdd8c3e1571224e81d46b9fb2c", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002f0'), "application_id"=>BSON::ObjectId('5bb622533541594a850002ef'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>1, "token"=>"7141b9b7fd8345eb13c3b8f5abdaeb2d550ef7ef752c6333f8c40be798b061d2", "refresh_token"=>"7c6d1133eb449756ac733aa3013631f40a4d62cdd8c3e1571224e81d46b9fb2c", "expires_in"=>7200}) Started POST "/oauth/token?refresh_token=[FILTERED]&client_id=9209280f1cdfe46d3a82fd306dc1825824838cf7acfc8537a8b009329e44d317&client_secret=[FILTERED]&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:23:15 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"refresh_token"=>"[FILTERED]", "client_id"=>"9209280f1cdfe46d3a82fd306dc1825824838cf7acfc8537a8b009329e44d317", "client_secret"=>"[FILTERED]", "grant_type"=>"refresh_token"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"7c6d1133eb449756ac733aa3013631f40a4d62cdd8c3e1571224e81d46b9fb2c"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"9209280f1cdfe46d3a82fd306dc1825824838cf7acfc8537a8b009329e44d317"}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622533541594a850002f0')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622533541594a850002ef')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"6cf18678b3727e8dae0d92cbccff5e50fcf0c6c1d3d345af6ec1e204816ed184", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002f1')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"52980c577599c6a56d3d779c9d1ec75c235cee5abc65380d246492e4a7e34ec3", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002f1')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002f1'), "application_id"=>BSON::ObjectId('5bb622533541594a850002ef'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>1, "token"=>"6cf18678b3727e8dae0d92cbccff5e50fcf0c6c1d3d345af6ec1e204816ed184", "refresh_token"=>"52980c577599c6a56d3d779c9d1ec75c235cee5abc65380d246492e4a7e34ec3", "previous_refresh_token"=>"7c6d1133eb449756ac733aa3013631f40a4d62cdd8c3e1571224e81d46b9fb2c", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002f1'), "application_id"=>BSON::ObjectId('5bb622533541594a850002ef'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>1, "token"=>"6cf18678b3727e8dae0d92cbccff5e50fcf0c6c1d3d345af6ec1e204816ed184", "refresh_token"=>"52980c577599c6a56d3d779c9d1ec75c235cee5abc65380d246492e4a7e34ec3", "previous_refresh_token"=>"7c6d1133eb449756ac733aa3013631f40a4d62cdd8c3e1571224e81d46b9fb2c", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 6ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622533541594a850002f0')}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f693981b621c6a340ca3806d23b315b0e0ae11110bcee68143b3e25472e23740", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002f2')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002f2'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 328", "uid"=>"f693981b621c6a340ca3806d23b315b0e0ae11110bcee68143b3e25472e23740", "secret"=>"cc7b0adce3141d3b3f1ab525c1c0e87339335fea7da41ab01d15770ba6257638", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002f2'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 328", "uid"=>"f693981b621c6a340ca3806d23b315b0e0ae11110bcee68143b3e25472e23740", "secret"=>"cc7b0adce3141d3b3f1ab525c1c0e87339335fea7da41ab01d15770ba6257638", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (4.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"fdfc8ae091b4b03298910a51a1490b83f2ce571eaba3dbba9c2b7877daa68324", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002f3')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"bba7a43e70fe37dd738f36d7ea69589bfdbe40635af67bef9b8fe6f27cada08c", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002f3')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002f3'), "application_id"=>BSON::ObjectId('5bb622533541594a850002f2'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>1, "token"=>"fdfc8ae091b4b03298910a51a1490b83f2ce571eaba3dbba9c2b7877daa68324", "refresh_token"=>"bba7a43e70fe37dd738f36d7ea69589bfdbe40635af67bef9b8fe6f27cada08c", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002f3'), "application_id"=>BSON::ObjectId('5bb622533541594a850002f2'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>1, "token"=>"fdfc8ae091b4b03298910a51a1490b83f2ce571eaba3dbba9c2b7877daa68324", "refresh_token"=>"bba7a43e70fe37dd738f36d7ea69589bfdbe40635af67bef9b8fe6f27cada08c", "expires_in"=>7200}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622533541594a850002f3')}, :u=>{"_id"=>BSON::ObjectId('5bb622533541594a850002f3'), "application_id"=>BSON::ObjectId('5bb622533541594a850002f2'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>1, "token"=>"fdfc8ae091b4b03298910a51a1490b83f2ce571eaba3dbba9c2b7877daa68324", "refresh_token"=>"bba7a43e70fe37dd738f36d7ea69589bfdbe40635af67bef9b8fe6f27cada08c", "expires_in"=>-100}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622533541594a850002f3')}, {"_id"=>BSON::ObjectId('5bb622533541594a850002f3'), "application_id"=>BSON::ObjectId('5bb622533541594a850002f2'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>1, "token"=>"fdfc8ae091b4b03298910a51a1490b83f2ce571eaba3dbba9c2b7877daa68324", "refresh_token"=>"bba7a43e70fe37dd738f36d7ea69589bfdbe40635af67bef9b8fe6f27cada08c", "expires_in"=>-100}) Started POST "/oauth/token?refresh_token=[FILTERED]&client_id=f693981b621c6a340ca3806d23b315b0e0ae11110bcee68143b3e25472e23740&client_secret=[FILTERED]&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:23:15 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"refresh_token"=>"[FILTERED]", "client_id"=>"f693981b621c6a340ca3806d23b315b0e0ae11110bcee68143b3e25472e23740", "client_secret"=>"[FILTERED]", "grant_type"=>"refresh_token"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"bba7a43e70fe37dd738f36d7ea69589bfdbe40635af67bef9b8fe6f27cada08c"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f693981b621c6a340ca3806d23b315b0e0ae11110bcee68143b3e25472e23740"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622533541594a850002f3')}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622533541594a850002f2')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"2e2aa89be941af7fcff88b8b4dbdabc1afbc947d07fb2c42ed2ea834f67d3985", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002f4')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"c9a7dee5c99f89cf47e419df1349d2541a64638fa17d7a0244c1b36c49c9ee1f", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002f4')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002f4'), "application_id"=>BSON::ObjectId('5bb622533541594a850002f2'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>1, "token"=>"2e2aa89be941af7fcff88b8b4dbdabc1afbc947d07fb2c42ed2ea834f67d3985", "refresh_token"=>"c9a7dee5c99f89cf47e419df1349d2541a64638fa17d7a0244c1b36c49c9ee1f", "previous_refresh_token"=>"bba7a43e70fe37dd738f36d7ea69589bfdbe40635af67bef9b8fe6f27cada08c", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002f4'), "application_id"=>BSON::ObjectId('5bb622533541594a850002f2'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>1, "token"=>"2e2aa89be941af7fcff88b8b4dbdabc1afbc947d07fb2c42ed2ea834f67d3985", "refresh_token"=>"c9a7dee5c99f89cf47e419df1349d2541a64638fa17d7a0244c1b36c49c9ee1f", "previous_refresh_token"=>"bba7a43e70fe37dd738f36d7ea69589bfdbe40635af67bef9b8fe6f27cada08c", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 15ms MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622533541594a850002f3')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2c5def6f8533edfdbb73740bd805301a1ccbeb99d7be19090be8bf1cdd3b8199", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002f5')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002f5'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 329", "uid"=>"2c5def6f8533edfdbb73740bd805301a1ccbeb99d7be19090be8bf1cdd3b8199", "secret"=>"cbd29a9d93a20eed62aebca7bfdee1ffe56db6d7d6732250a7136117b6b55ce9", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002f5'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 329", "uid"=>"2c5def6f8533edfdbb73740bd805301a1ccbeb99d7be19090be8bf1cdd3b8199", "secret"=>"cbd29a9d93a20eed62aebca7bfdee1ffe56db6d7d6732250a7136117b6b55ce9", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"29b8e18b4215976d4d9c9c17beaeb289c05b291ab9dcef1faff1c92d00020f4f", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002f6')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"00d2f7833492ce5882fbded44647b0046a5dbc824c83982b21ad693ae4c560b0", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002f6')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002f6'), "application_id"=>BSON::ObjectId('5bb622533541594a850002f5'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>1, "token"=>"29b8e18b4215976d4d9c9c17beaeb289c05b291ab9dcef1faff1c92d00020f4f", "refresh_token"=>"00d2f7833492ce5882fbded44647b0046a5dbc824c83982b21ad693ae4c560b0", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002f6'), "application_id"=>BSON::ObjectId('5bb622533541594a850002f5'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>1, "token"=>"29b8e18b4215976d4d9c9c17beaeb289c05b291ab9dcef1faff1c92d00020f4f", "refresh_token"=>"00d2f7833492ce5882fbded44647b0046a5dbc824c83982b21ad693ae4c560b0", "expires_in"=>7200}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622533541594a850002f6')}, :u=>{"_id"=>BSON::ObjectId('5bb622533541594a850002f6'), "application_id"=>BSON::ObjectId('5bb622533541594a850002f5'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>1, "token"=>"29b8e18b4215976d4d9c9c17beaeb289c05b291ab9dcef1faff1c92d00020f4f", "refresh_token"=>"00d2f7833492ce5882fbded44647b0046a5dbc824c83982b21ad693ae4c560b0", "expires_in"=>-100}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622533541594a850002f6')}, {"_id"=>BSON::ObjectId('5bb622533541594a850002f6'), "application_id"=>BSON::ObjectId('5bb622533541594a850002f5'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>1, "token"=>"29b8e18b4215976d4d9c9c17beaeb289c05b291ab9dcef1faff1c92d00020f4f", "refresh_token"=>"00d2f7833492ce5882fbded44647b0046a5dbc824c83982b21ad693ae4c560b0", "expires_in"=>-100}) Started POST "/oauth/token?refresh_token=[FILTERED]&client_id=2c5def6f8533edfdbb73740bd805301a1ccbeb99d7be19090be8bf1cdd3b8199&client_secret=[FILTERED]&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:23:15 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"refresh_token"=>"[FILTERED]", "client_id"=>"2c5def6f8533edfdbb73740bd805301a1ccbeb99d7be19090be8bf1cdd3b8199", "client_secret"=>"[FILTERED]", "grant_type"=>"refresh_token"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"00d2f7833492ce5882fbded44647b0046a5dbc824c83982b21ad693ae4c560b0"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2c5def6f8533edfdbb73740bd805301a1ccbeb99d7be19090be8bf1cdd3b8199"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622533541594a850002f6')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622533541594a850002f6')}, :u=>{"_id"=>BSON::ObjectId('5bb622533541594a850002f6'), "application_id"=>BSON::ObjectId('5bb622533541594a850002f5'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>1, "token"=>"29b8e18b4215976d4d9c9c17beaeb289c05b291ab9dcef1faff1c92d00020f4f", "refresh_token"=>"00d2f7833492ce5882fbded44647b0046a5dbc824c83982b21ad693ae4c560b0", "expires_in"=>-100, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622533541594a850002f6')}, {"_id"=>BSON::ObjectId('5bb622533541594a850002f6'), "application_id"=>BSON::ObjectId('5bb622533541594a850002f5'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>1, "token"=>"29b8e18b4215976d4d9c9c17beaeb289c05b291ab9dcef1faff1c92d00020f4f", "refresh_token"=>"00d2f7833492ce5882fbded44647b0046a5dbc824c83982b21ad693ae4c560b0", "expires_in"=>-100, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622533541594a850002f5')}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"20a61e4c4c22e6f7732e8055daa283027df52f048295b3574c561aceff836b8b", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002f7')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"afbdde4bed52c6ea1ab680446e431adb6714e8ff978f2f8698eb713025958746", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002f7')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002f7'), "application_id"=>BSON::ObjectId('5bb622533541594a850002f5'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>1, "token"=>"20a61e4c4c22e6f7732e8055daa283027df52f048295b3574c561aceff836b8b", "refresh_token"=>"afbdde4bed52c6ea1ab680446e431adb6714e8ff978f2f8698eb713025958746", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002f7'), "application_id"=>BSON::ObjectId('5bb622533541594a850002f5'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>1, "token"=>"20a61e4c4c22e6f7732e8055daa283027df52f048295b3574c561aceff836b8b", "refresh_token"=>"afbdde4bed52c6ea1ab680446e431adb6714e8ff978f2f8698eb713025958746", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 15ms MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622533541594a850002f6')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5267264c680e5c337135c9e2ba458a6dbe7c90be10a24bff8a482e9ea453d08c", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002f8')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002f8'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 330", "uid"=>"5267264c680e5c337135c9e2ba458a6dbe7c90be10a24bff8a482e9ea453d08c", "secret"=>"3d7dc735c44ff096450ca732f7277fd525f06f6cb8eb13725edacfb6453bfb4f", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002f8'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 330", "uid"=>"5267264c680e5c337135c9e2ba458a6dbe7c90be10a24bff8a482e9ea453d08c", "secret"=>"3d7dc735c44ff096450ca732f7277fd525f06f6cb8eb13725edacfb6453bfb4f", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"2dad91a22293e497b00303b717cc8729ebf7668616e47e611561f1b4bdc4a263", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002f9')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"2274c81a0a08fdf2b587813d203e7d79c9e1ffdfbd9087ed30d583e3420d9b18", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002f9')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002f9'), "application_id"=>BSON::ObjectId('5bb622533541594a850002f8'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>1, "token"=>"2dad91a22293e497b00303b717cc8729ebf7668616e47e611561f1b4bdc4a263", "refresh_token"=>"2274c81a0a08fdf2b587813d203e7d79c9e1ffdfbd9087ed30d583e3420d9b18", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002f9'), "application_id"=>BSON::ObjectId('5bb622533541594a850002f8'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>1, "token"=>"2dad91a22293e497b00303b717cc8729ebf7668616e47e611561f1b4bdc4a263", "refresh_token"=>"2274c81a0a08fdf2b587813d203e7d79c9e1ffdfbd9087ed30d583e3420d9b18", "expires_in"=>7200}) Started POST "/oauth/token?refresh_token=[FILTERED]&client_id=5267264c680e5c337135c9e2ba458a6dbe7c90be10a24bff8a482e9ea453d08c&client_secret=[FILTERED]&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:23:15 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"refresh_token"=>"[FILTERED]", "client_id"=>"5267264c680e5c337135c9e2ba458a6dbe7c90be10a24bff8a482e9ea453d08c", "client_secret"=>"[FILTERED]", "grant_type"=>"refresh_token"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"2274c81a0a08fdf2b587813d203e7d79c9e1ffdfbd9087ed30d583e3420d9b18"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5267264c680e5c337135c9e2ba458a6dbe7c90be10a24bff8a482e9ea453d08c"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622533541594a850002f9')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622533541594a850002f9')}, :u=>{"_id"=>BSON::ObjectId('5bb622533541594a850002f9'), "application_id"=>BSON::ObjectId('5bb622533541594a850002f8'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>1, "token"=>"2dad91a22293e497b00303b717cc8729ebf7668616e47e611561f1b4bdc4a263", "refresh_token"=>"2274c81a0a08fdf2b587813d203e7d79c9e1ffdfbd9087ed30d583e3420d9b18", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622533541594a850002f9')}, {"_id"=>BSON::ObjectId('5bb622533541594a850002f9'), "application_id"=>BSON::ObjectId('5bb622533541594a850002f8'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>1, "token"=>"2dad91a22293e497b00303b717cc8729ebf7668616e47e611561f1b4bdc4a263", "refresh_token"=>"2274c81a0a08fdf2b587813d203e7d79c9e1ffdfbd9087ed30d583e3420d9b18", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622533541594a850002f8')}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"df755c6c51f8fcf57b4155c99d259a29f87a137181a842a9e640cd64ec80d81c", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002fa')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"c5b2823b705e44fa1cbd3ff9d172e529a1a8848bcb7df237367c7d4d0eb513d8", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002fa')}}, {:_id=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002fa'), "application_id"=>BSON::ObjectId('5bb622533541594a850002f8'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>1, "token"=>"df755c6c51f8fcf57b4155c99d259a29f87a137181a842a9e640cd64ec80d81c", "refresh_token"=>"c5b2823b705e44fa1cbd3ff9d172e529a1a8848bcb7df237367c7d4d0eb513d8", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002fa'), "application_id"=>BSON::ObjectId('5bb622533541594a850002f8'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>1, "token"=>"df755c6c51f8fcf57b4155c99d259a29f87a137181a842a9e640cd64ec80d81c", "refresh_token"=>"c5b2823b705e44fa1cbd3ff9d172e529a1a8848bcb7df237367c7d4d0eb513d8", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 17ms MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622533541594a850002f9')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (7.1ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"40274acb8a8441d2ee1a5d63298d43ae044f447221d3f54a467888ac472d2bd6", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002fb')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002fb'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 331", "uid"=>"40274acb8a8441d2ee1a5d63298d43ae044f447221d3f54a467888ac472d2bd6", "secret"=>"86c451056dd7d12d675543d0240909a06cfad489898474f30b397454fe4ff383", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002fb'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Application 331", "uid"=>"40274acb8a8441d2ee1a5d63298d43ae044f447221d3f54a467888ac472d2bd6", "secret"=>"86c451056dd7d12d675543d0240909a06cfad489898474f30b397454fe4ff383", "redirect_uri"=>"https://app.com/callback", "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002fc'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002fc'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:15 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:23:15 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:23:15 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=40274acb8a8441d2ee1a5d63298d43ae044f447221d3f54a467888ac472d2bd6&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=token" for 127.0.0.1 at 2018-10-04 17:23:15 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"40274acb8a8441d2ee1a5d63298d43ae044f447221d3f54a467888ac472d2bd6", "redirect_uri"=>"https://app.com/callback", "response_type"=>"token"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"40274acb8a8441d2ee1a5d63298d43ae044f447221d3f54a467888ac472d2bd6"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb622533541594a850002fb'), :resource_owner_id=>BSON::ObjectId('5bb622533541594a850002fc'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.0ms) Completed 200 OK in 7ms (Views: 2.4ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:23:15 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"40274acb8a8441d2ee1a5d63298d43ae044f447221d3f54a467888ac472d2bd6", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"token", "scope"=>"", "commit"=>"Authorize"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"40274acb8a8441d2ee1a5d63298d43ae044f447221d3f54a467888ac472d2bd6"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622533541594a850002fb')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"96be805e78345f1a69a5a03a54427fe9cfd72369e43ba6d81506db1bfa0cd103", :_id=>{:$ne=>BSON::ObjectId('5bb622533541594a850002fd')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622533541594a850002fd'), "application_id"=>BSON::ObjectId('5bb622533541594a850002fb'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622533541594a850002fc'), "token"=>"96be805e78345f1a69a5a03a54427fe9cfd72369e43ba6d81506db1bfa0cd103", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622533541594a850002fd'), "application_id"=>BSON::ObjectId('5bb622533541594a850002fb'), "created_at"=>2018-10-04 14:23:15 UTC, "updated_at"=>2018-10-04 14:23:15 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622533541594a850002fc'), "token"=>"96be805e78345f1a69a5a03a54427fe9cfd72369e43ba6d81506db1bfa0cd103", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=96be805e78345f1a69a5a03a54427fe9cfd72369e43ba6d81506db1bfa0cd103&token_type=Bearer&expires_in=7200 Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/callback" for 127.0.0.1 at 2018-10-04 17:23:15 +0300 Processing by HomeController#callback as HTML Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622533541594a850002fb')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Filter chain halted as # rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Rendered text template (0.0ms) Filter chain halted as # rendered or redirected Completed 404 Not Found in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Rendered text template (0.0ms) Filter chain halted as # rendered or redirected Completed 403 Forbidden in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Filter chain halted as # rendered or redirected Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Filter chain halted as # rendered or redirected Completed 403 Forbidden in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#show as HTML Parameters: {"access_token"=>"[FILTERED]", "id"=>"4"} Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Filter chain halted as :doorkeeper_authorize! rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#show as HTML Parameters: {"access_token"=>"[FILTERED]", "id"=>"4"} Filter chain halted as :doorkeeper_authorize! rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Filter chain halted as :doorkeeper_authorize! rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Rendered text template (0.0ms) Filter chain halted as :doorkeeper_authorize! rendered or redirected Completed 401 Unauthorized in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) MONGODB (2.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"bearer_token"=>"1A2BC3"} Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Filter chain halted as :doorkeeper_authorize! rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Rendered text template (0.1ms) Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) Processing by AnonymousController#index as HTML Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (2.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB [DEBUG] Logging level is currently :debug which could negatively impact client-side performance. You should set your logging level no lower than :info in production. MONGODB (0.4ms) admin['$cmd'].find({:isMaster=>1}).limit(-1) ====> Doorkeeper.orm = mongo_mapper ====> Rails version: 4.2.10 ====> Ruby version: 2.4.1 MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:createIndexes=>"oauth_applications", :indexes=>[{:name=>"uid_1", :key=>{"uid"=>1}, :unique=>true}]}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:createIndexes=>"oauth_access_grants", :indexes=>[{:name=>"token_1", :key=>{"token"=>1}, :unique=>true}]}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:createIndexes=>"oauth_access_tokens", :indexes=>[{:name=>"token_1", :key=>{"token"=>1}, :unique=>true}]}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:createIndexes=>"oauth_access_tokens", :indexes=>[{:name=>"refresh_token_1", :key=>{"refresh_token"=>1}, :unique=>true, :sparse=>true}]}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c729b97b4a589953d281be3389b91f26914335d161f51e5788659b460808a077", :_id=>{:$ne=>BSON::ObjectId('5bb622ea3541595634000001')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb622ea3541595634000001'), "created_at"=>2018-10-04 14:25:46 UTC, "updated_at"=>2018-10-04 14:25:46 UTC, "name"=>"Application 1", "uid"=>"c729b97b4a589953d281be3389b91f26914335d161f51e5788659b460808a077", "secret"=>"010d5bf88f544742dd0922a16512b356b455ae3e553c6ad6aa1423abffe3317f", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb622ea3541595634000001'), "created_at"=>2018-10-04 14:25:46 UTC, "updated_at"=>2018-10-04 14:25:46 UTC, "name"=>"Application 1", "uid"=>"c729b97b4a589953d281be3389b91f26914335d161f51e5788659b460808a077", "secret"=>"010d5bf88f544742dd0922a16512b356b455ae3e553c6ad6aa1423abffe3317f", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb622ea3541595634000002'), "created_at"=>2018-10-04 14:25:46 UTC, "updated_at"=>2018-10-04 14:25:46 UTC, "name"=>"John", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb622ea3541595634000002'), "created_at"=>2018-10-04 14:25:46 UTC, "updated_at"=>2018-10-04 14:25:46 UTC, "name"=>"John", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"704f87112344bd5205c7967951f8543affbe25604f287d02251662a843810e47", :_id=>{:$ne=>BSON::ObjectId('5bb622ea3541595634000003')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"a5d86586c0b43c329501b0dcb298a5ecaf2734e3f7674a1ac8ed2bd09ddb1070", :_id=>{:$ne=>BSON::ObjectId('5bb622ea3541595634000003')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb622ea3541595634000003'), "application_id"=>BSON::ObjectId('5bb622ea3541595634000001'), "created_at"=>2018-10-04 14:25:46 UTC, "updated_at"=>2018-10-04 14:25:46 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622ea3541595634000002'), "token"=>"704f87112344bd5205c7967951f8543affbe25604f287d02251662a843810e47", "refresh_token"=>"a5d86586c0b43c329501b0dcb298a5ecaf2734e3f7674a1ac8ed2bd09ddb1070", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb622ea3541595634000003'), "application_id"=>BSON::ObjectId('5bb622ea3541595634000001'), "created_at"=>2018-10-04 14:25:46 UTC, "updated_at"=>2018-10-04 14:25:46 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622ea3541595634000002'), "token"=>"704f87112344bd5205c7967951f8543affbe25604f287d02251662a843810e47", "refresh_token"=>"a5d86586c0b43c329501b0dcb298a5ecaf2734e3f7674a1ac8ed2bd09ddb1070", "expires_in"=>7200}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:25:46 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"704f87112344bd5205c7967951f8543affbe25604f287d02251662a843810e47"} MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"704f87112344bd5205c7967951f8543affbe25604f287d02251662a843810e47"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb622ea3541595634000001')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb622ea3541595634000003')}, :u=>{"_id"=>BSON::ObjectId('5bb622ea3541595634000003'), "application_id"=>BSON::ObjectId('5bb622ea3541595634000001'), "created_at"=>2018-10-04 14:25:46 UTC, "updated_at"=>2018-10-04 14:25:46 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622ea3541595634000002'), "token"=>"704f87112344bd5205c7967951f8543affbe25604f287d02251662a843810e47", "refresh_token"=>"a5d86586c0b43c329501b0dcb298a5ecaf2734e3f7674a1ac8ed2bd09ddb1070", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb622ea3541595634000003')}, {"_id"=>BSON::ObjectId('5bb622ea3541595634000003'), "application_id"=>BSON::ObjectId('5bb622ea3541595634000001'), "created_at"=>2018-10-04 14:25:46 UTC, "updated_at"=>2018-10-04 14:25:46 UTC, "resource_owner_id"=>BSON::ObjectId('5bb622ea3541595634000002'), "token"=>"704f87112344bd5205c7967951f8543affbe25604f287d02251662a843810e47", "refresh_token"=>"a5d86586c0b43c329501b0dcb298a5ecaf2734e3f7674a1ac8ed2bd09ddb1070", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 4ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb622ea3541595634000003')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB [DEBUG] Logging level is currently :debug which could negatively impact client-side performance. You should set your logging level no lower than :info in production. MONGODB (0.5ms) admin['$cmd'].find({:isMaster=>1}).limit(-1) ====> Doorkeeper.orm = mongo_mapper ====> Rails version: 4.2.10 ====> Ruby version: 2.4.1 MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:createIndexes=>"oauth_applications", :indexes=>[{:name=>"uid_1", :key=>{"uid"=>1}, :unique=>true}]}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:createIndexes=>"oauth_access_grants", :indexes=>[{:name=>"token_1", :key=>{"token"=>1}, :unique=>true}]}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:createIndexes=>"oauth_access_tokens", :indexes=>[{:name=>"token_1", :key=>{"token"=>1}, :unique=>true}]}).limit(-1) MONGODB (4.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:createIndexes=>"oauth_access_tokens", :indexes=>[{:name=>"refresh_token_1", :key=>{"refresh_token"=>1}, :unique=>true, :sparse=>true}]}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"9f9bd92db53f543018e86ffd7b374a8f382f98a2bf2c86f0e6dd23be29920c5c", :_id=>{:$ne=>BSON::ObjectId('5bb62340354159620d000001')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62340354159620d000001'), "created_at"=>2018-10-04 14:27:12 UTC, "updated_at"=>2018-10-04 14:27:12 UTC, "name"=>"Application 1", "uid"=>"9f9bd92db53f543018e86ffd7b374a8f382f98a2bf2c86f0e6dd23be29920c5c", "secret"=>"17ee326f8729d3f70839c41eaf831ffb315bd0c01ccd32a196183f7f34b6c793", "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62340354159620d000001'), "created_at"=>2018-10-04 14:27:12 UTC, "updated_at"=>2018-10-04 14:27:12 UTC, "name"=>"Application 1", "uid"=>"9f9bd92db53f543018e86ffd7b374a8f382f98a2bf2c86f0e6dd23be29920c5c", "secret"=>"17ee326f8729d3f70839c41eaf831ffb315bd0c01ccd32a196183f7f34b6c793", "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb62340354159620d000002'), "created_at"=>2018-10-04 14:27:12 UTC, "updated_at"=>2018-10-04 14:27:12 UTC, "name"=>"John", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb62340354159620d000002'), "created_at"=>2018-10-04 14:27:12 UTC, "updated_at"=>2018-10-04 14:27:12 UTC, "name"=>"John", "password"=>"sekret"}) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f51af46d95a52985a5ade1a658301f9f8d92e42ddceb090dbe469904ec696647", :_id=>{:$ne=>BSON::ObjectId('5bb62340354159620d000003')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"bdfc350b1da815019feeb39736661996bb9a6e670fb940c9b1fe02a2911281e9", :_id=>{:$ne=>BSON::ObjectId('5bb62340354159620d000003')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62340354159620d000003'), "application_id"=>BSON::ObjectId('5bb62340354159620d000001'), "created_at"=>2018-10-04 14:27:12 UTC, "updated_at"=>2018-10-04 14:27:12 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62340354159620d000002'), "token"=>"f51af46d95a52985a5ade1a658301f9f8d92e42ddceb090dbe469904ec696647", "refresh_token"=>"bdfc350b1da815019feeb39736661996bb9a6e670fb940c9b1fe02a2911281e9", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62340354159620d000003'), "application_id"=>BSON::ObjectId('5bb62340354159620d000001'), "created_at"=>2018-10-04 14:27:12 UTC, "updated_at"=>2018-10-04 14:27:12 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62340354159620d000002'), "token"=>"f51af46d95a52985a5ade1a658301f9f8d92e42ddceb090dbe469904ec696647", "refresh_token"=>"bdfc350b1da815019feeb39736661996bb9a6e670fb940c9b1fe02a2911281e9", "expires_in"=>7200}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:27:12 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"f51af46d95a52985a5ade1a658301f9f8d92e42ddceb090dbe469904ec696647"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f51af46d95a52985a5ade1a658301f9f8d92e42ddceb090dbe469904ec696647"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb62340354159620d000001')}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb62340354159620d000003')}, :u=>{"_id"=>BSON::ObjectId('5bb62340354159620d000003'), "application_id"=>BSON::ObjectId('5bb62340354159620d000001'), "created_at"=>2018-10-04 14:27:12 UTC, "updated_at"=>2018-10-04 14:27:12 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62340354159620d000002'), "token"=>"f51af46d95a52985a5ade1a658301f9f8d92e42ddceb090dbe469904ec696647", "refresh_token"=>"bdfc350b1da815019feeb39736661996bb9a6e670fb940c9b1fe02a2911281e9", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb62340354159620d000003')}, {"_id"=>BSON::ObjectId('5bb62340354159620d000003'), "application_id"=>BSON::ObjectId('5bb62340354159620d000001'), "created_at"=>2018-10-04 14:27:12 UTC, "updated_at"=>2018-10-04 14:27:12 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62340354159620d000002'), "token"=>"f51af46d95a52985a5ade1a658301f9f8d92e42ddceb090dbe469904ec696647", "refresh_token"=>"bdfc350b1da815019feeb39736661996bb9a6e670fb940c9b1fe02a2911281e9", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 4ms MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb62340354159620d000003')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB [DEBUG] Logging level is currently :debug which could negatively impact client-side performance. You should set your logging level no lower than :info in production. MONGODB (0.5ms) admin['$cmd'].find({:isMaster=>1}).limit(-1) ====> Doorkeeper.orm = mongo_mapper ====> Rails version: 4.2.10 ====> Ruby version: 2.4.1 MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:createIndexes=>"oauth_applications", :indexes=>[{:name=>"uid_1", :key=>{"uid"=>1}, :unique=>true}]}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:createIndexes=>"oauth_access_grants", :indexes=>[{:name=>"token_1", :key=>{"token"=>1}, :unique=>true}]}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:createIndexes=>"oauth_access_tokens", :indexes=>[{:name=>"token_1", :key=>{"token"=>1}, :unique=>true}]}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:createIndexes=>"oauth_access_tokens", :indexes=>[{:name=>"refresh_token_1", :key=>{"refresh_token"=>1}, :unique=>true, :sparse=>true}]}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"32e059db3e1d6ba3224b585c61f08c7958d1eb898ed02f7046ad58718bf78ec7", :_id=>{:$ne=>BSON::ObjectId('5bb6243e354159725c000001')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6243e354159725c000001'), "created_at"=>2018-10-04 14:31:26 UTC, "updated_at"=>2018-10-04 14:31:26 UTC, "name"=>"Application 1", "uid"=>"32e059db3e1d6ba3224b585c61f08c7958d1eb898ed02f7046ad58718bf78ec7", "secret"=>"640b03c15d5751a5666b6500aa8a6480d08f93e01ba4df83680e49e2ff8aa987", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6243e354159725c000001'), "created_at"=>2018-10-04 14:31:26 UTC, "updated_at"=>2018-10-04 14:31:26 UTC, "name"=>"Application 1", "uid"=>"32e059db3e1d6ba3224b585c61f08c7958d1eb898ed02f7046ad58718bf78ec7", "secret"=>"640b03c15d5751a5666b6500aa8a6480d08f93e01ba4df83680e49e2ff8aa987", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6243e354159725c000002'), "created_at"=>2018-10-04 14:31:26 UTC, "updated_at"=>2018-10-04 14:31:26 UTC, "name"=>"John", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6243e354159725c000002'), "created_at"=>2018-10-04 14:31:26 UTC, "updated_at"=>2018-10-04 14:31:26 UTC, "name"=>"John", "password"=>"sekret"}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"dfda979b464f6e0de84e2cc08db4fb98c8afb7d1421019833883dfd9015c7190", :_id=>{:$ne=>BSON::ObjectId('5bb6243e354159725c000003')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"b5134503bc37f8c63500c9a5653b7131948591878dcfa97ab883d25f207ad8c3", :_id=>{:$ne=>BSON::ObjectId('5bb6243e354159725c000003')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6243e354159725c000003'), "application_id"=>BSON::ObjectId('5bb6243e354159725c000001'), "created_at"=>2018-10-04 14:31:26 UTC, "updated_at"=>2018-10-04 14:31:26 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6243e354159725c000002'), "token"=>"dfda979b464f6e0de84e2cc08db4fb98c8afb7d1421019833883dfd9015c7190", "refresh_token"=>"b5134503bc37f8c63500c9a5653b7131948591878dcfa97ab883d25f207ad8c3", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6243e354159725c000003'), "application_id"=>BSON::ObjectId('5bb6243e354159725c000001'), "created_at"=>2018-10-04 14:31:26 UTC, "updated_at"=>2018-10-04 14:31:26 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6243e354159725c000002'), "token"=>"dfda979b464f6e0de84e2cc08db4fb98c8afb7d1421019833883dfd9015c7190", "refresh_token"=>"b5134503bc37f8c63500c9a5653b7131948591878dcfa97ab883d25f207ad8c3", "expires_in"=>7200}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:31:26 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"dfda979b464f6e0de84e2cc08db4fb98c8afb7d1421019833883dfd9015c7190"} MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"dfda979b464f6e0de84e2cc08db4fb98c8afb7d1421019833883dfd9015c7190"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6243e354159725c000001')}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"32e059db3e1d6ba3224b585c61f08c7958d1eb898ed02f7046ad58718bf78ec7"}).limit(-1) Completed 200 OK in 4ms MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6243e354159725c000003')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB [DEBUG] Logging level is currently :debug which could negatively impact client-side performance. You should set your logging level no lower than :info in production. MONGODB (0.4ms) admin['$cmd'].find({:isMaster=>1}).limit(-1) ====> Doorkeeper.orm = mongo_mapper ====> Rails version: 4.2.10 ====> Ruby version: 2.4.1 MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:createIndexes=>"oauth_applications", :indexes=>[{:name=>"uid_1", :key=>{"uid"=>1}, :unique=>true}]}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:createIndexes=>"oauth_access_grants", :indexes=>[{:name=>"token_1", :key=>{"token"=>1}, :unique=>true}]}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:createIndexes=>"oauth_access_tokens", :indexes=>[{:name=>"token_1", :key=>{"token"=>1}, :unique=>true}]}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:createIndexes=>"oauth_access_tokens", :indexes=>[{:name=>"refresh_token_1", :key=>{"refresh_token"=>1}, :unique=>true, :sparse=>true}]}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ceebcbd101255c77cc568d1b2894f6dc19cbd6a86e3a9c19c31fbdc5df957a83", :_id=>{:$ne=>BSON::ObjectId('5bb624483541597299000001')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624483541597299000001'), "created_at"=>2018-10-04 14:31:36 UTC, "updated_at"=>2018-10-04 14:31:36 UTC, "name"=>"Application 1", "uid"=>"ceebcbd101255c77cc568d1b2894f6dc19cbd6a86e3a9c19c31fbdc5df957a83", "secret"=>"f101cb5b8dbfb6d81b27748edf6877921ba02ab6445c445907fcf29c41549d34", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624483541597299000001'), "created_at"=>2018-10-04 14:31:36 UTC, "updated_at"=>2018-10-04 14:31:36 UTC, "name"=>"Application 1", "uid"=>"ceebcbd101255c77cc568d1b2894f6dc19cbd6a86e3a9c19c31fbdc5df957a83", "secret"=>"f101cb5b8dbfb6d81b27748edf6877921ba02ab6445c445907fcf29c41549d34", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624483541597299000001')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"be45765e29c35d17318bd2deeb019e5d470da278378f16f3829d67d6b95d5d9a", :_id=>{:$ne=>BSON::ObjectId('5bb624483541597299000002')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624483541597299000002'), "application_id"=>BSON::ObjectId('5bb624483541597299000001'), "created_at"=>2018-10-04 14:31:36 UTC, "updated_at"=>2018-10-04 14:31:36 UTC, "resource_owner_id"=>nil, "token"=>"be45765e29c35d17318bd2deeb019e5d470da278378f16f3829d67d6b95d5d9a", "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624483541597299000002'), "application_id"=>BSON::ObjectId('5bb624483541597299000001'), "created_at"=>2018-10-04 14:31:36 UTC, "updated_at"=>2018-10-04 14:31:36 UTC, "resource_owner_id"=>nil, "token"=>"be45765e29c35d17318bd2deeb019e5d470da278378f16f3829d67d6b95d5d9a", "scopes"=>"public"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a9a3a219b5ec78a3239eee003f37abd63fe7d7d3d4251f79efc113c66603976a", :_id=>{:$ne=>BSON::ObjectId('5bb624483541597299000003')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624483541597299000003'), "created_at"=>2018-10-04 14:31:36 UTC, "updated_at"=>2018-10-04 14:31:36 UTC, "name"=>"Application 2", "uid"=>"a9a3a219b5ec78a3239eee003f37abd63fe7d7d3d4251f79efc113c66603976a", "secret"=>"75dd08583f89a058f7dfe97266bcf8f655841ce403eeebe3407ac9bc2466c5d5", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624483541597299000003'), "created_at"=>2018-10-04 14:31:36 UTC, "updated_at"=>2018-10-04 14:31:36 UTC, "name"=>"Application 2", "uid"=>"a9a3a219b5ec78a3239eee003f37abd63fe7d7d3d4251f79efc113c66603976a", "secret"=>"75dd08583f89a058f7dfe97266bcf8f655841ce403eeebe3407ac9bc2466c5d5", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"00c84a585fb191996cc6d50848430ddbd7f59253bdcc2751fac86d227011ad0c", :_id=>{:$ne=>BSON::ObjectId('5bb624483541597299000004')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624483541597299000004'), "created_at"=>2018-10-04 14:31:36 UTC, "updated_at"=>2018-10-04 14:31:36 UTC, "name"=>"Application 3", "uid"=>"00c84a585fb191996cc6d50848430ddbd7f59253bdcc2751fac86d227011ad0c", "secret"=>"6600442bfa2576e642acb1fd920ee7b5a8adb63a6e1e78c8b362cffa806926c8", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624483541597299000004'), "created_at"=>2018-10-04 14:31:36 UTC, "updated_at"=>2018-10-04 14:31:36 UTC, "name"=>"Application 3", "uid"=>"00c84a585fb191996cc6d50848430ddbd7f59253bdcc2751fac86d227011ad0c", "secret"=>"6600442bfa2576e642acb1fd920ee7b5a8adb63a6e1e78c8b362cffa806926c8", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624483541597299000004')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"34ec41b3060611258e1e5f5dc2b42b8bbd633d7760ed15a329fb9a9e79524553", :_id=>{:$ne=>BSON::ObjectId('5bb624483541597299000005')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624483541597299000005'), "application_id"=>BSON::ObjectId('5bb624483541597299000004'), "created_at"=>2018-10-04 14:31:36 UTC, "updated_at"=>2018-10-04 14:31:36 UTC, "resource_owner_id"=>nil, "token"=>"34ec41b3060611258e1e5f5dc2b42b8bbd633d7760ed15a329fb9a9e79524553", "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624483541597299000005'), "application_id"=>BSON::ObjectId('5bb624483541597299000004'), "created_at"=>2018-10-04 14:31:36 UTC, "updated_at"=>2018-10-04 14:31:36 UTC, "resource_owner_id"=>nil, "token"=>"34ec41b3060611258e1e5f5dc2b42b8bbd633d7760ed15a329fb9a9e79524553", "scopes"=>"public"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624483541597299000004')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"12f330e963227bd9f8abe3ee90b036ff49a9dcf0c3bed27c8c71ebb528ca670a", :_id=>{:$ne=>BSON::ObjectId('5bb624483541597299000006')}}, {:_id=>1}).limit(-1) MONGODB (8.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624483541597299000006'), "application_id"=>BSON::ObjectId('5bb624483541597299000004'), "created_at"=>2018-10-04 14:31:36 UTC, "updated_at"=>2018-10-04 14:31:36 UTC, "resource_owner_id"=>nil, "token"=>"12f330e963227bd9f8abe3ee90b036ff49a9dcf0c3bed27c8c71ebb528ca670a", "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (8.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624483541597299000006'), "application_id"=>BSON::ObjectId('5bb624483541597299000004'), "created_at"=>2018-10-04 14:31:36 UTC, "updated_at"=>2018-10-04 14:31:36 UTC, "resource_owner_id"=>nil, "token"=>"12f330e963227bd9f8abe3ee90b036ff49a9dcf0c3bed27c8c71ebb528ca670a", "scopes"=>"public"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"77e08b3de8fc4548c3f4e650854a1ecf739d6b1c199efe0e8066657843449d13", :_id=>{:$ne=>BSON::ObjectId('5bb624483541597299000007')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624483541597299000007'), "created_at"=>2018-10-04 14:31:36 UTC, "updated_at"=>2018-10-04 14:31:36 UTC, "name"=>"Application 4", "uid"=>"77e08b3de8fc4548c3f4e650854a1ecf739d6b1c199efe0e8066657843449d13", "secret"=>"cc9a31723d716459af714f8deefe650853f53cf370400271272c61cf31392e1b", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624483541597299000007'), "created_at"=>2018-10-04 14:31:36 UTC, "updated_at"=>2018-10-04 14:31:36 UTC, "name"=>"Application 4", "uid"=>"77e08b3de8fc4548c3f4e650854a1ecf739d6b1c199efe0e8066657843449d13", "secret"=>"cc9a31723d716459af714f8deefe650853f53cf370400271272c61cf31392e1b", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb624483541597299000007'), :resource_owner_id=>nil, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624483541597299000007')}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"323e06ee99133d594464ba6a900d52e5d091d20fefed8da339d0788a43f326bd", :_id=>{:$ne=>BSON::ObjectId('5bb624483541597299000008')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624483541597299000008'), "application_id"=>BSON::ObjectId('5bb624483541597299000007'), "created_at"=>2018-10-04 14:31:36 UTC, "updated_at"=>2018-10-04 14:31:36 UTC, "resource_owner_id"=>nil, "token"=>"323e06ee99133d594464ba6a900d52e5d091d20fefed8da339d0788a43f326bd", "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624483541597299000008'), "application_id"=>BSON::ObjectId('5bb624483541597299000007'), "created_at"=>2018-10-04 14:31:36 UTC, "updated_at"=>2018-10-04 14:31:36 UTC, "resource_owner_id"=>nil, "token"=>"323e06ee99133d594464ba6a900d52e5d091d20fefed8da339d0788a43f326bd", "scopes"=>"public"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb624483541597299000007'), :resource_owner_id=>nil, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"2b97dcdfb211ba994d01a8bd143877d7c8ef9c2c07939897cde5f7d64181dd17", :_id=>{:$ne=>BSON::ObjectId('5bb624483541597299000009')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb624483541597299000009'), "application_id"=>9990, "created_at"=>2018-10-04 14:31:36 UTC, "updated_at"=>2018-10-04 14:31:36 UTC, "resource_owner_id"=>8900, "token"=>"2b97dcdfb211ba994d01a8bd143877d7c8ef9c2c07939897cde5f7d64181dd17", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"http://tst.com/cb"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb624483541597299000009'), "application_id"=>9990, "created_at"=>2018-10-04 14:31:36 UTC, "updated_at"=>2018-10-04 14:31:36 UTC, "resource_owner_id"=>8900, "token"=>"2b97dcdfb211ba994d01a8bd143877d7c8ef9c2c07939897cde5f7d64181dd17", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"http://tst.com/cb"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"7702fe2caa91a96850115b4ed1871946ccaa684d0683f55dc5cc748148be2eed", :_id=>{:$ne=>BSON::ObjectId('5bb62448354159729900000a')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb62448354159729900000a'), "application_id"=>9990, "created_at"=>2018-10-04 14:31:36 UTC, "updated_at"=>2018-10-04 14:31:36 UTC, "resource_owner_id"=>8900, "token"=>"7702fe2caa91a96850115b4ed1871946ccaa684d0683f55dc5cc748148be2eed", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"http://tst.com/cb"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb62448354159729900000a'), "application_id"=>9990, "created_at"=>2018-10-04 14:31:36 UTC, "updated_at"=>2018-10-04 14:31:36 UTC, "resource_owner_id"=>8900, "token"=>"7702fe2caa91a96850115b4ed1871946ccaa684d0683f55dc5cc748148be2eed", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"http://tst.com/cb"}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"32b9c42bafff389071b5bc2659219a3e53a033d15ee842f1cae78a363d7a0756", :_id=>{:$ne=>BSON::ObjectId('5bb62448354159729900000b')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62448354159729900000b'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 5", "uid"=>"32b9c42bafff389071b5bc2659219a3e53a033d15ee842f1cae78a363d7a0756", "secret"=>"68e03c056cc44e5e7f77152c3562a97b2239915345340c6cc614acbd50cd0934", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62448354159729900000b'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 5", "uid"=>"32b9c42bafff389071b5bc2659219a3e53a033d15ee842f1cae78a363d7a0756", "secret"=>"68e03c056cc44e5e7f77152c3562a97b2239915345340c6cc614acbd50cd0934", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900000c'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900000c'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:37 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 4ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:31:37 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:37 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=32b9c42bafff389071b5bc2659219a3e53a033d15ee842f1cae78a363d7a0756&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=token" for 127.0.0.1 at 2018-10-04 17:31:37 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"32b9c42bafff389071b5bc2659219a3e53a033d15ee842f1cae78a363d7a0756", "redirect_uri"=>"https://app.com/callback", "response_type"=>"token"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"32b9c42bafff389071b5bc2659219a3e53a033d15ee842f1cae78a363d7a0756"}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb62448354159729900000b'), :resource_owner_id=>BSON::ObjectId('5bb62449354159729900000c'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.7ms) Completed 200 OK in 102ms (Views: 98.9ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:31:37 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"32b9c42bafff389071b5bc2659219a3e53a033d15ee842f1cae78a363d7a0756", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"token", "scope"=>"", "commit"=>"Authorize"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"32b9c42bafff389071b5bc2659219a3e53a033d15ee842f1cae78a363d7a0756"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb62448354159729900000b')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"17ace3826ee7797db3251f1c3e500720c6ce47315a948799e53ac521f0bbf2fb", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900000d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900000d'), "application_id"=>BSON::ObjectId('5bb62448354159729900000b'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62449354159729900000c'), "token"=>"17ace3826ee7797db3251f1c3e500720c6ce47315a948799e53ac521f0bbf2fb", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900000d'), "application_id"=>BSON::ObjectId('5bb62448354159729900000b'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62449354159729900000c'), "token"=>"17ace3826ee7797db3251f1c3e500720c6ce47315a948799e53ac521f0bbf2fb", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=17ace3826ee7797db3251f1c3e500720c6ce47315a948799e53ac521f0bbf2fb&token_type=Bearer&expires_in=7200 Completed 302 Found in 6ms (ActiveRecord: 0.0ms) Started GET "/callback" for 127.0.0.1 at 2018-10-04 17:31:37 +0300 Processing by HomeController#callback as HTML Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb62448354159729900000b')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b022c8af7b4397654a9078349fe41c7ecdd1c19f8082ac46a700f4d68792029a", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900000e')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900000e'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 6", "uid"=>"b022c8af7b4397654a9078349fe41c7ecdd1c19f8082ac46a700f4d68792029a", "secret"=>"203b8858171bafebc1df5b706de749e0406ac6a85ba83bb851212894de3b86b7", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900000e'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 6", "uid"=>"b022c8af7b4397654a9078349fe41c7ecdd1c19f8082ac46a700f4d68792029a", "secret"=>"203b8858171bafebc1df5b706de749e0406ac6a85ba83bb851212894de3b86b7", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb62449354159729900000e')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"a8f0838ca8368b9c941c066930b48eac6add2ac495890809894d0956d2d0d8b5", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900000f')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900000f'), "application_id"=>BSON::ObjectId('5bb62449354159729900000e'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>nil, "token"=>"a8f0838ca8368b9c941c066930b48eac6add2ac495890809894d0956d2d0d8b5", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900000f'), "application_id"=>BSON::ObjectId('5bb62449354159729900000e'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>nil, "token"=>"a8f0838ca8368b9c941c066930b48eac6add2ac495890809894d0956d2d0d8b5", "expires_in"=>7200, "scopes"=>""}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_applications", "query"=>{}, "fields"=>nil}).limit(-1) Processing by Doorkeeper::ApplicationsController#create as HTML Parameters: {"doorkeeper_application"=>{"name"=>"Example", "redirect_uri"=>"https://example.com"}} Redirected to http://test.host/ Filter chain halted as :authenticate_admin! rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_applications", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::ApplicationsController#index as HTML Redirected to http://test.host/ Filter chain halted as :authenticate_admin! rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f32cb5cf8c54ffc490696d458473745e24448463886257c7892106b6526cdec6", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000010')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000010'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 7", "uid"=>"f32cb5cf8c54ffc490696d458473745e24448463886257c7892106b6526cdec6", "secret"=>"e0b49747d854ec87188058552a7644687933d54ad935183a3d298b330ef6b00a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000010'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 7", "uid"=>"f32cb5cf8c54ffc490696d458473745e24448463886257c7892106b6526cdec6", "secret"=>"e0b49747d854ec87188058552a7644687933d54ad935183a3d298b330ef6b00a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Processing by Doorkeeper::ApplicationsController#update as HTML Parameters: {"doorkeeper_application"=>{"name"=>"Example", "redirect_uri"=>"https://example.com"}, "id"=>"5bb624493541597299000010"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624493541597299000010')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f32cb5cf8c54ffc490696d458473745e24448463886257c7892106b6526cdec6", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000010')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb624493541597299000010')}, :u=>{"_id"=>BSON::ObjectId('5bb624493541597299000010'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Example", "uid"=>"f32cb5cf8c54ffc490696d458473745e24448463886257c7892106b6526cdec6", "secret"=>"e0b49747d854ec87188058552a7644687933d54ad935183a3d298b330ef6b00a", "redirect_uri"=>"https://example.com", "confidential"=>true}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb624493541597299000010')}, {"_id"=>BSON::ObjectId('5bb624493541597299000010'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Example", "uid"=>"f32cb5cf8c54ffc490696d458473745e24448463886257c7892106b6526cdec6", "secret"=>"e0b49747d854ec87188058552a7644687933d54ad935183a3d298b330ef6b00a", "redirect_uri"=>"https://example.com", "confidential"=>true}) Redirected to http://test.host/oauth/applications/5bb624493541597299000010 Completed 302 Found in 3ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624493541597299000010')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"131dda182351e47d83cf35ef9e329599a44212ae52d38fae55df68ffda1de721", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000011')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000011'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 8", "uid"=>"131dda182351e47d83cf35ef9e329599a44212ae52d38fae55df68ffda1de721", "secret"=>"e790fa90b2794e136b6180891c1cb7be75a50bf35eef5802f0a334adb49f2c3b", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000011'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 8", "uid"=>"131dda182351e47d83cf35ef9e329599a44212ae52d38fae55df68ffda1de721", "secret"=>"e790fa90b2794e136b6180891c1cb7be75a50bf35eef5802f0a334adb49f2c3b", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Processing by Doorkeeper::ApplicationsController#update as HTML Parameters: {"doorkeeper_application"=>{"uid"=>"1A2B3C4D", "secret"=>"1A2B3C4D"}, "id"=>"5bb624493541597299000011"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624493541597299000011')}).limit(-1) Unpermitted parameters: uid, secret MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"131dda182351e47d83cf35ef9e329599a44212ae52d38fae55df68ffda1de721", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000011')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb624493541597299000011')}, :u=>{"_id"=>BSON::ObjectId('5bb624493541597299000011'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 8", "uid"=>"131dda182351e47d83cf35ef9e329599a44212ae52d38fae55df68ffda1de721", "secret"=>"e790fa90b2794e136b6180891c1cb7be75a50bf35eef5802f0a334adb49f2c3b", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb624493541597299000011')}, {"_id"=>BSON::ObjectId('5bb624493541597299000011'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 8", "uid"=>"131dda182351e47d83cf35ef9e329599a44212ae52d38fae55df68ffda1de721", "secret"=>"e790fa90b2794e136b6180891c1cb7be75a50bf35eef5802f0a334adb49f2c3b", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Redirected to http://test.host/oauth/applications/5bb624493541597299000011 Completed 302 Found in 4ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624493541597299000011')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"838347979e07afa9db8db8d8e8f54a3e3dbf2575543fe1bdcfbb9fd937bfa089", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000012')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000012'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 9", "uid"=>"838347979e07afa9db8db8d8e8f54a3e3dbf2575543fe1bdcfbb9fd937bfa089", "secret"=>"3c8f0641cd02517163f819b51053cb5de6e65b877310bcd09260e07062659bec", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000012'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 9", "uid"=>"838347979e07afa9db8db8d8e8f54a3e3dbf2575543fe1bdcfbb9fd937bfa089", "secret"=>"3c8f0641cd02517163f819b51053cb5de6e65b877310bcd09260e07062659bec", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1aa538a7235f36b307c2b71984d36cfdb9a6e1e049e9004ae5500dbbaa558abf", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000013')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000013'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 10", "uid"=>"1aa538a7235f36b307c2b71984d36cfdb9a6e1e049e9004ae5500dbbaa558abf", "secret"=>"d6bd0c0ea30778b7b28fe0ddebed21e450e53bc1e8d174fe9a370d81544e5e93", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000013'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 10", "uid"=>"1aa538a7235f36b307c2b71984d36cfdb9a6e1e049e9004ae5500dbbaa558abf", "secret"=>"d6bd0c0ea30778b7b28fe0ddebed21e450e53bc1e8d174fe9a370d81544e5e93", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Processing by Doorkeeper::ApplicationsController#index as HTML MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({}).sort([["created_at", 1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (1.1ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (0.4ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/index.html.erb within layouts/doorkeeper/admin (6.1ms) Completed 200 OK in 13ms (Views: 12.8ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_applications", "query"=>{}, "fields"=>nil}).limit(-1) Processing by Doorkeeper::ApplicationsController#create as HTML Parameters: {"doorkeeper_application"=>{"name"=>"Example", "redirect_uri"=>"https://example.com"}} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6b973f1a5f9014a54f1811ccf2eabecce26d342119b1ce937705ec3f2e5d98e4", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000014')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000014'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Example", "uid"=>"6b973f1a5f9014a54f1811ccf2eabecce26d342119b1ce937705ec3f2e5d98e4", "secret"=>"264ab06c7b991a69a531d503c193595891ca5d11cc9ef1d95a7179e5531ff1c8", "redirect_uri"=>"https://example.com", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000014'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Example", "uid"=>"6b973f1a5f9014a54f1811ccf2eabecce26d342119b1ce937705ec3f2e5d98e4", "secret"=>"264ab06c7b991a69a531d503c193595891ca5d11cc9ef1d95a7179e5531ff1c8", "redirect_uri"=>"https://example.com", "confidential"=>true}) Redirected to http://test.host/oauth/applications/5bb624493541597299000014 Completed 302 Found in 3ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_applications", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000015'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000015'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ee5edecb86caf94c67c13a632e67ce7bcae35634b63abfccfade3103fc47409f", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000016')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000016'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Amazing Client App", "uid"=>"ee5edecb86caf94c67c13a632e67ce7bcae35634b63abfccfade3103fc47409f", "secret"=>"f265b6dee5f4630d39399944a921e349c44e90e032c902396f14025abfd71440", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000016'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Amazing Client App", "uid"=>"ee5edecb86caf94c67c13a632e67ce7bcae35634b63abfccfade3103fc47409f", "secret"=>"f265b6dee5f4630d39399944a921e349c44e90e032c902396f14025abfd71440", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"7c03bb7f69fbffb10ed140e027d0e5ede1c1c228f88a327a8c9c6d53ea35c59d", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000017')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000017'), "application_id"=>BSON::ObjectId('5bb624493541597299000016'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624493541597299000015'), "token"=>"7c03bb7f69fbffb10ed140e027d0e5ede1c1c228f88a327a8c9c6d53ea35c59d", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000017'), "application_id"=>BSON::ObjectId('5bb624493541597299000016'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624493541597299000015'), "token"=>"7c03bb7f69fbffb10ed140e027d0e5ede1c1c228f88a327a8c9c6d53ea35c59d", "expires_in"=>7200}) Started GET "/oauth/authorized_applications" for 127.0.0.1 at 2018-10-04 17:31:37 +0300 Processing by Doorkeeper::AuthorizedApplicationsController#index as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:resource_owner_id=>BSON::ObjectId('5bb624493541597299000015'), :revoked_at=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>{:$in=>[BSON::ObjectId('5bb624493541597299000016')]}}) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorized_applications/_delete_form.html.erb (1.3ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorized_applications/index.html.erb within layouts/doorkeeper/application (3.8ms) Completed 200 OK in 13ms (Views: 11.4ms | ActiveRecord: 0.0ms) Started DELETE "/oauth/authorized_applications/5bb624493541597299000016" for 127.0.0.1 at 2018-10-04 17:31:37 +0300 Processing by Doorkeeper::AuthorizedApplicationsController#destroy as HTML Parameters: {"utf8"=>"✓", "commit"=>"Revoke", "id"=>"5bb624493541597299000016"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb624493541597299000016'), :resource_owner_id=>BSON::ObjectId('5bb624493541597299000015'), :revoked_at=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb624493541597299000017')}, :u=>{"_id"=>BSON::ObjectId('5bb624493541597299000017'), "application_id"=>BSON::ObjectId('5bb624493541597299000016'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624493541597299000015'), "token"=>"7c03bb7f69fbffb10ed140e027d0e5ede1c1c228f88a327a8c9c6d53ea35c59d", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb624493541597299000017')}, {"_id"=>BSON::ObjectId('5bb624493541597299000017'), "application_id"=>BSON::ObjectId('5bb624493541597299000016'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624493541597299000015'), "token"=>"7c03bb7f69fbffb10ed140e027d0e5ede1c1c228f88a327a8c9c6d53ea35c59d", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Redirected to http://www.example.com/oauth/authorized_applications Completed 302 Found in 3ms (ActiveRecord: 0.0ms) Started GET "/oauth/authorized_applications" for 127.0.0.1 at 2018-10-04 17:31:37 +0300 Processing by Doorkeeper::AuthorizedApplicationsController#index as HTML MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:resource_owner_id=>BSON::ObjectId('5bb624493541597299000015'), :revoked_at=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>[]}) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorized_applications/index.html.erb within layouts/doorkeeper/application (0.2ms) Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000018'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000018'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c272a9e9f4bea0b4889fbf31c66e3c66a204c536b29d577a2f07d04ae6953c3a", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000019')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000019'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Amazing Client App", "uid"=>"c272a9e9f4bea0b4889fbf31c66e3c66a204c536b29d577a2f07d04ae6953c3a", "secret"=>"758fd5cc8a007535cce3eeb6ec564b02d4e08fe465523985cc6c804e6d210bd2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000019'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Amazing Client App", "uid"=>"c272a9e9f4bea0b4889fbf31c66e3c66a204c536b29d577a2f07d04ae6953c3a", "secret"=>"758fd5cc8a007535cce3eeb6ec564b02d4e08fe465523985cc6c804e6d210bd2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"b4250b90d0c9f95e9a20474b05beb911153f599fc79014585e9cfb9507e661d3", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900001a')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900001a'), "application_id"=>BSON::ObjectId('5bb624493541597299000019'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624493541597299000018'), "token"=>"b4250b90d0c9f95e9a20474b05beb911153f599fc79014585e9cfb9507e661d3", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900001a'), "application_id"=>BSON::ObjectId('5bb624493541597299000019'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624493541597299000018'), "token"=>"b4250b90d0c9f95e9a20474b05beb911153f599fc79014585e9cfb9507e661d3", "expires_in"=>7200}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a32e93f7fb3688a85d95fd6f9a1a3184b6276b2024c5ad40f4ee1589bac03f4e", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900001b')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900001b'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Another Client App", "uid"=>"a32e93f7fb3688a85d95fd6f9a1a3184b6276b2024c5ad40f4ee1589bac03f4e", "secret"=>"9ee01cee1d4f32ab2a31642109735bd40d9116db883f4a3e8a60a35d118aa6e4", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900001b'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Another Client App", "uid"=>"a32e93f7fb3688a85d95fd6f9a1a3184b6276b2024c5ad40f4ee1589bac03f4e", "secret"=>"9ee01cee1d4f32ab2a31642109735bd40d9116db883f4a3e8a60a35d118aa6e4", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900001c'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900001c'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f25bda27d15b695dce55a5c3a448b3c43f8fc92dbade338593b64903527ea468", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900001d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900001d'), "application_id"=>BSON::ObjectId('5bb62449354159729900001b'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62449354159729900001c'), "token"=>"f25bda27d15b695dce55a5c3a448b3c43f8fc92dbade338593b64903527ea468", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900001d'), "application_id"=>BSON::ObjectId('5bb62449354159729900001b'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62449354159729900001c'), "token"=>"f25bda27d15b695dce55a5c3a448b3c43f8fc92dbade338593b64903527ea468", "expires_in"=>7200}) Started GET "/oauth/authorized_applications" for 127.0.0.1 at 2018-10-04 17:31:37 +0300 Processing by Doorkeeper::AuthorizedApplicationsController#index as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:resource_owner_id=>BSON::ObjectId('5bb624493541597299000018'), :revoked_at=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>{:$in=>[BSON::ObjectId('5bb624493541597299000019')]}}) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorized_applications/_delete_form.html.erb (0.3ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorized_applications/index.html.erb within layouts/doorkeeper/application (0.8ms) Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900001e'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900001e'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c54c63ed2b75c024e234715f9cecf14dfe05442dd172eacb829e4478052bd4fc", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900001f')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900001f'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Amazing Client App", "uid"=>"c54c63ed2b75c024e234715f9cecf14dfe05442dd172eacb829e4478052bd4fc", "secret"=>"bdaa7936e46ffe029ba278dff7db96992bd8b7df838278119b87bf27c5c5c00e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900001f'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Amazing Client App", "uid"=>"c54c63ed2b75c024e234715f9cecf14dfe05442dd172eacb829e4478052bd4fc", "secret"=>"bdaa7936e46ffe029ba278dff7db96992bd8b7df838278119b87bf27c5c5c00e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"07bb7226cf2fe1ad70e913ffe315bc37615c4bc4ffc0522eb6098ff31a1ee36c", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000020')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000020'), "application_id"=>BSON::ObjectId('5bb62449354159729900001f'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62449354159729900001e'), "token"=>"07bb7226cf2fe1ad70e913ffe315bc37615c4bc4ffc0522eb6098ff31a1ee36c", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000020'), "application_id"=>BSON::ObjectId('5bb62449354159729900001f'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62449354159729900001e'), "token"=>"07bb7226cf2fe1ad70e913ffe315bc37615c4bc4ffc0522eb6098ff31a1ee36c", "expires_in"=>7200}) Started GET "/oauth/authorized_applications" for 127.0.0.1 at 2018-10-04 17:31:37 +0300 Processing by Doorkeeper::AuthorizedApplicationsController#index as HTML MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:resource_owner_id=>BSON::ObjectId('5bb62449354159729900001e'), :revoked_at=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>{:$in=>[BSON::ObjectId('5bb62449354159729900001f')]}}) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorized_applications/_delete_form.html.erb (0.8ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorized_applications/index.html.erb within layouts/doorkeeper/application (1.2ms) Completed 200 OK in 8ms (Views: 3.1ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"766ccbd9c57eeb7c1bd3ce194a89e43d0b28ef63c8b554d63f7c9cdc8503b2ba", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000021')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000021'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 11", "uid"=>"766ccbd9c57eeb7c1bd3ce194a89e43d0b28ef63c8b554d63f7c9cdc8503b2ba", "secret"=>"01031e8d53e63dae25879250178adffb6da3e9654693c9176fceeb87c61c99a3", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000021'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 11", "uid"=>"766ccbd9c57eeb7c1bd3ce194a89e43d0b28ef63c8b554d63f7c9cdc8503b2ba", "secret"=>"01031e8d53e63dae25879250178adffb6da3e9654693c9176fceeb87c61c99a3", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000022'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000022'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:37 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:31:37 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:37 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=766ccbd9c57eeb7c1bd3ce194a89e43d0b28ef63c8b554d63f7c9cdc8503b2ba&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&state=return-this" for 127.0.0.1 at 2018-10-04 17:31:37 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"766ccbd9c57eeb7c1bd3ce194a89e43d0b28ef63c8b554d63f7c9cdc8503b2ba", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "state"=>"return-this"} MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"766ccbd9c57eeb7c1bd3ce194a89e43d0b28ef63c8b554d63f7c9cdc8503b2ba"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb624493541597299000021'), :resource_owner_id=>BSON::ObjectId('5bb624493541597299000022'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.6ms) Completed 200 OK in 9ms (Views: 3.6ms | ActiveRecord: 0.0ms) Started DELETE "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:31:37 +0300 Processing by Doorkeeper::AuthorizationsController#destroy as HTML Parameters: {"utf8"=>"✓", "client_id"=>"766ccbd9c57eeb7c1bd3ce194a89e43d0b28ef63c8b554d63f7c9cdc8503b2ba", "redirect_uri"=>"https://app.com/callback", "state"=>"return-this", "response_type"=>"code", "scope"=>"", "commit"=>"Deny"} MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"766ccbd9c57eeb7c1bd3ce194a89e43d0b28ef63c8b554d63f7c9cdc8503b2ba"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to https://app.com/callback?error=access_denied&error_description=The+resource+owner+or+authorization+server+denied+the+request.&state=return-this Completed 302 Found in 4ms (ActiveRecord: 0.0ms) Started GET "/callback?error=access_denied&error_description=The+resource+owner+or+authorization+server+denied+the+request.&state=return-this" for 127.0.0.1 at 2018-10-04 17:31:37 +0300 Processing by HomeController#callback as HTML Parameters: {"error"=>"access_denied", "error_description"=>"The resource owner or authorization server denied the request.", "state"=>"return-this"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"429b4e77582a40cce139dd4cf4bd28c670c204927e8411fe2aa35f44897e9f73", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000023')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000023'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 12", "uid"=>"429b4e77582a40cce139dd4cf4bd28c670c204927e8411fe2aa35f44897e9f73", "secret"=>"99b7a8d2af08aa211c8f2e86a26e2a77c6692a8ad6e3a064e301a664c55753bf", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000023'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 12", "uid"=>"429b4e77582a40cce139dd4cf4bd28c670c204927e8411fe2aa35f44897e9f73", "secret"=>"99b7a8d2af08aa211c8f2e86a26e2a77c6692a8ad6e3a064e301a664c55753bf", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000024'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000024'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:37 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:31:37 +0300 Processing by HomeController#sign_in as HTML MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:37 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=429b4e77582a40cce139dd4cf4bd28c670c204927e8411fe2aa35f44897e9f73&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:31:37 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"429b4e77582a40cce139dd4cf4bd28c670c204927e8411fe2aa35f44897e9f73", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"429b4e77582a40cce139dd4cf4bd28c670c204927e8411fe2aa35f44897e9f73"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (12.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb624493541597299000023'), :resource_owner_id=>BSON::ObjectId('5bb624493541597299000024'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (0.9ms) Completed 200 OK in 19ms (Views: 2.2ms | ActiveRecord: 0.0ms) Started DELETE "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:31:37 +0300 Processing by Doorkeeper::AuthorizationsController#destroy as HTML Parameters: {"utf8"=>"✓", "client_id"=>"429b4e77582a40cce139dd4cf4bd28c670c204927e8411fe2aa35f44897e9f73", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"", "commit"=>"Deny"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"429b4e77582a40cce139dd4cf4bd28c670c204927e8411fe2aa35f44897e9f73"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to https://app.com/callback?error=access_denied&error_description=The+resource+owner+or+authorization+server+denied+the+request. Completed 302 Found in 3ms (ActiveRecord: 0.0ms) Started GET "/callback?error=access_denied&error_description=The+resource+owner+or+authorization+server+denied+the+request." for 127.0.0.1 at 2018-10-04 17:31:37 +0300 Processing by HomeController#callback as HTML Parameters: {"error"=>"access_denied", "error_description"=>"The resource owner or authorization server denied the request."} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"bc19b777373e990c30428d32584fab40c3c67e753978239ab6e935a9b6a6f209", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000025')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000025'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"
XSS
", "uid"=>"bc19b777373e990c30428d32584fab40c3c67e753978239ab6e935a9b6a6f209", "secret"=>"107d197c1712947a1a943de995a62f9bd4944a31ab37152383819ffd644d99da", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000025'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"
XSS
", "uid"=>"bc19b777373e990c30428d32584fab40c3c67e753978239ab6e935a9b6a6f209", "secret"=>"107d197c1712947a1a943de995a62f9bd4944a31ab37152383819ffd644d99da", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000026'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000026'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:37 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:31:37 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:37 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=bc19b777373e990c30428d32584fab40c3c67e753978239ab6e935a9b6a6f209&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:31:37 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"bc19b777373e990c30428d32584fab40c3c67e753978239ab6e935a9b6a6f209", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"bc19b777373e990c30428d32584fab40c3c67e753978239ab6e935a9b6a6f209"}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb624493541597299000025'), :resource_owner_id=>BSON::ObjectId('5bb624493541597299000026'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (0.9ms) Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"99c0c03c22462224370bd25cb0ed5c9ff3a6d2df31dba8a031d87023615bb5a2", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000027')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000027'), "application_id"=>1, "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>1, "token"=>"99c0c03c22462224370bd25cb0ed5c9ff3a6d2df31dba8a031d87023615bb5a2", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000027'), "application_id"=>1, "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>1, "token"=>"99c0c03c22462224370bd25cb0ed5c9ff3a6d2df31dba8a031d87023615bb5a2", "expires_in"=>7200, "scopes"=>"public"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e9706b5128cee8b1152054c9c71aa740d49330530bafae5ebdbc34c68f5081eb", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000029')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000029'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 13", "uid"=>"e9706b5128cee8b1152054c9c71aa740d49330530bafae5ebdbc34c68f5081eb", "secret"=>"21533a9a36ebfd17c7cd3b2da34327f02d98c5a5dd3d4eece7f640c56b78fd9a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000029'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 13", "uid"=>"e9706b5128cee8b1152054c9c71aa740d49330530bafae5ebdbc34c68f5081eb", "secret"=>"21533a9a36ebfd17c7cd3b2da34327f02d98c5a5dd3d4eece7f640c56b78fd9a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"09faaa4043713da5005b4424d5f871f3711636cf0734e696790b54d0eec779ad", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000028')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c1dd96717f68c9ede64c937434143aa7252ffd7910dd9f9a4295947dfbb2b65e", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900002a')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900002a'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 14", "uid"=>"c1dd96717f68c9ede64c937434143aa7252ffd7910dd9f9a4295947dfbb2b65e", "secret"=>"f1a0145324aa27696543a4daf52c40f0d400dd12a6b461754683f4a4c061cdf4", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "scopes"=>"private read"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900002a'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 14", "uid"=>"c1dd96717f68c9ede64c937434143aa7252ffd7910dd9f9a4295947dfbb2b65e", "secret"=>"f1a0145324aa27696543a4daf52c40f0d400dd12a6b461754683f4a4c061cdf4", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "scopes"=>"private read"}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2f2bd7af58a75002e969ca27750b96d87e2f4d14f0f40daeb2ddae094ea659ac", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900002b')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900002b'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 15", "uid"=>"2f2bd7af58a75002e969ca27750b96d87e2f4d14f0f40daeb2ddae094ea659ac", "secret"=>"6c347988446fd129cb4cd2d3e29dc5f6e10db8096053e68cc5ef7f13ccb4a31a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900002b'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 15", "uid"=>"2f2bd7af58a75002e969ca27750b96d87e2f4d14f0f40daeb2ddae094ea659ac", "secret"=>"6c347988446fd129cb4cd2d3e29dc5f6e10db8096053e68cc5ef7f13ccb4a31a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"50565854ed358e7cfd48900f5bb7e1a78b47d20b009efd576fba1d3e8587ed5f", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900002c')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900002c'), "application_id"=>BSON::ObjectId('5bb62449354159729900002a'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>100, "token"=>"50565854ed358e7cfd48900f5bb7e1a78b47d20b009efd576fba1d3e8587ed5f", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900002c'), "application_id"=>BSON::ObjectId('5bb62449354159729900002a'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>100, "token"=>"50565854ed358e7cfd48900f5bb7e1a78b47d20b009efd576fba1d3e8587ed5f", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb62449354159729900002a'), :resource_owner_id=>100, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"02030dc1355513d683d79a944f98d01a866939a6f95001dc3089e9f934090c11", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900002d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900002d'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 16", "uid"=>"02030dc1355513d683d79a944f98d01a866939a6f95001dc3089e9f934090c11", "secret"=>"81576f41f013f28c86e3bd6a6838ddb4eacb96ce26f0ce1b90ee32f7fd3fa539", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900002d'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 16", "uid"=>"02030dc1355513d683d79a944f98d01a866939a6f95001dc3089e9f934090c11", "secret"=>"81576f41f013f28c86e3bd6a6838ddb4eacb96ce26f0ce1b90ee32f7fd3fa539", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"906774cf91018a1c301340a0f7893d0b03e876f14953f20985952b3792271b9e", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900002e')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900002e'), "application_id"=>BSON::ObjectId('5bb62449354159729900002d'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>100, "token"=>"906774cf91018a1c301340a0f7893d0b03e876f14953f20985952b3792271b9e", "expires_in"=>7200, "revoked_at"=>2018-10-03 00:00:00 UTC, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900002e'), "application_id"=>BSON::ObjectId('5bb62449354159729900002d'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>100, "token"=>"906774cf91018a1c301340a0f7893d0b03e876f14953f20985952b3792271b9e", "expires_in"=>7200, "revoked_at"=>2018-10-03 00:00:00 UTC, "scopes"=>"public write"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb62449354159729900002d'), :resource_owner_id=>100, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"21583930fece843dd48130976c92c431f0b63e965a9e8fc2d27374ac679e6ee0", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900002f')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900002f'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 17", "uid"=>"21583930fece843dd48130976c92c431f0b63e965a9e8fc2d27374ac679e6ee0", "secret"=>"83632988aed5097677262b30f2683b809dd298ababb63f9417e39a457ecf982c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900002f'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 17", "uid"=>"21583930fece843dd48130976c92c431f0b63e965a9e8fc2d27374ac679e6ee0", "secret"=>"83632988aed5097677262b30f2683b809dd298ababb63f9417e39a457ecf982c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d2aab88043b75f0f34d9b47727be7c2b96980de8079aba2fe3b3f76ceb6d8486", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000030')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000030'), "application_id"=>BSON::ObjectId('5bb62449354159729900002f'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>nil, "token"=>"d2aab88043b75f0f34d9b47727be7c2b96980de8079aba2fe3b3f76ceb6d8486", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000030'), "application_id"=>BSON::ObjectId('5bb62449354159729900002f'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>nil, "token"=>"d2aab88043b75f0f34d9b47727be7c2b96980de8079aba2fe3b3f76ceb6d8486", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb62449354159729900002f'), :resource_owner_id=>nil, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ad44cc32f59eedc8f60622b1bdd82a81177b2501e7968595b8870bab7a9905ff", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000031')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000031'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 18", "uid"=>"ad44cc32f59eedc8f60622b1bdd82a81177b2501e7968595b8870bab7a9905ff", "secret"=>"b07fb399e0a1edc34238b26a9ffefee7fd73309a24f6a93944e5a78053ca10ba", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000031'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 18", "uid"=>"ad44cc32f59eedc8f60622b1bdd82a81177b2501e7968595b8870bab7a9905ff", "secret"=>"b07fb399e0a1edc34238b26a9ffefee7fd73309a24f6a93944e5a78053ca10ba", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"6a023e34b5c2d0c8aa71e8ba4096966547f85919af446bf6e46e7ece058d2ee3", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000032')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000032'), "application_id"=>BSON::ObjectId('5bb624493541597299000031'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>100, "token"=>"6a023e34b5c2d0c8aa71e8ba4096966547f85919af446bf6e46e7ece058d2ee3", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000032'), "application_id"=>BSON::ObjectId('5bb624493541597299000031'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>100, "token"=>"6a023e34b5c2d0c8aa71e8ba4096966547f85919af446bf6e46e7ece058d2ee3", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3e017153e93d2384d4ebf294ed937362093a73a9ce781a64863bcb4747919eff", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000033')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000033'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 19", "uid"=>"3e017153e93d2384d4ebf294ed937362093a73a9ce781a64863bcb4747919eff", "secret"=>"0e158af6e4262c5b19ae9d4c781144d913cec317ba9dd577a6c7fbc526e877a8", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000033'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 19", "uid"=>"3e017153e93d2384d4ebf294ed937362093a73a9ce781a64863bcb4747919eff", "secret"=>"0e158af6e4262c5b19ae9d4c781144d913cec317ba9dd577a6c7fbc526e877a8", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"fa51d8289b932689a5fe557b693bc543988f4dcffc28cff388aaba131a94aef7", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000034')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000034'), "application_id"=>BSON::ObjectId('5bb624493541597299000033'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>100, "token"=>"fa51d8289b932689a5fe557b693bc543988f4dcffc28cff388aaba131a94aef7", "expires_in"=>7200, "scopes"=>"public write email"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000034'), "application_id"=>BSON::ObjectId('5bb624493541597299000033'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>100, "token"=>"fa51d8289b932689a5fe557b693bc543988f4dcffc28cff388aaba131a94aef7", "expires_in"=>7200, "scopes"=>"public write email"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb624493541597299000033'), :resource_owner_id=>100, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"cc2b3c08025af6d2f2b73a00260fa9e999681bea5ecc091857b4f5cb67e52d32", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000035')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000035'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 20", "uid"=>"cc2b3c08025af6d2f2b73a00260fa9e999681bea5ecc091857b4f5cb67e52d32", "secret"=>"902d0e276d8e156eec53c476eed3cece6ac4f744d55f273d0f9b4af544864bf1", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000035'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 20", "uid"=>"cc2b3c08025af6d2f2b73a00260fa9e999681bea5ecc091857b4f5cb67e52d32", "secret"=>"902d0e276d8e156eec53c476eed3cece6ac4f744d55f273d0f9b4af544864bf1", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"6e774c8318584518f3d829c8c4944085465f7c52684da19b38544205c58082a8", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000036')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000036'), "application_id"=>BSON::ObjectId('5bb624493541597299000035'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>100, "token"=>"6e774c8318584518f3d829c8c4944085465f7c52684da19b38544205c58082a8", "expires_in"=>7200, "scopes"=>"public email"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000036'), "application_id"=>BSON::ObjectId('5bb624493541597299000035'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>100, "token"=>"6e774c8318584518f3d829c8c4944085465f7c52684da19b38544205c58082a8", "expires_in"=>7200, "scopes"=>"public email"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb624493541597299000035'), :resource_owner_id=>100, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"75b4c43fa6f541c88479a4fdeb8ad322840ac2d1b4a96e34b00aa193c1d2a8d2", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000037')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000037'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 21", "uid"=>"75b4c43fa6f541c88479a4fdeb8ad322840ac2d1b4a96e34b00aa193c1d2a8d2", "secret"=>"ad6ab35519e0d94f956613d77f43dcbba5315f25923e5a616735c433f8b0dcae", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000037'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 21", "uid"=>"75b4c43fa6f541c88479a4fdeb8ad322840ac2d1b4a96e34b00aa193c1d2a8d2", "secret"=>"ad6ab35519e0d94f956613d77f43dcbba5315f25923e5a616735c433f8b0dcae", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"002995464206a00a5280805189b4e3607407e7209abcb702e9e404042ba65d8a", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000038')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000038'), "application_id"=>BSON::ObjectId('5bb624493541597299000037'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>100, "token"=>"002995464206a00a5280805189b4e3607407e7209abcb702e9e404042ba65d8a", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000038'), "application_id"=>BSON::ObjectId('5bb624493541597299000037'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>100, "token"=>"002995464206a00a5280805189b4e3607407e7209abcb702e9e404042ba65d8a", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb624493541597299000037'), :resource_owner_id=>100, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6bd43b3770985257227fa6dc2e1a4ca7a5b0d3827eba9e381f2fd035ca12c8f0", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000039')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000039'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 22", "uid"=>"6bd43b3770985257227fa6dc2e1a4ca7a5b0d3827eba9e381f2fd035ca12c8f0", "secret"=>"8b9124b218ad72a2d398e1ea2361fa447fc585550aae4fe866e98cea38d684f1", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000039'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 22", "uid"=>"6bd43b3770985257227fa6dc2e1a4ca7a5b0d3827eba9e381f2fd035ca12c8f0", "secret"=>"8b9124b218ad72a2d398e1ea2361fa447fc585550aae4fe866e98cea38d684f1", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"cb89a5dfbb93eb1f4ed874587633bfe56b51b453e1c196c987b73dda56e06367", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900003a')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900003a'), "application_id"=>BSON::ObjectId('5bb624493541597299000039'), "created_at"=>2018-10-03 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>100, "token"=>"cb89a5dfbb93eb1f4ed874587633bfe56b51b453e1c196c987b73dda56e06367", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900003a'), "application_id"=>BSON::ObjectId('5bb624493541597299000039'), "created_at"=>2018-10-03 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>100, "token"=>"cb89a5dfbb93eb1f4ed874587633bfe56b51b453e1c196c987b73dda56e06367", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"eae36b1f848bb26d9981f8d487ef4e171445ce7f2ea358554dde8de344024265", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900003b')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900003b'), "application_id"=>BSON::ObjectId('5bb624493541597299000039'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>100, "token"=>"eae36b1f848bb26d9981f8d487ef4e171445ce7f2ea358554dde8de344024265", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900003b'), "application_id"=>BSON::ObjectId('5bb624493541597299000039'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>100, "token"=>"eae36b1f848bb26d9981f8d487ef4e171445ce7f2ea358554dde8de344024265", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb624493541597299000039'), :resource_owner_id=>100, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2f7fd108e6e3f32055afacaf704d0f930a86fcc9f264c7a32464be1cc115481a", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900003c')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900003c'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 23", "uid"=>"2f7fd108e6e3f32055afacaf704d0f930a86fcc9f264c7a32464be1cc115481a", "secret"=>"8f995c67c0f4289fff2a1e9cac909c5bb8cf20f9f988be8d5bd52ed23d445978", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900003c'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 23", "uid"=>"2f7fd108e6e3f32055afacaf704d0f930a86fcc9f264c7a32464be1cc115481a", "secret"=>"8f995c67c0f4289fff2a1e9cac909c5bb8cf20f9f988be8d5bd52ed23d445978", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"50eab548f83b299d6184236a4afc0f1c1088232f522821ac6c02048a4bfbe5af", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900003d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900003d'), "application_id"=>BSON::ObjectId('5bb62449354159729900003c'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>100, "token"=>"50eab548f83b299d6184236a4afc0f1c1088232f522821ac6c02048a4bfbe5af", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900003d'), "application_id"=>BSON::ObjectId('5bb62449354159729900003c'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>100, "token"=>"50eab548f83b299d6184236a4afc0f1c1088232f522821ac6c02048a4bfbe5af", "expires_in"=>7200, "scopes"=>"public"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb62449354159729900003c'), :resource_owner_id=>100, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"052f984322e10e5d5ead66edae2a49b77eaee73236fbffd6292b8a1257e6c5ea", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900003e')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900003e'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 24", "uid"=>"052f984322e10e5d5ead66edae2a49b77eaee73236fbffd6292b8a1257e6c5ea", "secret"=>"4b06f2eb637df92d7d64da159e321bfa078832a85e352ee6245fb567eed7172e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900003e'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 24", "uid"=>"052f984322e10e5d5ead66edae2a49b77eaee73236fbffd6292b8a1257e6c5ea", "secret"=>"4b06f2eb637df92d7d64da159e321bfa078832a85e352ee6245fb567eed7172e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"4215411dd5ad06d36f339ec0fac6c42ae51678194d05cf8477298c766a3772b9", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900003f')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900003f'), "application_id"=>BSON::ObjectId('5bb62449354159729900003e'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>2, "token"=>"4215411dd5ad06d36f339ec0fac6c42ae51678194d05cf8477298c766a3772b9", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900003f'), "application_id"=>BSON::ObjectId('5bb62449354159729900003e'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>2, "token"=>"4215411dd5ad06d36f339ec0fac6c42ae51678194d05cf8477298c766a3772b9", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb62449354159729900003e'), :resource_owner_id=>100, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"55e7716128b00a0aceff51fc96642acf09669bbdcb115c7fd59ba63287aa69eb", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000040')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000040'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 25", "uid"=>"55e7716128b00a0aceff51fc96642acf09669bbdcb115c7fd59ba63287aa69eb", "secret"=>"c7fd68c40b6555c17476a75b712bea882fd8d09eb8ef279877168f098ef9faf9", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000040'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 25", "uid"=>"55e7716128b00a0aceff51fc96642acf09669bbdcb115c7fd59ba63287aa69eb", "secret"=>"c7fd68c40b6555c17476a75b712bea882fd8d09eb8ef279877168f098ef9faf9", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"5f5c5d70da3dfddad061ccfa4cefa65905737bc4a2ec1b5f3f1288c7233ce347", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000041')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000041'), "application_id"=>BSON::ObjectId('5bb624493541597299000040'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>100, "token"=>"5f5c5d70da3dfddad061ccfa4cefa65905737bc4a2ec1b5f3f1288c7233ce347", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000041'), "application_id"=>BSON::ObjectId('5bb624493541597299000040'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>100, "token"=>"5f5c5d70da3dfddad061ccfa4cefa65905737bc4a2ec1b5f3f1288c7233ce347", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb624493541597299000040'), :resource_owner_id=>100, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f20a68b4257f8d2ffd8a8b20c2ed929be2ece8434a1a9f3bd020402e3fa6e866", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000042')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000042'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 26", "uid"=>"f20a68b4257f8d2ffd8a8b20c2ed929be2ece8434a1a9f3bd020402e3fa6e866", "secret"=>"d38eac6507bc64370e479831875418f9272bbc330d006e045a8c41478c4e188b", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000042'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 26", "uid"=>"f20a68b4257f8d2ffd8a8b20c2ed929be2ece8434a1a9f3bd020402e3fa6e866", "secret"=>"d38eac6507bc64370e479831875418f9272bbc330d006e045a8c41478c4e188b", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"846f13d4ee1a6b761c486a1d89a1a5bd053fc08c705a20982595570e2e5d12dc", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000043')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000043'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 27", "uid"=>"846f13d4ee1a6b761c486a1d89a1a5bd053fc08c705a20982595570e2e5d12dc", "secret"=>"28ecb9c807053d64d74aeaceea6f6699a6472e7878b7823f071fe44e5954eae8", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000043'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 27", "uid"=>"846f13d4ee1a6b761c486a1d89a1a5bd053fc08c705a20982595570e2e5d12dc", "secret"=>"28ecb9c807053d64d74aeaceea6f6699a6472e7878b7823f071fe44e5954eae8", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"c0ad1cb1daa6adc44176cf3645a707242541dbefa370c38663f73ac89144a79f", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000044')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000044'), "application_id"=>BSON::ObjectId('5bb624493541597299000043'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>100, "token"=>"c0ad1cb1daa6adc44176cf3645a707242541dbefa370c38663f73ac89144a79f", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000044'), "application_id"=>BSON::ObjectId('5bb624493541597299000043'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>100, "token"=>"c0ad1cb1daa6adc44176cf3645a707242541dbefa370c38663f73ac89144a79f", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb624493541597299000042'), :resource_owner_id=>100, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e952695c97a38fa4e3d5b71e91137238d530aa461e8cecdc2c4a29f82643a353", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000045')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000045'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 28", "uid"=>"e952695c97a38fa4e3d5b71e91137238d530aa461e8cecdc2c4a29f82643a353", "secret"=>"2c90444cb50d39f5866d82133cae2af5e38d0c5e36a6970543330bee181ba082", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000045'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 28", "uid"=>"e952695c97a38fa4e3d5b71e91137238d530aa461e8cecdc2c4a29f82643a353", "secret"=>"2c90444cb50d39f5866d82133cae2af5e38d0c5e36a6970543330bee181ba082", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"50e6ac237dfe9f68fdd97af34c53eeda81c8192932424fea5d7bfb669ff3d5a1", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000046')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000046'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 29", "uid"=>"50e6ac237dfe9f68fdd97af34c53eeda81c8192932424fea5d7bfb669ff3d5a1", "secret"=>"7c9acfda67f1fc056cb3511fde924afa60d478f9275b04d4eed9d688764beb00", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000046'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 29", "uid"=>"50e6ac237dfe9f68fdd97af34c53eeda81c8192932424fea5d7bfb669ff3d5a1", "secret"=>"7c9acfda67f1fc056cb3511fde924afa60d478f9275b04d4eed9d688764beb00", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"1d6fdde8843396f4985b5d2ee7103e700d44a08720465db37a916624c181dcc6", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000047')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000047'), "application_id"=>BSON::ObjectId('5bb624493541597299000046'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>100, "token"=>"1d6fdde8843396f4985b5d2ee7103e700d44a08720465db37a916624c181dcc6", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000047'), "application_id"=>BSON::ObjectId('5bb624493541597299000046'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>100, "token"=>"1d6fdde8843396f4985b5d2ee7103e700d44a08720465db37a916624c181dcc6", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb624493541597299000045'), :resource_owner_id=>100, :revoked_at=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"34341aaa9fa46c0ac7eae0d20517383ebe1d2a9b4b8e81aa149c5994d0cf06a3", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000048')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000048'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 30", "uid"=>"34341aaa9fa46c0ac7eae0d20517383ebe1d2a9b4b8e81aa149c5994d0cf06a3", "secret"=>"cd46c1c63b9b2e79742cbc3db49659939714631eb68326cafb75dac3c7077021", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000048'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 30", "uid"=>"34341aaa9fa46c0ac7eae0d20517383ebe1d2a9b4b8e81aa149c5994d0cf06a3", "secret"=>"cd46c1c63b9b2e79742cbc3db49659939714631eb68326cafb75dac3c7077021", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f7cebf07e1785ee7500096a766c13b857a2478e22624ad331fd07c719b391669", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000049')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000049'), "application_id"=>BSON::ObjectId('5bb624493541597299000048'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>90, "token"=>"f7cebf07e1785ee7500096a766c13b857a2478e22624ad331fd07c719b391669", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000049'), "application_id"=>BSON::ObjectId('5bb624493541597299000048'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>90, "token"=>"f7cebf07e1785ee7500096a766c13b857a2478e22624ad331fd07c719b391669", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb624493541597299000048'), :resource_owner_id=>100, :revoked_at=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"59cba9f14928b799118404eab39663f2536b4c9b368b298518728c63d904d538", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900004a')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900004a'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 31", "uid"=>"59cba9f14928b799118404eab39663f2536b4c9b368b298518728c63d904d538", "secret"=>"3e3e26929ca20ae30f2cbd5f1ccbffd7b129e1d4e80bd40c3f6c642d73cb6774", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900004a'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 31", "uid"=>"59cba9f14928b799118404eab39663f2536b4c9b368b298518728c63d904d538", "secret"=>"3e3e26929ca20ae30f2cbd5f1ccbffd7b129e1d4e80bd40c3f6c642d73cb6774", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f81563fbc26ef3f65a567919a405dc73811d503223e45fb2cae93a878cfe1899", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900004b')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900004b'), "application_id"=>BSON::ObjectId('5bb62449354159729900004a'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>100, "token"=>"f81563fbc26ef3f65a567919a405dc73811d503223e45fb2cae93a878cfe1899", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900004b'), "application_id"=>BSON::ObjectId('5bb62449354159729900004a'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>100, "token"=>"f81563fbc26ef3f65a567919a405dc73811d503223e45fb2cae93a878cfe1899", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb62449354159729900004a'), :resource_owner_id=>100, :revoked_at=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb62449354159729900004b')}, :u=>{"_id"=>BSON::ObjectId('5bb62449354159729900004b'), "application_id"=>BSON::ObjectId('5bb62449354159729900004a'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>100, "token"=>"f81563fbc26ef3f65a567919a405dc73811d503223e45fb2cae93a878cfe1899", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb62449354159729900004b')}, {"_id"=>BSON::ObjectId('5bb62449354159729900004b'), "application_id"=>BSON::ObjectId('5bb62449354159729900004a'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>100, "token"=>"f81563fbc26ef3f65a567919a405dc73811d503223e45fb2cae93a878cfe1899", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f4d63ab369c4f6e42f3d42a29d709473eff311ec74730754d8fc3797c7b0fff0", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900004d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900004d'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 32", "uid"=>"f4d63ab369c4f6e42f3d42a29d709473eff311ec74730754d8fc3797c7b0fff0", "secret"=>"b11b72d563ee449da91d9e6b8cbbb7340f572212aeded446982922e3982eb0c9", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900004d'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 32", "uid"=>"f4d63ab369c4f6e42f3d42a29d709473eff311ec74730754d8fc3797c7b0fff0", "secret"=>"b11b72d563ee449da91d9e6b8cbbb7340f572212aeded446982922e3982eb0c9", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"609189bdc500ec73c9a54e2f8bc831a2d4fec146a3f145a675f8993540214e64", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900004c')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900004c'), "application_id"=>BSON::ObjectId('5bb62449354159729900004d'), "created_at"=>2018-10-04 08:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>2, "token"=>"609189bdc500ec73c9a54e2f8bc831a2d4fec146a3f145a675f8993540214e64", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900004c'), "application_id"=>BSON::ObjectId('5bb62449354159729900004d'), "created_at"=>2018-10-04 08:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>2, "token"=>"609189bdc500ec73c9a54e2f8bc831a2d4fec146a3f145a675f8993540214e64", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5c366fed158c51edeba220fb2c31df3929270226e6653140b513d3e25ebd2f1d", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900004f')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900004f'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 33", "uid"=>"5c366fed158c51edeba220fb2c31df3929270226e6653140b513d3e25ebd2f1d", "secret"=>"46d4480996f17dccecf9ca265779436ffaa35a1dd4704f82cc8f0ce9ab92ee46", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900004f'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 33", "uid"=>"5c366fed158c51edeba220fb2c31df3929270226e6653140b513d3e25ebd2f1d", "secret"=>"46d4480996f17dccecf9ca265779436ffaa35a1dd4704f82cc8f0ce9ab92ee46", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e0f00221b16e3487a0273bd4313934576ace175f3f10e77ef54518f1315b34aa", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900004e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900004e'), "application_id"=>BSON::ObjectId('5bb62449354159729900004f'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>3, "token"=>"e0f00221b16e3487a0273bd4313934576ace175f3f10e77ef54518f1315b34aa", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900004e'), "application_id"=>BSON::ObjectId('5bb62449354159729900004f'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>3, "token"=>"e0f00221b16e3487a0273bd4313934576ace175f3f10e77ef54518f1315b34aa", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"bb13cf6a7232909edec2b590a275a8c5c5f2149ba9df415e6c27c282c2d9f6af", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000051')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000051'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 34", "uid"=>"bb13cf6a7232909edec2b590a275a8c5c5f2149ba9df415e6c27c282c2d9f6af", "secret"=>"c859175e33708556af1a579e1347f4d21bded850b04fbd1b864499d2c2978c11", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000051'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 34", "uid"=>"bb13cf6a7232909edec2b590a275a8c5c5f2149ba9df415e6c27c282c2d9f6af", "secret"=>"c859175e33708556af1a579e1347f4d21bded850b04fbd1b864499d2c2978c11", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"cb61d5fdab668fd26db064b1c1bcb842a3f89b852bc64140b8ed84b13bfe22d7", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000050')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000050'), "application_id"=>BSON::ObjectId('5bb624493541597299000051'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>4, "token"=>"cb61d5fdab668fd26db064b1c1bcb842a3f89b852bc64140b8ed84b13bfe22d7", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000050'), "application_id"=>BSON::ObjectId('5bb624493541597299000051'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>4, "token"=>"cb61d5fdab668fd26db064b1c1bcb842a3f89b852bc64140b8ed84b13bfe22d7", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"9e0af841bdf0c7f102ca71542ba9df5d65ca0c3e8431e94d2f9d44e642c9d6e1", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000053')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000053'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 35", "uid"=>"9e0af841bdf0c7f102ca71542ba9df5d65ca0c3e8431e94d2f9d44e642c9d6e1", "secret"=>"2edd6f027116bb2de85aa2f2b2022b5ec37a740cce9313e3c4b2ccd7f3360da1", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000053'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 35", "uid"=>"9e0af841bdf0c7f102ca71542ba9df5d65ca0c3e8431e94d2f9d44e642c9d6e1", "secret"=>"2edd6f027116bb2de85aa2f2b2022b5ec37a740cce9313e3c4b2ccd7f3360da1", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d020c94c9f08edf372b4bac907ca13dc9fe3202c77ff21fe043974199e35dd04", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000052')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"da9aa5bab1a400e7c234bd779f54db1b7273936c5a0611ec4dc7549c8094c7e6", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000052')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000052'), "application_id"=>BSON::ObjectId('5bb624493541597299000053'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>5, "token"=>"d020c94c9f08edf372b4bac907ca13dc9fe3202c77ff21fe043974199e35dd04", "refresh_token"=>"da9aa5bab1a400e7c234bd779f54db1b7273936c5a0611ec4dc7549c8094c7e6", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000052'), "application_id"=>BSON::ObjectId('5bb624493541597299000053'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>5, "token"=>"d020c94c9f08edf372b4bac907ca13dc9fe3202c77ff21fe043974199e35dd04", "refresh_token"=>"da9aa5bab1a400e7c234bd779f54db1b7273936c5a0611ec4dc7549c8094c7e6", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0e85777cab9babc4fdb003ab97ab3328a3188797184245d3c9ecd1ea89dc6069", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000055')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000055'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 36", "uid"=>"0e85777cab9babc4fdb003ab97ab3328a3188797184245d3c9ecd1ea89dc6069", "secret"=>"0fc247a44a195ff591f7a73d8da1d5f26c8f17874947693eca1178186ca0600d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000055'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 36", "uid"=>"0e85777cab9babc4fdb003ab97ab3328a3188797184245d3c9ecd1ea89dc6069", "secret"=>"0fc247a44a195ff591f7a73d8da1d5f26c8f17874947693eca1178186ca0600d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"7448f8f2317eb229938febb914fb29c8c7502bad37b135bf7d40f32889d0a9cd", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000054')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"8988be3c74e6721b8b901cd08180c5eb3fd7160339f9c78c6b4170c3c1282ab6", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000054')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000054'), "application_id"=>BSON::ObjectId('5bb624493541597299000055'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>6, "token"=>"7448f8f2317eb229938febb914fb29c8c7502bad37b135bf7d40f32889d0a9cd", "refresh_token"=>"8988be3c74e6721b8b901cd08180c5eb3fd7160339f9c78c6b4170c3c1282ab6", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000054'), "application_id"=>BSON::ObjectId('5bb624493541597299000055'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>6, "token"=>"7448f8f2317eb229938febb914fb29c8c7502bad37b135bf7d40f32889d0a9cd", "refresh_token"=>"8988be3c74e6721b8b901cd08180c5eb3fd7160339f9c78c6b4170c3c1282ab6", "expires_in"=>7200}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb624493541597299000054')}, :u=>{"_id"=>BSON::ObjectId('5bb624493541597299000054'), "application_id"=>BSON::ObjectId('5bb624493541597299000055'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>6, "token"=>"7448f8f2317eb229938febb914fb29c8c7502bad37b135bf7d40f32889d0a9cd", "refresh_token"=>"da9aa5bab1a400e7c234bd779f54db1b7273936c5a0611ec4dc7549c8094c7e6", "expires_in"=>7200}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e06e9207f036f70a02c6f83834c5c905928a7247b37532c3ba1cf301f5b99512", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000057')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000057'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 37", "uid"=>"e06e9207f036f70a02c6f83834c5c905928a7247b37532c3ba1cf301f5b99512", "secret"=>"5909a299802c9ac1d32fc83c61a5fc156f83a244ddaa76121df38b4b83af255f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000057'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 37", "uid"=>"e06e9207f036f70a02c6f83834c5c905928a7247b37532c3ba1cf301f5b99512", "secret"=>"5909a299802c9ac1d32fc83c61a5fc156f83a244ddaa76121df38b4b83af255f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"cea3ce11218dfc109b8d0ce3ac788cf9861b27af40bd160a22ddca155eca1758", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000056')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"455b9a4a1bb545eec25d2d9c62bf60ef564df5115b7c1bd3c136640d58ddafdc", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000056')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000056'), "application_id"=>BSON::ObjectId('5bb624493541597299000057'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>7, "token"=>"cea3ce11218dfc109b8d0ce3ac788cf9861b27af40bd160a22ddca155eca1758", "refresh_token"=>"455b9a4a1bb545eec25d2d9c62bf60ef564df5115b7c1bd3c136640d58ddafdc", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000056'), "application_id"=>BSON::ObjectId('5bb624493541597299000057'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>7, "token"=>"cea3ce11218dfc109b8d0ce3ac788cf9861b27af40bd160a22ddca155eca1758", "refresh_token"=>"455b9a4a1bb545eec25d2d9c62bf60ef564df5115b7c1bd3c136640d58ddafdc", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"fcd05e6e89b26558e2c27d68a2ca57f20e760547d2ac87aedf92cb0eb3d458c5", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000059')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000059'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 38", "uid"=>"fcd05e6e89b26558e2c27d68a2ca57f20e760547d2ac87aedf92cb0eb3d458c5", "secret"=>"52bad3204188a0fe820534cc55c58310fad277f2b9fcb4100bc9d26e0934897a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000059'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 38", "uid"=>"fcd05e6e89b26558e2c27d68a2ca57f20e760547d2ac87aedf92cb0eb3d458c5", "secret"=>"52bad3204188a0fe820534cc55c58310fad277f2b9fcb4100bc9d26e0934897a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"154f253f30527b4fa18272921a2cb185fcb3c932091421203bde134256b67ef9", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000058')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"6e131bc0c67a09c9571a899174273e4ab4f3ed2c491d8ac23ba9ff0db6f2fa1d", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000058')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000058'), "application_id"=>BSON::ObjectId('5bb624493541597299000059'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>8, "token"=>"154f253f30527b4fa18272921a2cb185fcb3c932091421203bde134256b67ef9", "refresh_token"=>"6e131bc0c67a09c9571a899174273e4ab4f3ed2c491d8ac23ba9ff0db6f2fa1d", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000058'), "application_id"=>BSON::ObjectId('5bb624493541597299000059'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>8, "token"=>"154f253f30527b4fa18272921a2cb185fcb3c932091421203bde134256b67ef9", "refresh_token"=>"6e131bc0c67a09c9571a899174273e4ab4f3ed2c491d8ac23ba9ff0db6f2fa1d", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"154f253f30527b4fa18272921a2cb185fcb3c932091421203bde134256b67ef9", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000058')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"455b9a4a1bb545eec25d2d9c62bf60ef564df5115b7c1bd3c136640d58ddafdc", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000058')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b888e149c23ac660a1ed71bd09cfe638a6de36561bd73cbe1b6175f24fd4d1bf", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900005b')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900005b'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 39", "uid"=>"b888e149c23ac660a1ed71bd09cfe638a6de36561bd73cbe1b6175f24fd4d1bf", "secret"=>"2f19f4b1984c4b48be55361a8923ca5b34a04c0da5ca648792f1ae3e7ab3e18e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900005b'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 39", "uid"=>"b888e149c23ac660a1ed71bd09cfe638a6de36561bd73cbe1b6175f24fd4d1bf", "secret"=>"2f19f4b1984c4b48be55361a8923ca5b34a04c0da5ca648792f1ae3e7ab3e18e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"4792b641e7b23096d076dfb09c026081beb1972c03d294e478240cac35c39928", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900005a')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900005a'), "application_id"=>BSON::ObjectId('5bb62449354159729900005b'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>9, "token"=>"4792b641e7b23096d076dfb09c026081beb1972c03d294e478240cac35c39928", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900005a'), "application_id"=>BSON::ObjectId('5bb62449354159729900005b'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>9, "token"=>"4792b641e7b23096d076dfb09c026081beb1972c03d294e478240cac35c39928", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"11d64c1fd70a4a87139e009635efaba76788426b369836d5fb280974f4c4cc89", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900005d')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900005d'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 40", "uid"=>"11d64c1fd70a4a87139e009635efaba76788426b369836d5fb280974f4c4cc89", "secret"=>"89d4d884bc6200bdb118cab209a61801a1fce1004125e5c10f00766d38ee3704", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900005d'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 40", "uid"=>"11d64c1fd70a4a87139e009635efaba76788426b369836d5fb280974f4c4cc89", "secret"=>"89d4d884bc6200bdb118cab209a61801a1fce1004125e5c10f00766d38ee3704", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"cf1476c141143d3304ae263564f00977caea59905372aa1f625bdbfa05eae448", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900005c')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"1adfedafc0e02c4991d726b15097ad6bbca44c27b6af542a6beaf9d6e8ea7700", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900005c')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900005c'), "application_id"=>BSON::ObjectId('5bb62449354159729900005d'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>10, "token"=>"cf1476c141143d3304ae263564f00977caea59905372aa1f625bdbfa05eae448", "refresh_token"=>"1adfedafc0e02c4991d726b15097ad6bbca44c27b6af542a6beaf9d6e8ea7700", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900005c'), "application_id"=>BSON::ObjectId('5bb62449354159729900005d'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>10, "token"=>"cf1476c141143d3304ae263564f00977caea59905372aa1f625bdbfa05eae448", "refresh_token"=>"1adfedafc0e02c4991d726b15097ad6bbca44c27b6af542a6beaf9d6e8ea7700", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"709ccdb1164648a70221f0024816c798eb8813aa1d84d8202689aec020a78906", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900005e')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900005e'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 41", "uid"=>"709ccdb1164648a70221f0024816c798eb8813aa1d84d8202689aec020a78906", "secret"=>"5eebdbf946ae5ee7596549b7c3b9616d93f1cb90bd95f52c1876c2f7b98bb51d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900005e'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 41", "uid"=>"709ccdb1164648a70221f0024816c798eb8813aa1d84d8202689aec020a78906", "secret"=>"5eebdbf946ae5ee7596549b7c3b9616d93f1cb90bd95f52c1876c2f7b98bb51d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f11d091a25f92350ee5a2b3ee5d70464497af89a2b5743b213ea6f4d0462f4c0", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900005f')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900005f'), "application_id"=>BSON::ObjectId('5bb62449354159729900005e'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>100, "token"=>"f11d091a25f92350ee5a2b3ee5d70464497af89a2b5743b213ea6f4d0462f4c0", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900005f'), "application_id"=>BSON::ObjectId('5bb62449354159729900005e'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>100, "token"=>"f11d091a25f92350ee5a2b3ee5d70464497af89a2b5743b213ea6f4d0462f4c0", "expires_in"=>7200}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6ece4d1f31740752b3fa1f72bf20b3fe09a6558299d571fcd778805ad0e82bdb", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000060')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000060'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 42", "uid"=>"6ece4d1f31740752b3fa1f72bf20b3fe09a6558299d571fcd778805ad0e82bdb", "secret"=>"046e3c2dc4fffe8a71f07999b58a40f7bb1351b417288d5d45bca4e5bcc5918a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000060'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 42", "uid"=>"6ece4d1f31740752b3fa1f72bf20b3fe09a6558299d571fcd778805ad0e82bdb", "secret"=>"046e3c2dc4fffe8a71f07999b58a40f7bb1351b417288d5d45bca4e5bcc5918a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"367f8789a6a007d3831a667a8e98c2c584f7d3288ff0d16b81b012cdf6a2f629", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000061')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000061'), "application_id"=>BSON::ObjectId('5bb624493541597299000060'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>100, "token"=>"367f8789a6a007d3831a667a8e98c2c584f7d3288ff0d16b81b012cdf6a2f629", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000061'), "application_id"=>BSON::ObjectId('5bb624493541597299000060'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>100, "token"=>"367f8789a6a007d3831a667a8e98c2c584f7d3288ff0d16b81b012cdf6a2f629", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0cee1a3de2b0cc8486d340681f1156a08eca4b6f64c550dc945b7178dcc44d10", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000062')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000062'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 43", "uid"=>"0cee1a3de2b0cc8486d340681f1156a08eca4b6f64c550dc945b7178dcc44d10", "secret"=>"b345182c38962c2b938449494248ed8e1840e166955e3d692aac1456da828fe2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000062'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 43", "uid"=>"0cee1a3de2b0cc8486d340681f1156a08eca4b6f64c550dc945b7178dcc44d10", "secret"=>"b345182c38962c2b938449494248ed8e1840e166955e3d692aac1456da828fe2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"a7406ae0f39ff701b4c320c9c2f5b74dfce09a475024a020bd3a69ac5380d8ef", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000063')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000063'), "application_id"=>BSON::ObjectId('5bb624493541597299000062'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>100, "token"=>"a7406ae0f39ff701b4c320c9c2f5b74dfce09a475024a020bd3a69ac5380d8ef", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000063'), "application_id"=>BSON::ObjectId('5bb624493541597299000062'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>100, "token"=>"a7406ae0f39ff701b4c320c9c2f5b74dfce09a475024a020bd3a69ac5380d8ef", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4ce95697df72db116f43a90e51fe673168c9776c35943f1f86005ae3ea91658b", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000064')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000064'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 44", "uid"=>"4ce95697df72db116f43a90e51fe673168c9776c35943f1f86005ae3ea91658b", "secret"=>"e9789ba00494c05f2b4e074972591a9745d700d15181ad7caed7eec2ecf8bd5d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000064'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 44", "uid"=>"4ce95697df72db116f43a90e51fe673168c9776c35943f1f86005ae3ea91658b", "secret"=>"e9789ba00494c05f2b4e074972591a9745d700d15181ad7caed7eec2ecf8bd5d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"260421aed70f52fe9fe6dd5df2fa5f140f3d69e59f1e22a53ee536865d85be60", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000065')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000065'), "application_id"=>BSON::ObjectId('5bb624493541597299000064'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>42, "token"=>"260421aed70f52fe9fe6dd5df2fa5f140f3d69e59f1e22a53ee536865d85be60", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000065'), "application_id"=>BSON::ObjectId('5bb624493541597299000064'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>42, "token"=>"260421aed70f52fe9fe6dd5df2fa5f140f3d69e59f1e22a53ee536865d85be60", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"05dbbd501729f6c38b7cb8b0f2103cb87f260ecec28903ddb8a54d005046a9ab", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000066')}}, {:_id=>1}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000066'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 45", "uid"=>"05dbbd501729f6c38b7cb8b0f2103cb87f260ecec28903ddb8a54d005046a9ab", "secret"=>"576f876547cee991b113bd628486e5795cc383b11fd9ca78a9432bf91cbc5233", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000066'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 45", "uid"=>"05dbbd501729f6c38b7cb8b0f2103cb87f260ecec28903ddb8a54d005046a9ab", "secret"=>"576f876547cee991b113bd628486e5795cc383b11fd9ca78a9432bf91cbc5233", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"8196944fba61ad83362cd54db4b63b273fe051cc1abb22617fc61d6e8cb42d18", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000067')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000067'), "application_id"=>BSON::ObjectId('5bb624493541597299000066'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>100, "token"=>"8196944fba61ad83362cd54db4b63b273fe051cc1abb22617fc61d6e8cb42d18", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000067'), "application_id"=>BSON::ObjectId('5bb624493541597299000066'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>100, "token"=>"8196944fba61ad83362cd54db4b63b273fe051cc1abb22617fc61d6e8cb42d18", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"7f58fb92442281c4bd50d23cca821c3757d6693e0b59eee567e5dfdabc9f8758", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000068')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000068'), "application_id"=>BSON::ObjectId('5bb624493541597299000066'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>42, "token"=>"7f58fb92442281c4bd50d23cca821c3757d6693e0b59eee567e5dfdabc9f8758", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000068'), "application_id"=>BSON::ObjectId('5bb624493541597299000066'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>42, "token"=>"7f58fb92442281c4bd50d23cca821c3757d6693e0b59eee567e5dfdabc9f8758", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d6c482489ac758e9ae396cc374a765c38be11dfe27d722bcaf474190bd00192a", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000069')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000069'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 46", "uid"=>"d6c482489ac758e9ae396cc374a765c38be11dfe27d722bcaf474190bd00192a", "secret"=>"ba37a634ee82620638e165d687c77a5bf28359ff34dec852e5c81368bfec7687", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000069'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 46", "uid"=>"d6c482489ac758e9ae396cc374a765c38be11dfe27d722bcaf474190bd00192a", "secret"=>"ba37a634ee82620638e165d687c77a5bf28359ff34dec852e5c81368bfec7687", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e0aa222226d834144ce199f54f1a6cb2dd8625ad1f394b34946ff9e3b4896cd9", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900006a')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900006a'), "application_id"=>BSON::ObjectId('5bb624493541597299000069'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>100, "token"=>"e0aa222226d834144ce199f54f1a6cb2dd8625ad1f394b34946ff9e3b4896cd9", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900006a'), "application_id"=>BSON::ObjectId('5bb624493541597299000069'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>100, "token"=>"e0aa222226d834144ce199f54f1a6cb2dd8625ad1f394b34946ff9e3b4896cd9", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f6e37f66e6885d378853413b33f4c7226fe9dfa455f349c1a7b2cc5f8272b833", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900006b')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900006b'), "application_id"=>BSON::ObjectId('5bb624493541597299000069'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>100, "token"=>"f6e37f66e6885d378853413b33f4c7226fe9dfa455f349c1a7b2cc5f8272b833", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900006b'), "application_id"=>BSON::ObjectId('5bb624493541597299000069'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>100, "token"=>"f6e37f66e6885d378853413b33f4c7226fe9dfa455f349c1a7b2cc5f8272b833", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b6df23e3253bdb9dcd1294c63f85b0437d67a335595749aa3ef36b468b775d20", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900006d')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900006d'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 47", "uid"=>"b6df23e3253bdb9dcd1294c63f85b0437d67a335595749aa3ef36b468b775d20", "secret"=>"5abb8fa5e3e54ccf97dc681fae9eda7627112daed4797d5468357c2982bda12a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900006d'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 47", "uid"=>"b6df23e3253bdb9dcd1294c63f85b0437d67a335595749aa3ef36b468b775d20", "secret"=>"5abb8fa5e3e54ccf97dc681fae9eda7627112daed4797d5468357c2982bda12a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"79c7a8e8cda289783ce81de09270d65a98172cb332d50fc47b37d74a653bf16e", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900006c')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900006c'), "application_id"=>BSON::ObjectId('5bb62449354159729900006d'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>11, "token"=>"79c7a8e8cda289783ce81de09270d65a98172cb332d50fc47b37d74a653bf16e", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900006c'), "application_id"=>BSON::ObjectId('5bb62449354159729900006d'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>11, "token"=>"79c7a8e8cda289783ce81de09270d65a98172cb332d50fc47b37d74a653bf16e", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4a230c0a71e9254b29984211af4f5cf9e03394daccdafc518c307e4cb59778ec", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900006f')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900006f'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 48", "uid"=>"4a230c0a71e9254b29984211af4f5cf9e03394daccdafc518c307e4cb59778ec", "secret"=>"eb35224fe10ab7d6c4dd31a98659a1b4b362863551f5c54d073e9a161c6f8d32", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900006f'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 48", "uid"=>"4a230c0a71e9254b29984211af4f5cf9e03394daccdafc518c307e4cb59778ec", "secret"=>"eb35224fe10ab7d6c4dd31a98659a1b4b362863551f5c54d073e9a161c6f8d32", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"47fff7d03898abbea8345d8bc38af2defb23769ff1517bc0d3c520f42c1971df", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900006e')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900006e'), "application_id"=>BSON::ObjectId('5bb62449354159729900006f'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>12, "token"=>"47fff7d03898abbea8345d8bc38af2defb23769ff1517bc0d3c520f42c1971df", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900006e'), "application_id"=>BSON::ObjectId('5bb62449354159729900006f'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>12, "token"=>"47fff7d03898abbea8345d8bc38af2defb23769ff1517bc0d3c520f42c1971df", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"79c7a8e8cda289783ce81de09270d65a98172cb332d50fc47b37d74a653bf16e", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900006e')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"363ab83985abf386b5d5657261f8e805579074b5b4eb0707ba616c6151528f38", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000071')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000071'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 49", "uid"=>"363ab83985abf386b5d5657261f8e805579074b5b4eb0707ba616c6151528f38", "secret"=>"635f1f736e4300b612a08dec2dc3025ea4b4baf3de9204b1454b08f5394ed798", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000071'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 49", "uid"=>"363ab83985abf386b5d5657261f8e805579074b5b4eb0707ba616c6151528f38", "secret"=>"635f1f736e4300b612a08dec2dc3025ea4b4baf3de9204b1454b08f5394ed798", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"b6ed24b336f709ae418a3c7d725f093dd73d0cdd58097894ced08c90be543b57", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000070')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0e7e531c54ca0959e86408aeecab652c1fb7761544698bf3693b7242d540825b", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000073')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000073'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 50", "uid"=>"0e7e531c54ca0959e86408aeecab652c1fb7761544698bf3693b7242d540825b", "secret"=>"400377dcab676045f57fb1b94e454e2fc72bb7d19abf4dc3cc7478adf4c8ebc2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000073'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 50", "uid"=>"0e7e531c54ca0959e86408aeecab652c1fb7761544698bf3693b7242d540825b", "secret"=>"400377dcab676045f57fb1b94e454e2fc72bb7d19abf4dc3cc7478adf4c8ebc2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"a0d72f70d5adb2b2fdb8a78abd710cbfc79b514298e3160979deb40ab6d6ee63", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000072')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000072'), "application_id"=>BSON::ObjectId('5bb624493541597299000073'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>14, "token"=>"a0d72f70d5adb2b2fdb8a78abd710cbfc79b514298e3160979deb40ab6d6ee63", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000072'), "application_id"=>BSON::ObjectId('5bb624493541597299000073'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>14, "token"=>"a0d72f70d5adb2b2fdb8a78abd710cbfc79b514298e3160979deb40ab6d6ee63", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"778c36f7541ecb1cf268779baf3d40a93af0e794740d2c4ece5f3296924cc8bc", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000075')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000075'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 51", "uid"=>"778c36f7541ecb1cf268779baf3d40a93af0e794740d2c4ece5f3296924cc8bc", "secret"=>"46bc4025442fc1e7de5209b0c547af13204500c540d77c56756d5843572efb24", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000075'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 51", "uid"=>"778c36f7541ecb1cf268779baf3d40a93af0e794740d2c4ece5f3296924cc8bc", "secret"=>"46bc4025442fc1e7de5209b0c547af13204500c540d77c56756d5843572efb24", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"47fe38f93bf353c468589fdeae8d9b4e93b651ad35e805633f394559505a7c81", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000074')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000074'), "application_id"=>BSON::ObjectId('5bb624493541597299000075'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>15, "token"=>"47fe38f93bf353c468589fdeae8d9b4e93b651ad35e805633f394559505a7c81", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000074'), "application_id"=>BSON::ObjectId('5bb624493541597299000075'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>15, "token"=>"47fe38f93bf353c468589fdeae8d9b4e93b651ad35e805633f394559505a7c81", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"a0d72f70d5adb2b2fdb8a78abd710cbfc79b514298e3160979deb40ab6d6ee63", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000074')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"551b18e49f08dd171845492e8c221da0e8a52f69a24874ade16f52cf35c2df72", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000077')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000077'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 52", "uid"=>"551b18e49f08dd171845492e8c221da0e8a52f69a24874ade16f52cf35c2df72", "secret"=>"638827ed364e582f10a2aecde96a6dce1928e95a3400c15f28fb6efeb681e71a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000077'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 52", "uid"=>"551b18e49f08dd171845492e8c221da0e8a52f69a24874ade16f52cf35c2df72", "secret"=>"638827ed364e582f10a2aecde96a6dce1928e95a3400c15f28fb6efeb681e71a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"custom_generator_token_16", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000076')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000076'), "application_id"=>BSON::ObjectId('5bb624493541597299000077'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>16, "token"=>"custom_generator_token_16", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000076'), "application_id"=>BSON::ObjectId('5bb624493541597299000077'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>16, "token"=>"custom_generator_token_16", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"cf2b9eab66c72fdfb74c08963602e2c3be023721d970b0d31f8097a2505f56c4", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000079')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000079'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 53", "uid"=>"cf2b9eab66c72fdfb74c08963602e2c3be023721d970b0d31f8097a2505f56c4", "secret"=>"440e2d8025df99bb187153852394063fdf45c90b822b76a3327531cec5259a5c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000079'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 53", "uid"=>"cf2b9eab66c72fdfb74c08963602e2c3be023721d970b0d31f8097a2505f56c4", "secret"=>"440e2d8025df99bb187153852394063fdf45c90b822b76a3327531cec5259a5c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"custom_generator_token_1538663497", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000078')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000078'), "application_id"=>BSON::ObjectId('5bb624493541597299000079'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>17, "token"=>"custom_generator_token_1538663497", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000078'), "application_id"=>BSON::ObjectId('5bb624493541597299000079'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>17, "token"=>"custom_generator_token_1538663497", "expires_in"=>7200}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1d3d80592b549c1adbf74ec571c4dcfab0875bc97ccee95a6e52a789c83f4cc9", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900007b')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900007b'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 54", "uid"=>"1d3d80592b549c1adbf74ec571c4dcfab0875bc97ccee95a6e52a789c83f4cc9", "secret"=>"12c99b25a4d9800b34b7885886d36f1c81df566e6e8d36d2d58bdbad5e592562", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900007b'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 54", "uid"=>"1d3d80592b549c1adbf74ec571c4dcfab0875bc97ccee95a6e52a789c83f4cc9", "secret"=>"12c99b25a4d9800b34b7885886d36f1c81df566e6e8d36d2d58bdbad5e592562", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"custom_generator_token_7200", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900007a')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900007a'), "application_id"=>BSON::ObjectId('5bb62449354159729900007b'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>18, "token"=>"custom_generator_token_7200", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900007a'), "application_id"=>BSON::ObjectId('5bb62449354159729900007b'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>18, "token"=>"custom_generator_token_7200", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"00e688540fa7255db997c4ab8c787fb3449b5210c22e18166acae949096e8d64", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900007d')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900007d'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 55", "uid"=>"00e688540fa7255db997c4ab8c787fb3449b5210c22e18166acae949096e8d64", "secret"=>"85261bd65f70b4ce2bf9f810cd1829c055d54c0d56f29cd5f3f926658e7abcd3", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900007d'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 55", "uid"=>"00e688540fa7255db997c4ab8c787fb3449b5210c22e18166acae949096e8d64", "secret"=>"85261bd65f70b4ce2bf9f810cd1829c055d54c0d56f29cd5f3f926658e7abcd3", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"442d5511e55d2f071888f736b97788e6da8cab8201e5d257db4c8de47897dd9e", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900007f')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900007f'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 56", "uid"=>"442d5511e55d2f071888f736b97788e6da8cab8201e5d257db4c8de47897dd9e", "secret"=>"11adfa65e0a86ef5559eb2aa02906a43d11fa03fcdd25448dc2a183b445312ba", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900007f'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 56", "uid"=>"442d5511e55d2f071888f736b97788e6da8cab8201e5d257db4c8de47897dd9e", "secret"=>"11adfa65e0a86ef5559eb2aa02906a43d11fa03fcdd25448dc2a183b445312ba", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"4e02188301ded529b7580888c6de1a296ec6c4f2f99916fd01b63e13dcea43d1", :_id=>{:$ne=>BSON::ObjectId('5bb62449354159729900007e')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62449354159729900007e'), "application_id"=>BSON::ObjectId('5bb62449354159729900007f'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>20, "token"=>"4e02188301ded529b7580888c6de1a296ec6c4f2f99916fd01b63e13dcea43d1", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62449354159729900007e'), "application_id"=>BSON::ObjectId('5bb62449354159729900007f'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>20, "token"=>"4e02188301ded529b7580888c6de1a296ec6c4f2f99916fd01b63e13dcea43d1", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"cc0e67e28c0f90e8d600ad06f6fa449ba01083f4135cd343c1ec1bd086e420fc", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000081')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000081'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 57", "uid"=>"cc0e67e28c0f90e8d600ad06f6fa449ba01083f4135cd343c1ec1bd086e420fc", "secret"=>"7a5cd04f9b4a194a4f7c3b8ea2e41e87dfb5abbe63a733e4fc797bfa0d00c892", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000081'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "name"=>"Application 57", "uid"=>"cc0e67e28c0f90e8d600ad06f6fa449ba01083f4135cd343c1ec1bd086e420fc", "secret"=>"7a5cd04f9b4a194a4f7c3b8ea2e41e87dfb5abbe63a733e4fc797bfa0d00c892", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"4b08cc90913fe0671812018ce95e661ae31dcd5ff0eb658105395cf22dfdc4c6", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000080')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000080'), "application_id"=>BSON::ObjectId('5bb624493541597299000081'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>21, "token"=>"4b08cc90913fe0671812018ce95e661ae31dcd5ff0eb658105395cf22dfdc4c6", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000080'), "application_id"=>BSON::ObjectId('5bb624493541597299000081'), "created_at"=>2018-10-04 14:31:37 UTC, "updated_at"=>2018-10-04 14:31:37 UTC, "resource_owner_id"=>21, "token"=>"4b08cc90913fe0671812018ce95e661ae31dcd5ff0eb658105395cf22dfdc4c6", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1cf04e959c8381703c56c83a9c11f19ba712a54bfaeb220a358b6674ca9e1201", :_id=>{:$ne=>BSON::ObjectId('5bb624493541597299000083')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624493541597299000083'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 58", "uid"=>"1cf04e959c8381703c56c83a9c11f19ba712a54bfaeb220a358b6674ca9e1201", "secret"=>"916ad605a2d00d62431692218a21476869b18005cf1f29aaba644e46181b22ac", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624493541597299000083'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 58", "uid"=>"1cf04e959c8381703c56c83a9c11f19ba712a54bfaeb220a358b6674ca9e1201", "secret"=>"916ad605a2d00d62431692218a21476869b18005cf1f29aaba644e46181b22ac", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ee4c80ce1033cb70efa0100c91e7168e8d5f98a85c216d33216f7bbb66adaf5f", :_id=>{:$ne=>BSON::ObjectId('5bb6244a3541597299000085')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a3541597299000085'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 59", "uid"=>"ee4c80ce1033cb70efa0100c91e7168e8d5f98a85c216d33216f7bbb66adaf5f", "secret"=>"2b12f8341f7573aec71f3ad01653296a32beb82d7b68d9a594f1276748708332", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244a3541597299000085'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 59", "uid"=>"ee4c80ce1033cb70efa0100c91e7168e8d5f98a85c216d33216f7bbb66adaf5f", "secret"=>"2b12f8341f7573aec71f3ad01653296a32beb82d7b68d9a594f1276748708332", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"custom_generator_token_Application 59", :_id=>{:$ne=>BSON::ObjectId('5bb6244a3541597299000084')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a3541597299000084'), "application_id"=>BSON::ObjectId('5bb6244a3541597299000085'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>23, "token"=>"custom_generator_token_Application 59", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244a3541597299000084'), "application_id"=>BSON::ObjectId('5bb6244a3541597299000085'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>23, "token"=>"custom_generator_token_Application 59", "expires_in"=>7200}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"dab7458b49b7b4e06f3ddfbb3f295e09c0f2578db5cea6353ee8e97382fe66cd", :_id=>{:$ne=>BSON::ObjectId('5bb6244a3541597299000087')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a3541597299000087'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 60", "uid"=>"dab7458b49b7b4e06f3ddfbb3f295e09c0f2578db5cea6353ee8e97382fe66cd", "secret"=>"99cdf95115d202a4c084c3b3a3abcf78f92e42b51b23fe5c43260e9ec8150c20", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244a3541597299000087'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 60", "uid"=>"dab7458b49b7b4e06f3ddfbb3f295e09c0f2578db5cea6353ee8e97382fe66cd", "secret"=>"99cdf95115d202a4c084c3b3a3abcf78f92e42b51b23fe5c43260e9ec8150c20", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"custom_generator_token_2_public write", :_id=>{:$ne=>BSON::ObjectId('5bb6244a3541597299000086')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a3541597299000086'), "application_id"=>BSON::ObjectId('5bb6244a3541597299000087'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>24, "token"=>"custom_generator_token_2_public write", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244a3541597299000086'), "application_id"=>BSON::ObjectId('5bb6244a3541597299000087'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>24, "token"=>"custom_generator_token_2_public write", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e31ab1b4875d191120f6fd15ab63e0c51692a92d866c781d172c71a54ec2d148", :_id=>{:$ne=>BSON::ObjectId('5bb6244a3541597299000089')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a3541597299000089'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 61", "uid"=>"e31ab1b4875d191120f6fd15ab63e0c51692a92d866c781d172c71a54ec2d148", "secret"=>"d39675ae70c100b5d578198b6b1aa3e366f18458f343c1f38f9d0d86c4ec9ee9", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244a3541597299000089'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 61", "uid"=>"e31ab1b4875d191120f6fd15ab63e0c51692a92d866c781d172c71a54ec2d148", "secret"=>"d39675ae70c100b5d578198b6b1aa3e366f18458f343c1f38f9d0d86c4ec9ee9", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"405f1f1f4c2249c37679f82ab8ac63e3a98c076658fc1454a95a30f461ef6530", :_id=>{:$ne=>BSON::ObjectId('5bb6244a354159729900008b')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a354159729900008b'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 62", "uid"=>"405f1f1f4c2249c37679f82ab8ac63e3a98c076658fc1454a95a30f461ef6530", "secret"=>"6aab4bdf3f914c59d1ab1184d8874237e86b9183439327bc489d6edb4caf2333", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244a354159729900008b'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 62", "uid"=>"405f1f1f4c2249c37679f82ab8ac63e3a98c076658fc1454a95a30f461ef6530", "secret"=>"6aab4bdf3f914c59d1ab1184d8874237e86b9183439327bc489d6edb4caf2333", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"0d1730381c5978345e8f5dfd47a18b8b99a5c68ce3873afc34d60d424c49cc18", :_id=>{:$ne=>BSON::ObjectId('5bb6244a354159729900008a')}}, {:_id=>1}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a354159729900008a'), "application_id"=>BSON::ObjectId('5bb6244a354159729900008b'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>26, "token"=>"0d1730381c5978345e8f5dfd47a18b8b99a5c68ce3873afc34d60d424c49cc18", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244a354159729900008a'), "application_id"=>BSON::ObjectId('5bb6244a354159729900008b'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>26, "token"=>"0d1730381c5978345e8f5dfd47a18b8b99a5c68ce3873afc34d60d424c49cc18", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244a354159729900008a')}, :u=>{"_id"=>BSON::ObjectId('5bb6244a354159729900008a'), "application_id"=>BSON::ObjectId('5bb6244a354159729900008b'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>26, "token"=>"0d1730381c5978345e8f5dfd47a18b8b99a5c68ce3873afc34d60d424c49cc18", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244a354159729900008a')}, {"_id"=>BSON::ObjectId('5bb6244a354159729900008a'), "application_id"=>BSON::ObjectId('5bb6244a354159729900008b'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>26, "token"=>"0d1730381c5978345e8f5dfd47a18b8b99a5c68ce3873afc34d60d424c49cc18", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"dfe0c955d0659f358a1f762ccf2605a12223707ee53c27cb4d81114a238df3ba", :_id=>{:$ne=>BSON::ObjectId('5bb6244a354159729900008d')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a354159729900008d'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 63", "uid"=>"dfe0c955d0659f358a1f762ccf2605a12223707ee53c27cb4d81114a238df3ba", "secret"=>"106bf14bbd2c333b5510c74d6e9e66c05ce6ccfa734a28ff1d134477f94fe316", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244a354159729900008d'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 63", "uid"=>"dfe0c955d0659f358a1f762ccf2605a12223707ee53c27cb4d81114a238df3ba", "secret"=>"106bf14bbd2c333b5510c74d6e9e66c05ce6ccfa734a28ff1d134477f94fe316", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"096ea9af9726987925567eabbfb1bd852301e663ee54d7e5d90b2215b4060b92", :_id=>{:$ne=>BSON::ObjectId('5bb6244a354159729900008c')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a354159729900008c'), "application_id"=>BSON::ObjectId('5bb6244a354159729900008d'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>27, "token"=>"096ea9af9726987925567eabbfb1bd852301e663ee54d7e5d90b2215b4060b92", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244a354159729900008c'), "application_id"=>BSON::ObjectId('5bb6244a354159729900008d'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>27, "token"=>"096ea9af9726987925567eabbfb1bd852301e663ee54d7e5d90b2215b4060b92", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"de4659155cefbd9ee22986d300478ddbb8aeed23377f2ea621095d4facb876eb", :_id=>{:$ne=>BSON::ObjectId('5bb6244a354159729900008f')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a354159729900008f'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 64", "uid"=>"de4659155cefbd9ee22986d300478ddbb8aeed23377f2ea621095d4facb876eb", "secret"=>"eb2b3c7362da1cd83dd3c9efc42b9dfc46b20e446405626287ed965db3d4dc1a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244a354159729900008f'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 64", "uid"=>"de4659155cefbd9ee22986d300478ddbb8aeed23377f2ea621095d4facb876eb", "secret"=>"eb2b3c7362da1cd83dd3c9efc42b9dfc46b20e446405626287ed965db3d4dc1a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"9d056c1de0b522a82af6427e91b2bf73ba500836e8843e45582994345b0ad576", :_id=>{:$ne=>BSON::ObjectId('5bb6244a354159729900008e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f6138c68bb3d4d2c845ddc9104dd163870f3ece7fba5e23f582d7c3f1829ed52", :_id=>{:$ne=>BSON::ObjectId('5bb6244a3541597299000091')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a3541597299000091'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 65", "uid"=>"f6138c68bb3d4d2c845ddc9104dd163870f3ece7fba5e23f582d7c3f1829ed52", "secret"=>"fe6b184e5db520761f2dd212f26a1f5d86fabe76e7a27e38a836073354729ccf", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244a3541597299000091'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 65", "uid"=>"f6138c68bb3d4d2c845ddc9104dd163870f3ece7fba5e23f582d7c3f1829ed52", "secret"=>"fe6b184e5db520761f2dd212f26a1f5d86fabe76e7a27e38a836073354729ccf", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e11a9849a0558a22b9879773c71442bfea84d1de8d37bbd16df662751ba589ac", :_id=>{:$ne=>BSON::ObjectId('5bb6244a3541597299000090')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"28ac44c71dca35b233e7ce579312b869ff7b9af50182c39201c07efa12b05f6b", :_id=>{:$ne=>BSON::ObjectId('5bb6244a3541597299000093')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a3541597299000093'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 66", "uid"=>"28ac44c71dca35b233e7ce579312b869ff7b9af50182c39201c07efa12b05f6b", "secret"=>"bf947093d55914f400aca1d64a5367bb87c96e924e65236ced69a962568be8d2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244a3541597299000093'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 66", "uid"=>"28ac44c71dca35b233e7ce579312b869ff7b9af50182c39201c07efa12b05f6b", "secret"=>"bf947093d55914f400aca1d64a5367bb87c96e924e65236ced69a962568be8d2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"914bfef7e0cfddf33fa3eeccff8cf30cbd9dbc1c4c972e13bf5d81a5a1cb9a2e", :_id=>{:$ne=>BSON::ObjectId('5bb6244a3541597299000095')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a3541597299000095'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 67", "uid"=>"914bfef7e0cfddf33fa3eeccff8cf30cbd9dbc1c4c972e13bf5d81a5a1cb9a2e", "secret"=>"08267000e9d276bf0f23ba68f957324a09392c79cad96822bdb71a488e73acfd", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244a3541597299000095'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 67", "uid"=>"914bfef7e0cfddf33fa3eeccff8cf30cbd9dbc1c4c972e13bf5d81a5a1cb9a2e", "secret"=>"08267000e9d276bf0f23ba68f957324a09392c79cad96822bdb71a488e73acfd", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokenInfoController#show as HTML MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d427e183a3e956c4d06d1eae4db26adbf3a3871177f4fc24e788aad2970ab94a", :_id=>{:$ne=>BSON::ObjectId('5bb6244a3541597299000097')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a3541597299000097'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 68", "uid"=>"d427e183a3e956c4d06d1eae4db26adbf3a3871177f4fc24e788aad2970ab94a", "secret"=>"61622d03926138fe66ebe250ca94d0dc8b34aadb7a0ba79d34bd99665f749aa3", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244a3541597299000097'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 68", "uid"=>"d427e183a3e956c4d06d1eae4db26adbf3a3871177f4fc24e788aad2970ab94a", "secret"=>"61622d03926138fe66ebe250ca94d0dc8b34aadb7a0ba79d34bd99665f749aa3", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"2e70a3fc0be9f2225a0a505886f33c0b7c45d785e9d6102e4cf3c4ef4d36123f", :_id=>{:$ne=>BSON::ObjectId('5bb6244a3541597299000096')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a3541597299000096'), "application_id"=>BSON::ObjectId('5bb6244a3541597299000097'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>32, "token"=>"2e70a3fc0be9f2225a0a505886f33c0b7c45d785e9d6102e4cf3c4ef4d36123f", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244a3541597299000096'), "application_id"=>BSON::ObjectId('5bb6244a3541597299000097'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>32, "token"=>"2e70a3fc0be9f2225a0a505886f33c0b7c45d785e9d6102e4cf3c4ef4d36123f", "expires_in"=>7200}) Completed 200 OK in 6ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokenInfoController#show as HTML MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"35d1d2265a52aa1ee55d9b52c5d917b5ecd73d8b069ffd2e677d5a003d015708", :_id=>{:$ne=>BSON::ObjectId('5bb6244a3541597299000099')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a3541597299000099'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 69", "uid"=>"35d1d2265a52aa1ee55d9b52c5d917b5ecd73d8b069ffd2e677d5a003d015708", "secret"=>"a8a967b6e7978bf156b902389a98207c801dd6a5feee496ccf8597d3b6178719", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244a3541597299000099'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 69", "uid"=>"35d1d2265a52aa1ee55d9b52c5d917b5ecd73d8b069ffd2e677d5a003d015708", "secret"=>"a8a967b6e7978bf156b902389a98207c801dd6a5feee496ccf8597d3b6178719", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"8ab08127e1841ff49ed3da0dfd04ece78ee9343386e3b16253a41dc28ec20988", :_id=>{:$ne=>BSON::ObjectId('5bb6244a3541597299000098')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a3541597299000098'), "application_id"=>BSON::ObjectId('5bb6244a3541597299000099'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>33, "token"=>"8ab08127e1841ff49ed3da0dfd04ece78ee9343386e3b16253a41dc28ec20988", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244a3541597299000098'), "application_id"=>BSON::ObjectId('5bb6244a3541597299000099'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>33, "token"=>"8ab08127e1841ff49ed3da0dfd04ece78ee9343386e3b16253a41dc28ec20988", "expires_in"=>7200}) Completed 200 OK in 7ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokenInfoController#show as HTML Completed 401 Unauthorized in 0ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3809a17fec9f1a781fe08620ebe572d11a7df30cd28acc525f423226f2f45e05", :_id=>{:$ne=>BSON::ObjectId('5bb6244a354159729900009b')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a354159729900009b'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 70", "uid"=>"3809a17fec9f1a781fe08620ebe572d11a7df30cd28acc525f423226f2f45e05", "secret"=>"1051a785fb13b6e12e831c7deeacacf3e40c765c812d71fd254329fca82a729c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244a354159729900009b'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 70", "uid"=>"3809a17fec9f1a781fe08620ebe572d11a7df30cd28acc525f423226f2f45e05", "secret"=>"1051a785fb13b6e12e831c7deeacacf3e40c765c812d71fd254329fca82a729c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"0587c1ab35886a959ad37b3470db4c647136571bceec40ace9d5d191cf0a6a81", :_id=>{:$ne=>BSON::ObjectId('5bb6244a354159729900009a')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a354159729900009a'), "application_id"=>BSON::ObjectId('5bb6244a354159729900009b'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>34, "token"=>"0587c1ab35886a959ad37b3470db4c647136571bceec40ace9d5d191cf0a6a81", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244a354159729900009a'), "application_id"=>BSON::ObjectId('5bb6244a354159729900009b'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>34, "token"=>"0587c1ab35886a959ad37b3470db4c647136571bceec40ace9d5d191cf0a6a81", "expires_in"=>7200}) Processing by Doorkeeper::TokenInfoController#show as HTML Completed 401 Unauthorized in 0ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokenInfoController#show as HTML Completed 401 Unauthorized in 0ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"074f4b3e8d796ce85254c90aad7411ab5e9c9b22ed81323ce7565c62c8314037", :_id=>{:$ne=>BSON::ObjectId('5bb6244a354159729900009c')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a354159729900009c'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 71", "uid"=>"074f4b3e8d796ce85254c90aad7411ab5e9c9b22ed81323ce7565c62c8314037", "secret"=>"582a8f59c8fffa923c77f70ce0bb6c226ea1b7d0a74619d01530e2e6d1bf889b", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244a354159729900009c'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 71", "uid"=>"074f4b3e8d796ce85254c90aad7411ab5e9c9b22ed81323ce7565c62c8314037", "secret"=>"582a8f59c8fffa923c77f70ce0bb6c226ea1b7d0a74619d01530e2e6d1bf889b", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a354159729900009d'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244a354159729900009d'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=074f4b3e8d796ce85254c90aad7411ab5e9c9b22ed81323ce7565c62c8314037&response_type=token" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"074f4b3e8d796ce85254c90aad7411ab5e9c9b22ed81323ce7565c62c8314037", "response_type"=>"token"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"074f4b3e8d796ce85254c90aad7411ab5e9c9b22ed81323ce7565c62c8314037"}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/error.html.erb within layouts/doorkeeper/application (0.6ms) Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"bc7dce7e73c468f79edc8800ba2c9848f844a80e64c95504789701c59539efde", :_id=>{:$ne=>BSON::ObjectId('5bb6244a354159729900009e')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a354159729900009e'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 72", "uid"=>"bc7dce7e73c468f79edc8800ba2c9848f844a80e64c95504789701c59539efde", "secret"=>"ead3e4e854e3fce0e6a6a58f96d8f6958963099e42e9359ca5d5e9bc40f11240", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244a354159729900009e'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 72", "uid"=>"bc7dce7e73c468f79edc8800ba2c9848f844a80e64c95504789701c59539efde", "secret"=>"ead3e4e854e3fce0e6a6a58f96d8f6958963099e42e9359ca5d5e9bc40f11240", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a354159729900009f'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244a354159729900009f'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=bc7dce7e73c468f79edc8800ba2c9848f844a80e64c95504789701c59539efde&redirect_uri=invalid&response_type=token" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"bc7dce7e73c468f79edc8800ba2c9848f844a80e64c95504789701c59539efde", "redirect_uri"=>"invalid", "response_type"=>"token"} MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"bc7dce7e73c468f79edc8800ba2c9848f844a80e64c95504789701c59539efde"}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/error.html.erb within layouts/doorkeeper/application (0.3ms) Completed 200 OK in 6ms (Views: 2.1ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b901852d9a8639bb49018fa98912473a1823b204dd183d6cb75350b728d21aa6", :_id=>{:$ne=>BSON::ObjectId('5bb6244a35415972990000a0')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000a0'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 73", "uid"=>"b901852d9a8639bb49018fa98912473a1823b204dd183d6cb75350b728d21aa6", "secret"=>"fb4aaf8e12a4560783ba6fe0f15ddfff0d811a8376aba95dd5ceceab00ab576c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000a0'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 73", "uid"=>"b901852d9a8639bb49018fa98912473a1823b204dd183d6cb75350b728d21aa6", "secret"=>"fb4aaf8e12a4560783ba6fe0f15ddfff0d811a8376aba95dd5ceceab00ab576c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000a1'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000a1'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=invalid&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=token" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"invalid", "redirect_uri"=>"https://app.com/callback", "response_type"=>"token"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"invalid"}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/error.html.erb within layouts/doorkeeper/application (0.2ms) Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4dfaf0431f6d9cc90b1ce9b6cc94582c806ec6d662f44f4a3ea77e161c38562a", :_id=>{:$ne=>BSON::ObjectId('5bb6244a35415972990000a2')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000a2'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 74", "uid"=>"4dfaf0431f6d9cc90b1ce9b6cc94582c806ec6d662f44f4a3ea77e161c38562a", "secret"=>"bcbd9d0a87ebc5c4f089c9ff588ef66bc76f2b23f2ccae0b3b833f2b0c34a1a4", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000a2'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 74", "uid"=>"4dfaf0431f6d9cc90b1ce9b6cc94582c806ec6d662f44f4a3ea77e161c38562a", "secret"=>"bcbd9d0a87ebc5c4f089c9ff588ef66bc76f2b23f2ccae0b3b833f2b0c34a1a4", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000a3'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000a3'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=token" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"redirect_uri"=>"https://app.com/callback", "response_type"=>"token"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>""}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/error.html.erb within layouts/doorkeeper/application (0.2ms) Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Rendered text template (0.0ms) Filter chain halted as # rendered or redirected Completed 403 Forbidden in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Filter chain halted as # rendered or redirected Completed 403 Forbidden in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Filter chain halted as # rendered or redirected Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Rendered text template (0.0ms) Filter chain halted as # rendered or redirected Completed 404 Not Found in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"bearer_token"=>"1A2BC3"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Filter chain halted as :doorkeeper_authorize! rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) Processing by AnonymousController#index as HTML Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Rendered text template (0.0ms) Filter chain halted as :doorkeeper_authorize! rendered or redirected Completed 401 Unauthorized in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Filter chain halted as :doorkeeper_authorize! rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Filter chain halted as # rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#show as HTML Parameters: {"access_token"=>"[FILTERED]", "id"=>"4"} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#show as HTML Parameters: {"access_token"=>"[FILTERED]", "id"=>"4"} Filter chain halted as :doorkeeper_authorize! rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Filter chain halted as :doorkeeper_authorize! rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Started GET "/oauth/applications/new" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by Doorkeeper::ApplicationsController#new as HTML Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_form.html.erb (4.3ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/new.html.erb within layouts/doorkeeper/admin (5.4ms) Completed 200 OK in 7ms (Views: 7.0ms | ActiveRecord: 0.0ms) Started POST "/oauth/applications" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by Doorkeeper::ApplicationsController#create as HTML Parameters: {"utf8"=>"✓", "doorkeeper_application"=>{"name"=>"", "redirect_uri"=>"", "confidential"=>"1", "scopes"=>""}, "commit"=>"Submit"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"71ff3fa4ad6b307309bb1f25e1ac61e70d14d44c511bb7bc21427cc3d4445d45", :_id=>{:$ne=>BSON::ObjectId('5bb6244a35415972990000a5')}}, {:_id=>1}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_form.html.erb (2.0ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/new.html.erb within layouts/doorkeeper/admin (2.2ms) Completed 200 OK in 6ms (Views: 3.3ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Started GET "/oauth/applications/new" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by Doorkeeper::ApplicationsController#new as HTML Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_form.html.erb (2.0ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/new.html.erb within layouts/doorkeeper/admin (2.3ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) Started POST "/oauth/applications" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by Doorkeeper::ApplicationsController#create as HTML Parameters: {"utf8"=>"✓", "doorkeeper_application"=>{"name"=>"My Application", "redirect_uri"=>"https://example.com", "confidential"=>"1", "scopes"=>""}, "commit"=>"Submit"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c81dc4e6dbb0ea32639edf88997a41cc49149cc28d1ab2e70438824779f21dcc", :_id=>{:$ne=>BSON::ObjectId('5bb6244a35415972990000a7')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000a7'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"My Application", "uid"=>"c81dc4e6dbb0ea32639edf88997a41cc49149cc28d1ab2e70438824779f21dcc", "secret"=>"c003e50a2b0f78855e7a1bdd48cf72d5f0dde976581a503c71382bff0f982551", "redirect_uri"=>"https://example.com", "confidential"=>true, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000a7'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"My Application", "uid"=>"c81dc4e6dbb0ea32639edf88997a41cc49149cc28d1ab2e70438824779f21dcc", "secret"=>"c003e50a2b0f78855e7a1bdd48cf72d5f0dde976581a503c71382bff0f982551", "redirect_uri"=>"https://example.com", "confidential"=>true, "scopes"=>""}) Redirected to http://www.example.com/oauth/applications/5bb6244a35415972990000a7 Completed 302 Found in 3ms (ActiveRecord: 0.0ms) Started GET "/oauth/applications/5bb6244a35415972990000a7" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by Doorkeeper::ApplicationsController#show as HTML Parameters: {"id"=>"5bb6244a35415972990000a7"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244a35415972990000a7')}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (0.8ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/show.html.erb within layouts/doorkeeper/admin (3.5ms) Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.0ms) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d958416db5c9f21955401234a6bf147887355a440a81d4dcc2ae74acb4287981", :_id=>{:$ne=>BSON::ObjectId('5bb6244a35415972990000a8')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000a8'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 75", "uid"=>"d958416db5c9f21955401234a6bf147887355a440a81d4dcc2ae74acb4287981", "secret"=>"2e067df732e0df2ecc05a9ca3fa7d384eaa66b1e05432082a3277e444c9e18da", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000a8'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 75", "uid"=>"d958416db5c9f21955401234a6bf147887355a440a81d4dcc2ae74acb4287981", "secret"=>"2e067df732e0df2ecc05a9ca3fa7d384eaa66b1e05432082a3277e444c9e18da", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000a9'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000a9'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"43265455e4cb4d31297c975b978d6501b35387d5607e804bcefe17c2a26e86e7", :_id=>{:$ne=>BSON::ObjectId('5bb6244a35415972990000aa')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000aa'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000a8'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000a9'), "token"=>"43265455e4cb4d31297c975b978d6501b35387d5607e804bcefe17c2a26e86e7", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000aa'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000a8'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000a9'), "token"=>"43265455e4cb4d31297c975b978d6501b35387d5607e804bcefe17c2a26e86e7", "expires_in"=>7200}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"43265455e4cb4d31297c975b978d6501b35387d5607e804bcefe17c2a26e86e7"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244a35415972990000aa')}, :u=>{"_id"=>BSON::ObjectId('5bb6244a35415972990000aa'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000a8'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000a9'), "token"=>"43265455e4cb4d31297c975b978d6501b35387d5607e804bcefe17c2a26e86e7", "previous_refresh_token"=>"", "expires_in"=>7200}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244a35415972990000aa')}, {"_id"=>BSON::ObjectId('5bb6244a35415972990000aa'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000a8'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000a9'), "token"=>"43265455e4cb4d31297c975b978d6501b35387d5607e804bcefe17c2a26e86e7", "previous_refresh_token"=>"", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"81c1d42c2955c72b6f990c20e3458187f7a5e94627424bc4f3a69c8de012dedc", :_id=>{:$ne=>BSON::ObjectId('5bb6244a35415972990000ab')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000ab'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 76", "uid"=>"81c1d42c2955c72b6f990c20e3458187f7a5e94627424bc4f3a69c8de012dedc", "secret"=>"9d96a44cc5011e36f030cd4143e0d758304eebd40cd4738b382ba2a401b71c0e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000ab'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 76", "uid"=>"81c1d42c2955c72b6f990c20e3458187f7a5e94627424bc4f3a69c8de012dedc", "secret"=>"9d96a44cc5011e36f030cd4143e0d758304eebd40cd4738b382ba2a401b71c0e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000ac'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000ac'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"823162375de101ff63aefbf53cf946422e0a0533642984dedd20961aa2e0e155", :_id=>{:$ne=>BSON::ObjectId('5bb6244a35415972990000ad')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000ad'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000ab'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000ac'), "token"=>"823162375de101ff63aefbf53cf946422e0a0533642984dedd20961aa2e0e155", "expires_in"=>7200, "scopes"=>"read write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000ad'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000ab'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000ac'), "token"=>"823162375de101ff63aefbf53cf946422e0a0533642984dedd20961aa2e0e155", "expires_in"=>7200, "scopes"=>"read write"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"823162375de101ff63aefbf53cf946422e0a0533642984dedd20961aa2e0e155"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244a35415972990000ad')}, :u=>{"_id"=>BSON::ObjectId('5bb6244a35415972990000ad'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000ab'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000ac'), "token"=>"823162375de101ff63aefbf53cf946422e0a0533642984dedd20961aa2e0e155", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"read write"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244a35415972990000ad')}, {"_id"=>BSON::ObjectId('5bb6244a35415972990000ad'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000ab'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000ac'), "token"=>"823162375de101ff63aefbf53cf946422e0a0533642984dedd20961aa2e0e155", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"read write"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a613e63683efbdd97677afa359302c0dcefc9bb65cf03bc9cb0118ec2b8fc1ec", :_id=>{:$ne=>BSON::ObjectId('5bb6244a35415972990000ae')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000ae'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 77", "uid"=>"a613e63683efbdd97677afa359302c0dcefc9bb65cf03bc9cb0118ec2b8fc1ec", "secret"=>"06430d62a7da52785fa4b49a8f32cf541fef0c5ea6fc67a1dce2f6d0cf4bf33d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000ae'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 77", "uid"=>"a613e63683efbdd97677afa359302c0dcefc9bb65cf03bc9cb0118ec2b8fc1ec", "secret"=>"06430d62a7da52785fa4b49a8f32cf541fef0c5ea6fc67a1dce2f6d0cf4bf33d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000af'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000af'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"02291ab4bbf89f77f5d4b14654515c196cd4ae38896c5135023b5e374ca120cb", :_id=>{:$ne=>BSON::ObjectId('5bb6244a35415972990000b0')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000b0'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000ae'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000af'), "token"=>"02291ab4bbf89f77f5d4b14654515c196cd4ae38896c5135023b5e374ca120cb", "expires_in"=>7200, "scopes"=>"admin"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000b0'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000ae'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000af'), "token"=>"02291ab4bbf89f77f5d4b14654515c196cd4ae38896c5135023b5e374ca120cb", "expires_in"=>7200, "scopes"=>"admin"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"02291ab4bbf89f77f5d4b14654515c196cd4ae38896c5135023b5e374ca120cb"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244a35415972990000b0')}, :u=>{"_id"=>BSON::ObjectId('5bb6244a35415972990000b0'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000ae'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000af'), "token"=>"02291ab4bbf89f77f5d4b14654515c196cd4ae38896c5135023b5e374ca120cb", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"admin"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244a35415972990000b0')}, {"_id"=>BSON::ObjectId('5bb6244a35415972990000b0'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000ae'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000af'), "token"=>"02291ab4bbf89f77f5d4b14654515c196cd4ae38896c5135023b5e374ca120cb", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"admin"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"36d9f8abab2ee0a05aca74a39f9281234a2b70fd6c79bb686508f63b57b1e073", :_id=>{:$ne=>BSON::ObjectId('5bb6244a35415972990000b1')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000b1'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 78", "uid"=>"36d9f8abab2ee0a05aca74a39f9281234a2b70fd6c79bb686508f63b57b1e073", "secret"=>"a75ebef4f701974145a4d5b10080280899970c6d8bcb7a91235c7ee29ddb3b54", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000b1'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 78", "uid"=>"36d9f8abab2ee0a05aca74a39f9281234a2b70fd6c79bb686508f63b57b1e073", "secret"=>"a75ebef4f701974145a4d5b10080280899970c6d8bcb7a91235c7ee29ddb3b54", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000b2'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000b2'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"0a1fa20958130a5bb310c116798eafa8b9032f53af1dbc7d18b0bc9da493c7c0", :_id=>{:$ne=>BSON::ObjectId('5bb6244a35415972990000b3')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000b3'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000b1'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000b2'), "token"=>"0a1fa20958130a5bb310c116798eafa8b9032f53af1dbc7d18b0bc9da493c7c0", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000b3'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000b1'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000b2'), "token"=>"0a1fa20958130a5bb310c116798eafa8b9032f53af1dbc7d18b0bc9da493c7c0", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"0a1fa20958130a5bb310c116798eafa8b9032f53af1dbc7d18b0bc9da493c7c0"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244a35415972990000b3')}, :u=>{"_id"=>BSON::ObjectId('5bb6244a35415972990000b3'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000b1'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000b2'), "token"=>"0a1fa20958130a5bb310c116798eafa8b9032f53af1dbc7d18b0bc9da493c7c0", "previous_refresh_token"=>"", "expires_in"=>7200}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244a35415972990000b3')}, {"_id"=>BSON::ObjectId('5bb6244a35415972990000b3'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000b1'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000b2'), "token"=>"0a1fa20958130a5bb310c116798eafa8b9032f53af1dbc7d18b0bc9da493c7c0", "previous_refresh_token"=>"", "expires_in"=>7200}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1559b124101ceea4d6254f16d971a1aa4e52527c98877b01d66259cadbfa8b57", :_id=>{:$ne=>BSON::ObjectId('5bb6244a35415972990000b4')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000b4'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 79", "uid"=>"1559b124101ceea4d6254f16d971a1aa4e52527c98877b01d66259cadbfa8b57", "secret"=>"69f07ee82c85cb0bbcf9d26bfbc883d6af6ffe2d15dcbab188d426889b4cd65f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000b4'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 79", "uid"=>"1559b124101ceea4d6254f16d971a1aa4e52527c98877b01d66259cadbfa8b57", "secret"=>"69f07ee82c85cb0bbcf9d26bfbc883d6af6ffe2d15dcbab188d426889b4cd65f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000b5'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000b5'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"a661753f37ab3dda29745e8785ac16fd97851677aa031a75011be7fdc1f4a6e1", :_id=>{:$ne=>BSON::ObjectId('5bb6244a35415972990000b6')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000b6'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000b4'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000b5'), "token"=>"a661753f37ab3dda29745e8785ac16fd97851677aa031a75011be7fdc1f4a6e1", "expires_in"=>7200, "scopes"=>"admin"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000b6'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000b4'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000b5'), "token"=>"a661753f37ab3dda29745e8785ac16fd97851677aa031a75011be7fdc1f4a6e1", "expires_in"=>7200, "scopes"=>"admin"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"a661753f37ab3dda29745e8785ac16fd97851677aa031a75011be7fdc1f4a6e1"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244a35415972990000b6')}, :u=>{"_id"=>BSON::ObjectId('5bb6244a35415972990000b6'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000b4'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000b5'), "token"=>"a661753f37ab3dda29745e8785ac16fd97851677aa031a75011be7fdc1f4a6e1", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"admin"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244a35415972990000b6')}, {"_id"=>BSON::ObjectId('5bb6244a35415972990000b6'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000b4'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000b5'), "token"=>"a661753f37ab3dda29745e8785ac16fd97851677aa031a75011be7fdc1f4a6e1", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"admin"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"956fdb4b6874f03119eaef15b51e1629f4f5d8a9cc82fdf5c96602deda582f73", :_id=>{:$ne=>BSON::ObjectId('5bb6244a35415972990000b7')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000b7'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Just another oauth app", "uid"=>"956fdb4b6874f03119eaef15b51e1629f4f5d8a9cc82fdf5c96602deda582f73", "secret"=>"2ac6690219398e6a89d5c0860720e95bd55a242c6c81f38921fc5fabaa55abba", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000b7'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Just another oauth app", "uid"=>"956fdb4b6874f03119eaef15b51e1629f4f5d8a9cc82fdf5c96602deda582f73", "secret"=>"2ac6690219398e6a89d5c0860720e95bd55a242c6c81f38921fc5fabaa55abba", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Started GET "/oauth/applications/5bb6244a35415972990000b7" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by Doorkeeper::ApplicationsController#show as HTML Parameters: {"id"=>"5bb6244a35415972990000b7"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244a35415972990000b7')}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (0.4ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/show.html.erb within layouts/doorkeeper/admin (1.6ms) Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6cd9893fb4d7c7323b6c3c82965255f153f3ce430300aaa8627f9d4266ace32c", :_id=>{:$ne=>BSON::ObjectId('5bb6244a35415972990000b8')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000b8'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 80", "uid"=>"6cd9893fb4d7c7323b6c3c82965255f153f3ce430300aaa8627f9d4266ace32c", "secret"=>"12021a24afd4c6eed481c7283ba639713092c9430502d66580251274630dc89f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000b8'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 80", "uid"=>"6cd9893fb4d7c7323b6c3c82965255f153f3ce430300aaa8627f9d4266ace32c", "secret"=>"12021a24afd4c6eed481c7283ba639713092c9430502d66580251274630dc89f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000b9'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000b9'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=6cd9893fb4d7c7323b6c3c82965255f153f3ce430300aaa8627f9d4266ace32c&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"6cd9893fb4d7c7323b6c3c82965255f153f3ce430300aaa8627f9d4266ace32c", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6cd9893fb4d7c7323b6c3c82965255f153f3ce430300aaa8627f9d4266ace32c"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6244a35415972990000b8'), :resource_owner_id=>BSON::ObjectId('5bb6244a35415972990000b9'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (0.9ms) Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"6cd9893fb4d7c7323b6c3c82965255f153f3ce430300aaa8627f9d4266ace32c", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"", "commit"=>"Authorize"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6cd9893fb4d7c7323b6c3c82965255f153f3ce430300aaa8627f9d4266ace32c"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"d152f293a389a0bb0427541a95f222e88d746a7bcca41c7bcd521947f40e5e33", :_id=>{:$ne=>BSON::ObjectId('5bb6244a35415972990000ba')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000ba'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000b8'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000b9'), "token"=>"d152f293a389a0bb0427541a95f222e88d746a7bcca41c7bcd521947f40e5e33", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000ba'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000b8'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000b9'), "token"=>"d152f293a389a0bb0427541a95f222e88d746a7bcca41c7bcd521947f40e5e33", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=d152f293a389a0bb0427541a95f222e88d746a7bcca41c7bcd521947f40e5e33 Completed 302 Found in 5ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) Started POST "/oauth/token?code=[FILTERED]&client_id=6cd9893fb4d7c7323b6c3c82965255f153f3ce430300aaa8627f9d4266ace32c&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"6cd9893fb4d7c7323b6c3c82965255f153f3ce430300aaa8627f9d4266ace32c", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"d152f293a389a0bb0427541a95f222e88d746a7bcca41c7bcd521947f40e5e33"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6cd9893fb4d7c7323b6c3c82965255f153f3ce430300aaa8627f9d4266ace32c"}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb6244a35415972990000ba')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244a35415972990000ba')}, :u=>{"_id"=>BSON::ObjectId('5bb6244a35415972990000ba'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000b8'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000b9'), "token"=>"d152f293a389a0bb0427541a95f222e88d746a7bcca41c7bcd521947f40e5e33", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb6244a35415972990000ba')}, {"_id"=>BSON::ObjectId('5bb6244a35415972990000ba'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000b8'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000b9'), "token"=>"d152f293a389a0bb0427541a95f222e88d746a7bcca41c7bcd521947f40e5e33", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244a35415972990000b8')}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244a35415972990000b8')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"df3f7addcdc9c1c76c6c47f438f2a9c57ffa1518980edf2aa47fc55372c3ce04", :_id=>{:$ne=>BSON::ObjectId('5bb6244a35415972990000bb')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000bb'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000b8'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000b9'), "token"=>"df3f7addcdc9c1c76c6c47f438f2a9c57ffa1518980edf2aa47fc55372c3ce04", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000bb'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000b8'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000b9'), "token"=>"df3f7addcdc9c1c76c6c47f438f2a9c57ffa1518980edf2aa47fc55372c3ce04", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 8ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244a35415972990000b8')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"dd0f736405397a895880c7f85323856fb957c4ccc60cadc835f5a63dc6b31635", :_id=>{:$ne=>BSON::ObjectId('5bb6244a35415972990000bc')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000bc'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 81", "uid"=>"dd0f736405397a895880c7f85323856fb957c4ccc60cadc835f5a63dc6b31635", "secret"=>"8d9c31c684c1ecd43bd819041f3d09699c5cbd055cac9d6564557efd808bc009", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000bc'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 81", "uid"=>"dd0f736405397a895880c7f85323856fb957c4ccc60cadc835f5a63dc6b31635", "secret"=>"8d9c31c684c1ecd43bd819041f3d09699c5cbd055cac9d6564557efd808bc009", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000bd'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000bd'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"dd0f736405397a895880c7f85323856fb957c4ccc60cadc835f5a63dc6b31635", :_id=>{:$ne=>BSON::ObjectId('5bb6244a35415972990000bc')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244a35415972990000bc')}, :u=>{"_id"=>BSON::ObjectId('5bb6244a35415972990000bc'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 81", "uid"=>"dd0f736405397a895880c7f85323856fb957c4ccc60cadc835f5a63dc6b31635", "secret"=>"8d9c31c684c1ecd43bd819041f3d09699c5cbd055cac9d6564557efd808bc009", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "confidential"=>true}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb6244a35415972990000bc')}, {"_id"=>BSON::ObjectId('5bb6244a35415972990000bc'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 81", "uid"=>"dd0f736405397a895880c7f85323856fb957c4ccc60cadc835f5a63dc6b31635", "secret"=>"8d9c31c684c1ecd43bd819041f3d09699c5cbd055cac9d6564557efd808bc009", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "confidential"=>true}) Started GET "/oauth/authorize?client_id=dd0f736405397a895880c7f85323856fb957c4ccc60cadc835f5a63dc6b31635&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&response_type=code" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"dd0f736405397a895880c7f85323856fb957c4ccc60cadc835f5a63dc6b31635", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "response_type"=>"code"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"dd0f736405397a895880c7f85323856fb957c4ccc60cadc835f5a63dc6b31635"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6244a35415972990000bc'), :resource_owner_id=>BSON::ObjectId('5bb6244a35415972990000bd'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.8ms) Completed 200 OK in 8ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"dd0f736405397a895880c7f85323856fb957c4ccc60cadc835f5a63dc6b31635", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "state"=>"", "response_type"=>"code", "scope"=>"", "commit"=>"Authorize"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"dd0f736405397a895880c7f85323856fb957c4ccc60cadc835f5a63dc6b31635"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"0a31670cd6aa785e52a53d26eb3bb51f0d025033d9e950c4e5a416b40a81f2e3", :_id=>{:$ne=>BSON::ObjectId('5bb6244a35415972990000be')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000be'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000bc'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000bd'), "token"=>"0a31670cd6aa785e52a53d26eb3bb51f0d025033d9e950c4e5a416b40a81f2e3", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000be'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000bc'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000bd'), "token"=>"0a31670cd6aa785e52a53d26eb3bb51f0d025033d9e950c4e5a416b40a81f2e3", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}) Redirected to http://www.example.com/oauth/authorize/native?code=0a31670cd6aa785e52a53d26eb3bb51f0d025033d9e950c4e5a416b40a81f2e3 Completed 302 Found in 5ms (ActiveRecord: 0.0ms) Started GET "/oauth/authorize/native?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by Doorkeeper::AuthorizationsController#show as HTML Parameters: {"code"=>"[FILTERED]"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/show.html.erb within layouts/doorkeeper/application (0.5ms) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244a35415972990000bc')}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ad7996f86e6991e40b632ff68d339837583c48c5992b1a6fd8b44961411dab1e", :_id=>{:$ne=>BSON::ObjectId('5bb6244a35415972990000bf')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000bf'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 82", "uid"=>"ad7996f86e6991e40b632ff68d339837583c48c5992b1a6fd8b44961411dab1e", "secret"=>"1ffba652000a21e89de772f8a42e688160aab1d6da8c0e5294e19494f02b6e77", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000bf'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 82", "uid"=>"ad7996f86e6991e40b632ff68d339837583c48c5992b1a6fd8b44961411dab1e", "secret"=>"1ffba652000a21e89de772f8a42e688160aab1d6da8c0e5294e19494f02b6e77", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000c0'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000c0'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=ad7996f86e6991e40b632ff68d339837583c48c5992b1a6fd8b44961411dab1e&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"ad7996f86e6991e40b632ff68d339837583c48c5992b1a6fd8b44961411dab1e", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ad7996f86e6991e40b632ff68d339837583c48c5992b1a6fd8b44961411dab1e"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6244a35415972990000bf'), :resource_owner_id=>BSON::ObjectId('5bb6244a35415972990000c0'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.0ms) Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"ad7996f86e6991e40b632ff68d339837583c48c5992b1a6fd8b44961411dab1e", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"", "commit"=>"Authorize"} MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ad7996f86e6991e40b632ff68d339837583c48c5992b1a6fd8b44961411dab1e"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"242d99196b35e1378c5d2503f1f60a77ddcade9a03a7cac0d3d86e18931c5543", :_id=>{:$ne=>BSON::ObjectId('5bb6244a35415972990000c1')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000c1'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000bf'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000c0'), "token"=>"242d99196b35e1378c5d2503f1f60a77ddcade9a03a7cac0d3d86e18931c5543", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000c1'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000bf'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000c0'), "token"=>"242d99196b35e1378c5d2503f1f60a77ddcade9a03a7cac0d3d86e18931c5543", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=242d99196b35e1378c5d2503f1f60a77ddcade9a03a7cac0d3d86e18931c5543 Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244a35415972990000bf')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1eceb416dc28af059b35f803ad90d135231d26ef298f7a63945aeb1699f2d359", :_id=>{:$ne=>BSON::ObjectId('5bb6244a35415972990000c2')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000c2'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 83", "uid"=>"1eceb416dc28af059b35f803ad90d135231d26ef298f7a63945aeb1699f2d359", "secret"=>"8ccd49d82625317f70b552ef318fb0287502ebf08570255729a006f691f3ad8f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000c2'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 83", "uid"=>"1eceb416dc28af059b35f803ad90d135231d26ef298f7a63945aeb1699f2d359", "secret"=>"8ccd49d82625317f70b552ef318fb0287502ebf08570255729a006f691f3ad8f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000c3'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000c3'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=1eceb416dc28af059b35f803ad90d135231d26ef298f7a63945aeb1699f2d359&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&state=return-me" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"1eceb416dc28af059b35f803ad90d135231d26ef298f7a63945aeb1699f2d359", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "state"=>"return-me"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1eceb416dc28af059b35f803ad90d135231d26ef298f7a63945aeb1699f2d359"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6244a35415972990000c2'), :resource_owner_id=>BSON::ObjectId('5bb6244a35415972990000c3'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (0.9ms) Completed 200 OK in 6ms (Views: 2.4ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"1eceb416dc28af059b35f803ad90d135231d26ef298f7a63945aeb1699f2d359", "redirect_uri"=>"https://app.com/callback", "state"=>"return-me", "response_type"=>"code", "scope"=>"", "commit"=>"Authorize"} MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1eceb416dc28af059b35f803ad90d135231d26ef298f7a63945aeb1699f2d359"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"3335658a736ae6bd5fea5cf12c138b19aa8a4c5051ee0d381ebab96313b9ddd6", :_id=>{:$ne=>BSON::ObjectId('5bb6244a35415972990000c4')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000c4'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000c2'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000c3'), "token"=>"3335658a736ae6bd5fea5cf12c138b19aa8a4c5051ee0d381ebab96313b9ddd6", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000c4'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000c2'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000c3'), "token"=>"3335658a736ae6bd5fea5cf12c138b19aa8a4c5051ee0d381ebab96313b9ddd6", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=3335658a736ae6bd5fea5cf12c138b19aa8a4c5051ee0d381ebab96313b9ddd6&state=return-me Completed 302 Found in 8ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]&state=return-me" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]", "state"=>"return-me"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"50c7c0ce82b6faa6b4a0adc53c24bdda6bdc5a9b420af24155cf0077b11ec2db", :_id=>{:$ne=>BSON::ObjectId('5bb6244a35415972990000c5')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000c5'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 84", "uid"=>"50c7c0ce82b6faa6b4a0adc53c24bdda6bdc5a9b420af24155cf0077b11ec2db", "secret"=>"6c6f478c340321334e160d2ed7748ee32d3bfc294f92ee2ea6fccf3066f50d3a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000c5'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 84", "uid"=>"50c7c0ce82b6faa6b4a0adc53c24bdda6bdc5a9b420af24155cf0077b11ec2db", "secret"=>"6c6f478c340321334e160d2ed7748ee32d3bfc294f92ee2ea6fccf3066f50d3a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000c6'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000c6'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=50c7c0ce82b6faa6b4a0adc53c24bdda6bdc5a9b420af24155cf0077b11ec2db&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"50c7c0ce82b6faa6b4a0adc53c24bdda6bdc5a9b420af24155cf0077b11ec2db", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"50c7c0ce82b6faa6b4a0adc53c24bdda6bdc5a9b420af24155cf0077b11ec2db"}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6244a35415972990000c5'), :resource_owner_id=>BSON::ObjectId('5bb6244a35415972990000c6'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.2ms) Completed 200 OK in 9ms (Views: 2.9ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"50c7c0ce82b6faa6b4a0adc53c24bdda6bdc5a9b420af24155cf0077b11ec2db", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public", "commit"=>"Authorize"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"50c7c0ce82b6faa6b4a0adc53c24bdda6bdc5a9b420af24155cf0077b11ec2db"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"6a29ae3690e59129a1c5db2b4e92d74b1963eaee5a9162bfb80633da6462a22d", :_id=>{:$ne=>BSON::ObjectId('5bb6244a35415972990000c7')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000c7'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000c5'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000c6'), "token"=>"6a29ae3690e59129a1c5db2b4e92d74b1963eaee5a9162bfb80633da6462a22d", "scopes"=>"public", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000c7'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000c5'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000c6'), "token"=>"6a29ae3690e59129a1c5db2b4e92d74b1963eaee5a9162bfb80633da6462a22d", "scopes"=>"public", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=6a29ae3690e59129a1c5db2b4e92d74b1963eaee5a9162bfb80633da6462a22d Completed 302 Found in 5ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244a35415972990000c5')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7795abaac81f345c016d81f0cd3c28ff5aba5e4c9d199df43c4138eb4bc6a065", :_id=>{:$ne=>BSON::ObjectId('5bb6244a35415972990000c8')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000c8'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 85", "uid"=>"7795abaac81f345c016d81f0cd3c28ff5aba5e4c9d199df43c4138eb4bc6a065", "secret"=>"5a0a4acbac11be0eebe1212ab473c1528a77fdc4ce6b4e2a76a39dd5a8212f74", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000c8'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 85", "uid"=>"7795abaac81f345c016d81f0cd3c28ff5aba5e4c9d199df43c4138eb4bc6a065", "secret"=>"5a0a4acbac11be0eebe1212ab473c1528a77fdc4ce6b4e2a76a39dd5a8212f74", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000c9'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000c9'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=7795abaac81f345c016d81f0cd3c28ff5aba5e4c9d199df43c4138eb4bc6a065&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public+write" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"7795abaac81f345c016d81f0cd3c28ff5aba5e4c9d199df43c4138eb4bc6a065", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public write"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7795abaac81f345c016d81f0cd3c28ff5aba5e4c9d199df43c4138eb4bc6a065"}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6244a35415972990000c8'), :resource_owner_id=>BSON::ObjectId('5bb6244a35415972990000c9'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.7ms) Completed 200 OK in 9ms (Views: 3.3ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"7795abaac81f345c016d81f0cd3c28ff5aba5e4c9d199df43c4138eb4bc6a065", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public write", "commit"=>"Authorize"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7795abaac81f345c016d81f0cd3c28ff5aba5e4c9d199df43c4138eb4bc6a065"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"66c3c9d386a387911b1d3758ae0ce05c09b13d16b8f179fca57b2d3c58f0bf90", :_id=>{:$ne=>BSON::ObjectId('5bb6244a35415972990000ca')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000ca'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000c8'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000c9'), "token"=>"66c3c9d386a387911b1d3758ae0ce05c09b13d16b8f179fca57b2d3c58f0bf90", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000ca'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000c8'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000c9'), "token"=>"66c3c9d386a387911b1d3758ae0ce05c09b13d16b8f179fca57b2d3c58f0bf90", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=66c3c9d386a387911b1d3758ae0ce05c09b13d16b8f179fca57b2d3c58f0bf90 Completed 302 Found in 5ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) Started POST "/oauth/token?code=[FILTERED]&client_id=7795abaac81f345c016d81f0cd3c28ff5aba5e4c9d199df43c4138eb4bc6a065&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"7795abaac81f345c016d81f0cd3c28ff5aba5e4c9d199df43c4138eb4bc6a065", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"66c3c9d386a387911b1d3758ae0ce05c09b13d16b8f179fca57b2d3c58f0bf90"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7795abaac81f345c016d81f0cd3c28ff5aba5e4c9d199df43c4138eb4bc6a065"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb6244a35415972990000ca')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244a35415972990000ca')}, :u=>{"_id"=>BSON::ObjectId('5bb6244a35415972990000ca'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000c8'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000c9'), "token"=>"66c3c9d386a387911b1d3758ae0ce05c09b13d16b8f179fca57b2d3c58f0bf90", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb6244a35415972990000ca')}, {"_id"=>BSON::ObjectId('5bb6244a35415972990000ca'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000c8'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000c9'), "token"=>"66c3c9d386a387911b1d3758ae0ce05c09b13d16b8f179fca57b2d3c58f0bf90", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244a35415972990000c8')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244a35415972990000c8')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"753bf64c131da3b8fbcafce2ac6a235cd7b7e387d98d21ad704c32280e6fa0ef", :_id=>{:$ne=>BSON::ObjectId('5bb6244a35415972990000cb')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000cb'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000c8'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000c9'), "token"=>"753bf64c131da3b8fbcafce2ac6a235cd7b7e387d98d21ad704c32280e6fa0ef", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000cb'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000c8'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000c9'), "token"=>"753bf64c131da3b8fbcafce2ac6a235cd7b7e387d98d21ad704c32280e6fa0ef", "expires_in"=>7200, "scopes"=>"public write"}) Completed 200 OK in 7ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244a35415972990000c8')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"24ca4f1b799a54ab0eea60b1321594d4923ac3adac4b91f18d1adce144105650", :_id=>{:$ne=>BSON::ObjectId('5bb6244a35415972990000cc')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000cc'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 86", "uid"=>"24ca4f1b799a54ab0eea60b1321594d4923ac3adac4b91f18d1adce144105650", "secret"=>"44dd9696e6ebe0c032551a1fdf4f0bad6d97ff381676dc067c88882bdb9719d9", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000cc'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 86", "uid"=>"24ca4f1b799a54ab0eea60b1321594d4923ac3adac4b91f18d1adce144105650", "secret"=>"44dd9696e6ebe0c032551a1fdf4f0bad6d97ff381676dc067c88882bdb9719d9", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000cd'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000cd'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"9311cb66f3f317605b7656f3c874943819839dfc5331e48176dcabf440546234", :_id=>{:$ne=>BSON::ObjectId('5bb6244a35415972990000ce')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000ce'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000cc'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000cd'), "token"=>"9311cb66f3f317605b7656f3c874943819839dfc5331e48176dcabf440546234", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000ce'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000cc'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000cd'), "token"=>"9311cb66f3f317605b7656f3c874943819839dfc5331e48176dcabf440546234", "expires_in"=>7200, "scopes"=>"public"}) Started GET "/oauth/authorize?client_id=24ca4f1b799a54ab0eea60b1321594d4923ac3adac4b91f18d1adce144105650&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public+write" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"24ca4f1b799a54ab0eea60b1321594d4923ac3adac4b91f18d1adce144105650", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public write"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"24ca4f1b799a54ab0eea60b1321594d4923ac3adac4b91f18d1adce144105650"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6244a35415972990000cc'), :resource_owner_id=>BSON::ObjectId('5bb6244a35415972990000cd'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.0ms) Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"24ca4f1b799a54ab0eea60b1321594d4923ac3adac4b91f18d1adce144105650", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public write", "commit"=>"Authorize"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"24ca4f1b799a54ab0eea60b1321594d4923ac3adac4b91f18d1adce144105650"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"b156d8443bed3b5192193be47503a645ce148cb486420dad2d6486c79a973381", :_id=>{:$ne=>BSON::ObjectId('5bb6244a35415972990000cf')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000cf'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000cc'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000cd'), "token"=>"b156d8443bed3b5192193be47503a645ce148cb486420dad2d6486c79a973381", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000cf'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000cc'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000cd'), "token"=>"b156d8443bed3b5192193be47503a645ce148cb486420dad2d6486c79a973381", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=b156d8443bed3b5192193be47503a645ce148cb486420dad2d6486c79a973381 Completed 302 Found in 6ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) Started POST "/oauth/token?code=[FILTERED]&client_id=24ca4f1b799a54ab0eea60b1321594d4923ac3adac4b91f18d1adce144105650&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"24ca4f1b799a54ab0eea60b1321594d4923ac3adac4b91f18d1adce144105650", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"b156d8443bed3b5192193be47503a645ce148cb486420dad2d6486c79a973381"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"24ca4f1b799a54ab0eea60b1321594d4923ac3adac4b91f18d1adce144105650"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb6244a35415972990000cf')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244a35415972990000cf')}, :u=>{"_id"=>BSON::ObjectId('5bb6244a35415972990000cf'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000cc'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000cd'), "token"=>"b156d8443bed3b5192193be47503a645ce148cb486420dad2d6486c79a973381", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb6244a35415972990000cf')}, {"_id"=>BSON::ObjectId('5bb6244a35415972990000cf'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000cc'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000cd'), "token"=>"b156d8443bed3b5192193be47503a645ce148cb486420dad2d6486c79a973381", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244a35415972990000cc')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244a35415972990000cc')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"41422e75992ce3c663507a3d44185d1db5d8a93b713bf3f6a7484d148528cf6e", :_id=>{:$ne=>BSON::ObjectId('5bb6244a35415972990000d0')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000d0'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000cc'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000cd'), "token"=>"41422e75992ce3c663507a3d44185d1db5d8a93b713bf3f6a7484d148528cf6e", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000d0'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000cc'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000cd'), "token"=>"41422e75992ce3c663507a3d44185d1db5d8a93b713bf3f6a7484d148528cf6e", "expires_in"=>7200, "scopes"=>"public write"}) Completed 200 OK in 7ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5d3a12d16647a00617b2775a28fff2ac39b0c6d0b8d1785e8ff5a62414b631a8", :_id=>{:$ne=>BSON::ObjectId('5bb6244a35415972990000d1')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000d1'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 87", "uid"=>"5d3a12d16647a00617b2775a28fff2ac39b0c6d0b8d1785e8ff5a62414b631a8", "secret"=>"ac2f239dd71e70e142d76b9fa170385b968f3bcf20b424b7b466b123a6cb3ba1", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000d1'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 87", "uid"=>"5d3a12d16647a00617b2775a28fff2ac39b0c6d0b8d1785e8ff5a62414b631a8", "secret"=>"ac2f239dd71e70e142d76b9fa170385b968f3bcf20b424b7b466b123a6cb3ba1", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000d2'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000d2'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=5d3a12d16647a00617b2775a28fff2ac39b0c6d0b8d1785e8ff5a62414b631a8&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public+write" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"5d3a12d16647a00617b2775a28fff2ac39b0c6d0b8d1785e8ff5a62414b631a8", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public write"} MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5d3a12d16647a00617b2775a28fff2ac39b0c6d0b8d1785e8ff5a62414b631a8"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6244a35415972990000d1'), :resource_owner_id=>BSON::ObjectId('5bb6244a35415972990000d2'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.4ms) Completed 200 OK in 9ms (Views: 3.5ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"5d3a12d16647a00617b2775a28fff2ac39b0c6d0b8d1785e8ff5a62414b631a8", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public write", "commit"=>"Authorize"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5d3a12d16647a00617b2775a28fff2ac39b0c6d0b8d1785e8ff5a62414b631a8"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"b88482776242efd94ef49f360b14bddfd3508dfa8c58083c54a90391076d4513", :_id=>{:$ne=>BSON::ObjectId('5bb6244a35415972990000d3')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000d3'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000d1'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000d2'), "token"=>"b88482776242efd94ef49f360b14bddfd3508dfa8c58083c54a90391076d4513", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000d3'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000d1'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000d2'), "token"=>"b88482776242efd94ef49f360b14bddfd3508dfa8c58083c54a90391076d4513", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=b88482776242efd94ef49f360b14bddfd3508dfa8c58083c54a90391076d4513 Completed 302 Found in 5ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"747663057e952b80b63cac3b04340561ef19f5627161459d0ca7ec9d49b79fb7", :_id=>{:$ne=>BSON::ObjectId('5bb6244a35415972990000d4')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000d4'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 88", "uid"=>"747663057e952b80b63cac3b04340561ef19f5627161459d0ca7ec9d49b79fb7", "secret"=>"1a594425693d963f2459d6eb6a1a3bd1946fe38a9ec651600418030a19cf70ab", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000d4'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Application 88", "uid"=>"747663057e952b80b63cac3b04340561ef19f5627161459d0ca7ec9d49b79fb7", "secret"=>"1a594425693d963f2459d6eb6a1a3bd1946fe38a9ec651600418030a19cf70ab", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244a35415972990000d5'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244a35415972990000d5'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:38 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:38 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:31:39 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:39 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"ef084813000492aed75238451626baf072b0f7e9d8d345b848a1f114795ac186", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000d6')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b35415972990000d6'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000d4'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000d5'), "token"=>"ef084813000492aed75238451626baf072b0f7e9d8d345b848a1f114795ac186", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b35415972990000d6'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000d4'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000d5'), "token"=>"ef084813000492aed75238451626baf072b0f7e9d8d345b848a1f114795ac186", "expires_in"=>7200, "scopes"=>"public write"}) Started GET "/oauth/authorize?client_id=747663057e952b80b63cac3b04340561ef19f5627161459d0ca7ec9d49b79fb7&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public" for 127.0.0.1 at 2018-10-04 17:31:39 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"747663057e952b80b63cac3b04340561ef19f5627161459d0ca7ec9d49b79fb7", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public"} MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"747663057e952b80b63cac3b04340561ef19f5627161459d0ca7ec9d49b79fb7"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6244a35415972990000d4'), :resource_owner_id=>BSON::ObjectId('5bb6244a35415972990000d5'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.0ms) Completed 200 OK in 8ms (Views: 2.2ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:31:39 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"747663057e952b80b63cac3b04340561ef19f5627161459d0ca7ec9d49b79fb7", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public", "commit"=>"Authorize"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"747663057e952b80b63cac3b04340561ef19f5627161459d0ca7ec9d49b79fb7"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"512b92e416a153da280f559fd3dc90ebcfeeb91812d33db1d0d9752ce98e6e47", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000d7')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b35415972990000d7'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000d4'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000d5'), "token"=>"512b92e416a153da280f559fd3dc90ebcfeeb91812d33db1d0d9752ce98e6e47", "scopes"=>"public", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244b35415972990000d7'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000d4'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000d5'), "token"=>"512b92e416a153da280f559fd3dc90ebcfeeb91812d33db1d0d9752ce98e6e47", "scopes"=>"public", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=512b92e416a153da280f559fd3dc90ebcfeeb91812d33db1d0d9752ce98e6e47 Completed 302 Found in 5ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:31:39 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) Started POST "/oauth/token?code=[FILTERED]&client_id=747663057e952b80b63cac3b04340561ef19f5627161459d0ca7ec9d49b79fb7&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:31:39 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"747663057e952b80b63cac3b04340561ef19f5627161459d0ca7ec9d49b79fb7", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"512b92e416a153da280f559fd3dc90ebcfeeb91812d33db1d0d9752ce98e6e47"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"747663057e952b80b63cac3b04340561ef19f5627161459d0ca7ec9d49b79fb7"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb6244b35415972990000d7')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244b35415972990000d7')}, :u=>{"_id"=>BSON::ObjectId('5bb6244b35415972990000d7'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000d4'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000d5'), "token"=>"512b92e416a153da280f559fd3dc90ebcfeeb91812d33db1d0d9752ce98e6e47", "scopes"=>"public", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb6244b35415972990000d7')}, {"_id"=>BSON::ObjectId('5bb6244b35415972990000d7'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000d4'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000d5'), "token"=>"512b92e416a153da280f559fd3dc90ebcfeeb91812d33db1d0d9752ce98e6e47", "scopes"=>"public", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244a35415972990000d4')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244a35415972990000d4')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"a9d2795f013f79d1f18ef7f6b1ed2a339c4fe07a63e9e86c62d89a07b2a0c8cb", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000d8')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b35415972990000d8'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000d4'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000d5'), "token"=>"a9d2795f013f79d1f18ef7f6b1ed2a339c4fe07a63e9e86c62d89a07b2a0c8cb", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b35415972990000d8'), "application_id"=>BSON::ObjectId('5bb6244a35415972990000d4'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244a35415972990000d5'), "token"=>"a9d2795f013f79d1f18ef7f6b1ed2a339c4fe07a63e9e86c62d89a07b2a0c8cb", "expires_in"=>7200, "scopes"=>"public"}) Completed 200 OK in 7ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ba3bb8938f9ec33d5927ebe7900a2480c1212a23aabad50babf4c7fa2192365a", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000d9')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b35415972990000d9'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 89", "uid"=>"ba3bb8938f9ec33d5927ebe7900a2480c1212a23aabad50babf4c7fa2192365a", "secret"=>"406c2dded76bedc194f0aedde0e7201c7dbe7d975cccffee11c62129170bba54", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b35415972990000d9'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 89", "uid"=>"ba3bb8938f9ec33d5927ebe7900a2480c1212a23aabad50babf4c7fa2192365a", "secret"=>"406c2dded76bedc194f0aedde0e7201c7dbe7d975cccffee11c62129170bba54", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b35415972990000da'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244b35415972990000da'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:39 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:31:39 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:39 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=ba3bb8938f9ec33d5927ebe7900a2480c1212a23aabad50babf4c7fa2192365a&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=write" for 127.0.0.1 at 2018-10-04 17:31:39 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"ba3bb8938f9ec33d5927ebe7900a2480c1212a23aabad50babf4c7fa2192365a", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"write"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ba3bb8938f9ec33d5927ebe7900a2480c1212a23aabad50babf4c7fa2192365a"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6244b35415972990000d9'), :resource_owner_id=>BSON::ObjectId('5bb6244b35415972990000da'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.0ms) Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:31:39 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"ba3bb8938f9ec33d5927ebe7900a2480c1212a23aabad50babf4c7fa2192365a", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"write", "commit"=>"Authorize"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ba3bb8938f9ec33d5927ebe7900a2480c1212a23aabad50babf4c7fa2192365a"}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"3a97d57dce37a0984ed4d95bfe8b99fd680b0a8fefb9bd5dafdd712c63052e2d", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000db')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b35415972990000db'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000d9'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244b35415972990000da'), "token"=>"3a97d57dce37a0984ed4d95bfe8b99fd680b0a8fefb9bd5dafdd712c63052e2d", "scopes"=>"write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244b35415972990000db'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000d9'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244b35415972990000da'), "token"=>"3a97d57dce37a0984ed4d95bfe8b99fd680b0a8fefb9bd5dafdd712c63052e2d", "scopes"=>"write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=3a97d57dce37a0984ed4d95bfe8b99fd680b0a8fefb9bd5dafdd712c63052e2d Completed 302 Found in 5ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:31:39 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ae8d6562061f8df9340b73704659c7fab80ec5cb6932c556b952d45c13fedd2b", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000dd')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b35415972990000dd'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 90", "uid"=>"ae8d6562061f8df9340b73704659c7fab80ec5cb6932c556b952d45c13fedd2b", "secret"=>"6b1ed8197fd2187315da3f1aa434c6c15337a1d934c042ab723ce39a05694aaf", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b35415972990000dd'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 90", "uid"=>"ae8d6562061f8df9340b73704659c7fab80ec5cb6932c556b952d45c13fedd2b", "secret"=>"6b1ed8197fd2187315da3f1aa434c6c15337a1d934c042ab723ce39a05694aaf", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"4951ff8273c83b5e6ea263f6d9e756acbd1856e17808bed0ffb8d6cc5db2970a", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000dc')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"7cdfab82c67e624421bcb47cc0685d2f7917478b509ff22c1c46e60737299581", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000dc')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b35415972990000dc'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000dd'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>35, "token"=>"4951ff8273c83b5e6ea263f6d9e756acbd1856e17808bed0ffb8d6cc5db2970a", "refresh_token"=>"7cdfab82c67e624421bcb47cc0685d2f7917478b509ff22c1c46e60737299581", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b35415972990000dc'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000dd'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>35, "token"=>"4951ff8273c83b5e6ea263f6d9e756acbd1856e17808bed0ffb8d6cc5db2970a", "refresh_token"=>"7cdfab82c67e624421bcb47cc0685d2f7917478b509ff22c1c46e60737299581", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"4951ff8273c83b5e6ea263f6d9e756acbd1856e17808bed0ffb8d6cc5db2970a", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000dc')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"7cdfab82c67e624421bcb47cc0685d2f7917478b509ff22c1c46e60737299581", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000dc')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244b35415972990000dc')}, :u=>{"_id"=>BSON::ObjectId('5bb6244b35415972990000dc'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000dd'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>35, "token"=>"4951ff8273c83b5e6ea263f6d9e756acbd1856e17808bed0ffb8d6cc5db2970a", "refresh_token"=>"7cdfab82c67e624421bcb47cc0685d2f7917478b509ff22c1c46e60737299581", "expires_in"=>-1}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244b35415972990000dc')}, {"_id"=>BSON::ObjectId('5bb6244b35415972990000dc'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000dd'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>35, "token"=>"4951ff8273c83b5e6ea263f6d9e756acbd1856e17808bed0ffb8d6cc5db2970a", "refresh_token"=>"7cdfab82c67e624421bcb47cc0685d2f7917478b509ff22c1c46e60737299581", "expires_in"=>-1}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ae8d6562061f8df9340b73704659c7fab80ec5cb6932c556b952d45c13fedd2b"}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b19030fce50f0e17e1e8b8038c7baece9ce7d61431071ee2614c7b5e1de7418a", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000df')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b35415972990000df'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 91", "uid"=>"b19030fce50f0e17e1e8b8038c7baece9ce7d61431071ee2614c7b5e1de7418a", "secret"=>"fc8c734e8d49bb5e0fd05bf30c0fd4db8f1721006cd87b67bba40477621a2edf", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b35415972990000df'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 91", "uid"=>"b19030fce50f0e17e1e8b8038c7baece9ce7d61431071ee2614c7b5e1de7418a", "secret"=>"fc8c734e8d49bb5e0fd05bf30c0fd4db8f1721006cd87b67bba40477621a2edf", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"b197ee55b07d84faa0ef29c21fb45c5a2422ed21582551772f6f5a76888c67a5", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000de')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"ac4e7b66c619bb35af81816409c6190038730bc8d8ab4fccb1968455c9be269e", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000de')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b35415972990000de'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000df'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>36, "token"=>"b197ee55b07d84faa0ef29c21fb45c5a2422ed21582551772f6f5a76888c67a5", "refresh_token"=>"ac4e7b66c619bb35af81816409c6190038730bc8d8ab4fccb1968455c9be269e", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b35415972990000de'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000df'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>36, "token"=>"b197ee55b07d84faa0ef29c21fb45c5a2422ed21582551772f6f5a76888c67a5", "refresh_token"=>"ac4e7b66c619bb35af81816409c6190038730bc8d8ab4fccb1968455c9be269e", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b19030fce50f0e17e1e8b8038c7baece9ce7d61431071ee2614c7b5e1de7418a"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6244b35415972990000de')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244b35415972990000de')}, :u=>{"_id"=>BSON::ObjectId('5bb6244b35415972990000de'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000df'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>36, "token"=>"b197ee55b07d84faa0ef29c21fb45c5a2422ed21582551772f6f5a76888c67a5", "refresh_token"=>"ac4e7b66c619bb35af81816409c6190038730bc8d8ab4fccb1968455c9be269e", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244b35415972990000de')}, {"_id"=>BSON::ObjectId('5bb6244b35415972990000de'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000df'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>36, "token"=>"b197ee55b07d84faa0ef29c21fb45c5a2422ed21582551772f6f5a76888c67a5", "refresh_token"=>"ac4e7b66c619bb35af81816409c6190038730bc8d8ab4fccb1968455c9be269e", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244b35415972990000df')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"5a92dd14113e76c22c2291e0482f93fa1caf26f2f5f0bd98cedde0593f4c4d50", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000e0')}}, {:_id=>1}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"33a5cce1ae87b15f773c02f9224ba533caed6df3772250f72f4fe2ec7c70d096", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000e0')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b35415972990000e0'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000df'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>36, "token"=>"5a92dd14113e76c22c2291e0482f93fa1caf26f2f5f0bd98cedde0593f4c4d50", "refresh_token"=>"33a5cce1ae87b15f773c02f9224ba533caed6df3772250f72f4fe2ec7c70d096", "expires_in"=>1234, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b35415972990000e0'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000df'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>36, "token"=>"5a92dd14113e76c22c2291e0482f93fa1caf26f2f5f0bd98cedde0593f4c4d50", "refresh_token"=>"33a5cce1ae87b15f773c02f9224ba533caed6df3772250f72f4fe2ec7c70d096", "expires_in"=>1234, "scopes"=>""}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244b35415972990000df')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6244b35415972990000df')}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"db93ea8b03733afcb473b90d204e830d61e3d7782650abf0df52afba80bc379a", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000e2')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b35415972990000e2'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 92", "uid"=>"db93ea8b03733afcb473b90d204e830d61e3d7782650abf0df52afba80bc379a", "secret"=>"f9ffaeee5836ee66fbcea49c4cb3deb6a6643dbc406226bbde3a0639bbab3c69", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b35415972990000e2'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 92", "uid"=>"db93ea8b03733afcb473b90d204e830d61e3d7782650abf0df52afba80bc379a", "secret"=>"f9ffaeee5836ee66fbcea49c4cb3deb6a6643dbc406226bbde3a0639bbab3c69", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"954c9d4deeae9f79d4025c341bcfe4fa102aecee4a683b1b2250ee52a7f8672b", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000e1')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"8a3f978d088e409c012183079aa652dc116e07f4b5cb3c8dd9c031680056ebc0", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000e1')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b35415972990000e1'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000e2'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>37, "token"=>"954c9d4deeae9f79d4025c341bcfe4fa102aecee4a683b1b2250ee52a7f8672b", "refresh_token"=>"8a3f978d088e409c012183079aa652dc116e07f4b5cb3c8dd9c031680056ebc0", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b35415972990000e1'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000e2'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>37, "token"=>"954c9d4deeae9f79d4025c341bcfe4fa102aecee4a683b1b2250ee52a7f8672b", "refresh_token"=>"8a3f978d088e409c012183079aa652dc116e07f4b5cb3c8dd9c031680056ebc0", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244b35415972990000e1')}, :u=>{"_id"=>BSON::ObjectId('5bb6244b35415972990000e1'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000e2'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>37, "token"=>"954c9d4deeae9f79d4025c341bcfe4fa102aecee4a683b1b2250ee52a7f8672b", "refresh_token"=>"8a3f978d088e409c012183079aa652dc116e07f4b5cb3c8dd9c031680056ebc0", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244b35415972990000e1')}, {"_id"=>BSON::ObjectId('5bb6244b35415972990000e1'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000e2'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>37, "token"=>"954c9d4deeae9f79d4025c341bcfe4fa102aecee4a683b1b2250ee52a7f8672b", "refresh_token"=>"8a3f978d088e409c012183079aa652dc116e07f4b5cb3c8dd9c031680056ebc0", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"db93ea8b03733afcb473b90d204e830d61e3d7782650abf0df52afba80bc379a"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5bef4205c3ab1143b66479bfe51c7bb2f75926ad2c78f2b75e859fdd2ebe47b8", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000e4')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b35415972990000e4'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 93", "uid"=>"5bef4205c3ab1143b66479bfe51c7bb2f75926ad2c78f2b75e859fdd2ebe47b8", "secret"=>"6167ec9b9ddbfc9304af696e295aebfeee5f26ff00f9814325c558e1a0f89a48", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b35415972990000e4'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 93", "uid"=>"5bef4205c3ab1143b66479bfe51c7bb2f75926ad2c78f2b75e859fdd2ebe47b8", "secret"=>"6167ec9b9ddbfc9304af696e295aebfeee5f26ff00f9814325c558e1a0f89a48", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"b5b67610f397375caf8d22d01ab9701a7c7ea79435708ded2a915550f865b4cc", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000e3')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"4905ab4dc243a241e35614b814d8b6dd7982e3c95754d42169614bd579e5ef9c", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000e3')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b35415972990000e3'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000e4'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>38, "token"=>"b5b67610f397375caf8d22d01ab9701a7c7ea79435708ded2a915550f865b4cc", "refresh_token"=>"4905ab4dc243a241e35614b814d8b6dd7982e3c95754d42169614bd579e5ef9c", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b35415972990000e3'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000e4'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>38, "token"=>"b5b67610f397375caf8d22d01ab9701a7c7ea79435708ded2a915550f865b4cc", "refresh_token"=>"4905ab4dc243a241e35614b814d8b6dd7982e3c95754d42169614bd579e5ef9c", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5bef4205c3ab1143b66479bfe51c7bb2f75926ad2c78f2b75e859fdd2ebe47b8"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6244b35415972990000e3')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244b35415972990000e3')}, :u=>{"_id"=>BSON::ObjectId('5bb6244b35415972990000e3'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000e4'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>38, "token"=>"b5b67610f397375caf8d22d01ab9701a7c7ea79435708ded2a915550f865b4cc", "refresh_token"=>"4905ab4dc243a241e35614b814d8b6dd7982e3c95754d42169614bd579e5ef9c", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244b35415972990000e3')}, {"_id"=>BSON::ObjectId('5bb6244b35415972990000e3'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000e4'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>38, "token"=>"b5b67610f397375caf8d22d01ab9701a7c7ea79435708ded2a915550f865b4cc", "refresh_token"=>"4905ab4dc243a241e35614b814d8b6dd7982e3c95754d42169614bd579e5ef9c", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244b35415972990000e4')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"fef2e87a98315c9b43b3b8f4d5191e92bc85a9a11eccea0523b04e8636082a56", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000e5')}}, {:_id=>1}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"e6b6d8462e192923a3393bb0904f4d0718310d4d547d19701b8fb0b7d8f0268b", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000e5')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b35415972990000e5'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000e4'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>38, "token"=>"fef2e87a98315c9b43b3b8f4d5191e92bc85a9a11eccea0523b04e8636082a56", "refresh_token"=>"e6b6d8462e192923a3393bb0904f4d0718310d4d547d19701b8fb0b7d8f0268b", "expires_in"=>120, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b35415972990000e5'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000e4'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>38, "token"=>"fef2e87a98315c9b43b3b8f4d5191e92bc85a9a11eccea0523b04e8636082a56", "refresh_token"=>"e6b6d8462e192923a3393bb0904f4d0718310d4d547d19701b8fb0b7d8f0268b", "expires_in"=>120, "scopes"=>""}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ba866751f5255a7474ca5970560199e0db7cd14b74df5ac3937e231c40b7c170", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000e7')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b35415972990000e7'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 94", "uid"=>"ba866751f5255a7474ca5970560199e0db7cd14b74df5ac3937e231c40b7c170", "secret"=>"a2e42789e72480b16e01aa7f8d227c0d59f50d73531e6e79aed89f7c025dce74", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b35415972990000e7'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 94", "uid"=>"ba866751f5255a7474ca5970560199e0db7cd14b74df5ac3937e231c40b7c170", "secret"=>"a2e42789e72480b16e01aa7f8d227c0d59f50d73531e6e79aed89f7c025dce74", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"b4334e96d7066ef6f5b4035e5cb782cd7261e037866d6cb072a2e77f04158099", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000e6')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"56447ef6d4e5a5572aef7652f41b3c0945e1dfd66750da3e89317e3f73dc1219", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000e6')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b35415972990000e6'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000e7'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>39, "token"=>"b4334e96d7066ef6f5b4035e5cb782cd7261e037866d6cb072a2e77f04158099", "refresh_token"=>"56447ef6d4e5a5572aef7652f41b3c0945e1dfd66750da3e89317e3f73dc1219", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b35415972990000e6'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000e7'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>39, "token"=>"b4334e96d7066ef6f5b4035e5cb782cd7261e037866d6cb072a2e77f04158099", "refresh_token"=>"56447ef6d4e5a5572aef7652f41b3c0945e1dfd66750da3e89317e3f73dc1219", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ba866751f5255a7474ca5970560199e0db7cd14b74df5ac3937e231c40b7c170"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0dfe1b101f095a7a3b8cdbd9f2e88d2bbb105122b1e38d5108a6591edcb452d1", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000e9')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b35415972990000e9'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 95", "uid"=>"0dfe1b101f095a7a3b8cdbd9f2e88d2bbb105122b1e38d5108a6591edcb452d1", "secret"=>"1ae03d33b844b6ebefd11b6b7fb27c66ae4d5ffcc13e1be53c24470cfd281d19", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b35415972990000e9'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 95", "uid"=>"0dfe1b101f095a7a3b8cdbd9f2e88d2bbb105122b1e38d5108a6591edcb452d1", "secret"=>"1ae03d33b844b6ebefd11b6b7fb27c66ae4d5ffcc13e1be53c24470cfd281d19", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"64d7255deb03796cb0ebda0093706f10a72a293fabff6fbbd32b7d0150a61841", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000e8')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"1dda94643c278d46e9866f810227f0055971b672425a07724e2f244d5fbafc1a", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000e8')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b35415972990000e8'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000e9'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>40, "token"=>"64d7255deb03796cb0ebda0093706f10a72a293fabff6fbbd32b7d0150a61841", "refresh_token"=>"1dda94643c278d46e9866f810227f0055971b672425a07724e2f244d5fbafc1a", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b35415972990000e8'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000e9'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>40, "token"=>"64d7255deb03796cb0ebda0093706f10a72a293fabff6fbbd32b7d0150a61841", "refresh_token"=>"1dda94643c278d46e9866f810227f0055971b672425a07724e2f244d5fbafc1a", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0dfe1b101f095a7a3b8cdbd9f2e88d2bbb105122b1e38d5108a6591edcb452d1"}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6244b35415972990000e8')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244b35415972990000e8')}, :u=>{"_id"=>BSON::ObjectId('5bb6244b35415972990000e8'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000e9'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>40, "token"=>"64d7255deb03796cb0ebda0093706f10a72a293fabff6fbbd32b7d0150a61841", "refresh_token"=>"1dda94643c278d46e9866f810227f0055971b672425a07724e2f244d5fbafc1a", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244b35415972990000e8')}, {"_id"=>BSON::ObjectId('5bb6244b35415972990000e8'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000e9'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>40, "token"=>"64d7255deb03796cb0ebda0093706f10a72a293fabff6fbbd32b7d0150a61841", "refresh_token"=>"1dda94643c278d46e9866f810227f0055971b672425a07724e2f244d5fbafc1a", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244b35415972990000e9')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"224a7ea66ba462c9f2bac54658c9f88b4226d62290822efc38f55ebaa2c72173", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000ea')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"07b074f696deb4c605ff93bf4fd39f98c32d573c67a189d00ccaafe9b8fe8c19", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000ea')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b35415972990000ea'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000e9'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>40, "token"=>"224a7ea66ba462c9f2bac54658c9f88b4226d62290822efc38f55ebaa2c72173", "refresh_token"=>"07b074f696deb4c605ff93bf4fd39f98c32d573c67a189d00ccaafe9b8fe8c19", "expires_in"=>120, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b35415972990000ea'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000e9'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>40, "token"=>"224a7ea66ba462c9f2bac54658c9f88b4226d62290822efc38f55ebaa2c72173", "refresh_token"=>"07b074f696deb4c605ff93bf4fd39f98c32d573c67a189d00ccaafe9b8fe8c19", "expires_in"=>120, "scopes"=>""}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"900da0a8b1cc7d5054d041b0541d0e219309e032a2549bad6dba9d7fbaa04a5b", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000ec')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b35415972990000ec'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 96", "uid"=>"900da0a8b1cc7d5054d041b0541d0e219309e032a2549bad6dba9d7fbaa04a5b", "secret"=>"e5ad27c1637c8afb8abab9106d9235541c26b4c2dd51e887a65b572524d458ba", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b35415972990000ec'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 96", "uid"=>"900da0a8b1cc7d5054d041b0541d0e219309e032a2549bad6dba9d7fbaa04a5b", "secret"=>"e5ad27c1637c8afb8abab9106d9235541c26b4c2dd51e887a65b572524d458ba", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"480632babb314eb639e574ab409d28601a3a90190c7395c65402cbb8183dc641", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000eb')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"4ac7594eb5555c52909a9592429ad8d721f6b8d67c005c3b2ec6078b9296f61b", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000eb')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b35415972990000eb'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000ec'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>41, "token"=>"480632babb314eb639e574ab409d28601a3a90190c7395c65402cbb8183dc641", "refresh_token"=>"4ac7594eb5555c52909a9592429ad8d721f6b8d67c005c3b2ec6078b9296f61b", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b35415972990000eb'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000ec'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>41, "token"=>"480632babb314eb639e574ab409d28601a3a90190c7395c65402cbb8183dc641", "refresh_token"=>"4ac7594eb5555c52909a9592429ad8d721f6b8d67c005c3b2ec6078b9296f61b", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"900da0a8b1cc7d5054d041b0541d0e219309e032a2549bad6dba9d7fbaa04a5b"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c9169fee6eccd2a15d7f787bd56f4fdd4b24980d91c892fa2dfb6383ea491afa", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000ed')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b35415972990000ed'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 97", "uid"=>"c9169fee6eccd2a15d7f787bd56f4fdd4b24980d91c892fa2dfb6383ea491afa", "secret"=>"00d279fd368c95fc90005c53ec642238cb361353b9b98bd76f5097897f3f8873", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b35415972990000ed'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 97", "uid"=>"c9169fee6eccd2a15d7f787bd56f4fdd4b24980d91c892fa2dfb6383ea491afa", "secret"=>"00d279fd368c95fc90005c53ec642238cb361353b9b98bd76f5097897f3f8873", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f6e183557cf29793c246213599cd41bd0f0cc406c4f0fe6b15b3e6bec2f8f4cf", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000ef')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b35415972990000ef'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 98", "uid"=>"f6e183557cf29793c246213599cd41bd0f0cc406c4f0fe6b15b3e6bec2f8f4cf", "secret"=>"eaf1246b47c6c6cea37acd762567ef96d64f250c97ae0a490a1150cf194d1d56", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b35415972990000ef'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 98", "uid"=>"f6e183557cf29793c246213599cd41bd0f0cc406c4f0fe6b15b3e6bec2f8f4cf", "secret"=>"eaf1246b47c6c6cea37acd762567ef96d64f250c97ae0a490a1150cf194d1d56", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"a04913a3513e6c66995829bf79a1081609a5092389dd0880edcc44ab3bf29a7d", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000ee')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"645f81381c1c5fe3977d317441d10c63873e40c31d6701de752fe0792d546188", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000ee')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b35415972990000ee'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000ef'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>42, "token"=>"a04913a3513e6c66995829bf79a1081609a5092389dd0880edcc44ab3bf29a7d", "refresh_token"=>"645f81381c1c5fe3977d317441d10c63873e40c31d6701de752fe0792d546188", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b35415972990000ee'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000ef'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>42, "token"=>"a04913a3513e6c66995829bf79a1081609a5092389dd0880edcc44ab3bf29a7d", "refresh_token"=>"645f81381c1c5fe3977d317441d10c63873e40c31d6701de752fe0792d546188", "expires_in"=>7200}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244b35415972990000ef')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{:application_id=>BSON::ObjectId('5bb6244b35415972990000ef')}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f6e183557cf29793c246213599cd41bd0f0cc406c4f0fe6b15b3e6bec2f8f4cf"}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6244b35415972990000ee')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244b35415972990000ee')}, :u=>{"_id"=>BSON::ObjectId('5bb6244b35415972990000ee'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000ef'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>42, "token"=>"a04913a3513e6c66995829bf79a1081609a5092389dd0880edcc44ab3bf29a7d", "refresh_token"=>"645f81381c1c5fe3977d317441d10c63873e40c31d6701de752fe0792d546188", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244b35415972990000ee')}, {"_id"=>BSON::ObjectId('5bb6244b35415972990000ee'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000ef'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>42, "token"=>"a04913a3513e6c66995829bf79a1081609a5092389dd0880edcc44ab3bf29a7d", "refresh_token"=>"645f81381c1c5fe3977d317441d10c63873e40c31d6701de752fe0792d546188", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244b35415972990000ef')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"fb448413fcad0aa0aa6169af09cde58db266be830ac627b9310e8bd9e7fbe0d4", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000f0')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"ba9ec0cddbb3da397d941c7b58421c5e45329fcacdeec30bd8b2be274aa86070", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000f0')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b35415972990000f0'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000ef'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>42, "token"=>"fb448413fcad0aa0aa6169af09cde58db266be830ac627b9310e8bd9e7fbe0d4", "refresh_token"=>"ba9ec0cddbb3da397d941c7b58421c5e45329fcacdeec30bd8b2be274aa86070", "expires_in"=>120, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b35415972990000f0'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000ef'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>42, "token"=>"fb448413fcad0aa0aa6169af09cde58db266be830ac627b9310e8bd9e7fbe0d4", "refresh_token"=>"ba9ec0cddbb3da397d941c7b58421c5e45329fcacdeec30bd8b2be274aa86070", "expires_in"=>120, "scopes"=>""}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244b35415972990000ef')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{:application_id=>BSON::ObjectId('5bb6244b35415972990000ef')}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244b35415972990000ef')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6244b35415972990000ef')}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5792f686969ccce462dd5b99e3516c6cee1fe2ae1868f71989f6698bffd27b54", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000f2')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b35415972990000f2'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 99", "uid"=>"5792f686969ccce462dd5b99e3516c6cee1fe2ae1868f71989f6698bffd27b54", "secret"=>"0904a5bc34a9048640d02dd242a3f2e54791ac25071bb0fd66e48029142d3109", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b35415972990000f2'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 99", "uid"=>"5792f686969ccce462dd5b99e3516c6cee1fe2ae1868f71989f6698bffd27b54", "secret"=>"0904a5bc34a9048640d02dd242a3f2e54791ac25071bb0fd66e48029142d3109", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"7482b8540592aecedfabe6e1b5d59f71dc160fff337a9f3aa0bc85b34c0c1101", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000f1')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"f17ec7aa14a74bc57e3405ae03f9bbf9a4171cc6ed304a40994c12f5ca0a6061", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000f1')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b35415972990000f1'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000f2'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>43, "token"=>"7482b8540592aecedfabe6e1b5d59f71dc160fff337a9f3aa0bc85b34c0c1101", "refresh_token"=>"f17ec7aa14a74bc57e3405ae03f9bbf9a4171cc6ed304a40994c12f5ca0a6061", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b35415972990000f1'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000f2'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>43, "token"=>"7482b8540592aecedfabe6e1b5d59f71dc160fff337a9f3aa0bc85b34c0c1101", "refresh_token"=>"f17ec7aa14a74bc57e3405ae03f9bbf9a4171cc6ed304a40994c12f5ca0a6061", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5792f686969ccce462dd5b99e3516c6cee1fe2ae1868f71989f6698bffd27b54"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6ac1dc15501b0a42df36207eef1d1f31e1f91bdbf0eb403b62593cfa4dcb4979", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000f4')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b35415972990000f4'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 100", "uid"=>"6ac1dc15501b0a42df36207eef1d1f31e1f91bdbf0eb403b62593cfa4dcb4979", "secret"=>"5e0ede248ab3dc97591bfb9f28b819cb9b4abfd848e9428aab458cb4a6eb7fcc", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b35415972990000f4'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 100", "uid"=>"6ac1dc15501b0a42df36207eef1d1f31e1f91bdbf0eb403b62593cfa4dcb4979", "secret"=>"5e0ede248ab3dc97591bfb9f28b819cb9b4abfd848e9428aab458cb4a6eb7fcc", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"71a1095fdd99df5f7513b8b2d6556c1fedbedd5fe609fe893b9f0b9c7a3bbc53", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000f3')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"77d416fd810841b4c87bcb718fd61548f1ae815539695ede4bc2ac5e807faf11", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000f3')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b35415972990000f3'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000f4'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>44, "token"=>"71a1095fdd99df5f7513b8b2d6556c1fedbedd5fe609fe893b9f0b9c7a3bbc53", "refresh_token"=>"77d416fd810841b4c87bcb718fd61548f1ae815539695ede4bc2ac5e807faf11", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b35415972990000f3'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000f4'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>44, "token"=>"71a1095fdd99df5f7513b8b2d6556c1fedbedd5fe609fe893b9f0b9c7a3bbc53", "refresh_token"=>"77d416fd810841b4c87bcb718fd61548f1ae815539695ede4bc2ac5e807faf11", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6ac1dc15501b0a42df36207eef1d1f31e1f91bdbf0eb403b62593cfa4dcb4979"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6244b35415972990000f3')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244b35415972990000f3')}, :u=>{"_id"=>BSON::ObjectId('5bb6244b35415972990000f3'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000f4'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>44, "token"=>"71a1095fdd99df5f7513b8b2d6556c1fedbedd5fe609fe893b9f0b9c7a3bbc53", "refresh_token"=>"77d416fd810841b4c87bcb718fd61548f1ae815539695ede4bc2ac5e807faf11", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC, "scopes"=>"public write"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244b35415972990000f3')}, {"_id"=>BSON::ObjectId('5bb6244b35415972990000f3'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000f4'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>44, "token"=>"71a1095fdd99df5f7513b8b2d6556c1fedbedd5fe609fe893b9f0b9c7a3bbc53", "refresh_token"=>"77d416fd810841b4c87bcb718fd61548f1ae815539695ede4bc2ac5e807faf11", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC, "scopes"=>"public write"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244b35415972990000f4')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"0ccf3c8f621619555af08618008d843a71dddf8ef70670604f9cea9f338c647d", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000f5')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"3d678f174fa3d2c1e148c95095bbb86fef11473b1022af984e1c9f37bb4960b3", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000f5')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b35415972990000f5'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000f4'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>44, "token"=>"0ccf3c8f621619555af08618008d843a71dddf8ef70670604f9cea9f338c647d", "refresh_token"=>"3d678f174fa3d2c1e148c95095bbb86fef11473b1022af984e1c9f37bb4960b3", "expires_in"=>120, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b35415972990000f5'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000f4'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>44, "token"=>"0ccf3c8f621619555af08618008d843a71dddf8ef70670604f9cea9f338c647d", "refresh_token"=>"3d678f174fa3d2c1e148c95095bbb86fef11473b1022af984e1c9f37bb4960b3", "expires_in"=>120, "scopes"=>"public write"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4a3c3790be14dfdf534c324b3de4613ef08be6fbdcb06a5cc8b665a9066dc3b4", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000f7')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b35415972990000f7'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 101", "uid"=>"4a3c3790be14dfdf534c324b3de4613ef08be6fbdcb06a5cc8b665a9066dc3b4", "secret"=>"0723ca5805d1ca5c144a72051cb923c74615fce65bf3058359d30c70ea65c5b5", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b35415972990000f7'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 101", "uid"=>"4a3c3790be14dfdf534c324b3de4613ef08be6fbdcb06a5cc8b665a9066dc3b4", "secret"=>"0723ca5805d1ca5c144a72051cb923c74615fce65bf3058359d30c70ea65c5b5", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"143c7bf5f926cdedaaa104bc13d24da49848a627ed307e2c8e086491b1edcd42", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000f6')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"b59bbc80179791fe99695125dac4f6aa57a223197f543111f8daaafd2a0c5ce4", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000f6')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b35415972990000f6'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000f7'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>45, "token"=>"143c7bf5f926cdedaaa104bc13d24da49848a627ed307e2c8e086491b1edcd42", "refresh_token"=>"b59bbc80179791fe99695125dac4f6aa57a223197f543111f8daaafd2a0c5ce4", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b35415972990000f6'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000f7'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>45, "token"=>"143c7bf5f926cdedaaa104bc13d24da49848a627ed307e2c8e086491b1edcd42", "refresh_token"=>"b59bbc80179791fe99695125dac4f6aa57a223197f543111f8daaafd2a0c5ce4", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4a3c3790be14dfdf534c324b3de4613ef08be6fbdcb06a5cc8b665a9066dc3b4"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f7d4a58dbd7cb80950021d4840caa5b55a10e855e6b73db59bbb4d9225fea1b6", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000f9')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b35415972990000f9'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 102", "uid"=>"f7d4a58dbd7cb80950021d4840caa5b55a10e855e6b73db59bbb4d9225fea1b6", "secret"=>"b4b3fb47b7ad643d04547d47c6013cb338cc97c63e5d7e147dda13b64922f1c5", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b35415972990000f9'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 102", "uid"=>"f7d4a58dbd7cb80950021d4840caa5b55a10e855e6b73db59bbb4d9225fea1b6", "secret"=>"b4b3fb47b7ad643d04547d47c6013cb338cc97c63e5d7e147dda13b64922f1c5", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"1fccfd3a999feff1930661377b07b1c09b56a95e1ac779a82fa2bc6faa6e5bb5", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000f8')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"01709a3adaf439b765f3017d75357fe42b16f2d0f9b395478293c81b0425d11d", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000f8')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b35415972990000f8'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000f9'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>46, "token"=>"1fccfd3a999feff1930661377b07b1c09b56a95e1ac779a82fa2bc6faa6e5bb5", "refresh_token"=>"01709a3adaf439b765f3017d75357fe42b16f2d0f9b395478293c81b0425d11d", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b35415972990000f8'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000f9'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>46, "token"=>"1fccfd3a999feff1930661377b07b1c09b56a95e1ac779a82fa2bc6faa6e5bb5", "refresh_token"=>"01709a3adaf439b765f3017d75357fe42b16f2d0f9b395478293c81b0425d11d", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f7d4a58dbd7cb80950021d4840caa5b55a10e855e6b73db59bbb4d9225fea1b6"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c3754435c1acda3bcecaeb823754eb97d00ceb58c36c04176148724e45bd432e", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000fb')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b35415972990000fb'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 103", "uid"=>"c3754435c1acda3bcecaeb823754eb97d00ceb58c36c04176148724e45bd432e", "secret"=>"f2e47e9cf9c97a6f880571ffe4e8e6923c57e999b30cc335fa2fcff146807c7c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b35415972990000fb'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 103", "uid"=>"c3754435c1acda3bcecaeb823754eb97d00ceb58c36c04176148724e45bd432e", "secret"=>"f2e47e9cf9c97a6f880571ffe4e8e6923c57e999b30cc335fa2fcff146807c7c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"860ca31b4ac16e5206aa004816f1c604633bbf3d3d302aa957f5d10ce96c9cae", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000fa')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"6b9a68227cc06cb49730bb8841f7b19de4167210b00518c6d6bd209155bd6cca", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000fa')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b35415972990000fa'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000fb'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>47, "token"=>"860ca31b4ac16e5206aa004816f1c604633bbf3d3d302aa957f5d10ce96c9cae", "refresh_token"=>"6b9a68227cc06cb49730bb8841f7b19de4167210b00518c6d6bd209155bd6cca", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b35415972990000fa'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000fb'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>47, "token"=>"860ca31b4ac16e5206aa004816f1c604633bbf3d3d302aa957f5d10ce96c9cae", "refresh_token"=>"6b9a68227cc06cb49730bb8841f7b19de4167210b00518c6d6bd209155bd6cca", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c3754435c1acda3bcecaeb823754eb97d00ceb58c36c04176148724e45bd432e"}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6244b35415972990000fa')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244b35415972990000fa')}, :u=>{"_id"=>BSON::ObjectId('5bb6244b35415972990000fa'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000fb'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>47, "token"=>"860ca31b4ac16e5206aa004816f1c604633bbf3d3d302aa957f5d10ce96c9cae", "refresh_token"=>"6b9a68227cc06cb49730bb8841f7b19de4167210b00518c6d6bd209155bd6cca", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC, "scopes"=>"public write"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244b35415972990000fa')}, {"_id"=>BSON::ObjectId('5bb6244b35415972990000fa'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000fb'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>47, "token"=>"860ca31b4ac16e5206aa004816f1c604633bbf3d3d302aa957f5d10ce96c9cae", "refresh_token"=>"6b9a68227cc06cb49730bb8841f7b19de4167210b00518c6d6bd209155bd6cca", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC, "scopes"=>"public write"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244b35415972990000fb')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"9b95f380dc555849e40b15a53ef02119acff0658d23815f63c26e38f36988956", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000fc')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"dceac314ec738779132d75b3753886204dfbdd338e70a73076f965d305bf442d", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000fc')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b35415972990000fc'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000fb'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>47, "token"=>"9b95f380dc555849e40b15a53ef02119acff0658d23815f63c26e38f36988956", "refresh_token"=>"dceac314ec738779132d75b3753886204dfbdd338e70a73076f965d305bf442d", "expires_in"=>120, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b35415972990000fc'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000fb'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>47, "token"=>"9b95f380dc555849e40b15a53ef02119acff0658d23815f63c26e38f36988956", "refresh_token"=>"dceac314ec738779132d75b3753886204dfbdd338e70a73076f965d305bf442d", "expires_in"=>120, "scopes"=>"public"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"40d59831a14d73fdad68edc74e9fac35e98d3189d030586666c8998698203de5", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000fe')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b35415972990000fe'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 104", "uid"=>"40d59831a14d73fdad68edc74e9fac35e98d3189d030586666c8998698203de5", "secret"=>"dcfbad840d966c3168be8d8c00f9e9da005cd439d9855f84ab2f98692fcf496d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b35415972990000fe'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 104", "uid"=>"40d59831a14d73fdad68edc74e9fac35e98d3189d030586666c8998698203de5", "secret"=>"dcfbad840d966c3168be8d8c00f9e9da005cd439d9855f84ab2f98692fcf496d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"8fda0e4ab706cfeb2bebbabc78b818b4ce4969123e82abd5d94e557184734349", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000fd')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"d00b0e41b102d97e34b60b8976d4a91aaf2d764d8b702c875638e2ce8b6ae7a2", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000fd')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b35415972990000fd'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000fe'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>48, "token"=>"8fda0e4ab706cfeb2bebbabc78b818b4ce4969123e82abd5d94e557184734349", "refresh_token"=>"d00b0e41b102d97e34b60b8976d4a91aaf2d764d8b702c875638e2ce8b6ae7a2", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b35415972990000fd'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000fe'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>48, "token"=>"8fda0e4ab706cfeb2bebbabc78b818b4ce4969123e82abd5d94e557184734349", "refresh_token"=>"d00b0e41b102d97e34b60b8976d4a91aaf2d764d8b702c875638e2ce8b6ae7a2", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"40d59831a14d73fdad68edc74e9fac35e98d3189d030586666c8998698203de5"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6244b35415972990000fd')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244b35415972990000fd')}, :u=>{"_id"=>BSON::ObjectId('5bb6244b35415972990000fd'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000fe'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>48, "token"=>"8fda0e4ab706cfeb2bebbabc78b818b4ce4969123e82abd5d94e557184734349", "refresh_token"=>"d00b0e41b102d97e34b60b8976d4a91aaf2d764d8b702c875638e2ce8b6ae7a2", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC, "scopes"=>"public write"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244b35415972990000fd')}, {"_id"=>BSON::ObjectId('5bb6244b35415972990000fd'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000fe'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>48, "token"=>"8fda0e4ab706cfeb2bebbabc78b818b4ce4969123e82abd5d94e557184734349", "refresh_token"=>"d00b0e41b102d97e34b60b8976d4a91aaf2d764d8b702c875638e2ce8b6ae7a2", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC, "scopes"=>"public write"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244b35415972990000fe')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"33a1f9055215b08c0a7e0e949f7988304a530fb9b9d4146fa9ff6616c918a04f", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000ff')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"6d68578365fdbac551eaf6b4169fbc567c97c04ce26dc51dc6b8a453f8db24e9", :_id=>{:$ne=>BSON::ObjectId('5bb6244b35415972990000ff')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b35415972990000ff'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000fe'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>48, "token"=>"33a1f9055215b08c0a7e0e949f7988304a530fb9b9d4146fa9ff6616c918a04f", "refresh_token"=>"6d68578365fdbac551eaf6b4169fbc567c97c04ce26dc51dc6b8a453f8db24e9", "expires_in"=>120, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b35415972990000ff'), "application_id"=>BSON::ObjectId('5bb6244b35415972990000fe'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>48, "token"=>"33a1f9055215b08c0a7e0e949f7988304a530fb9b9d4146fa9ff6616c918a04f", "refresh_token"=>"6d68578365fdbac551eaf6b4169fbc567c97c04ce26dc51dc6b8a453f8db24e9", "expires_in"=>120, "scopes"=>"public"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7155871b895317b4f4ca2bbbb56ef5fe65cfeffca6cbc6f6744ade9f72f4ae4e", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000101')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000101'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 105", "uid"=>"7155871b895317b4f4ca2bbbb56ef5fe65cfeffca6cbc6f6744ade9f72f4ae4e", "secret"=>"41ba12a81383280cdf030a75c37de45b5e9da8db11031d1b425d25ac2fc30db3", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000101'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 105", "uid"=>"7155871b895317b4f4ca2bbbb56ef5fe65cfeffca6cbc6f6744ade9f72f4ae4e", "secret"=>"41ba12a81383280cdf030a75c37de45b5e9da8db11031d1b425d25ac2fc30db3", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"3804536f17d7a68d496e35227cf668734e8ffae44654785d1dd2f541f2ee6e55", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000100')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"058088c980fe796fbdf1dcd0446058550f2d229fa96ae39c7a2065b901b5e801", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000100')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000100'), "application_id"=>BSON::ObjectId('5bb6244b3541597299000101'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>49, "token"=>"3804536f17d7a68d496e35227cf668734e8ffae44654785d1dd2f541f2ee6e55", "refresh_token"=>"058088c980fe796fbdf1dcd0446058550f2d229fa96ae39c7a2065b901b5e801", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000100'), "application_id"=>BSON::ObjectId('5bb6244b3541597299000101'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>49, "token"=>"3804536f17d7a68d496e35227cf668734e8ffae44654785d1dd2f541f2ee6e55", "refresh_token"=>"058088c980fe796fbdf1dcd0446058550f2d229fa96ae39c7a2065b901b5e801", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244b3541597299000101')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{:application_id=>BSON::ObjectId('5bb6244b3541597299000101')}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7155871b895317b4f4ca2bbbb56ef5fe65cfeffca6cbc6f6744ade9f72f4ae4e"}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6244b3541597299000100')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244b3541597299000101')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"180369c90d76261d1634012f6c23198f4008578bc51bb149f310c22b449b74b7", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000102')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"e8821ce8d59bd5e627796bf21617467191dd68f164e3317dbc694c927a575b6b", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000102')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000102'), "application_id"=>BSON::ObjectId('5bb6244b3541597299000101'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>49, "token"=>"180369c90d76261d1634012f6c23198f4008578bc51bb149f310c22b449b74b7", "refresh_token"=>"e8821ce8d59bd5e627796bf21617467191dd68f164e3317dbc694c927a575b6b", "previous_refresh_token"=>"058088c980fe796fbdf1dcd0446058550f2d229fa96ae39c7a2065b901b5e801", "expires_in"=>1234, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000102'), "application_id"=>BSON::ObjectId('5bb6244b3541597299000101'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>49, "token"=>"180369c90d76261d1634012f6c23198f4008578bc51bb149f310c22b449b74b7", "refresh_token"=>"e8821ce8d59bd5e627796bf21617467191dd68f164e3317dbc694c927a575b6b", "previous_refresh_token"=>"058088c980fe796fbdf1dcd0446058550f2d229fa96ae39c7a2065b901b5e801", "expires_in"=>1234, "scopes"=>""}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244b3541597299000101')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{:application_id=>BSON::ObjectId('5bb6244b3541597299000101')}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3bdd3a6b7de6ee88c0aff27517b3a57f719bc66090988577de3b8a281fcebdd7", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000104')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000104'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 106", "uid"=>"3bdd3a6b7de6ee88c0aff27517b3a57f719bc66090988577de3b8a281fcebdd7", "secret"=>"385a71081a8dd049788d3accafcff7057ac1cfa8e1bd1437c4ab0bc7627ea46e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000104'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 106", "uid"=>"3bdd3a6b7de6ee88c0aff27517b3a57f719bc66090988577de3b8a281fcebdd7", "secret"=>"385a71081a8dd049788d3accafcff7057ac1cfa8e1bd1437c4ab0bc7627ea46e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"90029abbb5b02468ac10c8edd51d3f477fe20aa88418fadd118e4b89ccf11c6c", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000103')}}, {:_id=>1}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"b70afd771cc69ec5d9ee09242036f9ab94bc3c00393caa99245feb94362a9ebe", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000103')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000103'), "application_id"=>BSON::ObjectId('5bb6244b3541597299000104'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>50, "token"=>"90029abbb5b02468ac10c8edd51d3f477fe20aa88418fadd118e4b89ccf11c6c", "refresh_token"=>"b70afd771cc69ec5d9ee09242036f9ab94bc3c00393caa99245feb94362a9ebe", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000103'), "application_id"=>BSON::ObjectId('5bb6244b3541597299000104'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>50, "token"=>"90029abbb5b02468ac10c8edd51d3f477fe20aa88418fadd118e4b89ccf11c6c", "refresh_token"=>"b70afd771cc69ec5d9ee09242036f9ab94bc3c00393caa99245feb94362a9ebe", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3bdd3a6b7de6ee88c0aff27517b3a57f719bc66090988577de3b8a281fcebdd7"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6244b3541597299000103')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244b3541597299000104')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"9de0adb21009960f923b903bc4099720668169c1a9d68c32c35982d4a55556f1", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000105')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"152f8cabc68754d0fd083d1e83223bff4f62072bd8179ffd6fae5fa85b2133b5", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000105')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000105'), "application_id"=>BSON::ObjectId('5bb6244b3541597299000104'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>50, "token"=>"9de0adb21009960f923b903bc4099720668169c1a9d68c32c35982d4a55556f1", "refresh_token"=>"152f8cabc68754d0fd083d1e83223bff4f62072bd8179ffd6fae5fa85b2133b5", "previous_refresh_token"=>"b70afd771cc69ec5d9ee09242036f9ab94bc3c00393caa99245feb94362a9ebe", "expires_in"=>1234, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000105'), "application_id"=>BSON::ObjectId('5bb6244b3541597299000104'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>50, "token"=>"9de0adb21009960f923b903bc4099720668169c1a9d68c32c35982d4a55556f1", "refresh_token"=>"152f8cabc68754d0fd083d1e83223bff4f62072bd8179ffd6fae5fa85b2133b5", "previous_refresh_token"=>"b70afd771cc69ec5d9ee09242036f9ab94bc3c00393caa99245feb94362a9ebe", "expires_in"=>1234, "scopes"=>""}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"dc8ad0d9c2b6b4523a476673be7cd0ab3c896044079b1b3081e53ee6b4e18cf8", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000107')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000107'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 107", "uid"=>"dc8ad0d9c2b6b4523a476673be7cd0ab3c896044079b1b3081e53ee6b4e18cf8", "secret"=>"a28326241f9ac813a8c5fbeba444e72016a6a878d635c4fcbb074515c6d91405", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000107'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 107", "uid"=>"dc8ad0d9c2b6b4523a476673be7cd0ab3c896044079b1b3081e53ee6b4e18cf8", "secret"=>"a28326241f9ac813a8c5fbeba444e72016a6a878d635c4fcbb074515c6d91405", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"577ecc3e9e6b9af0b60e0feda59525de086f1e98264277384496feae3ccaa8b2", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000106')}}, {:_id=>1}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"870f9bcf2680de0b8b41402221c075554eea94aaeddc4160d9d8cd627c17518f", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000106')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000106'), "application_id"=>BSON::ObjectId('5bb6244b3541597299000107'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>51, "token"=>"577ecc3e9e6b9af0b60e0feda59525de086f1e98264277384496feae3ccaa8b2", "refresh_token"=>"870f9bcf2680de0b8b41402221c075554eea94aaeddc4160d9d8cd627c17518f", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000106'), "application_id"=>BSON::ObjectId('5bb6244b3541597299000107'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>51, "token"=>"577ecc3e9e6b9af0b60e0feda59525de086f1e98264277384496feae3ccaa8b2", "refresh_token"=>"870f9bcf2680de0b8b41402221c075554eea94aaeddc4160d9d8cd627c17518f", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"dc8ad0d9c2b6b4523a476673be7cd0ab3c896044079b1b3081e53ee6b4e18cf8"}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6244b3541597299000106')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244b3541597299000107')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"0fdff14e583ad83b0f1e0bc7c0fd7279b6e083fa4e19799053b91057fe557ab9", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000108')}}, {:_id=>1}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"f09a2fd7cde7eed2e1967d9447dbcbc1e42c53baf97f90d4bcdb292ae85ae9b1", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000108')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000108'), "application_id"=>BSON::ObjectId('5bb6244b3541597299000107'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>51, "token"=>"0fdff14e583ad83b0f1e0bc7c0fd7279b6e083fa4e19799053b91057fe557ab9", "refresh_token"=>"f09a2fd7cde7eed2e1967d9447dbcbc1e42c53baf97f90d4bcdb292ae85ae9b1", "previous_refresh_token"=>"870f9bcf2680de0b8b41402221c075554eea94aaeddc4160d9d8cd627c17518f", "expires_in"=>1234, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000108'), "application_id"=>BSON::ObjectId('5bb6244b3541597299000107'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>51, "token"=>"0fdff14e583ad83b0f1e0bc7c0fd7279b6e083fa4e19799053b91057fe557ab9", "refresh_token"=>"f09a2fd7cde7eed2e1967d9447dbcbc1e42c53baf97f90d4bcdb292ae85ae9b1", "previous_refresh_token"=>"870f9bcf2680de0b8b41402221c075554eea94aaeddc4160d9d8cd627c17518f", "expires_in"=>1234, "scopes"=>""}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244b3541597299000107')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6244b3541597299000107')}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"4544ddc89cd57444d6e3e99ac83618ef1c9d17ba433e42499ee284d9c3dcf8e1", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000109')}}, {:_id=>1}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"7bf3149a5e8116d82ffada8666a81518fcfddd4546f7a397d817c526012f03c1", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000109')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000109'), "application_id"=>nil, "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>52, "token"=>"4544ddc89cd57444d6e3e99ac83618ef1c9d17ba433e42499ee284d9c3dcf8e1", "refresh_token"=>"7bf3149a5e8116d82ffada8666a81518fcfddd4546f7a397d817c526012f03c1", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000109'), "application_id"=>nil, "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>52, "token"=>"4544ddc89cd57444d6e3e99ac83618ef1c9d17ba433e42499ee284d9c3dcf8e1", "refresh_token"=>"7bf3149a5e8116d82ffada8666a81518fcfddd4546f7a397d817c526012f03c1", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6244b3541597299000109')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244b3541597299000109')}, :u=>{"_id"=>BSON::ObjectId('5bb6244b3541597299000109'), "application_id"=>nil, "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>52, "token"=>"4544ddc89cd57444d6e3e99ac83618ef1c9d17ba433e42499ee284d9c3dcf8e1", "refresh_token"=>"7bf3149a5e8116d82ffada8666a81518fcfddd4546f7a397d817c526012f03c1", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244b3541597299000109')}, {"_id"=>BSON::ObjectId('5bb6244b3541597299000109'), "application_id"=>nil, "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>52, "token"=>"4544ddc89cd57444d6e3e99ac83618ef1c9d17ba433e42499ee284d9c3dcf8e1", "refresh_token"=>"7bf3149a5e8116d82ffada8666a81518fcfddd4546f7a397d817c526012f03c1", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"42b35d768132da9eb9293e95e5893096fff27d66089e5136daa88ae9f39caa60", :_id=>{:$ne=>BSON::ObjectId('5bb6244b354159729900010a')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"a02b1513893af5da4bda04843cfda5900b6a8a815923e3e1881345fcf351fbe2", :_id=>{:$ne=>BSON::ObjectId('5bb6244b354159729900010a')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b354159729900010a'), "application_id"=>nil, "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>52, "token"=>"42b35d768132da9eb9293e95e5893096fff27d66089e5136daa88ae9f39caa60", "refresh_token"=>"a02b1513893af5da4bda04843cfda5900b6a8a815923e3e1881345fcf351fbe2", "expires_in"=>120, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b354159729900010a'), "application_id"=>nil, "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>52, "token"=>"42b35d768132da9eb9293e95e5893096fff27d66089e5136daa88ae9f39caa60", "refresh_token"=>"a02b1513893af5da4bda04843cfda5900b6a8a815923e3e1881345fcf351fbe2", "expires_in"=>120, "scopes"=>""}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b354159729900010b'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244b354159729900010b'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"42c2c58d07bf646635710fb8d8ac53565cece5561464fdc18eab317a93b4edfb", :_id=>{:$ne=>BSON::ObjectId('5bb6244b354159729900010c')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b354159729900010c'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 108", "uid"=>"42c2c58d07bf646635710fb8d8ac53565cece5561464fdc18eab317a93b4edfb", "secret"=>"6fc420d9be420cabe26a90444e8ca2084e7037729e14004bebea340de3001ba2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b354159729900010c'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 108", "uid"=>"42c2c58d07bf646635710fb8d8ac53565cece5561464fdc18eab317a93b4edfb", "secret"=>"6fc420d9be420cabe26a90444e8ca2084e7037729e14004bebea340de3001ba2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244b354159729900010c')}, :u=>{"_id"=>BSON::ObjectId('5bb6244b354159729900010c'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 108", "uid"=>"42c2c58d07bf646635710fb8d8ac53565cece5561464fdc18eab317a93b4edfb", "secret"=>"6fc420d9be420cabe26a90444e8ca2084e7037729e14004bebea340de3001ba2", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "confidential"=>true}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb6244b354159729900010c')}, {"_id"=>BSON::ObjectId('5bb6244b354159729900010c'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 108", "uid"=>"42c2c58d07bf646635710fb8d8ac53565cece5561464fdc18eab317a93b4edfb", "secret"=>"6fc420d9be420cabe26a90444e8ca2084e7037729e14004bebea340de3001ba2", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "confidential"=>true}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"42c2c58d07bf646635710fb8d8ac53565cece5561464fdc18eab317a93b4edfb", "response_type"=>"code", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"42c2c58d07bf646635710fb8d8ac53565cece5561464fdc18eab317a93b4edfb"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"3934e5daa3eb88bd9476b8b1e7bebf4423d9cbc5b39847c6036513d59af69d68", :_id=>{:$ne=>BSON::ObjectId('5bb6244b354159729900010d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b354159729900010d'), "application_id"=>BSON::ObjectId('5bb6244b354159729900010c'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244b354159729900010b'), "token"=>"3934e5daa3eb88bd9476b8b1e7bebf4423d9cbc5b39847c6036513d59af69d68", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244b354159729900010d'), "application_id"=>BSON::ObjectId('5bb6244b354159729900010c'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244b354159729900010b'), "token"=>"3934e5daa3eb88bd9476b8b1e7bebf4423d9cbc5b39847c6036513d59af69d68", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}) Redirected to http://test.host/oauth/authorize/native?code=3934e5daa3eb88bd9476b8b1e7bebf4423d9cbc5b39847c6036513d59af69d68 Completed 302 Found in 4ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b354159729900010e'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244b354159729900010e'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a1eb5b63e0316529508983d9d7016cbeca8fd95acaaf852455487933060c843b", :_id=>{:$ne=>BSON::ObjectId('5bb6244b354159729900010f')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b354159729900010f'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 109", "uid"=>"a1eb5b63e0316529508983d9d7016cbeca8fd95acaaf852455487933060c843b", "secret"=>"f602f9fafbcb19658f74c1e0b219f5fdf695be4ecfc913b68ecab89666e00459", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b354159729900010f'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 109", "uid"=>"a1eb5b63e0316529508983d9d7016cbeca8fd95acaaf852455487933060c843b", "secret"=>"f602f9fafbcb19658f74c1e0b219f5fdf695be4ecfc913b68ecab89666e00459", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244b354159729900010f')}, :u=>{"_id"=>BSON::ObjectId('5bb6244b354159729900010f'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 109", "uid"=>"a1eb5b63e0316529508983d9d7016cbeca8fd95acaaf852455487933060c843b", "secret"=>"f602f9fafbcb19658f74c1e0b219f5fdf695be4ecfc913b68ecab89666e00459", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "confidential"=>true}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb6244b354159729900010f')}, {"_id"=>BSON::ObjectId('5bb6244b354159729900010f'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 109", "uid"=>"a1eb5b63e0316529508983d9d7016cbeca8fd95acaaf852455487933060c843b", "secret"=>"f602f9fafbcb19658f74c1e0b219f5fdf695be4ecfc913b68ecab89666e00459", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "confidential"=>true}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"a1eb5b63e0316529508983d9d7016cbeca8fd95acaaf852455487933060c843b", "response_type"=>"code", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a1eb5b63e0316529508983d9d7016cbeca8fd95acaaf852455487933060c843b"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"25f61ca4da7e515f5ea0956455f5dbd6d91412c9f8b5073b8a67f5b1ca6c9d17", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000110')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000110'), "application_id"=>BSON::ObjectId('5bb6244b354159729900010f'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244b354159729900010e'), "token"=>"25f61ca4da7e515f5ea0956455f5dbd6d91412c9f8b5073b8a67f5b1ca6c9d17", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000110'), "application_id"=>BSON::ObjectId('5bb6244b354159729900010f'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244b354159729900010e'), "token"=>"25f61ca4da7e515f5ea0956455f5dbd6d91412c9f8b5073b8a67f5b1ca6c9d17", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}) Redirected to http://test.host/oauth/authorize/native?code=25f61ca4da7e515f5ea0956455f5dbd6d91412c9f8b5073b8a67f5b1ca6c9d17 Completed 302 Found in 3ms (ActiveRecord: 0.0ms) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000111'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000111'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"dc8c57852be5f7291e591cca633354d625c3432fb36b5f977191995f4991f89e", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000112')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000112'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 110", "uid"=>"dc8c57852be5f7291e591cca633354d625c3432fb36b5f977191995f4991f89e", "secret"=>"fb168893e770022972eb6b9ea91bb626a03f495997a15b2fb94fd8e51ac0dcbb", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000112'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 110", "uid"=>"dc8c57852be5f7291e591cca633354d625c3432fb36b5f977191995f4991f89e", "secret"=>"fb168893e770022972eb6b9ea91bb626a03f495997a15b2fb94fd8e51ac0dcbb", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244b3541597299000112')}, :u=>{"_id"=>BSON::ObjectId('5bb6244b3541597299000112'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 110", "uid"=>"dc8c57852be5f7291e591cca633354d625c3432fb36b5f977191995f4991f89e", "secret"=>"fb168893e770022972eb6b9ea91bb626a03f495997a15b2fb94fd8e51ac0dcbb", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "confidential"=>true}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb6244b3541597299000112')}, {"_id"=>BSON::ObjectId('5bb6244b3541597299000112'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 110", "uid"=>"dc8c57852be5f7291e591cca633354d625c3432fb36b5f977191995f4991f89e", "secret"=>"fb168893e770022972eb6b9ea91bb626a03f495997a15b2fb94fd8e51ac0dcbb", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "confidential"=>true}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"dc8c57852be5f7291e591cca633354d625c3432fb36b5f977191995f4991f89e", "response_type"=>"code", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"dc8c57852be5f7291e591cca633354d625c3432fb36b5f977191995f4991f89e"}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"42b1b337d15dba38ae85e1a1c48c47b8c0230fdb3da94ecd2fb2b67286d79b3e", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000113')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000113'), "application_id"=>BSON::ObjectId('5bb6244b3541597299000112'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244b3541597299000111'), "token"=>"42b1b337d15dba38ae85e1a1c48c47b8c0230fdb3da94ecd2fb2b67286d79b3e", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000113'), "application_id"=>BSON::ObjectId('5bb6244b3541597299000112'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244b3541597299000111'), "token"=>"42b1b337d15dba38ae85e1a1c48c47b8c0230fdb3da94ecd2fb2b67286d79b3e", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}) Redirected to http://test.host/oauth/authorize/native?code=42b1b337d15dba38ae85e1a1c48c47b8c0230fdb3da94ecd2fb2b67286d79b3e Completed 302 Found in 5ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000114'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000114'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"37ee21e05eb3e819583fc0ebe141baf6fac3d820ddc4cb6d114588d48c52c242", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000115')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000115'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 111", "uid"=>"37ee21e05eb3e819583fc0ebe141baf6fac3d820ddc4cb6d114588d48c52c242", "secret"=>"810aa22f6dca4c4c8dcf4fb0129cef2ac8bfb8a4be11f9eddfa86e586121427b", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000115'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 111", "uid"=>"37ee21e05eb3e819583fc0ebe141baf6fac3d820ddc4cb6d114588d48c52c242", "secret"=>"810aa22f6dca4c4c8dcf4fb0129cef2ac8bfb8a4be11f9eddfa86e586121427b", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244b3541597299000115')}, :u=>{"_id"=>BSON::ObjectId('5bb6244b3541597299000115'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 111", "uid"=>"37ee21e05eb3e819583fc0ebe141baf6fac3d820ddc4cb6d114588d48c52c242", "secret"=>"810aa22f6dca4c4c8dcf4fb0129cef2ac8bfb8a4be11f9eddfa86e586121427b", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "confidential"=>true}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb6244b3541597299000115')}, {"_id"=>BSON::ObjectId('5bb6244b3541597299000115'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 111", "uid"=>"37ee21e05eb3e819583fc0ebe141baf6fac3d820ddc4cb6d114588d48c52c242", "secret"=>"810aa22f6dca4c4c8dcf4fb0129cef2ac8bfb8a4be11f9eddfa86e586121427b", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "confidential"=>true}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"37ee21e05eb3e819583fc0ebe141baf6fac3d820ddc4cb6d114588d48c52c242", "response_type"=>"code", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"37ee21e05eb3e819583fc0ebe141baf6fac3d820ddc4cb6d114588d48c52c242"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"879e88a6b4b716ea98bdbe339eac4fe8d434c964ac487f3b72ecb57d1b9ce603", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000116')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000116'), "application_id"=>BSON::ObjectId('5bb6244b3541597299000115'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244b3541597299000114'), "token"=>"879e88a6b4b716ea98bdbe339eac4fe8d434c964ac487f3b72ecb57d1b9ce603", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000116'), "application_id"=>BSON::ObjectId('5bb6244b3541597299000115'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244b3541597299000114'), "token"=>"879e88a6b4b716ea98bdbe339eac4fe8d434c964ac487f3b72ecb57d1b9ce603", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}) Redirected to http://test.host/oauth/authorize/879e88a6b4b716ea98bdbe339eac4fe8d434c964ac487f3b72ecb57d1b9ce603 Completed 302 Found in 4ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000117'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000117'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c2b3fa4c40d1a88bdc54a2cf289f84247a7566575f3c8b291490989c722de21c", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000118')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000118'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 112", "uid"=>"c2b3fa4c40d1a88bdc54a2cf289f84247a7566575f3c8b291490989c722de21c", "secret"=>"a9d22bd0b200b83a2767a0df3b91c5fc1e5b1a0fcdb3a52ee86baa863ca05452", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000118'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 112", "uid"=>"c2b3fa4c40d1a88bdc54a2cf289f84247a7566575f3c8b291490989c722de21c", "secret"=>"a9d22bd0b200b83a2767a0df3b91c5fc1e5b1a0fcdb3a52ee86baa863ca05452", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244b3541597299000118')}, :u=>{"_id"=>BSON::ObjectId('5bb6244b3541597299000118'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 112", "uid"=>"c2b3fa4c40d1a88bdc54a2cf289f84247a7566575f3c8b291490989c722de21c", "secret"=>"a9d22bd0b200b83a2767a0df3b91c5fc1e5b1a0fcdb3a52ee86baa863ca05452", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "confidential"=>true}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb6244b3541597299000118')}, {"_id"=>BSON::ObjectId('5bb6244b3541597299000118'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 112", "uid"=>"c2b3fa4c40d1a88bdc54a2cf289f84247a7566575f3c8b291490989c722de21c", "secret"=>"a9d22bd0b200b83a2767a0df3b91c5fc1e5b1a0fcdb3a52ee86baa863ca05452", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "confidential"=>true}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"c2b3fa4c40d1a88bdc54a2cf289f84247a7566575f3c8b291490989c722de21c", "response_type"=>"code", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c2b3fa4c40d1a88bdc54a2cf289f84247a7566575f3c8b291490989c722de21c"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"5d8bdff8b5d96e43d63d02d85557587c70a3d8159fb2f72f25d8714563685321", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000119')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000119'), "application_id"=>BSON::ObjectId('5bb6244b3541597299000118'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244b3541597299000117'), "token"=>"5d8bdff8b5d96e43d63d02d85557587c70a3d8159fb2f72f25d8714563685321", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000119'), "application_id"=>BSON::ObjectId('5bb6244b3541597299000118'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244b3541597299000117'), "token"=>"5d8bdff8b5d96e43d63d02d85557587c70a3d8159fb2f72f25d8714563685321", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}) Redirected to http://test.host/oauth/authorize/5d8bdff8b5d96e43d63d02d85557587c70a3d8159fb2f72f25d8714563685321 Completed 302 Found in 4ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b354159729900011a'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244b354159729900011a'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"81ccca7f18785290fccb94fa8f2339848e3c10a3affae6cd88b6cee6075bf86c", :_id=>{:$ne=>BSON::ObjectId('5bb6244b354159729900011b')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b354159729900011b'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 113", "uid"=>"81ccca7f18785290fccb94fa8f2339848e3c10a3affae6cd88b6cee6075bf86c", "secret"=>"5121732d71a22450d26fc1b677e825fe2901ffd2abdbf95571217dabf7171065", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b354159729900011b'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 113", "uid"=>"81ccca7f18785290fccb94fa8f2339848e3c10a3affae6cd88b6cee6075bf86c", "secret"=>"5121732d71a22450d26fc1b677e825fe2901ffd2abdbf95571217dabf7171065", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244b354159729900011b')}, :u=>{"_id"=>BSON::ObjectId('5bb6244b354159729900011b'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 113", "uid"=>"81ccca7f18785290fccb94fa8f2339848e3c10a3affae6cd88b6cee6075bf86c", "secret"=>"5121732d71a22450d26fc1b677e825fe2901ffd2abdbf95571217dabf7171065", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "confidential"=>true}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb6244b354159729900011b')}, {"_id"=>BSON::ObjectId('5bb6244b354159729900011b'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 113", "uid"=>"81ccca7f18785290fccb94fa8f2339848e3c10a3affae6cd88b6cee6075bf86c", "secret"=>"5121732d71a22450d26fc1b677e825fe2901ffd2abdbf95571217dabf7171065", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "confidential"=>true}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"81ccca7f18785290fccb94fa8f2339848e3c10a3affae6cd88b6cee6075bf86c", "response_type"=>"code", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"81ccca7f18785290fccb94fa8f2339848e3c10a3affae6cd88b6cee6075bf86c"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"8f7c62ec05e98d41790abc6261a34dc40572f8d29ef8237c5f448dc3dcb9af1d", :_id=>{:$ne=>BSON::ObjectId('5bb6244b354159729900011c')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b354159729900011c'), "application_id"=>BSON::ObjectId('5bb6244b354159729900011b'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244b354159729900011a'), "token"=>"8f7c62ec05e98d41790abc6261a34dc40572f8d29ef8237c5f448dc3dcb9af1d", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244b354159729900011c'), "application_id"=>BSON::ObjectId('5bb6244b354159729900011b'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244b354159729900011a'), "token"=>"8f7c62ec05e98d41790abc6261a34dc40572f8d29ef8237c5f448dc3dcb9af1d", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}) Redirected to http://test.host/oauth/authorize/8f7c62ec05e98d41790abc6261a34dc40572f8d29ef8237c5f448dc3dcb9af1d Completed 302 Found in 4ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b354159729900011d'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244b354159729900011d'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"an_invalid"=>"request"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>""}).limit(-1) Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/error.html.erb within layouts/doorkeeper/application (0.4ms) Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b354159729900011e'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244b354159729900011e'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"an_invalid"=>"request"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>""}).limit(-1) Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/error.html.erb within layouts/doorkeeper/application (0.3ms) Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b354159729900011f'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244b354159729900011f'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"22be62350a47368c976559819d02b0119d1f601b3d7c5ae5518e356b99acc36a", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000120')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000120'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 114", "uid"=>"22be62350a47368c976559819d02b0119d1f601b3d7c5ae5518e356b99acc36a", "secret"=>"e5219f70fd708bc489c99f326d17d19c53af0571e8948e55bb28361dc8fbdc99", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000120'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 114", "uid"=>"22be62350a47368c976559819d02b0119d1f601b3d7c5ae5518e356b99acc36a", "secret"=>"e5219f70fd708bc489c99f326d17d19c53af0571e8948e55bb28361dc8fbdc99", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"22be62350a47368c976559819d02b0119d1f601b3d7c5ae5518e356b99acc36a", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"22be62350a47368c976559819d02b0119d1f601b3d7c5ae5518e356b99acc36a"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244b3541597299000120')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"740427239b118b81298658c0f2968bd957b4f2cb283802c4f1ecc067b9362c0a", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000121')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000121'), "application_id"=>BSON::ObjectId('5bb6244b3541597299000120'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244b354159729900011f'), "token"=>"740427239b118b81298658c0f2968bd957b4f2cb283802c4f1ecc067b9362c0a", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000121'), "application_id"=>BSON::ObjectId('5bb6244b3541597299000120'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244b354159729900011f'), "token"=>"740427239b118b81298658c0f2968bd957b4f2cb283802c4f1ecc067b9362c0a", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=740427239b118b81298658c0f2968bd957b4f2cb283802c4f1ecc067b9362c0a&token_type=Bearer&expires_in=7200 Completed 302 Found in 5ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000122'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000122'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"05dd0c0ba46ef7a459e45baed9b71f551a2c66950ac78e386df6baa71d548484", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000123')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000123'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 115", "uid"=>"05dd0c0ba46ef7a459e45baed9b71f551a2c66950ac78e386df6baa71d548484", "secret"=>"1336a23852cf6ca95f2f79bed443dd72a3f151cd07e6a5057aba6cc445981c93", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000123'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 115", "uid"=>"05dd0c0ba46ef7a459e45baed9b71f551a2c66950ac78e386df6baa71d548484", "secret"=>"1336a23852cf6ca95f2f79bed443dd72a3f151cd07e6a5057aba6cc445981c93", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"05dd0c0ba46ef7a459e45baed9b71f551a2c66950ac78e386df6baa71d548484", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"05dd0c0ba46ef7a459e45baed9b71f551a2c66950ac78e386df6baa71d548484"}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244b3541597299000123')}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"0161aabc5a6837aa69472e3273041cdfeda4a774b398d6c5c54dd5bdabbb5f48", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000124')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000124'), "application_id"=>BSON::ObjectId('5bb6244b3541597299000123'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244b3541597299000122'), "token"=>"0161aabc5a6837aa69472e3273041cdfeda4a774b398d6c5c54dd5bdabbb5f48", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000124'), "application_id"=>BSON::ObjectId('5bb6244b3541597299000123'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244b3541597299000122'), "token"=>"0161aabc5a6837aa69472e3273041cdfeda4a774b398d6c5c54dd5bdabbb5f48", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=0161aabc5a6837aa69472e3273041cdfeda4a774b398d6c5c54dd5bdabbb5f48&token_type=Bearer&expires_in=7200 Completed 302 Found in 7ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000125'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000125'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"180342c12bfbc2615018aa65313fd6f05868ef8d69eb174019b2051e22865d5c", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000126')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000126'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 116", "uid"=>"180342c12bfbc2615018aa65313fd6f05868ef8d69eb174019b2051e22865d5c", "secret"=>"b2f8305fe16a052c456bef9c5ebe5328ccde098aef6e351a35a24990d8649a6e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000126'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 116", "uid"=>"180342c12bfbc2615018aa65313fd6f05868ef8d69eb174019b2051e22865d5c", "secret"=>"b2f8305fe16a052c456bef9c5ebe5328ccde098aef6e351a35a24990d8649a6e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"180342c12bfbc2615018aa65313fd6f05868ef8d69eb174019b2051e22865d5c", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"180342c12bfbc2615018aa65313fd6f05868ef8d69eb174019b2051e22865d5c"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244b3541597299000126')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"db9868a04e61aacd7eab183fa8faf1b9891ad88608de70ee0aae8cb3c4274a7a", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000127')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000127'), "application_id"=>BSON::ObjectId('5bb6244b3541597299000126'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244b3541597299000125'), "token"=>"db9868a04e61aacd7eab183fa8faf1b9891ad88608de70ee0aae8cb3c4274a7a", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000127'), "application_id"=>BSON::ObjectId('5bb6244b3541597299000126'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244b3541597299000125'), "token"=>"db9868a04e61aacd7eab183fa8faf1b9891ad88608de70ee0aae8cb3c4274a7a", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=db9868a04e61aacd7eab183fa8faf1b9891ad88608de70ee0aae8cb3c4274a7a&token_type=Bearer&expires_in=7200 Completed 302 Found in 5ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000128'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000128'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"90781b3a2e1988fbd729352e4f4e3872cac6bd99a491dfb3e47af4edfd9be081", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000129')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000129'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 117", "uid"=>"90781b3a2e1988fbd729352e4f4e3872cac6bd99a491dfb3e47af4edfd9be081", "secret"=>"2b421242ba95f64a76d107f93ef20e7383131088d537e123c654bd1c4c424161", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000129'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 117", "uid"=>"90781b3a2e1988fbd729352e4f4e3872cac6bd99a491dfb3e47af4edfd9be081", "secret"=>"2b421242ba95f64a76d107f93ef20e7383131088d537e123c654bd1c4c424161", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"90781b3a2e1988fbd729352e4f4e3872cac6bd99a491dfb3e47af4edfd9be081", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"90781b3a2e1988fbd729352e4f4e3872cac6bd99a491dfb3e47af4edfd9be081"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244b3541597299000129')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"35caff12063d6bed8772df0dcf8a08c5f5768ed9954625500bc7c8a285a08d25", :_id=>{:$ne=>BSON::ObjectId('5bb6244b354159729900012a')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b354159729900012a'), "application_id"=>BSON::ObjectId('5bb6244b3541597299000129'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244b3541597299000128'), "token"=>"35caff12063d6bed8772df0dcf8a08c5f5768ed9954625500bc7c8a285a08d25", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b354159729900012a'), "application_id"=>BSON::ObjectId('5bb6244b3541597299000129'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244b3541597299000128'), "token"=>"35caff12063d6bed8772df0dcf8a08c5f5768ed9954625500bc7c8a285a08d25", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=35caff12063d6bed8772df0dcf8a08c5f5768ed9954625500bc7c8a285a08d25&token_type=Bearer&expires_in=7200 Completed 302 Found in 7ms (ActiveRecord: 0.0ms) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b354159729900012b'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244b354159729900012b'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"91c258f47ecabc03f5b79b695614f4fb38dba76b13bd38d68dc144ec5a6d85bb", :_id=>{:$ne=>BSON::ObjectId('5bb6244b354159729900012c')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b354159729900012c'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 118", "uid"=>"91c258f47ecabc03f5b79b695614f4fb38dba76b13bd38d68dc144ec5a6d85bb", "secret"=>"c2878df5f2bd41e303f4d02daf2d09fba87fd28a8b67dd2a7dfbba90dd0cb231", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b354159729900012c'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 118", "uid"=>"91c258f47ecabc03f5b79b695614f4fb38dba76b13bd38d68dc144ec5a6d85bb", "secret"=>"c2878df5f2bd41e303f4d02daf2d09fba87fd28a8b67dd2a7dfbba90dd0cb231", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"91c258f47ecabc03f5b79b695614f4fb38dba76b13bd38d68dc144ec5a6d85bb", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"91c258f47ecabc03f5b79b695614f4fb38dba76b13bd38d68dc144ec5a6d85bb"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244b354159729900012c')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"82834d067fb6124edb9a7e649452675c5e032ff2e7fb3b1755c3a40b5e477f32", :_id=>{:$ne=>BSON::ObjectId('5bb6244b354159729900012d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b354159729900012d'), "application_id"=>BSON::ObjectId('5bb6244b354159729900012c'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244b354159729900012b'), "token"=>"82834d067fb6124edb9a7e649452675c5e032ff2e7fb3b1755c3a40b5e477f32", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b354159729900012d'), "application_id"=>BSON::ObjectId('5bb6244b354159729900012c'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244b354159729900012b'), "token"=>"82834d067fb6124edb9a7e649452675c5e032ff2e7fb3b1755c3a40b5e477f32", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=82834d067fb6124edb9a7e649452675c5e032ff2e7fb3b1755c3a40b5e477f32&token_type=Bearer&expires_in=7200 Completed 302 Found in 4ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b354159729900012e'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244b354159729900012e'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d75b6967224abb18bdc26496feda21c6bf45bc829933846c9e9b2f8402e84976", :_id=>{:$ne=>BSON::ObjectId('5bb6244b354159729900012f')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b354159729900012f'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 119", "uid"=>"d75b6967224abb18bdc26496feda21c6bf45bc829933846c9e9b2f8402e84976", "secret"=>"fff2283d46327ff0f7f1f7cff245f6641aaf597ce7c189c35991942b715f978e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b354159729900012f'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 119", "uid"=>"d75b6967224abb18bdc26496feda21c6bf45bc829933846c9e9b2f8402e84976", "secret"=>"fff2283d46327ff0f7f1f7cff245f6641aaf597ce7c189c35991942b715f978e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"d75b6967224abb18bdc26496feda21c6bf45bc829933846c9e9b2f8402e84976", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d75b6967224abb18bdc26496feda21c6bf45bc829933846c9e9b2f8402e84976"}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244b354159729900012f')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"b5760c014cb9ed2c01280da12aa2501254350566f85508cb0460e6ea33ad963d", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000130')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000130'), "application_id"=>BSON::ObjectId('5bb6244b354159729900012f'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244b354159729900012e'), "token"=>"b5760c014cb9ed2c01280da12aa2501254350566f85508cb0460e6ea33ad963d", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000130'), "application_id"=>BSON::ObjectId('5bb6244b354159729900012f'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244b354159729900012e'), "token"=>"b5760c014cb9ed2c01280da12aa2501254350566f85508cb0460e6ea33ad963d", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=b5760c014cb9ed2c01280da12aa2501254350566f85508cb0460e6ea33ad963d&token_type=Bearer&expires_in=7200 Completed 302 Found in 7ms (ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000131'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000131'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"80cd45426f0439b2395314c55819da692482e33bf0501a1bbeb4e0255006ac00", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000132')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000132'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 120", "uid"=>"80cd45426f0439b2395314c55819da692482e33bf0501a1bbeb4e0255006ac00", "secret"=>"9b3b4b15ee9a13b1db46c61e971d653df84edf9d2aa9057cfb16c5d1e85379c2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000132'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 120", "uid"=>"80cd45426f0439b2395314c55819da692482e33bf0501a1bbeb4e0255006ac00", "secret"=>"9b3b4b15ee9a13b1db46c61e971d653df84edf9d2aa9057cfb16c5d1e85379c2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"80cd45426f0439b2395314c55819da692482e33bf0501a1bbeb4e0255006ac00", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"80cd45426f0439b2395314c55819da692482e33bf0501a1bbeb4e0255006ac00"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244b3541597299000132')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"b687740647bd2bf20066abc53f2616ba896897a5418cb6d2bff87c8ea08f1fe1", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000133')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000133'), "application_id"=>BSON::ObjectId('5bb6244b3541597299000132'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244b3541597299000131'), "token"=>"b687740647bd2bf20066abc53f2616ba896897a5418cb6d2bff87c8ea08f1fe1", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000133'), "application_id"=>BSON::ObjectId('5bb6244b3541597299000132'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244b3541597299000131'), "token"=>"b687740647bd2bf20066abc53f2616ba896897a5418cb6d2bff87c8ea08f1fe1", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=b687740647bd2bf20066abc53f2616ba896897a5418cb6d2bff87c8ea08f1fe1&token_type=Bearer&expires_in=7200 Completed 302 Found in 4ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000134'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000134'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d15dc3249f5ed0d35b891d072bb14f92db1dbac6b85f950f4053b9125dbf3d94", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000135')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000135'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 121", "uid"=>"d15dc3249f5ed0d35b891d072bb14f92db1dbac6b85f950f4053b9125dbf3d94", "secret"=>"ead907282c62f05af4568b99801e2a174d6992345cb49860ffb77ea7a2f59c6a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000135'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 121", "uid"=>"d15dc3249f5ed0d35b891d072bb14f92db1dbac6b85f950f4053b9125dbf3d94", "secret"=>"ead907282c62f05af4568b99801e2a174d6992345cb49860ffb77ea7a2f59c6a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244b3541597299000135')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"bd2d30143b62b0f28899c5e5ecac0f7b381d6a6d0a8e34d71a2414414e7f079f", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000136')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000136'), "application_id"=>BSON::ObjectId('5bb6244b3541597299000135'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244b3541597299000134'), "token"=>"bd2d30143b62b0f28899c5e5ecac0f7b381d6a6d0a8e34d71a2414414e7f079f", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000136'), "application_id"=>BSON::ObjectId('5bb6244b3541597299000135'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244b3541597299000134'), "token"=>"bd2d30143b62b0f28899c5e5ecac0f7b381d6a6d0a8e34d71a2414414e7f079f", "expires_in"=>7200}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"d15dc3249f5ed0d35b891d072bb14f92db1dbac6b85f950f4053b9125dbf3d94", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d15dc3249f5ed0d35b891d072bb14f92db1dbac6b85f950f4053b9125dbf3d94"}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6244b3541597299000135'), :resource_owner_id=>BSON::ObjectId('5bb6244b3541597299000134'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Redirected to https://app.com/callback#access_token=bd2d30143b62b0f28899c5e5ecac0f7b381d6a6d0a8e34d71a2414414e7f079f&token_type=Bearer&expires_in=7200 Completed 302 Found in 4ms (ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000137'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000137'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e2724141f149dcd567e64f729e25507372e919e38d63e3590cca38af14827145", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000138')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000138'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 122", "uid"=>"e2724141f149dcd567e64f729e25507372e919e38d63e3590cca38af14827145", "secret"=>"2bb9ffa1573afb3c27ea6f22e4c9b6bb68e011907d45a23c1d722d594a878839", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000138'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 122", "uid"=>"e2724141f149dcd567e64f729e25507372e919e38d63e3590cca38af14827145", "secret"=>"2bb9ffa1573afb3c27ea6f22e4c9b6bb68e011907d45a23c1d722d594a878839", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244b3541597299000138')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f382599d28b2b174b991555111bc96a4afbeca976854841959e38ae7cef5b8ca", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000139')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000139'), "application_id"=>BSON::ObjectId('5bb6244b3541597299000138'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244b3541597299000137'), "token"=>"f382599d28b2b174b991555111bc96a4afbeca976854841959e38ae7cef5b8ca", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000139'), "application_id"=>BSON::ObjectId('5bb6244b3541597299000138'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244b3541597299000137'), "token"=>"f382599d28b2b174b991555111bc96a4afbeca976854841959e38ae7cef5b8ca", "expires_in"=>7200}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"e2724141f149dcd567e64f729e25507372e919e38d63e3590cca38af14827145", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e2724141f149dcd567e64f729e25507372e919e38d63e3590cca38af14827145"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6244b3541597299000138'), :resource_owner_id=>BSON::ObjectId('5bb6244b3541597299000137'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Redirected to https://app.com/callback#access_token=f382599d28b2b174b991555111bc96a4afbeca976854841959e38ae7cef5b8ca&token_type=Bearer&expires_in=7200 Completed 302 Found in 3ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (6.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (6.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b354159729900013a'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244b354159729900013a'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4d94404037c11aa57a44d282d614c0719770e5a5463ef8d0a1a7d3f73b12773e", :_id=>{:$ne=>BSON::ObjectId('5bb6244b354159729900013b')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b354159729900013b'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 123", "uid"=>"4d94404037c11aa57a44d282d614c0719770e5a5463ef8d0a1a7d3f73b12773e", "secret"=>"56dabe833fb8c59ed28592b1a09fe53b1ae706db626dff700c4ce1acd965f442", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b354159729900013b'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 123", "uid"=>"4d94404037c11aa57a44d282d614c0719770e5a5463ef8d0a1a7d3f73b12773e", "secret"=>"56dabe833fb8c59ed28592b1a09fe53b1ae706db626dff700c4ce1acd965f442", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"4d94404037c11aa57a44d282d614c0719770e5a5463ef8d0a1a7d3f73b12773e", "response_type"=>"token", "scope"=>"invalid", "redirect_uri"=>"https://app.com/callback"} MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4d94404037c11aa57a44d282d614c0719770e5a5463ef8d0a1a7d3f73b12773e"}).limit(-1) Redirected to https://app.com/callback#error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed. Completed 302 Found in 3ms (ActiveRecord: 0.0ms) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b354159729900013c'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244b354159729900013c'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6ed662501b7224128e3fb167bdcd46bcfe0ec95018071637a0b71c9e15ea33dc", :_id=>{:$ne=>BSON::ObjectId('5bb6244b354159729900013d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b354159729900013d'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 124", "uid"=>"6ed662501b7224128e3fb167bdcd46bcfe0ec95018071637a0b71c9e15ea33dc", "secret"=>"575febd1b4f21f0708f1ea14a726d7a0d03f792f8da1b4820257d19d03e91d38", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b354159729900013d'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 124", "uid"=>"6ed662501b7224128e3fb167bdcd46bcfe0ec95018071637a0b71c9e15ea33dc", "secret"=>"575febd1b4f21f0708f1ea14a726d7a0d03f792f8da1b4820257d19d03e91d38", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"6ed662501b7224128e3fb167bdcd46bcfe0ec95018071637a0b71c9e15ea33dc", "response_type"=>"token", "scope"=>"invalid", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6ed662501b7224128e3fb167bdcd46bcfe0ec95018071637a0b71c9e15ea33dc"}).limit(-1) Redirected to https://app.com/callback#error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed. Completed 302 Found in 1ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b354159729900013e'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244b354159729900013e'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"03ecb2305779ec7437b224279fe30dde7605c35ba5759107442bc6ecd407fbb9", :_id=>{:$ne=>BSON::ObjectId('5bb6244b354159729900013f')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b354159729900013f'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 125", "uid"=>"03ecb2305779ec7437b224279fe30dde7605c35ba5759107442bc6ecd407fbb9", "secret"=>"e75f15ce1e209178184590497b4a3beb2203ca71d68b9f803bcba5c135c45baf", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b354159729900013f'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 125", "uid"=>"03ecb2305779ec7437b224279fe30dde7605c35ba5759107442bc6ecd407fbb9", "secret"=>"e75f15ce1e209178184590497b4a3beb2203ca71d68b9f803bcba5c135c45baf", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"03ecb2305779ec7437b224279fe30dde7605c35ba5759107442bc6ecd407fbb9", "response_type"=>"token", "scope"=>"invalid", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"03ecb2305779ec7437b224279fe30dde7605c35ba5759107442bc6ecd407fbb9"}).limit(-1) Redirected to https://app.com/callback#error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed. Completed 302 Found in 2ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000140'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000140'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2a4cf72525570db102b0a5ab84773ae14aee962a94b8a3b46780dc1cf063755c", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000141')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000141'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 126", "uid"=>"2a4cf72525570db102b0a5ab84773ae14aee962a94b8a3b46780dc1cf063755c", "secret"=>"4c60690de0ede3f78619d7fa838ab94623107c38ae09b1caae7f24a13761952e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000141'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 126", "uid"=>"2a4cf72525570db102b0a5ab84773ae14aee962a94b8a3b46780dc1cf063755c", "secret"=>"4c60690de0ede3f78619d7fa838ab94623107c38ae09b1caae7f24a13761952e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"2a4cf72525570db102b0a5ab84773ae14aee962a94b8a3b46780dc1cf063755c", "response_type"=>"token", "scope"=>"invalid", "redirect_uri"=>"https://app.com/callback"} MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2a4cf72525570db102b0a5ab84773ae14aee962a94b8a3b46780dc1cf063755c"}).limit(-1) Redirected to https://app.com/callback#error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed. Completed 302 Found in 3ms (ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000142'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000142'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"37c513f2a1d04878188b2370bb967e509f45b8ad5b11c5be549e1db6a2237456", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000143')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000143'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 127", "uid"=>"37c513f2a1d04878188b2370bb967e509f45b8ad5b11c5be549e1db6a2237456", "secret"=>"49d9e4f7059c03204a5ad1a3d6fa10d8194158f3424bf07fed3dcbaa2e7b2afd", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000143'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 127", "uid"=>"37c513f2a1d04878188b2370bb967e509f45b8ad5b11c5be549e1db6a2237456", "secret"=>"49d9e4f7059c03204a5ad1a3d6fa10d8194158f3424bf07fed3dcbaa2e7b2afd", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"37c513f2a1d04878188b2370bb967e509f45b8ad5b11c5be549e1db6a2237456", "response_type"=>"token", "scope"=>"invalid", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"37c513f2a1d04878188b2370bb967e509f45b8ad5b11c5be549e1db6a2237456"}).limit(-1) Redirected to https://app.com/callback#error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed. Completed 302 Found in 2ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000144'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000144'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2bee59fa9484496688de34f3ff7ac7ad7c0fb18add3f38d33a1081eafaaebb59", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000145')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000145'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 128", "uid"=>"2bee59fa9484496688de34f3ff7ac7ad7c0fb18add3f38d33a1081eafaaebb59", "secret"=>"09ba1e9011a21bef5717ef12cf49b301a1952ee15fbc2c0900e3cb3960bfeb84", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000145'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 128", "uid"=>"2bee59fa9484496688de34f3ff7ac7ad7c0fb18add3f38d33a1081eafaaebb59", "secret"=>"09ba1e9011a21bef5717ef12cf49b301a1952ee15fbc2c0900e3cb3960bfeb84", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"2bee59fa9484496688de34f3ff7ac7ad7c0fb18add3f38d33a1081eafaaebb59", "response_type"=>"token", "scope"=>"invalid", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2bee59fa9484496688de34f3ff7ac7ad7c0fb18add3f38d33a1081eafaaebb59"}).limit(-1) Redirected to https://app.com/callback#error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed. Completed 302 Found in 2ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000146'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000146'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a18e2ad7ef2d480bb5906d4563f6223f3ffb8fccb86d2c719cde08af433a62bc", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000147')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000147'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 129", "uid"=>"a18e2ad7ef2d480bb5906d4563f6223f3ffb8fccb86d2c719cde08af433a62bc", "secret"=>"2c1d0ff6eab535601acf16320e268620542a68fa720a827582196e3180fdb866", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000147'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 129", "uid"=>"a18e2ad7ef2d480bb5906d4563f6223f3ffb8fccb86d2c719cde08af433a62bc", "secret"=>"2c1d0ff6eab535601acf16320e268620542a68fa720a827582196e3180fdb866", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"a18e2ad7ef2d480bb5906d4563f6223f3ffb8fccb86d2c719cde08af433a62bc", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a18e2ad7ef2d480bb5906d4563f6223f3ffb8fccb86d2c719cde08af433a62bc"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244b3541597299000147')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"676a8e7e3a89b6eafddb1cf2850b26c79f0947dcb4a42d27ce1dc1784a832da7", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000148')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000148'), "application_id"=>BSON::ObjectId('5bb6244b3541597299000147'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244b3541597299000146'), "token"=>"676a8e7e3a89b6eafddb1cf2850b26c79f0947dcb4a42d27ce1dc1784a832da7", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000148'), "application_id"=>BSON::ObjectId('5bb6244b3541597299000147'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244b3541597299000146'), "token"=>"676a8e7e3a89b6eafddb1cf2850b26c79f0947dcb4a42d27ce1dc1784a832da7", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=676a8e7e3a89b6eafddb1cf2850b26c79f0947dcb4a42d27ce1dc1784a832da7&token_type=Bearer&expires_in=7200 Completed 302 Found in 5ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000149'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000149'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7a95494038af45bd1ab4b4c52ee5c8bc44635334088d8c1f577df1966abed159", :_id=>{:$ne=>BSON::ObjectId('5bb6244b354159729900014a')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b354159729900014a'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 130", "uid"=>"7a95494038af45bd1ab4b4c52ee5c8bc44635334088d8c1f577df1966abed159", "secret"=>"ea0f29bc8ae9a432a6894fca479e23724cee955525e7ca7c63abbfed51f2ce58", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b354159729900014a'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 130", "uid"=>"7a95494038af45bd1ab4b4c52ee5c8bc44635334088d8c1f577df1966abed159", "secret"=>"ea0f29bc8ae9a432a6894fca479e23724cee955525e7ca7c63abbfed51f2ce58", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"7a95494038af45bd1ab4b4c52ee5c8bc44635334088d8c1f577df1966abed159", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7a95494038af45bd1ab4b4c52ee5c8bc44635334088d8c1f577df1966abed159"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244b354159729900014a')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"9a941c41124a4fdde12ca3677f0d4e21b8f80878b6ecdff9f4c4d88e47525fd3", :_id=>{:$ne=>BSON::ObjectId('5bb6244b354159729900014b')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b354159729900014b'), "application_id"=>BSON::ObjectId('5bb6244b354159729900014a'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244b3541597299000149'), "token"=>"9a941c41124a4fdde12ca3677f0d4e21b8f80878b6ecdff9f4c4d88e47525fd3", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b354159729900014b'), "application_id"=>BSON::ObjectId('5bb6244b354159729900014a'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244b3541597299000149'), "token"=>"9a941c41124a4fdde12ca3677f0d4e21b8f80878b6ecdff9f4c4d88e47525fd3", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=9a941c41124a4fdde12ca3677f0d4e21b8f80878b6ecdff9f4c4d88e47525fd3&token_type=Bearer&expires_in=7200 Completed 302 Found in 4ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b354159729900014c'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244b354159729900014c'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1cd37fe3cd91c214b9dc93e8bb8832df990528848e91bf74865e09749be2d1fa", :_id=>{:$ne=>BSON::ObjectId('5bb6244b354159729900014d')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b354159729900014d'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 131", "uid"=>"1cd37fe3cd91c214b9dc93e8bb8832df990528848e91bf74865e09749be2d1fa", "secret"=>"004283dd6f878044a70a8d5177d629ce3d02ee0a7073c3279b3b30b05a065fca", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b354159729900014d'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 131", "uid"=>"1cd37fe3cd91c214b9dc93e8bb8832df990528848e91bf74865e09749be2d1fa", "secret"=>"004283dd6f878044a70a8d5177d629ce3d02ee0a7073c3279b3b30b05a065fca", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"1cd37fe3cd91c214b9dc93e8bb8832df990528848e91bf74865e09749be2d1fa", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1cd37fe3cd91c214b9dc93e8bb8832df990528848e91bf74865e09749be2d1fa"}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244b354159729900014d')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"8ce044c3bc436bb2ca249ed3ff9144cc22a4dfb0ce1594928da1fe0a98d90c5d", :_id=>{:$ne=>BSON::ObjectId('5bb6244b354159729900014e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b354159729900014e'), "application_id"=>BSON::ObjectId('5bb6244b354159729900014d'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244b354159729900014c'), "token"=>"8ce044c3bc436bb2ca249ed3ff9144cc22a4dfb0ce1594928da1fe0a98d90c5d", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b354159729900014e'), "application_id"=>BSON::ObjectId('5bb6244b354159729900014d'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244b354159729900014c'), "token"=>"8ce044c3bc436bb2ca249ed3ff9144cc22a4dfb0ce1594928da1fe0a98d90c5d", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=8ce044c3bc436bb2ca249ed3ff9144cc22a4dfb0ce1594928da1fe0a98d90c5d&token_type=Bearer&expires_in=7200 Completed 302 Found in 8ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b354159729900014f'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244b354159729900014f'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3b651e5d90af662dbe517fa83e21fc6b2befe77adbb70e8cfc2e9b94af4745a9", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000150')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000150'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 132", "uid"=>"3b651e5d90af662dbe517fa83e21fc6b2befe77adbb70e8cfc2e9b94af4745a9", "secret"=>"d435976dd0ea6ff3eee7fc73e1c289d0711d9b7d8744696ee1a98b67ba1b3a3d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000150'), "created_at"=>2018-10-04 14:31:39 UTC, "updated_at"=>2018-10-04 14:31:39 UTC, "name"=>"Application 132", "uid"=>"3b651e5d90af662dbe517fa83e21fc6b2befe77adbb70e8cfc2e9b94af4745a9", "secret"=>"d435976dd0ea6ff3eee7fc73e1c289d0711d9b7d8744696ee1a98b67ba1b3a3d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"3b651e5d90af662dbe517fa83e21fc6b2befe77adbb70e8cfc2e9b94af4745a9", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3b651e5d90af662dbe517fa83e21fc6b2befe77adbb70e8cfc2e9b94af4745a9"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244b3541597299000150')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"1ca49502850704269ac7bce729afc5047b7e556e96bfd21308ed1bd2653851a1", :_id=>{:$ne=>BSON::ObjectId('5bb6244b3541597299000151')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244b3541597299000151'), "application_id"=>BSON::ObjectId('5bb6244b3541597299000150'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244b354159729900014f'), "token"=>"1ca49502850704269ac7bce729afc5047b7e556e96bfd21308ed1bd2653851a1", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244b3541597299000151'), "application_id"=>BSON::ObjectId('5bb6244b3541597299000150'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244b354159729900014f'), "token"=>"1ca49502850704269ac7bce729afc5047b7e556e96bfd21308ed1bd2653851a1", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=1ca49502850704269ac7bce729afc5047b7e556e96bfd21308ed1bd2653851a1&token_type=Bearer&expires_in=7200 Completed 302 Found in 5ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000152'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000152'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"137e940b2683f00b3f7e603be98f0f338afaa20a3ad6e72cac6b4b958b2ebcc6", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000153')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000153'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 133", "uid"=>"137e940b2683f00b3f7e603be98f0f338afaa20a3ad6e72cac6b4b958b2ebcc6", "secret"=>"d19140a57e36f49e47232c23f36a68d8d864a92f1af582bba7405abd4edf52a7", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000153'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 133", "uid"=>"137e940b2683f00b3f7e603be98f0f338afaa20a3ad6e72cac6b4b958b2ebcc6", "secret"=>"d19140a57e36f49e47232c23f36a68d8d864a92f1af582bba7405abd4edf52a7", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"137e940b2683f00b3f7e603be98f0f338afaa20a3ad6e72cac6b4b958b2ebcc6", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"137e940b2683f00b3f7e603be98f0f338afaa20a3ad6e72cac6b4b958b2ebcc6"}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244c3541597299000153')}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"642a2d87bc1172573e642a57f368f6b3d73622b35bdb9e2387cabe33d59729ba", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000154')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000154'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000153'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244c3541597299000152'), "token"=>"642a2d87bc1172573e642a57f368f6b3d73622b35bdb9e2387cabe33d59729ba", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000154'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000153'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244c3541597299000152'), "token"=>"642a2d87bc1172573e642a57f368f6b3d73622b35bdb9e2387cabe33d59729ba", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=642a2d87bc1172573e642a57f368f6b3d73622b35bdb9e2387cabe33d59729ba&token_type=Bearer&expires_in=7200 Completed 302 Found in 8ms (ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000155'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000155'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"cc5feaa6e3e68d14309823c50c245f2f89ee0530aa08bb430bf3a0b4af451ad3", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000156')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000156'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 134", "uid"=>"cc5feaa6e3e68d14309823c50c245f2f89ee0530aa08bb430bf3a0b4af451ad3", "secret"=>"9255697f18aa91956576793166b2b9205374727ee806320ebbdaf39f1a1d0179", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000156'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 134", "uid"=>"cc5feaa6e3e68d14309823c50c245f2f89ee0530aa08bb430bf3a0b4af451ad3", "secret"=>"9255697f18aa91956576793166b2b9205374727ee806320ebbdaf39f1a1d0179", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"cc5feaa6e3e68d14309823c50c245f2f89ee0530aa08bb430bf3a0b4af451ad3", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"cc5feaa6e3e68d14309823c50c245f2f89ee0530aa08bb430bf3a0b4af451ad3"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244c3541597299000156')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e2976cc031c1edd8d9d6c59ee372b636299694f5c9f085960d4067755ae09d78", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000157')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000157'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000156'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244c3541597299000155'), "token"=>"e2976cc031c1edd8d9d6c59ee372b636299694f5c9f085960d4067755ae09d78", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000157'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000156'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244c3541597299000155'), "token"=>"e2976cc031c1edd8d9d6c59ee372b636299694f5c9f085960d4067755ae09d78", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=e2976cc031c1edd8d9d6c59ee372b636299694f5c9f085960d4067755ae09d78&token_type=Bearer&expires_in=7200 Completed 302 Found in 4ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000158'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000158'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a3714b9c124f93133840bfe417644066c5f53b76f15a543b7c339e0118f9a67e", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000159')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000159'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 135", "uid"=>"a3714b9c124f93133840bfe417644066c5f53b76f15a543b7c339e0118f9a67e", "secret"=>"d8d8eab15c090ae29b6e66dd131d726db8a4b33eb42bc64cc69ef7fea74cac4d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000159'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 135", "uid"=>"a3714b9c124f93133840bfe417644066c5f53b76f15a543b7c339e0118f9a67e", "secret"=>"d8d8eab15c090ae29b6e66dd131d726db8a4b33eb42bc64cc69ef7fea74cac4d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244c3541597299000159')}, :u=>{"_id"=>BSON::ObjectId('5bb6244c3541597299000159'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 135", "uid"=>"a3714b9c124f93133840bfe417644066c5f53b76f15a543b7c339e0118f9a67e", "secret"=>"d8d8eab15c090ae29b6e66dd131d726db8a4b33eb42bc64cc69ef7fea74cac4d", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "confidential"=>true}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb6244c3541597299000159')}, {"_id"=>BSON::ObjectId('5bb6244c3541597299000159'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 135", "uid"=>"a3714b9c124f93133840bfe417644066c5f53b76f15a543b7c339e0118f9a67e", "secret"=>"d8d8eab15c090ae29b6e66dd131d726db8a4b33eb42bc64cc69ef7fea74cac4d", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "confidential"=>true}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"a3714b9c124f93133840bfe417644066c5f53b76f15a543b7c339e0118f9a67e", "response_type"=>"token", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a3714b9c124f93133840bfe417644066c5f53b76f15a543b7c339e0118f9a67e"}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244c3541597299000159')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"a2ace6fd8e830df83618be05406da1c0367d67a72aa97f16a37ea9736a5b89d3", :_id=>{:$ne=>BSON::ObjectId('5bb6244c354159729900015a')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c354159729900015a'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000159'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244c3541597299000158'), "token"=>"a2ace6fd8e830df83618be05406da1c0367d67a72aa97f16a37ea9736a5b89d3", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244c354159729900015a'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000159'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244c3541597299000158'), "token"=>"a2ace6fd8e830df83618be05406da1c0367d67a72aa97f16a37ea9736a5b89d3", "expires_in"=>7200, "scopes"=>""}) Redirected to http://test.host/oauth/token/info?access_token=a2ace6fd8e830df83618be05406da1c0367d67a72aa97f16a37ea9736a5b89d3 Completed 302 Found in 7ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c354159729900015b'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244c354159729900015b'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5283049aef4049906718653a5d477080059c13a962789a6b4d2d5dc7fe57bd00", :_id=>{:$ne=>BSON::ObjectId('5bb6244c354159729900015c')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c354159729900015c'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 136", "uid"=>"5283049aef4049906718653a5d477080059c13a962789a6b4d2d5dc7fe57bd00", "secret"=>"9aa2be52615811a022107cc43da97f54f53173c534ffb0d1242b5e05d6101234", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244c354159729900015c'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 136", "uid"=>"5283049aef4049906718653a5d477080059c13a962789a6b4d2d5dc7fe57bd00", "secret"=>"9aa2be52615811a022107cc43da97f54f53173c534ffb0d1242b5e05d6101234", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244c354159729900015c')}, :u=>{"_id"=>BSON::ObjectId('5bb6244c354159729900015c'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 136", "uid"=>"5283049aef4049906718653a5d477080059c13a962789a6b4d2d5dc7fe57bd00", "secret"=>"9aa2be52615811a022107cc43da97f54f53173c534ffb0d1242b5e05d6101234", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "confidential"=>true}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb6244c354159729900015c')}, {"_id"=>BSON::ObjectId('5bb6244c354159729900015c'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 136", "uid"=>"5283049aef4049906718653a5d477080059c13a962789a6b4d2d5dc7fe57bd00", "secret"=>"9aa2be52615811a022107cc43da97f54f53173c534ffb0d1242b5e05d6101234", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "confidential"=>true}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"5283049aef4049906718653a5d477080059c13a962789a6b4d2d5dc7fe57bd00", "response_type"=>"token", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"} MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5283049aef4049906718653a5d477080059c13a962789a6b4d2d5dc7fe57bd00"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244c354159729900015c')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"c2293f8bf7ae4c33d38238fd14ec76bdd5816843b63f5bd61610c571a5d8f538", :_id=>{:$ne=>BSON::ObjectId('5bb6244c354159729900015d')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c354159729900015d'), "application_id"=>BSON::ObjectId('5bb6244c354159729900015c'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244c354159729900015b'), "token"=>"c2293f8bf7ae4c33d38238fd14ec76bdd5816843b63f5bd61610c571a5d8f538", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244c354159729900015d'), "application_id"=>BSON::ObjectId('5bb6244c354159729900015c'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244c354159729900015b'), "token"=>"c2293f8bf7ae4c33d38238fd14ec76bdd5816843b63f5bd61610c571a5d8f538", "expires_in"=>7200, "scopes"=>""}) Redirected to http://test.host/oauth/token/info?access_token=c2293f8bf7ae4c33d38238fd14ec76bdd5816843b63f5bd61610c571a5d8f538 Completed 302 Found in 4ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c354159729900015e'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244c354159729900015e'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c567ef318dd42e2ee9af210e6feeee4561ba985c6f99a51ddc1818a2c3e8d57c", :_id=>{:$ne=>BSON::ObjectId('5bb6244c354159729900015f')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c354159729900015f'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 137", "uid"=>"c567ef318dd42e2ee9af210e6feeee4561ba985c6f99a51ddc1818a2c3e8d57c", "secret"=>"146f1a8f63de7c2003bacacfa3fcb7e8c191e9c96328e409823c73a03cd1ade2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244c354159729900015f'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 137", "uid"=>"c567ef318dd42e2ee9af210e6feeee4561ba985c6f99a51ddc1818a2c3e8d57c", "secret"=>"146f1a8f63de7c2003bacacfa3fcb7e8c191e9c96328e409823c73a03cd1ade2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244c354159729900015f')}, :u=>{"_id"=>BSON::ObjectId('5bb6244c354159729900015f'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 137", "uid"=>"c567ef318dd42e2ee9af210e6feeee4561ba985c6f99a51ddc1818a2c3e8d57c", "secret"=>"146f1a8f63de7c2003bacacfa3fcb7e8c191e9c96328e409823c73a03cd1ade2", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "confidential"=>true}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb6244c354159729900015f')}, {"_id"=>BSON::ObjectId('5bb6244c354159729900015f'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 137", "uid"=>"c567ef318dd42e2ee9af210e6feeee4561ba985c6f99a51ddc1818a2c3e8d57c", "secret"=>"146f1a8f63de7c2003bacacfa3fcb7e8c191e9c96328e409823c73a03cd1ade2", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "confidential"=>true}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"c567ef318dd42e2ee9af210e6feeee4561ba985c6f99a51ddc1818a2c3e8d57c", "response_type"=>"token", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c567ef318dd42e2ee9af210e6feeee4561ba985c6f99a51ddc1818a2c3e8d57c"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244c354159729900015f')}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"4dd57541b3a45746d33f9a8abe0deac310dcd4d5ef64ebbf2d23c95adf5de6f5", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000160')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000160'), "application_id"=>BSON::ObjectId('5bb6244c354159729900015f'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244c354159729900015e'), "token"=>"4dd57541b3a45746d33f9a8abe0deac310dcd4d5ef64ebbf2d23c95adf5de6f5", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000160'), "application_id"=>BSON::ObjectId('5bb6244c354159729900015f'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244c354159729900015e'), "token"=>"4dd57541b3a45746d33f9a8abe0deac310dcd4d5ef64ebbf2d23c95adf5de6f5", "expires_in"=>7200, "scopes"=>""}) Redirected to http://test.host/oauth/token/info?access_token=4dd57541b3a45746d33f9a8abe0deac310dcd4d5ef64ebbf2d23c95adf5de6f5 Completed 302 Found in 6ms (ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0bee48be380f805071ef6527971a0e4d4c1132986c5e60e678d5255ebb8abc59", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000162')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000162'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 138", "uid"=>"0bee48be380f805071ef6527971a0e4d4c1132986c5e60e678d5255ebb8abc59", "secret"=>"6ce879721d02c7de330d4a6a0bfb6cdab14285981ca3c471ff94a29432e4eab3", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000162'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 138", "uid"=>"0bee48be380f805071ef6527971a0e4d4c1132986c5e60e678d5255ebb8abc59", "secret"=>"6ce879721d02c7de330d4a6a0bfb6cdab14285981ca3c471ff94a29432e4eab3", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"6ec2d2f6016603161211f7a5a5b007ae117f3a1bb261d5fca630165884db7034", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000161')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000161'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000162'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>1, "token"=>"6ec2d2f6016603161211f7a5a5b007ae117f3a1bb261d5fca630165884db7034", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000161'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000162'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>1, "token"=>"6ec2d2f6016603161211f7a5a5b007ae117f3a1bb261d5fca630165884db7034", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb6244c3541597299000161')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244c3541597299000161')}, :u=>{"_id"=>BSON::ObjectId('5bb6244c3541597299000161'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000162'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>1, "token"=>"6ec2d2f6016603161211f7a5a5b007ae117f3a1bb261d5fca630165884db7034", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb6244c3541597299000161')}, {"_id"=>BSON::ObjectId('5bb6244c3541597299000161'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000162'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>1, "token"=>"6ec2d2f6016603161211f7a5a5b007ae117f3a1bb261d5fca630165884db7034", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244c3541597299000162')}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244c3541597299000162')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d3fefb16670019a0488e05ce8ef743be5668d02882ae666eb519d98929b17bdb", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000163')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000163'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000162'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>1, "token"=>"d3fefb16670019a0488e05ce8ef743be5668d02882ae666eb519d98929b17bdb", "expires_in"=>172800, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000163'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000162'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>1, "token"=>"d3fefb16670019a0488e05ce8ef743be5668d02882ae666eb519d98929b17bdb", "expires_in"=>172800, "scopes"=>"public write"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"28414fef9d10f3e2bb4b45d93555456e9d82e87f3d5e572731654c395caaac01", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000165')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000165'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 139", "uid"=>"28414fef9d10f3e2bb4b45d93555456e9d82e87f3d5e572731654c395caaac01", "secret"=>"29051d0e97ba9482a66689082afb72c9f26ab43f64d9d5e15f0d63cc03eeb8ef", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000165'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 139", "uid"=>"28414fef9d10f3e2bb4b45d93555456e9d82e87f3d5e572731654c395caaac01", "secret"=>"29051d0e97ba9482a66689082afb72c9f26ab43f64d9d5e15f0d63cc03eeb8ef", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"1bdf397df26259c618d39e07a386a71d113cbae690d0ae87230d002613932d8d", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000164')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000164'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000165'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>2, "token"=>"1bdf397df26259c618d39e07a386a71d113cbae690d0ae87230d002613932d8d", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000164'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000165'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>2, "token"=>"1bdf397df26259c618d39e07a386a71d113cbae690d0ae87230d002613932d8d", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244c3541597299000165')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{:application_id=>BSON::ObjectId('5bb6244c3541597299000165')}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb6244c3541597299000164')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244c3541597299000164')}, :u=>{"_id"=>BSON::ObjectId('5bb6244c3541597299000164'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000165'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>2, "token"=>"1bdf397df26259c618d39e07a386a71d113cbae690d0ae87230d002613932d8d", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb6244c3541597299000164')}, {"_id"=>BSON::ObjectId('5bb6244c3541597299000164'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000165'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>2, "token"=>"1bdf397df26259c618d39e07a386a71d113cbae690d0ae87230d002613932d8d", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244c3541597299000165')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244c3541597299000165')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"be1a05bad0b0ee9d2aac00f1bec0e6563666f397f7d0b564c3df6a2419163929", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000166')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000166'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000165'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>2, "token"=>"be1a05bad0b0ee9d2aac00f1bec0e6563666f397f7d0b564c3df6a2419163929", "expires_in"=>172800, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000166'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000165'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>2, "token"=>"be1a05bad0b0ee9d2aac00f1bec0e6563666f397f7d0b564c3df6a2419163929", "expires_in"=>172800, "scopes"=>"public write"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244c3541597299000165')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{:application_id=>BSON::ObjectId('5bb6244c3541597299000165')}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c3c98febe6c56458a61c6bba1aa9cfb307fe0b8d9c417d180ed3d7fa66742f3e", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000168')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000168'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 140", "uid"=>"c3c98febe6c56458a61c6bba1aa9cfb307fe0b8d9c417d180ed3d7fa66742f3e", "secret"=>"4eb73b126caab166192977b2ba3f41f9cee8f3dcce2de68aa0d82fbe0ee1e633", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000168'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 140", "uid"=>"c3c98febe6c56458a61c6bba1aa9cfb307fe0b8d9c417d180ed3d7fa66742f3e", "secret"=>"4eb73b126caab166192977b2ba3f41f9cee8f3dcce2de68aa0d82fbe0ee1e633", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"a513419889853e24544d2040a6b1aa1944c57d62a65b774c9425bb364e481a76", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000167')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000167'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000168'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>3, "token"=>"a513419889853e24544d2040a6b1aa1944c57d62a65b774c9425bb364e481a76", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000167'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000168'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>3, "token"=>"a513419889853e24544d2040a6b1aa1944c57d62a65b774c9425bb364e481a76", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb6244c3541597299000167')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244c3541597299000167')}, :u=>{"_id"=>BSON::ObjectId('5bb6244c3541597299000167'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000168'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>3, "token"=>"a513419889853e24544d2040a6b1aa1944c57d62a65b774c9425bb364e481a76", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb6244c3541597299000167')}, {"_id"=>BSON::ObjectId('5bb6244c3541597299000167'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000168'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>3, "token"=>"a513419889853e24544d2040a6b1aa1944c57d62a65b774c9425bb364e481a76", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244c3541597299000168')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244c3541597299000168')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"37a11b36749aee9825fe3a5cf33776aaca8402b7ec147a05f7b3253be72c3a1b", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000169')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000169'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000168'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>3, "token"=>"37a11b36749aee9825fe3a5cf33776aaca8402b7ec147a05f7b3253be72c3a1b", "expires_in"=>172800, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000169'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000168'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>3, "token"=>"37a11b36749aee9825fe3a5cf33776aaca8402b7ec147a05f7b3253be72c3a1b", "expires_in"=>172800, "scopes"=>"public write"}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0fb80ab1c655cd5c49d1c8901ae178891615dfb7554927bb6e1ee2989f481b52", :_id=>{:$ne=>BSON::ObjectId('5bb6244c354159729900016b')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c354159729900016b'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 141", "uid"=>"0fb80ab1c655cd5c49d1c8901ae178891615dfb7554927bb6e1ee2989f481b52", "secret"=>"d5c6e4a21a9cf5cfc0b0f30211b76066a7d80db034bc5eef179346d678e47c64", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244c354159729900016b'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 141", "uid"=>"0fb80ab1c655cd5c49d1c8901ae178891615dfb7554927bb6e1ee2989f481b52", "secret"=>"d5c6e4a21a9cf5cfc0b0f30211b76066a7d80db034bc5eef179346d678e47c64", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"a7b5d8518a04dd30a6653d1e6aff2c4432ddedeef47fe7d2cfaa0cd4fe706f58", :_id=>{:$ne=>BSON::ObjectId('5bb6244c354159729900016a')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c354159729900016a'), "application_id"=>BSON::ObjectId('5bb6244c354159729900016b'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>4, "token"=>"a7b5d8518a04dd30a6653d1e6aff2c4432ddedeef47fe7d2cfaa0cd4fe706f58", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244c354159729900016a'), "application_id"=>BSON::ObjectId('5bb6244c354159729900016b'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>4, "token"=>"a7b5d8518a04dd30a6653d1e6aff2c4432ddedeef47fe7d2cfaa0cd4fe706f58", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244c354159729900016a')}, :u=>{"_id"=>BSON::ObjectId('5bb6244c354159729900016a'), "application_id"=>BSON::ObjectId('5bb6244c354159729900016b'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>4, "token"=>"a7b5d8518a04dd30a6653d1e6aff2c4432ddedeef47fe7d2cfaa0cd4fe706f58", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb6244c354159729900016a')}, {"_id"=>BSON::ObjectId('5bb6244c354159729900016a'), "application_id"=>BSON::ObjectId('5bb6244c354159729900016b'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>4, "token"=>"a7b5d8518a04dd30a6653d1e6aff2c4432ddedeef47fe7d2cfaa0cd4fe706f58", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"42ca035179139b85d751b30617002d24d76683cb0560cbab670fc4ceb46e9f3c", :_id=>{:$ne=>BSON::ObjectId('5bb6244c354159729900016d')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c354159729900016d'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 142", "uid"=>"42ca035179139b85d751b30617002d24d76683cb0560cbab670fc4ceb46e9f3c", "secret"=>"9dca591d1f8c19d803b8a1be23c39a70aeeacb381f9b57a3030cddbb7646d504", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244c354159729900016d'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 142", "uid"=>"42ca035179139b85d751b30617002d24d76683cb0560cbab670fc4ceb46e9f3c", "secret"=>"9dca591d1f8c19d803b8a1be23c39a70aeeacb381f9b57a3030cddbb7646d504", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"98ae697b261cb2b1f637182c8baa06e4508b7c86b0eeb06ad9e0783c9f5e9bd6", :_id=>{:$ne=>BSON::ObjectId('5bb6244c354159729900016c')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c354159729900016c'), "application_id"=>BSON::ObjectId('5bb6244c354159729900016d'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>5, "token"=>"98ae697b261cb2b1f637182c8baa06e4508b7c86b0eeb06ad9e0783c9f5e9bd6", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244c354159729900016c'), "application_id"=>BSON::ObjectId('5bb6244c354159729900016d'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>5, "token"=>"98ae697b261cb2b1f637182c8baa06e4508b7c86b0eeb06ad9e0783c9f5e9bd6", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"668d123aa519cd1b01c786c27a9598ef8fae2a173071359da8559218860f5bbf", :_id=>{:$ne=>BSON::ObjectId('5bb6244c354159729900016f')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c354159729900016f'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 143", "uid"=>"668d123aa519cd1b01c786c27a9598ef8fae2a173071359da8559218860f5bbf", "secret"=>"77719094c4ee8e843b05a208543d5dd7d1e43cbd09a1eeb4db81a05891b1b09d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244c354159729900016f'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 143", "uid"=>"668d123aa519cd1b01c786c27a9598ef8fae2a173071359da8559218860f5bbf", "secret"=>"77719094c4ee8e843b05a208543d5dd7d1e43cbd09a1eeb4db81a05891b1b09d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"99c94942c2c3c953f5ad1552a55cbdfa9bf60b09e2f64ce101925c1c22d754d7", :_id=>{:$ne=>BSON::ObjectId('5bb6244c354159729900016e')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c354159729900016e'), "application_id"=>BSON::ObjectId('5bb6244c354159729900016f'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>6, "token"=>"99c94942c2c3c953f5ad1552a55cbdfa9bf60b09e2f64ce101925c1c22d754d7", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244c354159729900016e'), "application_id"=>BSON::ObjectId('5bb6244c354159729900016f'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>6, "token"=>"99c94942c2c3c953f5ad1552a55cbdfa9bf60b09e2f64ce101925c1c22d754d7", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ba8efd04e37b7e54c0c807b68ccf6af0906b7370d81cd02484f6a288095309b3", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000171')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000171'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 144", "uid"=>"ba8efd04e37b7e54c0c807b68ccf6af0906b7370d81cd02484f6a288095309b3", "secret"=>"21202394dd32532b0b48ccd23101a59ab7faa22218132c435fa4d50479bd43bc", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000171'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 144", "uid"=>"ba8efd04e37b7e54c0c807b68ccf6af0906b7370d81cd02484f6a288095309b3", "secret"=>"21202394dd32532b0b48ccd23101a59ab7faa22218132c435fa4d50479bd43bc", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"85f8fca8fb55fb8995a94bb2d31c4e00adba7a4d8ac6b45a44834c92aeb5737f", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000170')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000170'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000171'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>7, "token"=>"85f8fca8fb55fb8995a94bb2d31c4e00adba7a4d8ac6b45a44834c92aeb5737f", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000170'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000171'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>7, "token"=>"85f8fca8fb55fb8995a94bb2d31c4e00adba7a4d8ac6b45a44834c92aeb5737f", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb6244c3541597299000170')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244c3541597299000171')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb6244c3541597299000170')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244c3541597299000170')}, :u=>{"_id"=>BSON::ObjectId('5bb6244c3541597299000170'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000171'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>7, "token"=>"85f8fca8fb55fb8995a94bb2d31c4e00adba7a4d8ac6b45a44834c92aeb5737f", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb6244c3541597299000170')}, {"_id"=>BSON::ObjectId('5bb6244c3541597299000170'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000171'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>7, "token"=>"85f8fca8fb55fb8995a94bb2d31c4e00adba7a4d8ac6b45a44834c92aeb5737f", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244c3541597299000171')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244c3541597299000171')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d57551be039b93af7c4486255aca03859e6daec97522e723507ca907be01f76f", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000172')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000172'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000171'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>7, "token"=>"d57551be039b93af7c4486255aca03859e6daec97522e723507ca907be01f76f", "expires_in"=>172800, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000172'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000171'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>7, "token"=>"d57551be039b93af7c4486255aca03859e6daec97522e723507ca907be01f76f", "expires_in"=>172800, "scopes"=>"public write"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb6244c3541597299000170')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a364770bf8458235caf5b79f7ad795fb724dab3f8994649547cba40fbb645e45", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000174')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000174'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 145", "uid"=>"a364770bf8458235caf5b79f7ad795fb724dab3f8994649547cba40fbb645e45", "secret"=>"177b10de05c3599658dd5e31816cbf053464437ae7724b9c8b7d57e0272b938f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000174'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 145", "uid"=>"a364770bf8458235caf5b79f7ad795fb724dab3f8994649547cba40fbb645e45", "secret"=>"177b10de05c3599658dd5e31816cbf053464437ae7724b9c8b7d57e0272b938f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"fdbf6522223604c524d716ac15f314c20cb849905736774afea7e434eef4233f", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000173')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000173'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000174'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>8, "token"=>"fdbf6522223604c524d716ac15f314c20cb849905736774afea7e434eef4233f", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000173'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000174'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>8, "token"=>"fdbf6522223604c524d716ac15f314c20cb849905736774afea7e434eef4233f", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244c3541597299000174')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"5a7c3ecd72edb339db6467d9c3d09b2a85f07aa79b3e5846098d4b50dfbbd59a", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000175')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000175'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000174'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>8, "token"=>"5a7c3ecd72edb339db6467d9c3d09b2a85f07aa79b3e5846098d4b50dfbbd59a", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000175'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000174'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>8, "token"=>"5a7c3ecd72edb339db6467d9c3d09b2a85f07aa79b3e5846098d4b50dfbbd59a", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb6244c3541597299000173')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244c3541597299000173')}, :u=>{"_id"=>BSON::ObjectId('5bb6244c3541597299000173'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000174'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>8, "token"=>"fdbf6522223604c524d716ac15f314c20cb849905736774afea7e434eef4233f", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb6244c3541597299000173')}, {"_id"=>BSON::ObjectId('5bb6244c3541597299000173'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000174'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>8, "token"=>"fdbf6522223604c524d716ac15f314c20cb849905736774afea7e434eef4233f", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244c3541597299000174')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6244c3541597299000174'), :resource_owner_id=>8, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"26bf6b5097c63a409be90e062c07dc542cf15dad96e9d669cd7832f01dfeba75", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000177')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000177'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 146", "uid"=>"26bf6b5097c63a409be90e062c07dc542cf15dad96e9d669cd7832f01dfeba75", "secret"=>"55a16d643ce77f8a294b59fd392f9067308180d790ac463656ef8b73c1fc9d87", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000177'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 146", "uid"=>"26bf6b5097c63a409be90e062c07dc542cf15dad96e9d669cd7832f01dfeba75", "secret"=>"55a16d643ce77f8a294b59fd392f9067308180d790ac463656ef8b73c1fc9d87", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"e3e90f8c0fb37fac0ab8cf8fcdbde8c1763b8974a94e9ee1e31e8a5d204e3963", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000176')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000176'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000177'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>9, "token"=>"e3e90f8c0fb37fac0ab8cf8fcdbde8c1763b8974a94e9ee1e31e8a5d204e3963", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000176'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000177'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>9, "token"=>"e3e90f8c0fb37fac0ab8cf8fcdbde8c1763b8974a94e9ee1e31e8a5d204e3963", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f1dd50b0da17155029b12a734e90177fa92d6c77053a60d423bfe08258466543", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000179')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000179'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 147", "uid"=>"f1dd50b0da17155029b12a734e90177fa92d6c77053a60d423bfe08258466543", "secret"=>"5d69906fedd272853896608706543df42f0e2159b9957c6f02b9c771072ef414", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000179'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 147", "uid"=>"f1dd50b0da17155029b12a734e90177fa92d6c77053a60d423bfe08258466543", "secret"=>"5d69906fedd272853896608706543df42f0e2159b9957c6f02b9c771072ef414", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"3e88b675f2a029735e6143a9ff621290e88009f7ff75ccff444b333fbbb66de3", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000178')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000178'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000179'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>10, "token"=>"3e88b675f2a029735e6143a9ff621290e88009f7ff75ccff444b333fbbb66de3", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000178'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000179'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>10, "token"=>"3e88b675f2a029735e6143a9ff621290e88009f7ff75ccff444b333fbbb66de3", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d7b1d668a940a23f83d653285ddf38ad3376a6f81df5a53d1134f451c1813dfb", :_id=>{:$ne=>BSON::ObjectId('5bb6244c354159729900017a')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c354159729900017a'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 148", "uid"=>"d7b1d668a940a23f83d653285ddf38ad3376a6f81df5a53d1134f451c1813dfb", "secret"=>"09c21a9d0952c75156d7eecb5ac4aef56845b79b3fc9203873d7e2b79d609503", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244c354159729900017a'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 148", "uid"=>"d7b1d668a940a23f83d653285ddf38ad3376a6f81df5a53d1134f451c1813dfb", "secret"=>"09c21a9d0952c75156d7eecb5ac4aef56845b79b3fc9203873d7e2b79d609503", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f509b1ceb17299a12b0dff9564cf9ef7122160cab454a32c53221de9b34699fa", :_id=>{:$ne=>BSON::ObjectId('5bb6244c354159729900017c')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c354159729900017c'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 149", "uid"=>"f509b1ceb17299a12b0dff9564cf9ef7122160cab454a32c53221de9b34699fa", "secret"=>"c9bbaaeacf9525a8a79e57475b702aa44ac57aa967b5182e9e18ccb8b1f24933", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244c354159729900017c'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 149", "uid"=>"f509b1ceb17299a12b0dff9564cf9ef7122160cab454a32c53221de9b34699fa", "secret"=>"c9bbaaeacf9525a8a79e57475b702aa44ac57aa967b5182e9e18ccb8b1f24933", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"48b358b4656f477378b7bcd24a2224b04dec0881b1e37f9f68bbc431e77bbd13", :_id=>{:$ne=>BSON::ObjectId('5bb6244c354159729900017b')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c354159729900017b'), "application_id"=>BSON::ObjectId('5bb6244c354159729900017c'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>11, "token"=>"48b358b4656f477378b7bcd24a2224b04dec0881b1e37f9f68bbc431e77bbd13", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244c354159729900017b'), "application_id"=>BSON::ObjectId('5bb6244c354159729900017c'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>11, "token"=>"48b358b4656f477378b7bcd24a2224b04dec0881b1e37f9f68bbc431e77bbd13", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"72f0b5be91652506ed2fd696ad87d44a6835bd0979b56ff4b8827f92b4875ee9", :_id=>{:$ne=>BSON::ObjectId('5bb6244c354159729900017e')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c354159729900017e'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 150", "uid"=>"72f0b5be91652506ed2fd696ad87d44a6835bd0979b56ff4b8827f92b4875ee9", "secret"=>"9956a41c6b8a814e59ca4383a3f0967eb66fdd81c5a22b2cad186d828a9ea036", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244c354159729900017e'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 150", "uid"=>"72f0b5be91652506ed2fd696ad87d44a6835bd0979b56ff4b8827f92b4875ee9", "secret"=>"9956a41c6b8a814e59ca4383a3f0967eb66fdd81c5a22b2cad186d828a9ea036", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"809bfdf9fd65e64b4957e4ef45dcae4cb3fd18c17cc0b86168c03725d7584723", :_id=>{:$ne=>BSON::ObjectId('5bb6244c354159729900017d')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c354159729900017d'), "application_id"=>BSON::ObjectId('5bb6244c354159729900017e'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>12, "token"=>"809bfdf9fd65e64b4957e4ef45dcae4cb3fd18c17cc0b86168c03725d7584723", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244c354159729900017d'), "application_id"=>BSON::ObjectId('5bb6244c354159729900017e'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>12, "token"=>"809bfdf9fd65e64b4957e4ef45dcae4cb3fd18c17cc0b86168c03725d7584723", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a1dab2a347bfe8611b554460976f37f2f406ac33b37187e58ac4ca862c6b9a06", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000180')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000180'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 151", "uid"=>"a1dab2a347bfe8611b554460976f37f2f406ac33b37187e58ac4ca862c6b9a06", "secret"=>"7d0cb599636e123674ea55593bcde41c4c019d0016a4a90d4ee05b827bd45173", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000180'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 151", "uid"=>"a1dab2a347bfe8611b554460976f37f2f406ac33b37187e58ac4ca862c6b9a06", "secret"=>"7d0cb599636e123674ea55593bcde41c4c019d0016a4a90d4ee05b827bd45173", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"67942c32815dd1ee6c6fc9dde5485edf9812edb75944fcf4382e25c4a0fc9de9", :_id=>{:$ne=>BSON::ObjectId('5bb6244c354159729900017f')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c354159729900017f'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000180'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>13, "token"=>"67942c32815dd1ee6c6fc9dde5485edf9812edb75944fcf4382e25c4a0fc9de9", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244c354159729900017f'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000180'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>13, "token"=>"67942c32815dd1ee6c6fc9dde5485edf9812edb75944fcf4382e25c4a0fc9de9", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d2e3d26da8d81ff4c7e95d3ea58e2d12d4bed230276839c0fe2695183dda947b", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000182')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000182'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 152", "uid"=>"d2e3d26da8d81ff4c7e95d3ea58e2d12d4bed230276839c0fe2695183dda947b", "secret"=>"e5f5ca8dbfe624b7ec195f09cd18a5b9d83a65f4c2a85a1aa5d1a576a70d0b06", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000182'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 152", "uid"=>"d2e3d26da8d81ff4c7e95d3ea58e2d12d4bed230276839c0fe2695183dda947b", "secret"=>"e5f5ca8dbfe624b7ec195f09cd18a5b9d83a65f4c2a85a1aa5d1a576a70d0b06", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"bc949969adeb81282173520a7e115a7ff31746e67c1348f32a4ce603b68952d6", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000181')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000181'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000182'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>14, "token"=>"bc949969adeb81282173520a7e115a7ff31746e67c1348f32a4ce603b68952d6", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000181'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000182'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>14, "token"=>"bc949969adeb81282173520a7e115a7ff31746e67c1348f32a4ce603b68952d6", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"bf5797ae1d8b2fb5b90d8e8758b94fc6c8044dbe6aab27abeadfd7c286ae2a01", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000184')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000184'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 153", "uid"=>"bf5797ae1d8b2fb5b90d8e8758b94fc6c8044dbe6aab27abeadfd7c286ae2a01", "secret"=>"b498fed741df96ea935f40967918eaf301297f794635f29532d77bfd436e569a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000184'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 153", "uid"=>"bf5797ae1d8b2fb5b90d8e8758b94fc6c8044dbe6aab27abeadfd7c286ae2a01", "secret"=>"b498fed741df96ea935f40967918eaf301297f794635f29532d77bfd436e569a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"4a989bbc279989bed2b3999e0d4c69fdcac08212ef7a36f96afaaa657eb3e3a8", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000183')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000183'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000184'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>15, "token"=>"4a989bbc279989bed2b3999e0d4c69fdcac08212ef7a36f96afaaa657eb3e3a8", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000183'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000184'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>15, "token"=>"4a989bbc279989bed2b3999e0d4c69fdcac08212ef7a36f96afaaa657eb3e3a8", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2410bc26ea3cc507dfc751f66f6140ae9faac03b53397438ac19fad9b2f311de", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000185')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000185'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 154", "uid"=>"2410bc26ea3cc507dfc751f66f6140ae9faac03b53397438ac19fad9b2f311de", "secret"=>"3d8478aba57cdab67e740fb23c546b67278469580c7bf343bd2cc3ce05faa93f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000185'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 154", "uid"=>"2410bc26ea3cc507dfc751f66f6140ae9faac03b53397438ac19fad9b2f311de", "secret"=>"3d8478aba57cdab67e740fb23c546b67278469580c7bf343bd2cc3ce05faa93f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"10591127d434612f21ce29538191fa229e09d1a760a9a4d66cf4ffa31da5a546", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000186')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000186'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000185'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>16, "token"=>"10591127d434612f21ce29538191fa229e09d1a760a9a4d66cf4ffa31da5a546", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000186'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000185'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>16, "token"=>"10591127d434612f21ce29538191fa229e09d1a760a9a4d66cf4ffa31da5a546", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token?code=[FILTERED]&client_id&client_secret&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:31:40 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>nil, "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"10591127d434612f21ce29538191fa229e09d1a760a9a4d66cf4ffa31da5a546"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2410bc26ea3cc507dfc751f66f6140ae9faac03b53397438ac19fad9b2f311de"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb6244c3541597299000186')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244c3541597299000186')}, :u=>{"_id"=>BSON::ObjectId('5bb6244c3541597299000186'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000185'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>16, "token"=>"10591127d434612f21ce29538191fa229e09d1a760a9a4d66cf4ffa31da5a546", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb6244c3541597299000186')}, {"_id"=>BSON::ObjectId('5bb6244c3541597299000186'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000185'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>16, "token"=>"10591127d434612f21ce29538191fa229e09d1a760a9a4d66cf4ffa31da5a546", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244c3541597299000185')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244c3541597299000185')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"9ce6853a1f85854fca62de5834802f38d0f6d8060cc019b39adc1145753f0e1c", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000187')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000187'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000185'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>16, "token"=>"9ce6853a1f85854fca62de5834802f38d0f6d8060cc019b39adc1145753f0e1c", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000187'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000185'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>16, "token"=>"9ce6853a1f85854fca62de5834802f38d0f6d8060cc019b39adc1145753f0e1c", "expires_in"=>7200, "scopes"=>"public"}) Completed 200 OK in 7ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"045cb46944e29378b3e9abb07dd8e170b706a36a784be74d4b2bb8d003431e57", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000188')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000188'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 155", "uid"=>"045cb46944e29378b3e9abb07dd8e170b706a36a784be74d4b2bb8d003431e57", "secret"=>"929ff1f8e7e226205cb70f3dea7a1cc7621b6b649b9f07550241507fedf3b025", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000188'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 155", "uid"=>"045cb46944e29378b3e9abb07dd8e170b706a36a784be74d4b2bb8d003431e57", "secret"=>"929ff1f8e7e226205cb70f3dea7a1cc7621b6b649b9f07550241507fedf3b025", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"550b031dc44b63cd30709028c17d71ad2cdd065a8b248a83d9389cf440b5c82d", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000189')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000189'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000188'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>17, "token"=>"550b031dc44b63cd30709028c17d71ad2cdd065a8b248a83d9389cf440b5c82d", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000189'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000188'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>17, "token"=>"550b031dc44b63cd30709028c17d71ad2cdd065a8b248a83d9389cf440b5c82d", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token?code=[FILTERED]&client_id=045cb46944e29378b3e9abb07dd8e170b706a36a784be74d4b2bb8d003431e57&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=nothing" for 127.0.0.1 at 2018-10-04 17:31:40 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"045cb46944e29378b3e9abb07dd8e170b706a36a784be74d4b2bb8d003431e57", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"nothing"} Completed 401 Unauthorized in 0ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"22e274f4848bd3689ec80064ca71d6b87cf90c701293ec20fa4b67c4f3857366", :_id=>{:$ne=>BSON::ObjectId('5bb6244c354159729900018a')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c354159729900018a'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 156", "uid"=>"22e274f4848bd3689ec80064ca71d6b87cf90c701293ec20fa4b67c4f3857366", "secret"=>"0eacb51fdeefc944df71090625790bd8e089624e4a44e9b2c2afb82f6157b3e7", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244c354159729900018a'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 156", "uid"=>"22e274f4848bd3689ec80064ca71d6b87cf90c701293ec20fa4b67c4f3857366", "secret"=>"0eacb51fdeefc944df71090625790bd8e089624e4a44e9b2c2afb82f6157b3e7", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"c88914d656bf37b55cad5ed215ea223f0fec8a29ccf1986a6435777536d40f92", :_id=>{:$ne=>BSON::ObjectId('5bb6244c354159729900018b')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c354159729900018b'), "application_id"=>BSON::ObjectId('5bb6244c354159729900018a'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>18, "token"=>"c88914d656bf37b55cad5ed215ea223f0fec8a29ccf1986a6435777536d40f92", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244c354159729900018b'), "application_id"=>BSON::ObjectId('5bb6244c354159729900018a'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>18, "token"=>"c88914d656bf37b55cad5ed215ea223f0fec8a29ccf1986a6435777536d40f92", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token?code=[FILTERED]&client_id=22e274f4848bd3689ec80064ca71d6b87cf90c701293ec20fa4b67c4f3857366&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:31:40 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"22e274f4848bd3689ec80064ca71d6b87cf90c701293ec20fa4b67c4f3857366", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"c88914d656bf37b55cad5ed215ea223f0fec8a29ccf1986a6435777536d40f92"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"22e274f4848bd3689ec80064ca71d6b87cf90c701293ec20fa4b67c4f3857366"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb6244c354159729900018b')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244c354159729900018b')}, :u=>{"_id"=>BSON::ObjectId('5bb6244c354159729900018b'), "application_id"=>BSON::ObjectId('5bb6244c354159729900018a'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>18, "token"=>"c88914d656bf37b55cad5ed215ea223f0fec8a29ccf1986a6435777536d40f92", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb6244c354159729900018b')}, {"_id"=>BSON::ObjectId('5bb6244c354159729900018b'), "application_id"=>BSON::ObjectId('5bb6244c354159729900018a'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>18, "token"=>"c88914d656bf37b55cad5ed215ea223f0fec8a29ccf1986a6435777536d40f92", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244c354159729900018a')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244c354159729900018a')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"b5e9a49a3fd11226e0db824fc6c0c8476785b7c3beb2aafe6e7de5a06ef3f4ce", :_id=>{:$ne=>BSON::ObjectId('5bb6244c354159729900018c')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c354159729900018c'), "application_id"=>BSON::ObjectId('5bb6244c354159729900018a'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>18, "token"=>"b5e9a49a3fd11226e0db824fc6c0c8476785b7c3beb2aafe6e7de5a06ef3f4ce", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244c354159729900018c'), "application_id"=>BSON::ObjectId('5bb6244c354159729900018a'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>18, "token"=>"b5e9a49a3fd11226e0db824fc6c0c8476785b7c3beb2aafe6e7de5a06ef3f4ce", "expires_in"=>7200, "scopes"=>"public"}) Completed 200 OK in 7ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4f41031bd5d6911b8e6a8b96b606f6e415ba4ca893e71da65649e9bf1ce65b13", :_id=>{:$ne=>BSON::ObjectId('5bb6244c354159729900018d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c354159729900018d'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 157", "uid"=>"4f41031bd5d6911b8e6a8b96b606f6e415ba4ca893e71da65649e9bf1ce65b13", "secret"=>"8688151933b0198c10c74890d3ac678ece49c63902fd338470e134127350e6a7", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244c354159729900018d'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 157", "uid"=>"4f41031bd5d6911b8e6a8b96b606f6e415ba4ca893e71da65649e9bf1ce65b13", "secret"=>"8688151933b0198c10c74890d3ac678ece49c63902fd338470e134127350e6a7", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"1846de5ac207f351f1b0fad406a07f71cf7457cd10b9c5eb756dea77cd086371", :_id=>{:$ne=>BSON::ObjectId('5bb6244c354159729900018e')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c354159729900018e'), "application_id"=>BSON::ObjectId('5bb6244c354159729900018d'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>19, "token"=>"1846de5ac207f351f1b0fad406a07f71cf7457cd10b9c5eb756dea77cd086371", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244c354159729900018e'), "application_id"=>BSON::ObjectId('5bb6244c354159729900018d'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>19, "token"=>"1846de5ac207f351f1b0fad406a07f71cf7457cd10b9c5eb756dea77cd086371", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token?code=[FILTERED]&client_id=4f41031bd5d6911b8e6a8b96b606f6e415ba4ca893e71da65649e9bf1ce65b13&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:31:40 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"4f41031bd5d6911b8e6a8b96b606f6e415ba4ca893e71da65649e9bf1ce65b13", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"refresh_token"} Completed 401 Unauthorized in 0ms MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2e1aff334b329ffa6d1ec2d1d64e62fa188cd70890b5e348c53288d26b38ec13", :_id=>{:$ne=>BSON::ObjectId('5bb6244c354159729900018f')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c354159729900018f'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 158", "uid"=>"2e1aff334b329ffa6d1ec2d1d64e62fa188cd70890b5e348c53288d26b38ec13", "secret"=>"d29cea38b2d1067e24edd9bda3b99214f1418b8347a58a594e47d3f3cbf5c4c5", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244c354159729900018f'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 158", "uid"=>"2e1aff334b329ffa6d1ec2d1d64e62fa188cd70890b5e348c53288d26b38ec13", "secret"=>"d29cea38b2d1067e24edd9bda3b99214f1418b8347a58a594e47d3f3cbf5c4c5", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"83390e7194569e1bac13c97b8bf8500eba0078cd69cf8cf5b1923d08ffa9a17d", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000190')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000190'), "application_id"=>BSON::ObjectId('5bb6244c354159729900018f'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>20, "token"=>"83390e7194569e1bac13c97b8bf8500eba0078cd69cf8cf5b1923d08ffa9a17d", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000190'), "application_id"=>BSON::ObjectId('5bb6244c354159729900018f'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>20, "token"=>"83390e7194569e1bac13c97b8bf8500eba0078cd69cf8cf5b1923d08ffa9a17d", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token?code=[FILTERED]&client_id=2e1aff334b329ffa6d1ec2d1d64e62fa188cd70890b5e348c53288d26b38ec13&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=" for 127.0.0.1 at 2018-10-04 17:31:40 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"2e1aff334b329ffa6d1ec2d1d64e62fa188cd70890b5e348c53288d26b38ec13", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>""} Completed 401 Unauthorized in 0ms MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a23432e24328a8d914928d527a11739846eba64baa3d6caaa4e9e734ce66ecb3", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000191')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000191'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 159", "uid"=>"a23432e24328a8d914928d527a11739846eba64baa3d6caaa4e9e734ce66ecb3", "secret"=>"345d8b2fa871a524b22451d4724dc0bbb64d16c639e7f21c7adec79d490fd571", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000191'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 159", "uid"=>"a23432e24328a8d914928d527a11739846eba64baa3d6caaa4e9e734ce66ecb3", "secret"=>"345d8b2fa871a524b22451d4724dc0bbb64d16c639e7f21c7adec79d490fd571", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"0060b36ce9ba01f45ef221027e27ca35d79370436ee71d0fb5d1dce44c91b2aa", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000192')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000192'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000191'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>21, "token"=>"0060b36ce9ba01f45ef221027e27ca35d79370436ee71d0fb5d1dce44c91b2aa", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000192'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000191'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>21, "token"=>"0060b36ce9ba01f45ef221027e27ca35d79370436ee71d0fb5d1dce44c91b2aa", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token?code=[FILTERED]&client_id=a23432e24328a8d914928d527a11739846eba64baa3d6caaa4e9e734ce66ecb3&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:31:40 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"a23432e24328a8d914928d527a11739846eba64baa3d6caaa4e9e734ce66ecb3", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} Completed 401 Unauthorized in 0ms MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8143376cd02ddd69cb07531cfdd36d90f2bbdd00c2f40dd0f881042e6d99fdb3", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000193')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000193'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 160", "uid"=>"8143376cd02ddd69cb07531cfdd36d90f2bbdd00c2f40dd0f881042e6d99fdb3", "secret"=>"d4ef710d40484ca8e5a61ecbf4811e97234b9f77c02a3bae58c2056c5ce511b5", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000193'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 160", "uid"=>"8143376cd02ddd69cb07531cfdd36d90f2bbdd00c2f40dd0f881042e6d99fdb3", "secret"=>"d4ef710d40484ca8e5a61ecbf4811e97234b9f77c02a3bae58c2056c5ce511b5", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"1436b03f2ba2260616555974c9ec6fc9c12793fae9ffe643b32a7385adcd1e62", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000194')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000194'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000193'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>22, "token"=>"1436b03f2ba2260616555974c9ec6fc9c12793fae9ffe643b32a7385adcd1e62", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000194'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000193'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>22, "token"=>"1436b03f2ba2260616555974c9ec6fc9c12793fae9ffe643b32a7385adcd1e62", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token?code=[FILTERED]&client_id=8143376cd02ddd69cb07531cfdd36d90f2bbdd00c2f40dd0f881042e6d99fdb3&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:31:40 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"8143376cd02ddd69cb07531cfdd36d90f2bbdd00c2f40dd0f881042e6d99fdb3", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"1436b03f2ba2260616555974c9ec6fc9c12793fae9ffe643b32a7385adcd1e62"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8143376cd02ddd69cb07531cfdd36d90f2bbdd00c2f40dd0f881042e6d99fdb3"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb6244c3541597299000194')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244c3541597299000194')}, :u=>{"_id"=>BSON::ObjectId('5bb6244c3541597299000194'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000193'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>22, "token"=>"1436b03f2ba2260616555974c9ec6fc9c12793fae9ffe643b32a7385adcd1e62", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb6244c3541597299000194')}, {"_id"=>BSON::ObjectId('5bb6244c3541597299000194'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000193'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>22, "token"=>"1436b03f2ba2260616555974c9ec6fc9c12793fae9ffe643b32a7385adcd1e62", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244c3541597299000193')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244c3541597299000193')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"486ef43b53b7243f7560eda56ed72e73ed713a48848d4a2f28205a67fc227071", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000195')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000195'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000193'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>22, "token"=>"486ef43b53b7243f7560eda56ed72e73ed713a48848d4a2f28205a67fc227071", "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000195'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000193'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>22, "token"=>"486ef43b53b7243f7560eda56ed72e73ed713a48848d4a2f28205a67fc227071", "scopes"=>"public"}) Completed 200 OK in 7ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7c030fa1eb67d365c28f24f9767bd2af2de30399938b85ef98f3ca2f5f138e25", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000196')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000196'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"OMG my app", "uid"=>"7c030fa1eb67d365c28f24f9767bd2af2de30399938b85ef98f3ca2f5f138e25", "secret"=>"b6588635b58208f85214870ca981df93d21fa1e3673878a871580a70f6ba6b0e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000196'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"OMG my app", "uid"=>"7c030fa1eb67d365c28f24f9767bd2af2de30399938b85ef98f3ca2f5f138e25", "secret"=>"b6588635b58208f85214870ca981df93d21fa1e3673878a871580a70f6ba6b0e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Started GET "/oauth/applications/5bb6244c3541597299000196/edit" for 127.0.0.1 at 2018-10-04 17:31:40 +0300 Processing by Doorkeeper::ApplicationsController#edit as HTML Parameters: {"id"=>"5bb6244c3541597299000196"} MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244c3541597299000196')}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_form.html.erb (11.6ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/edit.html.erb within layouts/doorkeeper/admin (12.6ms) Completed 200 OK in 16ms (Views: 14.6ms | ActiveRecord: 0.0ms) Started PATCH "/oauth/applications/5bb6244c3541597299000196" for 127.0.0.1 at 2018-10-04 17:31:40 +0300 Processing by Doorkeeper::ApplicationsController#update as HTML Parameters: {"utf8"=>"✓", "doorkeeper_application"=>{"name"=>"", "redirect_uri"=>"https://app.com/callback", "confidential"=>"1", "scopes"=>""}, "commit"=>"Submit", "id"=>"5bb6244c3541597299000196"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244c3541597299000196')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7c030fa1eb67d365c28f24f9767bd2af2de30399938b85ef98f3ca2f5f138e25", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000196')}}, {:_id=>1}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_form.html.erb (2.1ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/edit.html.erb within layouts/doorkeeper/admin (2.3ms) Completed 200 OK in 6ms (Views: 3.4ms | ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6b20f8f78d18ccbb0d8e31f2208c7ce11b0d89e12955df1c4e6b5ecfbde27418", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000197')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000197'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"OMG my app", "uid"=>"6b20f8f78d18ccbb0d8e31f2208c7ce11b0d89e12955df1c4e6b5ecfbde27418", "secret"=>"03eb354c268b9485545af224e8670c7a633b150561048ec0f79d864838638b59", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000197'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"OMG my app", "uid"=>"6b20f8f78d18ccbb0d8e31f2208c7ce11b0d89e12955df1c4e6b5ecfbde27418", "secret"=>"03eb354c268b9485545af224e8670c7a633b150561048ec0f79d864838638b59", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Started GET "/oauth/applications/5bb6244c3541597299000197/edit" for 127.0.0.1 at 2018-10-04 17:31:40 +0300 Processing by Doorkeeper::ApplicationsController#edit as HTML Parameters: {"id"=>"5bb6244c3541597299000197"} MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244c3541597299000197')}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_form.html.erb (3.2ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/edit.html.erb within layouts/doorkeeper/admin (3.7ms) Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started PATCH "/oauth/applications/5bb6244c3541597299000197" for 127.0.0.1 at 2018-10-04 17:31:40 +0300 Processing by Doorkeeper::ApplicationsController#update as HTML Parameters: {"utf8"=>"✓", "doorkeeper_application"=>{"name"=>"Serious app", "redirect_uri"=>"https://app.com/callback", "confidential"=>"1", "scopes"=>""}, "commit"=>"Submit", "id"=>"5bb6244c3541597299000197"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244c3541597299000197')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6b20f8f78d18ccbb0d8e31f2208c7ce11b0d89e12955df1c4e6b5ecfbde27418", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000197')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244c3541597299000197')}, :u=>{"_id"=>BSON::ObjectId('5bb6244c3541597299000197'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Serious app", "uid"=>"6b20f8f78d18ccbb0d8e31f2208c7ce11b0d89e12955df1c4e6b5ecfbde27418", "secret"=>"03eb354c268b9485545af224e8670c7a633b150561048ec0f79d864838638b59", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "scopes"=>""}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb6244c3541597299000197')}, {"_id"=>BSON::ObjectId('5bb6244c3541597299000197'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Serious app", "uid"=>"6b20f8f78d18ccbb0d8e31f2208c7ce11b0d89e12955df1c4e6b5ecfbde27418", "secret"=>"03eb354c268b9485545af224e8670c7a633b150561048ec0f79d864838638b59", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "scopes"=>""}) Redirected to http://www.example.com/oauth/applications/5bb6244c3541597299000197 Completed 302 Found in 4ms (ActiveRecord: 0.0ms) Started GET "/oauth/applications/5bb6244c3541597299000197" for 127.0.0.1 at 2018-10-04 17:31:40 +0300 Processing by Doorkeeper::ApplicationsController#show as HTML Parameters: {"id"=>"5bb6244c3541597299000197"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244c3541597299000197')}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (0.3ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/show.html.erb within layouts/doorkeeper/admin (1.2ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"58b5f7cf82abef4682159739ea59174e5aae3bf8fa315807914ee95c850dca62", :_id=>{:$ne=>BSON::ObjectId('5bb6244c3541597299000198')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000198'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 161", "uid"=>"58b5f7cf82abef4682159739ea59174e5aae3bf8fa315807914ee95c850dca62", "secret"=>"f67459dfd88254f26c2d75b21bbbb6885b12fec6bf5ffc342917506ae30b70b6", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000198'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 161", "uid"=>"58b5f7cf82abef4682159739ea59174e5aae3bf8fa315807914ee95c850dca62", "secret"=>"f67459dfd88254f26c2d75b21bbbb6885b12fec6bf5ffc342917506ae30b70b6", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c3541597299000199'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244c3541597299000199'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f8e3843b6c5b8cbfd15485f167b825c544ca930bd02a698e732eeda95b81cce1", :_id=>{:$ne=>BSON::ObjectId('5bb6244c354159729900019a')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c354159729900019a'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000198'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244c3541597299000199'), "token"=>"f8e3843b6c5b8cbfd15485f167b825c544ca930bd02a698e732eeda95b81cce1", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244c354159729900019a'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000198'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244c3541597299000199'), "token"=>"f8e3843b6c5b8cbfd15485f167b825c544ca930bd02a698e732eeda95b81cce1", "expires_in"=>7200}) Started GET "/metal.json?access_token=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:31:40 +0300 MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f8e3843b6c5b8cbfd15485f167b825c544ca930bd02a698e732eeda95b81cce1"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244c354159729900019a')}, :u=>{"_id"=>BSON::ObjectId('5bb6244c354159729900019a'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000198'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244c3541597299000199'), "token"=>"f8e3843b6c5b8cbfd15485f167b825c544ca930bd02a698e732eeda95b81cce1", "previous_refresh_token"=>"", "expires_in"=>7200}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244c354159729900019a')}, {"_id"=>BSON::ObjectId('5bb6244c354159729900019a'), "application_id"=>BSON::ObjectId('5bb6244c3541597299000198'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244c3541597299000199'), "token"=>"f8e3843b6c5b8cbfd15485f167b825c544ca930bd02a698e732eeda95b81cce1", "previous_refresh_token"=>"", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (8.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (8.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"09ee6243afecfe02c55aeb3fb136dda08a279242c65b0412258587128f3b91c7", :_id=>{:$ne=>BSON::ObjectId('5bb6244c354159729900019d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c354159729900019d'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 162", "uid"=>"09ee6243afecfe02c55aeb3fb136dda08a279242c65b0412258587128f3b91c7", "secret"=>"4f08aca442980da36805b2ac33e14e8da94283deaa4420a7a5e03f8562cdc0c6", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244c354159729900019d'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 162", "uid"=>"09ee6243afecfe02c55aeb3fb136dda08a279242c65b0412258587128f3b91c7", "secret"=>"4f08aca442980da36805b2ac33e14e8da94283deaa4420a7a5e03f8562cdc0c6", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"2592426950794d6abc9815ac72d1691ec5b2551ad862b9fbd8f594d99a93492a", :_id=>{:$ne=>BSON::ObjectId('5bb6244c354159729900019e')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c354159729900019e'), "application_id"=>BSON::ObjectId('5bb6244c354159729900019d'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>23, "token"=>"2592426950794d6abc9815ac72d1691ec5b2551ad862b9fbd8f594d99a93492a", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244c354159729900019e'), "application_id"=>BSON::ObjectId('5bb6244c354159729900019d'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>23, "token"=>"2592426950794d6abc9815ac72d1691ec5b2551ad862b9fbd8f594d99a93492a", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token?code=[FILTERED]&client_id=09ee6243afecfe02c55aeb3fb136dda08a279242c65b0412258587128f3b91c7&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:31:40 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"09ee6243afecfe02c55aeb3fb136dda08a279242c65b0412258587128f3b91c7", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"invalid"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"09ee6243afecfe02c55aeb3fb136dda08a279242c65b0412258587128f3b91c7"}).limit(-1) Completed 401 Unauthorized in 3ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"24f91450fe7dac1bfd34f8165188c1a16dc47559d4000e47349d3c800e8fcf31", :_id=>{:$ne=>BSON::ObjectId('5bb6244c354159729900019f')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c354159729900019f'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 163", "uid"=>"24f91450fe7dac1bfd34f8165188c1a16dc47559d4000e47349d3c800e8fcf31", "secret"=>"8c5baa406a7b3c23448befa9dfd52bdaa5a0846c0cc717b171d223e345daae54", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244c354159729900019f'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 163", "uid"=>"24f91450fe7dac1bfd34f8165188c1a16dc47559d4000e47349d3c800e8fcf31", "secret"=>"8c5baa406a7b3c23448befa9dfd52bdaa5a0846c0cc717b171d223e345daae54", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"1e30300de38baf8e8e2d3950cf9bac163f07c1ca2e3c6750e8d196667f5d8cc1", :_id=>{:$ne=>BSON::ObjectId('5bb6244c35415972990001a0')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c35415972990001a0'), "application_id"=>BSON::ObjectId('5bb6244c354159729900019f'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>24, "token"=>"1e30300de38baf8e8e2d3950cf9bac163f07c1ca2e3c6750e8d196667f5d8cc1", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244c35415972990001a0'), "application_id"=>BSON::ObjectId('5bb6244c354159729900019f'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>24, "token"=>"1e30300de38baf8e8e2d3950cf9bac163f07c1ca2e3c6750e8d196667f5d8cc1", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token?code=[FILTERED]&client_id=24f91450fe7dac1bfd34f8165188c1a16dc47559d4000e47349d3c800e8fcf31&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:31:40 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"24f91450fe7dac1bfd34f8165188c1a16dc47559d4000e47349d3c800e8fcf31", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"1e30300de38baf8e8e2d3950cf9bac163f07c1ca2e3c6750e8d196667f5d8cc1"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"24f91450fe7dac1bfd34f8165188c1a16dc47559d4000e47349d3c800e8fcf31"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb6244c35415972990001a0')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244c35415972990001a0')}, :u=>{"_id"=>BSON::ObjectId('5bb6244c35415972990001a0'), "application_id"=>BSON::ObjectId('5bb6244c354159729900019f'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>24, "token"=>"1e30300de38baf8e8e2d3950cf9bac163f07c1ca2e3c6750e8d196667f5d8cc1", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb6244c35415972990001a0')}, {"_id"=>BSON::ObjectId('5bb6244c35415972990001a0'), "application_id"=>BSON::ObjectId('5bb6244c354159729900019f'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>24, "token"=>"1e30300de38baf8e8e2d3950cf9bac163f07c1ca2e3c6750e8d196667f5d8cc1", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244c354159729900019f')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244c354159729900019f')}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"63502f3ef5af258af596288696e51419d3e7441f6c67cf28466be32c4ce781e4", :_id=>{:$ne=>BSON::ObjectId('5bb6244c35415972990001a1')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c35415972990001a1'), "application_id"=>BSON::ObjectId('5bb6244c354159729900019f'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>24, "token"=>"63502f3ef5af258af596288696e51419d3e7441f6c67cf28466be32c4ce781e4", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244c35415972990001a1'), "application_id"=>BSON::ObjectId('5bb6244c354159729900019f'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "resource_owner_id"=>24, "token"=>"63502f3ef5af258af596288696e51419d3e7441f6c67cf28466be32c4ce781e4", "expires_in"=>7200, "scopes"=>"public write"}) Completed 200 OK in 8ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code=[FILTERED]&client_id=24f91450fe7dac1bfd34f8165188c1a16dc47559d4000e47349d3c800e8fcf31&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:31:40 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"24f91450fe7dac1bfd34f8165188c1a16dc47559d4000e47349d3c800e8fcf31", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"1e30300de38baf8e8e2d3950cf9bac163f07c1ca2e3c6750e8d196667f5d8cc1"}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"24f91450fe7dac1bfd34f8165188c1a16dc47559d4000e47349d3c800e8fcf31"}).limit(-1) Completed 401 Unauthorized in 3ms MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3b8ae0140987a299bfad89435e05dfe2a33ea5766c30d405017c3883a681a818", :_id=>{:$ne=>BSON::ObjectId('5bb6244c35415972990001a2')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244c35415972990001a2'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 164", "uid"=>"3b8ae0140987a299bfad89435e05dfe2a33ea5766c30d405017c3883a681a818", "secret"=>"c849a2828d69a0dad050168af838b6215389db40c8f6f08671462a152f7088ae", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244c35415972990001a2'), "created_at"=>2018-10-04 14:31:40 UTC, "updated_at"=>2018-10-04 14:31:40 UTC, "name"=>"Application 164", "uid"=>"3b8ae0140987a299bfad89435e05dfe2a33ea5766c30d405017c3883a681a818", "secret"=>"c849a2828d69a0dad050168af838b6215389db40c8f6f08671462a152f7088ae", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) Started GET "/oauth/applications" for 127.0.0.1 at 2018-10-04 17:31:40 +0300 Processing by Doorkeeper::ApplicationsController#index as HTML MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({}).sort([["created_at", 1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (0.3ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/index.html.erb within layouts/doorkeeper/admin (1.8ms) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms) Started DELETE "/oauth/applications/5bb6244c35415972990001a2" for 127.0.0.1 at 2018-10-04 17:31:40 +0300 Processing by Doorkeeper::ApplicationsController#destroy as HTML Parameters: {"utf8"=>"✓", "commit"=>"Destroy", "id"=>"5bb6244c35415972990001a2"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244c35415972990001a2')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:application_id=>BSON::ObjectId('5bb6244c35415972990001a2')}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6244c35415972990001a2')}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6244c35415972990001a2')}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{:_id=>{:$in=>[BSON::ObjectId('5bb6244c35415972990001a2')]}}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({:_id=>{:$in=>[BSON::ObjectId('5bb6244c35415972990001a2')]}}) Redirected to http://www.example.com/oauth/applications Completed 302 Found in 4ms (ActiveRecord: 0.0ms) Started GET "/oauth/applications" for 127.0.0.1 at 2018-10-04 17:31:40 +0300 Processing by Doorkeeper::ApplicationsController#index as HTML MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({}).sort([["created_at", 1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/index.html.erb within layouts/doorkeeper/admin (1.5ms) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5343a2f67adccb209a8d5799127e5bce2684aae95feaff4471f05dee87b62186", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001a3')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001a3'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 165", "uid"=>"5343a2f67adccb209a8d5799127e5bce2684aae95feaff4471f05dee87b62186", "secret"=>"9cca209305ba395f89ec1c7710e19b73c6b8d0013378e9c06642f13ae4e4c434", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001a3'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 165", "uid"=>"5343a2f67adccb209a8d5799127e5bce2684aae95feaff4471f05dee87b62186", "secret"=>"9cca209305ba395f89ec1c7710e19b73c6b8d0013378e9c06642f13ae4e4c434", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) Started GET "/oauth/applications/5bb6244d35415972990001a3" for 127.0.0.1 at 2018-10-04 17:31:41 +0300 Processing by Doorkeeper::ApplicationsController#show as HTML Parameters: {"id"=>"5bb6244d35415972990001a3"} MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244d35415972990001a3')}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (0.3ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/show.html.erb within layouts/doorkeeper/admin (1.6ms) Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.0ms) Started DELETE "/oauth/applications/5bb6244d35415972990001a3" for 127.0.0.1 at 2018-10-04 17:31:41 +0300 Processing by Doorkeeper::ApplicationsController#destroy as HTML Parameters: {"utf8"=>"✓", "commit"=>"Destroy", "id"=>"5bb6244d35415972990001a3"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244d35415972990001a3')}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:application_id=>BSON::ObjectId('5bb6244d35415972990001a3')}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6244d35415972990001a3')}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6244d35415972990001a3')}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{:_id=>{:$in=>[BSON::ObjectId('5bb6244d35415972990001a3')]}}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({:_id=>{:$in=>[BSON::ObjectId('5bb6244d35415972990001a3')]}}) Redirected to http://www.example.com/oauth/applications Completed 302 Found in 4ms (ActiveRecord: 0.0ms) Started GET "/oauth/applications" for 127.0.0.1 at 2018-10-04 17:31:41 +0300 Processing by Doorkeeper::ApplicationsController#index as HTML MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({}).sort([["created_at", 1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/index.html.erb within layouts/doorkeeper/admin (0.8ms) Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokensController#create as HTML Completed 401 Unauthorized in 0ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokensController#create as HTML Completed 401 Unauthorized in 0ms MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokensController#revoke as HTML MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"865b45785fa6c52dd862c9841d2a70c43b6606361de49dbeb59f4777170274b8", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001a4')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001a4'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 166", "uid"=>"865b45785fa6c52dd862c9841d2a70c43b6606361de49dbeb59f4777170274b8", "secret"=>"019d7a460e4088b0f4b13544c7ce45d91197004c18ffc3f80acfa6703d6a24e6", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001a4'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 166", "uid"=>"865b45785fa6c52dd862c9841d2a70c43b6606361de49dbeb59f4777170274b8", "secret"=>"019d7a460e4088b0f4b13544c7ce45d91197004c18ffc3f80acfa6703d6a24e6", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"532086feffa819cb5ffa0f049bef205431b81b5995bef5247bdbe4c48b07f5c7", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001a5')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001a5'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001a4'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>53, "token"=>"532086feffa819cb5ffa0f049bef205431b81b5995bef5247bdbe4c48b07f5c7", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001a5'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001a4'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>53, "token"=>"532086feffa819cb5ffa0f049bef205431b81b5995bef5247bdbe4c48b07f5c7", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244d35415972990001a5')}, :u=>{"_id"=>BSON::ObjectId('5bb6244d35415972990001a5'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001a4'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>53, "token"=>"532086feffa819cb5ffa0f049bef205431b81b5995bef5247bdbe4c48b07f5c7", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244d35415972990001a5')}, {"_id"=>BSON::ObjectId('5bb6244d35415972990001a5'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001a4'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>53, "token"=>"532086feffa819cb5ffa0f049bef205431b81b5995bef5247bdbe4c48b07f5c7", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 8ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6244d35415972990001a5')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokensController#revoke as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e554d2364cb8ff43928db337f652602c7e73fb54496c5869cc26d6f03e253811", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001a6')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001a6'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 167", "uid"=>"e554d2364cb8ff43928db337f652602c7e73fb54496c5869cc26d6f03e253811", "secret"=>"244e8c5c06e68a73e00d8de8f48877d88857c669a92f787b273e27c52e8ab73a", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001a6'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 167", "uid"=>"e554d2364cb8ff43928db337f652602c7e73fb54496c5869cc26d6f03e253811", "secret"=>"244e8c5c06e68a73e00d8de8f48877d88857c669a92f787b273e27c52e8ab73a", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"6fd5127cb7cc86027851c770937e7faed8b85df9a8c2cfcc5af548af3e1b55b6", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001a7')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001a7'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001a6'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>54, "token"=>"6fd5127cb7cc86027851c770937e7faed8b85df9a8c2cfcc5af548af3e1b55b6", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001a7'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001a6'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>54, "token"=>"6fd5127cb7cc86027851c770937e7faed8b85df9a8c2cfcc5af548af3e1b55b6", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244d35415972990001a7')}, :u=>{"_id"=>BSON::ObjectId('5bb6244d35415972990001a7'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001a6'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>54, "token"=>"6fd5127cb7cc86027851c770937e7faed8b85df9a8c2cfcc5af548af3e1b55b6", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244d35415972990001a7')}, {"_id"=>BSON::ObjectId('5bb6244d35415972990001a7'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001a6'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>54, "token"=>"6fd5127cb7cc86027851c770937e7faed8b85df9a8c2cfcc5af548af3e1b55b6", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 14ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokensController#revoke as HTML MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"aa2992160c3dbaf337e913308f7db8e9c4168b055249d334f64b527884e3ef09", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001a8')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001a8'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 168", "uid"=>"aa2992160c3dbaf337e913308f7db8e9c4168b055249d334f64b527884e3ef09", "secret"=>"4468b467430832d89ebea2d87deea8ca70887aa55735e04dc98a8589cded1d8f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001a8'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 168", "uid"=>"aa2992160c3dbaf337e913308f7db8e9c4168b055249d334f64b527884e3ef09", "secret"=>"4468b467430832d89ebea2d87deea8ca70887aa55735e04dc98a8589cded1d8f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"1f0dd3680b77f427b9b4cde16a646241b0538ea02280c8de4727a6d32027a498", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001a9')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001a9'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001a8'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>55, "token"=>"1f0dd3680b77f427b9b4cde16a646241b0538ea02280c8de4727a6d32027a498", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001a9'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001a8'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>55, "token"=>"1f0dd3680b77f427b9b4cde16a646241b0538ea02280c8de4727a6d32027a498", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244d35415972990001a9')}, :u=>{"_id"=>BSON::ObjectId('5bb6244d35415972990001a9'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001a8'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>55, "token"=>"1f0dd3680b77f427b9b4cde16a646241b0538ea02280c8de4727a6d32027a498", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244d35415972990001a9')}, {"_id"=>BSON::ObjectId('5bb6244d35415972990001a9'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001a8'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>55, "token"=>"1f0dd3680b77f427b9b4cde16a646241b0538ea02280c8de4727a6d32027a498", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 8ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6244d35415972990001a9')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokensController#revoke as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e52090e8c7f03684c56f81816a025d696694db774d8778cb4fd01e3910cab1ff", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001aa')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001aa'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 169", "uid"=>"e52090e8c7f03684c56f81816a025d696694db774d8778cb4fd01e3910cab1ff", "secret"=>"ed36a7fbb9afa80d3200784009308c708b772102574648ebf25795104513b58a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001aa'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 169", "uid"=>"e52090e8c7f03684c56f81816a025d696694db774d8778cb4fd01e3910cab1ff", "secret"=>"ed36a7fbb9afa80d3200784009308c708b772102574648ebf25795104513b58a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"749a7eda24c43511b8e3318a25569e10eb0f981b51386f0e23ffa8db00857963", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001ab')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001ab'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001aa'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>56, "token"=>"749a7eda24c43511b8e3318a25569e10eb0f981b51386f0e23ffa8db00857963", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001ab'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001aa'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>56, "token"=>"749a7eda24c43511b8e3318a25569e10eb0f981b51386f0e23ffa8db00857963", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244d35415972990001ab')}, :u=>{"_id"=>BSON::ObjectId('5bb6244d35415972990001ab'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001aa'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>56, "token"=>"749a7eda24c43511b8e3318a25569e10eb0f981b51386f0e23ffa8db00857963", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244d35415972990001ab')}, {"_id"=>BSON::ObjectId('5bb6244d35415972990001ab'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001aa'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>56, "token"=>"749a7eda24c43511b8e3318a25569e10eb0f981b51386f0e23ffa8db00857963", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 6ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokensController#revoke as HTML MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8fe42890343d12c55425f451ccd5aa1505f6843e6e7b50727be5c7b8af6ddec7", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001ac')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001ac'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 170", "uid"=>"8fe42890343d12c55425f451ccd5aa1505f6843e6e7b50727be5c7b8af6ddec7", "secret"=>"c43d038a75b90d987e9dcaa36b324db22a5d64b5237076e774d4ccb6335db907", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001ac'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 170", "uid"=>"8fe42890343d12c55425f451ccd5aa1505f6843e6e7b50727be5c7b8af6ddec7", "secret"=>"c43d038a75b90d987e9dcaa36b324db22a5d64b5237076e774d4ccb6335db907", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"c15a2d245dc041b9441c7b87f318e547310d6220711df1f4020ebdd87bbea5aa", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001ad')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001ad'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001ac'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>57, "token"=>"c15a2d245dc041b9441c7b87f318e547310d6220711df1f4020ebdd87bbea5aa", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001ad'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001ac'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>57, "token"=>"c15a2d245dc041b9441c7b87f318e547310d6220711df1f4020ebdd87bbea5aa", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"787739c0e6b7f51daa3f11483d87e7a88bf9eae418eb04595a1aebf842997276", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001ae')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001ae'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 171", "uid"=>"787739c0e6b7f51daa3f11483d87e7a88bf9eae418eb04595a1aebf842997276", "secret"=>"e480a1d5e82c1ae8fa3253e654e8ef509a0462842bf0cd59877361dd2fb34e34", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001ae'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 171", "uid"=>"787739c0e6b7f51daa3f11483d87e7a88bf9eae418eb04595a1aebf842997276", "secret"=>"e480a1d5e82c1ae8fa3253e654e8ef509a0462842bf0cd59877361dd2fb34e34", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) Completed 200 OK in 10ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6244d35415972990001ad')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokensController#revoke as HTML MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"31c3ea3e028badca444048e1573e2a9fae97c5b958358a9dfc6582f0481a4ca0", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001af')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001af'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 172", "uid"=>"31c3ea3e028badca444048e1573e2a9fae97c5b958358a9dfc6582f0481a4ca0", "secret"=>"dcadc07084a36988b8b4ab6e3233513cfca6dc3555c3b1d44f8b1e870ad400e9", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001af'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 172", "uid"=>"31c3ea3e028badca444048e1573e2a9fae97c5b958358a9dfc6582f0481a4ca0", "secret"=>"dcadc07084a36988b8b4ab6e3233513cfca6dc3555c3b1d44f8b1e870ad400e9", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"25f7a7199a7703af8a1313161119d3665e0f241e811d860ee73ed37265d72cd7", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001b0')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001b0'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001af'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>58, "token"=>"25f7a7199a7703af8a1313161119d3665e0f241e811d860ee73ed37265d72cd7", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001b0'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001af'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>58, "token"=>"25f7a7199a7703af8a1313161119d3665e0f241e811d860ee73ed37265d72cd7", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"529d81369ede637c3e45f8bd05efcc6751963b5358b12e5b4966d3c812c4e37b", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001b1')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001b1'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 173", "uid"=>"529d81369ede637c3e45f8bd05efcc6751963b5358b12e5b4966d3c812c4e37b", "secret"=>"80ac4f9f1c800c8b3328116910ce6d68916fffa845941f030421179e29c84654", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001b1'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 173", "uid"=>"529d81369ede637c3e45f8bd05efcc6751963b5358b12e5b4966d3c812c4e37b", "secret"=>"80ac4f9f1c800c8b3328116910ce6d68916fffa845941f030421179e29c84654", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) Completed 200 OK in 7ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokensController#create as HTML Completed 200 OK in 0ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c14f1d38c18df74f3d69ab52fc8efe71b0a64c8bfb43236e1877fb317aea4b28", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001b3')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001b3'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 174", "uid"=>"c14f1d38c18df74f3d69ab52fc8efe71b0a64c8bfb43236e1877fb317aea4b28", "secret"=>"39e7a985fb1fed18090265bb59fbe3c965716fef1c3bae7509afef9a1cfe27ca", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001b3'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 174", "uid"=>"c14f1d38c18df74f3d69ab52fc8efe71b0a64c8bfb43236e1877fb317aea4b28", "secret"=>"39e7a985fb1fed18090265bb59fbe3c965716fef1c3bae7509afef9a1cfe27ca", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"797983ac2a0cabced5cd398bb7ebef283a36f42b47345a1a1bd0ab0da472a80f", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001b2')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001b2'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001b3'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>59, "token"=>"797983ac2a0cabced5cd398bb7ebef283a36f42b47345a1a1bd0ab0da472a80f", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001b2'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001b3'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>59, "token"=>"797983ac2a0cabced5cd398bb7ebef283a36f42b47345a1a1bd0ab0da472a80f", "expires_in"=>7200}) Processing by Doorkeeper::TokensController#introspect as HTML Parameters: {"token"=>"797983ac2a0cabced5cd398bb7ebef283a36f42b47345a1a1bd0ab0da472a80f"} MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"797983ac2a0cabced5cd398bb7ebef283a36f42b47345a1a1bd0ab0da472a80f"}).limit(-1) Completed 401 Unauthorized in 2ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5389eb6d4badcd88fa0c5df9ac28b4b2487d0b7d7840414bd1a17ece3a7bb3d5", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001b4')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001b4'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 175", "uid"=>"5389eb6d4badcd88fa0c5df9ac28b4b2487d0b7d7840414bd1a17ece3a7bb3d5", "secret"=>"3fd5d70f9b07c8737d4c1ffae9bd3699e5d342540a96caa482db58ad7789106c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001b4'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 175", "uid"=>"5389eb6d4badcd88fa0c5df9ac28b4b2487d0b7d7840414bd1a17ece3a7bb3d5", "secret"=>"3fd5d70f9b07c8737d4c1ffae9bd3699e5d342540a96caa482db58ad7789106c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d173d6451b89569c931dd6aa6fe81853c7be1eb64ba7d2faad487060e144b11b", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001b5')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001b5'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001b4'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>60, "token"=>"d173d6451b89569c931dd6aa6fe81853c7be1eb64ba7d2faad487060e144b11b", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001b5'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001b4'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>60, "token"=>"d173d6451b89569c931dd6aa6fe81853c7be1eb64ba7d2faad487060e144b11b", "expires_in"=>7200}) Processing by Doorkeeper::TokensController#introspect as HTML Parameters: {"token"=>"d173d6451b89569c931dd6aa6fe81853c7be1eb64ba7d2faad487060e144b11b"} MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d173d6451b89569c931dd6aa6fe81853c7be1eb64ba7d2faad487060e144b11b"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d173d6451b89569c931dd6aa6fe81853c7be1eb64ba7d2faad487060e144b11b"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244d35415972990001b5')}, :u=>{"_id"=>BSON::ObjectId('5bb6244d35415972990001b5'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001b4'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>60, "token"=>"d173d6451b89569c931dd6aa6fe81853c7be1eb64ba7d2faad487060e144b11b", "previous_refresh_token"=>"", "expires_in"=>7200}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244d35415972990001b5')}, {"_id"=>BSON::ObjectId('5bb6244d35415972990001b5'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001b4'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>60, "token"=>"d173d6451b89569c931dd6aa6fe81853c7be1eb64ba7d2faad487060e144b11b", "previous_refresh_token"=>"", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244d35415972990001b4')}).limit(-1) Completed 200 OK in 4ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8e7a0d1c60cbca685dceb3959714c6878e0ae1a19e38d0e112b76a12889b2b13", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001b6')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001b6'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 176", "uid"=>"8e7a0d1c60cbca685dceb3959714c6878e0ae1a19e38d0e112b76a12889b2b13", "secret"=>"58bac2ee4bc81f49cdc51b04480d1d6e45484fb90c16aa308ba0130bb2c1e787", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001b6'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 176", "uid"=>"8e7a0d1c60cbca685dceb3959714c6878e0ae1a19e38d0e112b76a12889b2b13", "secret"=>"58bac2ee4bc81f49cdc51b04480d1d6e45484fb90c16aa308ba0130bb2c1e787", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"139b8adac00d43a534fc925c8e7474fbaff616aaf18021bf47075410ad4c06d6", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001b7')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001b7'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 177", "uid"=>"139b8adac00d43a534fc925c8e7474fbaff616aaf18021bf47075410ad4c06d6", "secret"=>"e3f8f99f2b16551bdd5fee9d88d101944fdf5002933b45ceef7d82d87fd52033", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001b7'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 177", "uid"=>"139b8adac00d43a534fc925c8e7474fbaff616aaf18021bf47075410ad4c06d6", "secret"=>"e3f8f99f2b16551bdd5fee9d88d101944fdf5002933b45ceef7d82d87fd52033", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"8fc9feb9e3ce3ea4bbd2a7b9a7b2b9b0fe140fee8709388abac3a6e9052a021e", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001b8')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001b8'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001b7'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>61, "token"=>"8fc9feb9e3ce3ea4bbd2a7b9a7b2b9b0fe140fee8709388abac3a6e9052a021e", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001b8'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001b7'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>61, "token"=>"8fc9feb9e3ce3ea4bbd2a7b9a7b2b9b0fe140fee8709388abac3a6e9052a021e", "expires_in"=>7200}) Processing by Doorkeeper::TokensController#introspect as HTML Parameters: {"token"=>"8fc9feb9e3ce3ea4bbd2a7b9a7b2b9b0fe140fee8709388abac3a6e9052a021e"} MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"8fc9feb9e3ce3ea4bbd2a7b9a7b2b9b0fe140fee8709388abac3a6e9052a021e"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8e7a0d1c60cbca685dceb3959714c6878e0ae1a19e38d0e112b76a12889b2b13"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244d35415972990001b7')}).limit(-1) Completed 200 OK in 3ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"97ecfa9f8a8f72e3915637d4ec15605ac442184b8cceeda6eb0867c0f3397564", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001b9')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001b9'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 178", "uid"=>"97ecfa9f8a8f72e3915637d4ec15605ac442184b8cceeda6eb0867c0f3397564", "secret"=>"e83cc7e2636bfb69a520ef370e1be588416df2af6762c777fa9b417bdcc81cd3", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001b9'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 178", "uid"=>"97ecfa9f8a8f72e3915637d4ec15605ac442184b8cceeda6eb0867c0f3397564", "secret"=>"e83cc7e2636bfb69a520ef370e1be588416df2af6762c777fa9b417bdcc81cd3", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"50a0ca0a0c7e928bcaa12a3aa79fe99b4f3ec5392c8aae7e310bb5addd0dc8b8", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001ba')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001ba'), "application_id"=>nil, "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>62, "token"=>"50a0ca0a0c7e928bcaa12a3aa79fe99b4f3ec5392c8aae7e310bb5addd0dc8b8", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001ba'), "application_id"=>nil, "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>62, "token"=>"50a0ca0a0c7e928bcaa12a3aa79fe99b4f3ec5392c8aae7e310bb5addd0dc8b8", "expires_in"=>7200}) Processing by Doorkeeper::TokensController#introspect as HTML Parameters: {"token"=>"50a0ca0a0c7e928bcaa12a3aa79fe99b4f3ec5392c8aae7e310bb5addd0dc8b8"} MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"50a0ca0a0c7e928bcaa12a3aa79fe99b4f3ec5392c8aae7e310bb5addd0dc8b8"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"97ecfa9f8a8f72e3915637d4ec15605ac442184b8cceeda6eb0867c0f3397564"}).limit(-1) Completed 200 OK in 2ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"aead5f8906029223f414cd5700bb2a45e5ed0186d903186805440749d9fa0daa", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001bb')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001bb'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 179", "uid"=>"aead5f8906029223f414cd5700bb2a45e5ed0186d903186805440749d9fa0daa", "secret"=>"5542b045f0ffe91fcc263f502bf77e7e1e0199864aab9a15a8acc7ec96d6d659", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001bb'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 179", "uid"=>"aead5f8906029223f414cd5700bb2a45e5ed0186d903186805440749d9fa0daa", "secret"=>"5542b045f0ffe91fcc263f502bf77e7e1e0199864aab9a15a8acc7ec96d6d659", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"23c7e408490f5907095c16c1007f737eaefd18777d1f7f365f425fb29b1a5b77", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001bc')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001bc'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001bb'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>63, "token"=>"23c7e408490f5907095c16c1007f737eaefd18777d1f7f365f425fb29b1a5b77", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001bc'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001bb'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>63, "token"=>"23c7e408490f5907095c16c1007f737eaefd18777d1f7f365f425fb29b1a5b77", "expires_in"=>7200}) Processing by Doorkeeper::TokensController#introspect as HTML Parameters: {"token"=>"23c7e408490f5907095c16c1007f737eaefd18777d1f7f365f425fb29b1a5b77"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"23c7e408490f5907095c16c1007f737eaefd18777d1f7f365f425fb29b1a5b77"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"aead5f8906029223f414cd5700bb2a45e5ed0186d903186805440749d9fa0daa"}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244d35415972990001bb')}).limit(-1) Completed 200 OK in 2ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"14f91642268bd4e7fb41f7b3e4d144046d2bd1e31b5fa38344b8002c6b943106", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001bd')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001bd'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 180", "uid"=>"14f91642268bd4e7fb41f7b3e4d144046d2bd1e31b5fa38344b8002c6b943106", "secret"=>"9a7154b1bce453bebd65b1b106b18a7b6a1856e7c29ae7b7ff9f104a79f56606", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001bd'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 180", "uid"=>"14f91642268bd4e7fb41f7b3e4d144046d2bd1e31b5fa38344b8002c6b943106", "secret"=>"9a7154b1bce453bebd65b1b106b18a7b6a1856e7c29ae7b7ff9f104a79f56606", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"b5003ac5c949b64f98b5c7ae57c581a898889a4af36b81fff829486a3f27aed2", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001be')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001be'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001bd'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>64, "token"=>"b5003ac5c949b64f98b5c7ae57c581a898889a4af36b81fff829486a3f27aed2", "expires_in"=>7200, "revoked_at"=>2017-10-04 00:00:00 UTC}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001be'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001bd'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>64, "token"=>"b5003ac5c949b64f98b5c7ae57c581a898889a4af36b81fff829486a3f27aed2", "expires_in"=>7200, "revoked_at"=>2017-10-04 00:00:00 UTC}) Processing by Doorkeeper::TokensController#introspect as HTML Parameters: {"token"=>"b5003ac5c949b64f98b5c7ae57c581a898889a4af36b81fff829486a3f27aed2"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"b5003ac5c949b64f98b5c7ae57c581a898889a4af36b81fff829486a3f27aed2"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"14f91642268bd4e7fb41f7b3e4d144046d2bd1e31b5fa38344b8002c6b943106"}).limit(-1) Completed 200 OK in 2ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0659b5f3f1f2358b84dd9bb5606889d4ff0f50d509e6aa9d5fb289d0c1228944", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001bf')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001bf'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 181", "uid"=>"0659b5f3f1f2358b84dd9bb5606889d4ff0f50d509e6aa9d5fb289d0c1228944", "secret"=>"b8098193d7be9c969fce4b52a66c84d752f7854a7b28e5207599a880a8320c2f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001bf'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 181", "uid"=>"0659b5f3f1f2358b84dd9bb5606889d4ff0f50d509e6aa9d5fb289d0c1228944", "secret"=>"b8098193d7be9c969fce4b52a66c84d752f7854a7b28e5207599a880a8320c2f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"09f311e929ad4056c770db01ef4357fbe1fb5e2b4166c1471c4ed2bd38f483f8", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001c0')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001c0'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001bf'), "created_at"=>2017-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>65, "token"=>"09f311e929ad4056c770db01ef4357fbe1fb5e2b4166c1471c4ed2bd38f483f8", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001c0'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001bf'), "created_at"=>2017-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>65, "token"=>"09f311e929ad4056c770db01ef4357fbe1fb5e2b4166c1471c4ed2bd38f483f8", "expires_in"=>7200}) Processing by Doorkeeper::TokensController#introspect as HTML Parameters: {"token"=>"09f311e929ad4056c770db01ef4357fbe1fb5e2b4166c1471c4ed2bd38f483f8"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"09f311e929ad4056c770db01ef4357fbe1fb5e2b4166c1471c4ed2bd38f483f8"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0659b5f3f1f2358b84dd9bb5606889d4ff0f50d509e6aa9d5fb289d0c1228944"}).limit(-1) Completed 200 OK in 2ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"bdb9af7967e132c710e82709cc24ba201b8f35a55f231a32aafdc4609231c54e", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001c1')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001c1'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 182", "uid"=>"bdb9af7967e132c710e82709cc24ba201b8f35a55f231a32aafdc4609231c54e", "secret"=>"4f3319d74f59857898ce33751feb7a77ac8aa8a560246f362a840140bff55916", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001c1'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 182", "uid"=>"bdb9af7967e132c710e82709cc24ba201b8f35a55f231a32aafdc4609231c54e", "secret"=>"4f3319d74f59857898ce33751feb7a77ac8aa8a560246f362a840140bff55916", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) Processing by Doorkeeper::TokensController#introspect as HTML Parameters: {"token"=>"87e7276b81d76430b0a0c9fabcf581fa"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"87e7276b81d76430b0a0c9fabcf581fa"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"87e7276b81d76430b0a0c9fabcf581fa"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"bdb9af7967e132c710e82709cc24ba201b8f35a55f231a32aafdc4609231c54e"}).limit(-1) Completed 200 OK in 2ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"68a3ee2a6949ccb859a501642233629826fafb153f4f618374ac5625c0ad7470", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001c3')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001c3'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 183", "uid"=>"68a3ee2a6949ccb859a501642233629826fafb153f4f618374ac5625c0ad7470", "secret"=>"d5684fc73b908ae48cfb93ddb5b20ebe0ba55ffe1420356ebbd860cb1e89b615", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001c3'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 183", "uid"=>"68a3ee2a6949ccb859a501642233629826fafb153f4f618374ac5625c0ad7470", "secret"=>"d5684fc73b908ae48cfb93ddb5b20ebe0ba55ffe1420356ebbd860cb1e89b615", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"563abec79d9b3fa0a7fc309765bab3e895afd7564db4b52ab514d57fa882d2ae", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001c2')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001c2'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001c3'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>66, "token"=>"563abec79d9b3fa0a7fc309765bab3e895afd7564db4b52ab514d57fa882d2ae", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001c2'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001c3'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>66, "token"=>"563abec79d9b3fa0a7fc309765bab3e895afd7564db4b52ab514d57fa882d2ae", "expires_in"=>7200}) Processing by Doorkeeper::TokensController#introspect as HTML Parameters: {"token"=>"563abec79d9b3fa0a7fc309765bab3e895afd7564db4b52ab514d57fa882d2ae"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"563abec79d9b3fa0a7fc309765bab3e895afd7564db4b52ab514d57fa882d2ae"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"123123"}).limit(-1) Completed 401 Unauthorized in 3ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>"1"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"11b36bb1454fe5c35f7ff17fd427f126c21b933c813b265fcbdac6c850f51f8b", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001c4')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001c4'), "application_id"=>"1", "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>"1", "token"=>"11b36bb1454fe5c35f7ff17fd427f126c21b933c813b265fcbdac6c850f51f8b", "expires_in"=>100, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001c4'), "application_id"=>"1", "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>"1", "token"=>"11b36bb1454fe5c35f7ff17fd427f126c21b933c813b265fcbdac6c850f51f8b", "expires_in"=>100, "scopes"=>"public"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6a50cadaff51af72feaa6bc75df5d956d5f3f15ab4d2ad894f8e2ecf7599e618", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001c5')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001c5'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 184", "uid"=>"6a50cadaff51af72feaa6bc75df5d956d5f3f15ab4d2ad894f8e2ecf7599e618", "secret"=>"5e3a720590c6556aecb8f31e3a9dd3afbf9501356b6e897d683757558fef0aa0", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001c5'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 184", "uid"=>"6a50cadaff51af72feaa6bc75df5d956d5f3f15ab4d2ad894f8e2ecf7599e618", "secret"=>"5e3a720590c6556aecb8f31e3a9dd3afbf9501356b6e897d683757558fef0aa0", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"68f00edc99880ddd34173a59abf85ace1637bb2c4fd02a860ee955a0c173b3a7", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001c6')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001c6'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 185", "uid"=>"68f00edc99880ddd34173a59abf85ace1637bb2c4fd02a860ee955a0c173b3a7", "secret"=>"6863a9a1831e00be0a7901e73cb22e9532eb954ce4d4a4dad973f695ff9c581c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001c6'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 185", "uid"=>"68f00edc99880ddd34173a59abf85ace1637bb2c4fd02a860ee955a0c173b3a7", "secret"=>"6863a9a1831e00be0a7901e73cb22e9532eb954ce4d4a4dad973f695ff9c581c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244d35415972990001c6')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{:application_id=>BSON::ObjectId('5bb6244d35415972990001c6')}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244d35415972990001c6')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"fbf599f2747bba3070b657dc6e88e855494e113d8daa15bb49968606e1f57946", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001c7')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001c7'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001c6'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>99, "token"=>"fbf599f2747bba3070b657dc6e88e855494e113d8daa15bb49968606e1f57946", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001c7'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001c6'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>99, "token"=>"fbf599f2747bba3070b657dc6e88e855494e113d8daa15bb49968606e1f57946", "expires_in"=>7200, "scopes"=>""}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244d35415972990001c6')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{:application_id=>BSON::ObjectId('5bb6244d35415972990001c6')}, "fields"=>nil}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2ada7cd975e8e98ec1052b92db973bbbf37869e0cb18a952a6996b0006eb5231", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001c8')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001c8'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 186", "uid"=>"2ada7cd975e8e98ec1052b92db973bbbf37869e0cb18a952a6996b0006eb5231", "secret"=>"93610df7f32fea3861d33d64c8fa8df67b534c1d5d0d4c050075c6fb664acd82", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001c8'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 186", "uid"=>"2ada7cd975e8e98ec1052b92db973bbbf37869e0cb18a952a6996b0006eb5231", "secret"=>"93610df7f32fea3861d33d64c8fa8df67b534c1d5d0d4c050075c6fb664acd82", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244d35415972990001c8')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"fcd8d420ca9e608333c9c260ff55f95868f1f7eb1d508b9665e47b3906af1f44", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001c9')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001c9'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001c8'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>99, "token"=>"fcd8d420ca9e608333c9c260ff55f95868f1f7eb1d508b9665e47b3906af1f44", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001c9'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001c8'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>99, "token"=>"fcd8d420ca9e608333c9c260ff55f95868f1f7eb1d508b9665e47b3906af1f44", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6244d35415972990001c8'), :resource_owner_id=>99, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1ed7dda575ec95f21543d02da926819e6ff375c928ca4077db33fb8a66c966ea", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001ca')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001ca'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 187", "uid"=>"1ed7dda575ec95f21543d02da926819e6ff375c928ca4077db33fb8a66c966ea", "secret"=>"c0144d5225c9f6e7c36bf4d7f6a09ef5c9f429ca8fcdba42d91ac44aadc38c32", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001ca'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 187", "uid"=>"1ed7dda575ec95f21543d02da926819e6ff375c928ca4077db33fb8a66c966ea", "secret"=>"c0144d5225c9f6e7c36bf4d7f6a09ef5c9f429ca8fcdba42d91ac44aadc38c32", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244d35415972990001ca')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"ce78c368bfa7dbb0198e618c687120fe769ac3764e16a677ba427121006350e9", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001cb')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001cb'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001ca'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>99, "token"=>"ce78c368bfa7dbb0198e618c687120fe769ac3764e16a677ba427121006350e9", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001cb'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001ca'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>99, "token"=>"ce78c368bfa7dbb0198e618c687120fe769ac3764e16a677ba427121006350e9", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244d35415972990001ca')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e5b276b4ee328624758a8640d41fba02834b82fb7899da43c86de95f1fe3fe4a", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001cc')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001cc'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001ca'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>99, "token"=>"e5b276b4ee328624758a8640d41fba02834b82fb7899da43c86de95f1fe3fe4a", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001cc'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001ca'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>99, "token"=>"e5b276b4ee328624758a8640d41fba02834b82fb7899da43c86de95f1fe3fe4a", "expires_in"=>7200, "scopes"=>""}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"492313e19173b91e550a81f94482c565174f279a9a1d42bc1f1bd6cd13013e1a", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001cd')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001cd'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 188", "uid"=>"492313e19173b91e550a81f94482c565174f279a9a1d42bc1f1bd6cd13013e1a", "secret"=>"5fbea2df6113aca22cb27241321389a06991da805392d8c965b0e4bffbc85a0b", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001cd'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 188", "uid"=>"492313e19173b91e550a81f94482c565174f279a9a1d42bc1f1bd6cd13013e1a", "secret"=>"5fbea2df6113aca22cb27241321389a06991da805392d8c965b0e4bffbc85a0b", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"b6b5ef589766099d356de5c9ddf0a28151405c22492505447376c3b0b425715e", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001ce')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001ce'), "application_id"=>nil, "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>99, "token"=>"b6b5ef589766099d356de5c9ddf0a28151405c22492505447376c3b0b425715e", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001ce'), "application_id"=>nil, "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>99, "token"=>"b6b5ef589766099d356de5c9ddf0a28151405c22492505447376c3b0b425715e", "expires_in"=>7200, "scopes"=>""}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"eec549186fd050b6cc4c118acbd58889211efdafd94787d7b0161ee98f8b04ff", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001cf')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001cf'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 189", "uid"=>"eec549186fd050b6cc4c118acbd58889211efdafd94787d7b0161ee98f8b04ff", "secret"=>"fc8b52a217867f41d7ed0220f5ded5c4c200b9fcd3754cd9a12422e438be50cb", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001cf'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 189", "uid"=>"eec549186fd050b6cc4c118acbd58889211efdafd94787d7b0161ee98f8b04ff", "secret"=>"fc8b52a217867f41d7ed0220f5ded5c4c200b9fcd3754cd9a12422e438be50cb", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8205ed19cd5373e4e39d65a4e54df7758c3bc17eb7c8bbac0c883599e280120e", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001d0')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001d0'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 190", "uid"=>"8205ed19cd5373e4e39d65a4e54df7758c3bc17eb7c8bbac0c883599e280120e", "secret"=>"1134fd7101b9407118ecbdc38de1fc597c4244504ea2d63a59c0f1adcc48130d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001d0'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 190", "uid"=>"8205ed19cd5373e4e39d65a4e54df7758c3bc17eb7c8bbac0c883599e280120e", "secret"=>"1134fd7101b9407118ecbdc38de1fc597c4244504ea2d63a59c0f1adcc48130d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"870b6febdb7f62b8f3a6b59b48433081b0e328e6a4b5d68ef88adff7e6ee4ff6", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001d1')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001d1'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 191", "uid"=>"870b6febdb7f62b8f3a6b59b48433081b0e328e6a4b5d68ef88adff7e6ee4ff6", "secret"=>"e5855e17d27675fcdde129416a58f6ec6185a6b0d8cc6b41757e067bce3972b2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001d1'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 191", "uid"=>"870b6febdb7f62b8f3a6b59b48433081b0e328e6a4b5d68ef88adff7e6ee4ff6", "secret"=>"e5855e17d27675fcdde129416a58f6ec6185a6b0d8cc6b41757e067bce3972b2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244d35415972990001d1')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"0467c6b8ee21242d9c2db0b1b740a24f6ad76cc84b6319c41053886102f33040", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001d2')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001d2'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001d1'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>99, "token"=>"0467c6b8ee21242d9c2db0b1b740a24f6ad76cc84b6319c41053886102f33040", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001d2'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001d1'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>99, "token"=>"0467c6b8ee21242d9c2db0b1b740a24f6ad76cc84b6319c41053886102f33040", "expires_in"=>7200, "scopes"=>""}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"06c2c7f15031b887804af31894ec03c86a531fc5fe9945bd1787fdc661a99939", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001d3')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001d3'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 192", "uid"=>"06c2c7f15031b887804af31894ec03c86a531fc5fe9945bd1787fdc661a99939", "secret"=>"9f4e02ae667a5834c23ee07bc33aa5add804614f8e26b30c999aaa9ae490d2ea", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001d3'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 192", "uid"=>"06c2c7f15031b887804af31894ec03c86a531fc5fe9945bd1787fdc661a99939", "secret"=>"9f4e02ae667a5834c23ee07bc33aa5add804614f8e26b30c999aaa9ae490d2ea", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"55415994d68aa20e0096f7b98548843bb69882130529428ae1ccfa2fc00bb53b", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001d4')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001d4'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 193", "uid"=>"55415994d68aa20e0096f7b98548843bb69882130529428ae1ccfa2fc00bb53b", "secret"=>"bb1adc4401c1ae7dfad431e4ae962b8f224484b6f30da7304cd6e061934b437a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001d4'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 193", "uid"=>"55415994d68aa20e0096f7b98548843bb69882130529428ae1ccfa2fc00bb53b", "secret"=>"bb1adc4401c1ae7dfad431e4ae962b8f224484b6f30da7304cd6e061934b437a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244d35415972990001d4')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f0a979b0f25e4c2b94ed54d70782984afb5fb6e8b91ec81019dcff9bd013b51e", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001d5')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001d5'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001d4'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>99, "token"=>"f0a979b0f25e4c2b94ed54d70782984afb5fb6e8b91ec81019dcff9bd013b51e", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001d5'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001d4'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>99, "token"=>"f0a979b0f25e4c2b94ed54d70782984afb5fb6e8b91ec81019dcff9bd013b51e", "expires_in"=>7200, "scopes"=>"public"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>9990}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"163af5c35fd0416b6d5b229098db89494dc05d6445abfd93950c4ba854f1b640", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001d6')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001d6'), "application_id"=>9990, "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>7866, "token"=>"163af5c35fd0416b6d5b229098db89494dc05d6445abfd93950c4ba854f1b640", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001d6'), "application_id"=>9990, "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>7866, "token"=>"163af5c35fd0416b6d5b229098db89494dc05d6445abfd93950c4ba854f1b640", "expires_in"=>7200, "scopes"=>"public"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>9990}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"acb908bf026ef25679a3d7f011de8bb119c081fdf8af04da49340a1b04c41dfa", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001d7')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001d7'), "application_id"=>9990, "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>7866, "token"=>"acb908bf026ef25679a3d7f011de8bb119c081fdf8af04da49340a1b04c41dfa", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001d7'), "application_id"=>9990, "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>7866, "token"=>"acb908bf026ef25679a3d7f011de8bb119c081fdf8af04da49340a1b04c41dfa", "expires_in"=>7200, "scopes"=>"public"}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>9990}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"aeed29d6bad49ae281d4c6094d38210a7231caa0663df13aea2bdea3bb48ac29", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001d8')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001d8'), "application_id"=>9990, "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>7866, "token"=>"aeed29d6bad49ae281d4c6094d38210a7231caa0663df13aea2bdea3bb48ac29", "expires_in"=>1234, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001d8'), "application_id"=>9990, "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>7866, "token"=>"aeed29d6bad49ae281d4c6094d38210a7231caa0663df13aea2bdea3bb48ac29", "expires_in"=>1234, "scopes"=>"public"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>9990}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"c89409a9189f063e2a974fa5d9d9807db351dd2f772c20270ea6000303c831bf", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001d9')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001d9'), "application_id"=>9990, "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>7866, "token"=>"c89409a9189f063e2a974fa5d9d9807db351dd2f772c20270ea6000303c831bf", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001d9'), "application_id"=>9990, "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>7866, "token"=>"c89409a9189f063e2a974fa5d9d9807db351dd2f772c20270ea6000303c831bf", "expires_in"=>7200, "scopes"=>""}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>9990, :resource_owner_id=>7866, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>9990}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"845cf0e955ced2d9d6895d5a3a81c7c25edce0609d968673955eea5dc996c7ab", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001da')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001da'), "application_id"=>9990, "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>7866, "token"=>"845cf0e955ced2d9d6895d5a3a81c7c25edce0609d968673955eea5dc996c7ab", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001da'), "application_id"=>9990, "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>7866, "token"=>"845cf0e955ced2d9d6895d5a3a81c7c25edce0609d968673955eea5dc996c7ab", "expires_in"=>7200, "scopes"=>"public"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>9990}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"7d9d5540edc982e0cdd58510484ffcea9ff5b7a6352b12ecc3a17f8bfec0ff55", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001db')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001db'), "application_id"=>9990, "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>7866, "token"=>"7d9d5540edc982e0cdd58510484ffcea9ff5b7a6352b12ecc3a17f8bfec0ff55", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001db'), "application_id"=>9990, "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>7866, "token"=>"7d9d5540edc982e0cdd58510484ffcea9ff5b7a6352b12ecc3a17f8bfec0ff55", "expires_in"=>7200, "scopes"=>"public"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>9990, :resource_owner_id=>7866, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>9990, :resource_owner_id=>7866, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>9990}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"5990b4a80e78f64ba54aff65b47800b80dfeb1943d295efea6cd17be573d9d35", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001dc')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001dc'), "application_id"=>9990, "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>7866, "token"=>"5990b4a80e78f64ba54aff65b47800b80dfeb1943d295efea6cd17be573d9d35", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001dc'), "application_id"=>9990, "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>7866, "token"=>"5990b4a80e78f64ba54aff65b47800b80dfeb1943d295efea6cd17be573d9d35", "expires_in"=>7200, "scopes"=>"public"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001dd'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"John", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001dd'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"John", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e103c31cdd9f981cc7f0881592cfa695539f0fe66b3d29c0b4c322259ff0c9bd", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001de')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"9aed906aee64310ab83f13e2c33be902e4cce57607ddbc0a87a9361535c87513", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001de')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001de'), "application_id"=>nil, "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244d35415972990001dd'), "token"=>"e103c31cdd9f981cc7f0881592cfa695539f0fe66b3d29c0b4c322259ff0c9bd", "refresh_token"=>"9aed906aee64310ab83f13e2c33be902e4cce57607ddbc0a87a9361535c87513", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001de'), "application_id"=>nil, "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244d35415972990001dd'), "token"=>"e103c31cdd9f981cc7f0881592cfa695539f0fe66b3d29c0b4c322259ff0c9bd", "refresh_token"=>"9aed906aee64310ab83f13e2c33be902e4cce57607ddbc0a87a9361535c87513", "expires_in"=>7200}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:31:41 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"e103c31cdd9f981cc7f0881592cfa695539f0fe66b3d29c0b4c322259ff0c9bd"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e103c31cdd9f981cc7f0881592cfa695539f0fe66b3d29c0b4c322259ff0c9bd"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244d35415972990001de')}, :u=>{"_id"=>BSON::ObjectId('5bb6244d35415972990001de'), "application_id"=>nil, "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244d35415972990001dd'), "token"=>"e103c31cdd9f981cc7f0881592cfa695539f0fe66b3d29c0b4c322259ff0c9bd", "refresh_token"=>"9aed906aee64310ab83f13e2c33be902e4cce57607ddbc0a87a9361535c87513", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244d35415972990001de')}, {"_id"=>BSON::ObjectId('5bb6244d35415972990001de'), "application_id"=>nil, "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244d35415972990001dd'), "token"=>"e103c31cdd9f981cc7f0881592cfa695539f0fe66b3d29c0b4c322259ff0c9bd", "refresh_token"=>"9aed906aee64310ab83f13e2c33be902e4cce57607ddbc0a87a9361535c87513", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 2ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6244d35415972990001de')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001df'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"John", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001df'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"John", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"452031e1d0809fdcc597723d43893621c53361e3914ca17a703fda86990f746d", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001e0')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"dd844ccec7586d7af28941ab51c352ad15ee19725d30d9a30d8d967ca0fef267", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001e0')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001e0'), "application_id"=>nil, "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244d35415972990001df'), "token"=>"452031e1d0809fdcc597723d43893621c53361e3914ca17a703fda86990f746d", "refresh_token"=>"dd844ccec7586d7af28941ab51c352ad15ee19725d30d9a30d8d967ca0fef267", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001e0'), "application_id"=>nil, "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244d35415972990001df'), "token"=>"452031e1d0809fdcc597723d43893621c53361e3914ca17a703fda86990f746d", "refresh_token"=>"dd844ccec7586d7af28941ab51c352ad15ee19725d30d9a30d8d967ca0fef267", "expires_in"=>7200}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:31:41 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"dd844ccec7586d7af28941ab51c352ad15ee19725d30d9a30d8d967ca0fef267"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"dd844ccec7586d7af28941ab51c352ad15ee19725d30d9a30d8d967ca0fef267"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"dd844ccec7586d7af28941ab51c352ad15ee19725d30d9a30d8d967ca0fef267"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244d35415972990001e0')}, :u=>{"_id"=>BSON::ObjectId('5bb6244d35415972990001e0'), "application_id"=>nil, "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244d35415972990001df'), "token"=>"452031e1d0809fdcc597723d43893621c53361e3914ca17a703fda86990f746d", "refresh_token"=>"dd844ccec7586d7af28941ab51c352ad15ee19725d30d9a30d8d967ca0fef267", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244d35415972990001e0')}, {"_id"=>BSON::ObjectId('5bb6244d35415972990001e0'), "application_id"=>nil, "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244d35415972990001df'), "token"=>"452031e1d0809fdcc597723d43893621c53361e3914ca17a703fda86990f746d", "refresh_token"=>"dd844ccec7586d7af28941ab51c352ad15ee19725d30d9a30d8d967ca0fef267", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 4ms MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6244d35415972990001e0')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"734fb9906487b2b67ef0a9e523d9811854c30d50b42c7804fc0daac0cf735f60", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001e1')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001e1'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 194", "uid"=>"734fb9906487b2b67ef0a9e523d9811854c30d50b42c7804fc0daac0cf735f60", "secret"=>"0394fcc26bd9381ecc343ee59cb264c268f910b78876d220b0340324f6ad845e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001e1'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 194", "uid"=>"734fb9906487b2b67ef0a9e523d9811854c30d50b42c7804fc0daac0cf735f60", "secret"=>"0394fcc26bd9381ecc343ee59cb264c268f910b78876d220b0340324f6ad845e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001e2'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"John", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001e2'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"John", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"16ceae5057ba63393549ce977ada9740e8b36d40a6178f2de276cc637bed79eb", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001e3')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"c446422797b1b71525e3b02c8637c40eef4930e9c940f93b0302cb2cf6f1e166", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001e3')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001e3'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001e1'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244d35415972990001e2'), "token"=>"16ceae5057ba63393549ce977ada9740e8b36d40a6178f2de276cc637bed79eb", "refresh_token"=>"c446422797b1b71525e3b02c8637c40eef4930e9c940f93b0302cb2cf6f1e166", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001e3'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001e1'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244d35415972990001e2'), "token"=>"16ceae5057ba63393549ce977ada9740e8b36d40a6178f2de276cc637bed79eb", "refresh_token"=>"c446422797b1b71525e3b02c8637c40eef4930e9c940f93b0302cb2cf6f1e166", "expires_in"=>7200}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:31:41 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"16ceae5057ba63393549ce977ada9740e8b36d40a6178f2de276cc637bed79eb"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"16ceae5057ba63393549ce977ada9740e8b36d40a6178f2de276cc637bed79eb"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244d35415972990001e1')}).limit(-1) Completed 200 OK in 2ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6244d35415972990001e3')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ff5fe03859f9c4706dcad4cdb706661409ba47ad0cbf4df72323915037b72053", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001e4')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001e4'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 195", "uid"=>"ff5fe03859f9c4706dcad4cdb706661409ba47ad0cbf4df72323915037b72053", "secret"=>"83b9745834194dfa25b9338fa2ac7656b2a85ca2af3f64c55245239479d6721b", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001e4'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 195", "uid"=>"ff5fe03859f9c4706dcad4cdb706661409ba47ad0cbf4df72323915037b72053", "secret"=>"83b9745834194dfa25b9338fa2ac7656b2a85ca2af3f64c55245239479d6721b", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001e5'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"John", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001e5'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"John", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"cafbcc27f6bb3ecdbf103662c32d87a74845ba3faaa150d063eeaf665c116c04", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001e6')}}, {:_id=>1}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"3fb53c8b6f76c4d67d859834eac3f952e17befc7d4fc20417b5b3b193fcb2ff2", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001e6')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001e6'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001e4'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244d35415972990001e5'), "token"=>"cafbcc27f6bb3ecdbf103662c32d87a74845ba3faaa150d063eeaf665c116c04", "refresh_token"=>"3fb53c8b6f76c4d67d859834eac3f952e17befc7d4fc20417b5b3b193fcb2ff2", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001e6'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001e4'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244d35415972990001e5'), "token"=>"cafbcc27f6bb3ecdbf103662c32d87a74845ba3faaa150d063eeaf665c116c04", "refresh_token"=>"3fb53c8b6f76c4d67d859834eac3f952e17befc7d4fc20417b5b3b193fcb2ff2", "expires_in"=>7200}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:31:41 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"cafbcc27f6bb3ecdbf103662c32d87a74845ba3faaa150d063eeaf665c116c04"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"cafbcc27f6bb3ecdbf103662c32d87a74845ba3faaa150d063eeaf665c116c04"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244d35415972990001e4')}).limit(-1) Completed 200 OK in 2ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6244d35415972990001e6')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"dda10f746bec3eb651666eb37be6162c75056a50ddc7c767ac6c878df138b0d7", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001e7')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001e7'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 196", "uid"=>"dda10f746bec3eb651666eb37be6162c75056a50ddc7c767ac6c878df138b0d7", "secret"=>"a03d23c84bc810055fdd1160b88c7cb5824509ad0d6c7ff402f37add424ae431", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001e7'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 196", "uid"=>"dda10f746bec3eb651666eb37be6162c75056a50ddc7c767ac6c878df138b0d7", "secret"=>"a03d23c84bc810055fdd1160b88c7cb5824509ad0d6c7ff402f37add424ae431", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001e8'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"John", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001e8'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"John", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"78c8d02476db638f107ae0262b319f8049bff22c564ee42c710c755b3b5d5732", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001e9')}}, {:_id=>1}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"cc9b3532912c46db2b4590f0dab285b40b35001683813c9c5ebaa11e313fde6a", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001e9')}}, {:_id=>1}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001e9'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001e7'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244d35415972990001e8'), "token"=>"78c8d02476db638f107ae0262b319f8049bff22c564ee42c710c755b3b5d5732", "refresh_token"=>"cc9b3532912c46db2b4590f0dab285b40b35001683813c9c5ebaa11e313fde6a", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001e9'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001e7'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244d35415972990001e8'), "token"=>"78c8d02476db638f107ae0262b319f8049bff22c564ee42c710c755b3b5d5732", "refresh_token"=>"cc9b3532912c46db2b4590f0dab285b40b35001683813c9c5ebaa11e313fde6a", "expires_in"=>7200}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:31:41 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"cc9b3532912c46db2b4590f0dab285b40b35001683813c9c5ebaa11e313fde6a"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"cc9b3532912c46db2b4590f0dab285b40b35001683813c9c5ebaa11e313fde6a"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"cc9b3532912c46db2b4590f0dab285b40b35001683813c9c5ebaa11e313fde6a"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244d35415972990001e7')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"dda10f746bec3eb651666eb37be6162c75056a50ddc7c767ac6c878df138b0d7"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244d35415972990001e9')}, :u=>{"_id"=>BSON::ObjectId('5bb6244d35415972990001e9'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001e7'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244d35415972990001e8'), "token"=>"78c8d02476db638f107ae0262b319f8049bff22c564ee42c710c755b3b5d5732", "refresh_token"=>"cc9b3532912c46db2b4590f0dab285b40b35001683813c9c5ebaa11e313fde6a", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244d35415972990001e9')}, {"_id"=>BSON::ObjectId('5bb6244d35415972990001e9'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001e7'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244d35415972990001e8'), "token"=>"78c8d02476db638f107ae0262b319f8049bff22c564ee42c710c755b3b5d5732", "refresh_token"=>"cc9b3532912c46db2b4590f0dab285b40b35001683813c9c5ebaa11e313fde6a", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 4ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6244d35415972990001e9')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4b7f34469e5f10113541ad00e59fab03aea26beff9ae375e4c51a4c50e949da8", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001ea')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001ea'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 197", "uid"=>"4b7f34469e5f10113541ad00e59fab03aea26beff9ae375e4c51a4c50e949da8", "secret"=>"12236ca7c7e620044eab58e7960efcbfa719ec1dbf15139d361bc083e37d4334", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001ea'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 197", "uid"=>"4b7f34469e5f10113541ad00e59fab03aea26beff9ae375e4c51a4c50e949da8", "secret"=>"12236ca7c7e620044eab58e7960efcbfa719ec1dbf15139d361bc083e37d4334", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001eb'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"John", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001eb'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"John", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"b9a01fb4e5adde30ab1e7100fda5626ecd3f230bcea33f1415a80e95b6e0418d", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001ec')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"bc46c4d8a4c910e4c18110b70cb3ddd745e739e5e85424511c4886e418b3c06a", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001ec')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001ec'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001ea'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244d35415972990001eb'), "token"=>"b9a01fb4e5adde30ab1e7100fda5626ecd3f230bcea33f1415a80e95b6e0418d", "refresh_token"=>"bc46c4d8a4c910e4c18110b70cb3ddd745e739e5e85424511c4886e418b3c06a", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001ec'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001ea'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244d35415972990001eb'), "token"=>"b9a01fb4e5adde30ab1e7100fda5626ecd3f230bcea33f1415a80e95b6e0418d", "refresh_token"=>"bc46c4d8a4c910e4c18110b70cb3ddd745e739e5e85424511c4886e418b3c06a", "expires_in"=>7200}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:31:41 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"b9a01fb4e5adde30ab1e7100fda5626ecd3f230bcea33f1415a80e95b6e0418d"} MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"b9a01fb4e5adde30ab1e7100fda5626ecd3f230bcea33f1415a80e95b6e0418d"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244d35415972990001ea')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4b7f34469e5f10113541ad00e59fab03aea26beff9ae375e4c51a4c50e949da8"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244d35415972990001ec')}, :u=>{"_id"=>BSON::ObjectId('5bb6244d35415972990001ec'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001ea'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244d35415972990001eb'), "token"=>"b9a01fb4e5adde30ab1e7100fda5626ecd3f230bcea33f1415a80e95b6e0418d", "refresh_token"=>"bc46c4d8a4c910e4c18110b70cb3ddd745e739e5e85424511c4886e418b3c06a", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244d35415972990001ec')}, {"_id"=>BSON::ObjectId('5bb6244d35415972990001ec'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001ea'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244d35415972990001eb'), "token"=>"b9a01fb4e5adde30ab1e7100fda5626ecd3f230bcea33f1415a80e95b6e0418d", "refresh_token"=>"bc46c4d8a4c910e4c18110b70cb3ddd745e739e5e85424511c4886e418b3c06a", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 5ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6244d35415972990001ec')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{:revoked_at=>nil}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6515e748dd79bf514fb158d2dd444a577117040150e149cd05318f07d8d4bd7e", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001ed')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001ed'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 198", "uid"=>"6515e748dd79bf514fb158d2dd444a577117040150e149cd05318f07d8d4bd7e", "secret"=>"570b150087637d8f97e7219471d7defc0c13c7d9593676651cd6785a1ec09555", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001ed'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 198", "uid"=>"6515e748dd79bf514fb158d2dd444a577117040150e149cd05318f07d8d4bd7e", "secret"=>"570b150087637d8f97e7219471d7defc0c13c7d9593676651cd6785a1ec09555", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:31:41 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"I_AM_AN_INVALID_TOKEN"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"I_AM_AN_INVALID_TOKEN"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"I_AM_AN_INVALID_TOKEN"}).limit(-1) Completed 200 OK in 1ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{:revoked_at=>nil}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"90cd485db7d32a88f48e5a3a0a3aa70df44fa18f2d9774e04f00ca2153e2e6f0", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001ee')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001ee'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 199", "uid"=>"90cd485db7d32a88f48e5a3a0a3aa70df44fa18f2d9774e04f00ca2153e2e6f0", "secret"=>"1ed5927773706cab06ea2c1d4d1fae774bbd6ef91a563b5299a11373044ba6ca", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001ee'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 199", "uid"=>"90cd485db7d32a88f48e5a3a0a3aa70df44fa18f2d9774e04f00ca2153e2e6f0", "secret"=>"1ed5927773706cab06ea2c1d4d1fae774bbd6ef91a563b5299a11373044ba6ca", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001ef'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"John", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001ef'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"John", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"8b41c13133ae73d61abee346fe8ec820ac33993104cd0c7130d964fce379ae6f", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001f0')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"a6ea5d1e6a889835c30923fffde26de1f9baf26dea8d4ae4a602ef73fb3046a0", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001f0')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001f0'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001ee'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244d35415972990001ef'), "token"=>"8b41c13133ae73d61abee346fe8ec820ac33993104cd0c7130d964fce379ae6f", "refresh_token"=>"a6ea5d1e6a889835c30923fffde26de1f9baf26dea8d4ae4a602ef73fb3046a0", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001f0'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001ee'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244d35415972990001ef'), "token"=>"8b41c13133ae73d61abee346fe8ec820ac33993104cd0c7130d964fce379ae6f", "refresh_token"=>"a6ea5d1e6a889835c30923fffde26de1f9baf26dea8d4ae4a602ef73fb3046a0", "expires_in"=>7200}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:31:41 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"8b41c13133ae73d61abee346fe8ec820ac33993104cd0c7130d964fce379ae6f"} MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"8b41c13133ae73d61abee346fe8ec820ac33993104cd0c7130d964fce379ae6f"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244d35415972990001ee')}).limit(-1) Completed 200 OK in 3ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6244d35415972990001f0')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"03e22a04ac8f66517167f90099cebd41364f66233723056627f6d3c0bab4674e", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001f1')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001f1'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 200", "uid"=>"03e22a04ac8f66517167f90099cebd41364f66233723056627f6d3c0bab4674e", "secret"=>"511e27ea01aa9919b3b49276ce100d2e4bdb2dc04f42dd77402373127378a3c8", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001f1'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 200", "uid"=>"03e22a04ac8f66517167f90099cebd41364f66233723056627f6d3c0bab4674e", "secret"=>"511e27ea01aa9919b3b49276ce100d2e4bdb2dc04f42dd77402373127378a3c8", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001f2'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"John", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001f2'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"John", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"7a1d11d686af54c22920d4da08be39db4512fa06ea0dc704cf8fa38128473ef3", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001f3')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"6f3b6e770bc6965b328bd71579511f3a1edb17bb37b59ad9c856cf6c8699c93e", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001f3')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001f3'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001f1'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244d35415972990001f2'), "token"=>"7a1d11d686af54c22920d4da08be39db4512fa06ea0dc704cf8fa38128473ef3", "refresh_token"=>"6f3b6e770bc6965b328bd71579511f3a1edb17bb37b59ad9c856cf6c8699c93e", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001f3'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001f1'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244d35415972990001f2'), "token"=>"7a1d11d686af54c22920d4da08be39db4512fa06ea0dc704cf8fa38128473ef3", "refresh_token"=>"6f3b6e770bc6965b328bd71579511f3a1edb17bb37b59ad9c856cf6c8699c93e", "expires_in"=>7200}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:31:41 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"7a1d11d686af54c22920d4da08be39db4512fa06ea0dc704cf8fa38128473ef3"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"7a1d11d686af54c22920d4da08be39db4512fa06ea0dc704cf8fa38128473ef3"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244d35415972990001f1')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"03e22a04ac8f66517167f90099cebd41364f66233723056627f6d3c0bab4674e"}).limit(-1) Completed 200 OK in 2ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6244d35415972990001f3')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"354cbb777946a2db5ab6badb597b8e2ffbf4835da1bbf659950f2b5be983d76b", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001f4')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001f4'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 201", "uid"=>"354cbb777946a2db5ab6badb597b8e2ffbf4835da1bbf659950f2b5be983d76b", "secret"=>"90b88a8b59bd29d3e9df4a04e9e6a7e3c799995863a19b1a4caaffd31e5fc4a3", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001f4'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 201", "uid"=>"354cbb777946a2db5ab6badb597b8e2ffbf4835da1bbf659950f2b5be983d76b", "secret"=>"90b88a8b59bd29d3e9df4a04e9e6a7e3c799995863a19b1a4caaffd31e5fc4a3", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001f5'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"John", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001f5'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"John", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"7ea70a6297c5d012a0150d8a23975bf0b835a2352c166c2d826244b12c853977", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001f6')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"bca990c6f539d087cb6907e6e6f8fbb2cf144a78b563421f9c01751e258060ff", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001f6')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001f6'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001f4'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244d35415972990001f5'), "token"=>"7ea70a6297c5d012a0150d8a23975bf0b835a2352c166c2d826244b12c853977", "refresh_token"=>"bca990c6f539d087cb6907e6e6f8fbb2cf144a78b563421f9c01751e258060ff", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001f6'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001f4'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244d35415972990001f5'), "token"=>"7ea70a6297c5d012a0150d8a23975bf0b835a2352c166c2d826244b12c853977", "refresh_token"=>"bca990c6f539d087cb6907e6e6f8fbb2cf144a78b563421f9c01751e258060ff", "expires_in"=>7200}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6f717f80e3c4d4235b00d4981c6fb4d0e52302c6027f4a6b412ef39762d6c09b", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001f7')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001f7'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 202", "uid"=>"6f717f80e3c4d4235b00d4981c6fb4d0e52302c6027f4a6b412ef39762d6c09b", "secret"=>"1025610efbde9f252004158930592078d881a46a5e63993a56bc44667f040620", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001f7'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 202", "uid"=>"6f717f80e3c4d4235b00d4981c6fb4d0e52302c6027f4a6b412ef39762d6c09b", "secret"=>"1025610efbde9f252004158930592078d881a46a5e63993a56bc44667f040620", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:31:41 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"7ea70a6297c5d012a0150d8a23975bf0b835a2352c166c2d826244b12c853977"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"7ea70a6297c5d012a0150d8a23975bf0b835a2352c166c2d826244b12c853977"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244d35415972990001f4')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6f717f80e3c4d4235b00d4981c6fb4d0e52302c6027f4a6b412ef39762d6c09b"}).limit(-1) Completed 200 OK in 2ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6244d35415972990001f6')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c364a1865568df31649559d438a7a0fb156858262ef0a6092ad480856fe18108", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001f8')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001f8'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 203", "uid"=>"c364a1865568df31649559d438a7a0fb156858262ef0a6092ad480856fe18108", "secret"=>"d9d860d2869024077c67a88b6b802f744b57bc0089ad4df533cc7b46db0742ed", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001f8'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 203", "uid"=>"c364a1865568df31649559d438a7a0fb156858262ef0a6092ad480856fe18108", "secret"=>"d9d860d2869024077c67a88b6b802f744b57bc0089ad4df533cc7b46db0742ed", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"b4ec348df0a2f4c07d46a939b6ab629d9744c105d18c8ba5c7fb74ebe1405f12", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001f9')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001f9'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001f8'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>25, "token"=>"b4ec348df0a2f4c07d46a939b6ab629d9744c105d18c8ba5c7fb74ebe1405f12", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001f9'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001f8'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>25, "token"=>"b4ec348df0a2f4c07d46a939b6ab629d9744c105d18c8ba5c7fb74ebe1405f12", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) Started POST "/oauth/token?code=[FILTERED]&client_id=c364a1865568df31649559d438a7a0fb156858262ef0a6092ad480856fe18108&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:31:41 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"c364a1865568df31649559d438a7a0fb156858262ef0a6092ad480856fe18108", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"b4ec348df0a2f4c07d46a939b6ab629d9744c105d18c8ba5c7fb74ebe1405f12"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c364a1865568df31649559d438a7a0fb156858262ef0a6092ad480856fe18108"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb6244d35415972990001f9')}).limit(-1) Completed 401 Unauthorized in 3ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4193fe2cb1f1905b6baa52c69d9f701ef8f61774b4fa66e2c78323c438ddda09", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001fa')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001fa'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Oauth Dude", "uid"=>"4193fe2cb1f1905b6baa52c69d9f701ef8f61774b4fa66e2c78323c438ddda09", "secret"=>"0db6b070b7571cdf9503716e1425c50865840466ac17a18fe5aba2d627c70e8f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001fa'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Oauth Dude", "uid"=>"4193fe2cb1f1905b6baa52c69d9f701ef8f61774b4fa66e2c78323c438ddda09", "secret"=>"0db6b070b7571cdf9503716e1425c50865840466ac17a18fe5aba2d627c70e8f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ade3ac4e0cbf3405d3b136f61232d150481392cf2946c5c426e3670cc81d04d7", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001fb')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001fb'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Awesome App", "uid"=>"ade3ac4e0cbf3405d3b136f61232d150481392cf2946c5c426e3670cc81d04d7", "secret"=>"8a2ddaea24ed92d2e9238a60415fb15ad093b67524db50267ec66c673ef55166", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001fb'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Awesome App", "uid"=>"ade3ac4e0cbf3405d3b136f61232d150481392cf2946c5c426e3670cc81d04d7", "secret"=>"8a2ddaea24ed92d2e9238a60415fb15ad093b67524db50267ec66c673ef55166", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) Started GET "/oauth/applications" for 127.0.0.1 at 2018-10-04 17:31:41 +0300 Processing by Doorkeeper::ApplicationsController#index as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({}).sort([["created_at", 1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (0.3ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (0.2ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/index.html.erb within layouts/doorkeeper/admin (2.6ms) Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a08c0d12a3466b63466c24ef51312b0bc6a39008241fc0105749bf70dbef1fb1", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001fc')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001fc'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 204", "uid"=>"a08c0d12a3466b63466c24ef51312b0bc6a39008241fc0105749bf70dbef1fb1", "secret"=>"c57367ead3d960b4569fe199642aeb4da5755b0ec5a0678bae2b7c2532f57dba", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001fc'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 204", "uid"=>"a08c0d12a3466b63466c24ef51312b0bc6a39008241fc0105749bf70dbef1fb1", "secret"=>"c57367ead3d960b4569fe199642aeb4da5755b0ec5a0678bae2b7c2532f57dba", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) Started POST "/oauth/token" for 127.0.0.1 at 2018-10-04 17:31:41 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"grant_type"=>"client_credentials"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a08c0d12a3466b63466c24ef51312b0bc6a39008241fc0105749bf70dbef1fb1"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244d35415972990001fc')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f9a57aa4a804c1152f9cce04c12a1ddc2b13bdec3a53ab63fbb9853f33a4ac01", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001fd')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001fd'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001fc'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>nil, "token"=>"f9a57aa4a804c1152f9cce04c12a1ddc2b13bdec3a53ab63fbb9853f33a4ac01", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001fd'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001fc'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "resource_owner_id"=>nil, "token"=>"f9a57aa4a804c1152f9cce04c12a1ddc2b13bdec3a53ab63fbb9853f33a4ac01", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 4ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2ac3609774d73135487820f442815ffae9fb5de231b597173b4c0d6f4d085d05", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001fe')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001fe'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 205", "uid"=>"2ac3609774d73135487820f442815ffae9fb5de231b597173b4c0d6f4d085d05", "secret"=>"df4836376c703deb2bd4fab8b9302257abd35d6d543820c90cc3060b99c958d9", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001fe'), "created_at"=>2018-10-04 14:31:41 UTC, "updated_at"=>2018-10-04 14:31:41 UTC, "name"=>"Application 205", "uid"=>"2ac3609774d73135487820f442815ffae9fb5de231b597173b4c0d6f4d085d05", "secret"=>"df4836376c703deb2bd4fab8b9302257abd35d6d543820c90cc3060b99c958d9", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) Started POST "/oauth/token" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"grant_type"=>"client_credentials", "scope"=>"write"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2ac3609774d73135487820f442815ffae9fb5de231b597173b4c0d6f4d085d05"}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244d35415972990001fe')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"30a7e27e422fb73ceed30ae324f0a49f99258e21e4386a26420474921e3e98b0", :_id=>{:$ne=>BSON::ObjectId('5bb6244d35415972990001ff')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244d35415972990001ff'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001fe'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>nil, "token"=>"30a7e27e422fb73ceed30ae324f0a49f99258e21e4386a26420474921e3e98b0", "expires_in"=>7200, "scopes"=>"write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244d35415972990001ff'), "application_id"=>BSON::ObjectId('5bb6244d35415972990001fe'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>nil, "token"=>"30a7e27e422fb73ceed30ae324f0a49f99258e21e4386a26420474921e3e98b0", "expires_in"=>7200, "scopes"=>"write"}) Completed 200 OK in 4ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5c1efa3197612479cc6e06f46b5ab1b3e6f69fc4aadf5fd55633817a074f8e66", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000200')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000200'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 206", "uid"=>"5c1efa3197612479cc6e06f46b5ab1b3e6f69fc4aadf5fd55633817a074f8e66", "secret"=>"80e105adf6c7914c10a65de4caff122e9b0e35f470b14bbd72db99ed50096803", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000200'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 206", "uid"=>"5c1efa3197612479cc6e06f46b5ab1b3e6f69fc4aadf5fd55633817a074f8e66", "secret"=>"80e105adf6c7914c10a65de4caff122e9b0e35f470b14bbd72db99ed50096803", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) Started POST "/oauth/token" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"grant_type"=>"client_credentials", "scope"=>"random"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5c1efa3197612479cc6e06f46b5ab1b3e6f69fc4aadf5fd55633817a074f8e66"}).limit(-1) Completed 401 Unauthorized in 2ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0df6ed1b287e4744436f207c438f55db9f2e0894cb403256fe7adc13c0c34713", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000201')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000201'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 207", "uid"=>"0df6ed1b287e4744436f207c438f55db9f2e0894cb403256fe7adc13c0c34713", "secret"=>"18ff72467442e5c976a7ba79b0e0f902a49f6efd01ef8b5f7385dfd66f1eae39", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000201'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 207", "uid"=>"0df6ed1b287e4744436f207c438f55db9f2e0894cb403256fe7adc13c0c34713", "secret"=>"18ff72467442e5c976a7ba79b0e0f902a49f6efd01ef8b5f7385dfd66f1eae39", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) Started POST "/oauth/token" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"grant_type"=>"client_credentials", "scope"=>"public"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0df6ed1b287e4744436f207c438f55db9f2e0894cb403256fe7adc13c0c34713"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244e3541597299000201')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"9115147538bbbb8e6b50c2eab0fcd2a1885431f0e2f605a260cea425941e5721", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000202')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000202'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000201'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>nil, "token"=>"9115147538bbbb8e6b50c2eab0fcd2a1885431f0e2f605a260cea425941e5721", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000202'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000201'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>nil, "token"=>"9115147538bbbb8e6b50c2eab0fcd2a1885431f0e2f605a260cea425941e5721", "expires_in"=>7200, "scopes"=>"public"}) Completed 200 OK in 4ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Started POST "/oauth/token" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"grant_type"=>"client_credentials"} Completed 401 Unauthorized in 0ms MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a586317cd3b2c223e151c56ef15c634e58678bace15990e0c35a70e605e89279", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000203')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000203'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"MyApp", "uid"=>"a586317cd3b2c223e151c56ef15c634e58678bace15990e0c35a70e605e89279", "secret"=>"fd11ab7c135b90049faed4ab416c6fe42399c57b3b3dc6564c4b500dc76de17f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000203'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"MyApp", "uid"=>"a586317cd3b2c223e151c56ef15c634e58678bace15990e0c35a70e605e89279", "secret"=>"fd11ab7c135b90049faed4ab416c6fe42399c57b3b3dc6564c4b500dc76de17f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) Started GET "/oauth/authorize?client_id=a586317cd3b2c223e151c56ef15c634e58678bace15990e0c35a70e605e89279&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"a586317cd3b2c223e151c56ef15c634e58678bace15990e0c35a70e605e89279", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/sign_in Filter chain halted as :authenticate_resource_owner! rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"fad5e5a55228d91add493356570bc7d6ba009a9a0a42b931b1d89f13f32faea3", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000204')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000204'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"MyApp", "uid"=>"fad5e5a55228d91add493356570bc7d6ba009a9a0a42b931b1d89f13f32faea3", "secret"=>"52717632f523346c440fd910f1fdc0b424a5674456aae7c7eaa040f1212bf602", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000204'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"MyApp", "uid"=>"fad5e5a55228d91add493356570bc7d6ba009a9a0a42b931b1d89f13f32faea3", "secret"=>"52717632f523346c440fd910f1fdc0b424a5674456aae7c7eaa040f1212bf602", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000205'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000205'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=fad5e5a55228d91add493356570bc7d6ba009a9a0a42b931b1d89f13f32faea3&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public+write" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"fad5e5a55228d91add493356570bc7d6ba009a9a0a42b931b1d89f13f32faea3", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public write"} MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"fad5e5a55228d91add493356570bc7d6ba009a9a0a42b931b1d89f13f32faea3"}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6244e3541597299000204'), :resource_owner_id=>BSON::ObjectId('5bb6244e3541597299000205'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.8ms) Completed 200 OK in 11ms (Views: 3.6ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ad75e1cdabf2b6b2545716160fd7ad4cefac4fa5607e01f1543b4f75df932a14", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000206')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000206'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"MyApp", "uid"=>"ad75e1cdabf2b6b2545716160fd7ad4cefac4fa5607e01f1543b4f75df932a14", "secret"=>"0e61bce19d6d59f398501f57b2d5479d47286ceedfa5a8eaecf5d7784324b230", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000206'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"MyApp", "uid"=>"ad75e1cdabf2b6b2545716160fd7ad4cefac4fa5607e01f1543b4f75df932a14", "secret"=>"0e61bce19d6d59f398501f57b2d5479d47286ceedfa5a8eaecf5d7784324b230", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000207'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000207'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=ad75e1cdabf2b6b2545716160fd7ad4cefac4fa5607e01f1543b4f75df932a14&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"ad75e1cdabf2b6b2545716160fd7ad4cefac4fa5607e01f1543b4f75df932a14", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ad75e1cdabf2b6b2545716160fd7ad4cefac4fa5607e01f1543b4f75df932a14"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6244e3541597299000206'), :resource_owner_id=>BSON::ObjectId('5bb6244e3541597299000207'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.0ms) Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 0.0ms) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"77a2e0f1e0fb5b29038be95b571e5dd43ba1b3f6783e0b0381b3837bdd954b3d", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000208')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000208'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"MyApp", "uid"=>"77a2e0f1e0fb5b29038be95b571e5dd43ba1b3f6783e0b0381b3837bdd954b3d", "secret"=>"05f7701bcbb49cf19476baabce29f604e3f159e33266c73d629058562ab36b63", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000208'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"MyApp", "uid"=>"77a2e0f1e0fb5b29038be95b571e5dd43ba1b3f6783e0b0381b3837bdd954b3d", "secret"=>"05f7701bcbb49cf19476baabce29f604e3f159e33266c73d629058562ab36b63", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000209'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000209'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=77a2e0f1e0fb5b29038be95b571e5dd43ba1b3f6783e0b0381b3837bdd954b3d&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"77a2e0f1e0fb5b29038be95b571e5dd43ba1b3f6783e0b0381b3837bdd954b3d", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"77a2e0f1e0fb5b29038be95b571e5dd43ba1b3f6783e0b0381b3837bdd954b3d"}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/error.html.erb within layouts/doorkeeper/application (0.2ms) Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"639e0b4f6855fc3da8bcadb856cc377b40b29c5703bf057534492121826c5ade", :_id=>{:$ne=>BSON::ObjectId('5bb6244e354159729900020a')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900020a'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"MyApp", "uid"=>"639e0b4f6855fc3da8bcadb856cc377b40b29c5703bf057534492121826c5ade", "secret"=>"6e516d841ef953c9ef21497630a5e8fd267cefac5ca2951b332917f3944abed0", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900020a'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"MyApp", "uid"=>"639e0b4f6855fc3da8bcadb856cc377b40b29c5703bf057534492121826c5ade", "secret"=>"6e516d841ef953c9ef21497630a5e8fd267cefac5ca2951b332917f3944abed0", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900020b'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900020b'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by HomeController#sign_in as HTML MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=639e0b4f6855fc3da8bcadb856cc377b40b29c5703bf057534492121826c5ade&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"639e0b4f6855fc3da8bcadb856cc377b40b29c5703bf057534492121826c5ade", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"639e0b4f6855fc3da8bcadb856cc377b40b29c5703bf057534492121826c5ade"}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/error.html.erb within layouts/doorkeeper/application (0.2ms) Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ba72a159a05dc12451c150b8d3d6d380168bb3c843d1e29c0a0d9bd12dbc2037", :_id=>{:$ne=>BSON::ObjectId('5bb6244e354159729900020c')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900020c'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"MyApp", "uid"=>"ba72a159a05dc12451c150b8d3d6d380168bb3c843d1e29c0a0d9bd12dbc2037", "secret"=>"17779e0979f79bed8d564ccc81e7fa6a762d1b5e017bcbadb522781389caef7e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900020c'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"MyApp", "uid"=>"ba72a159a05dc12451c150b8d3d6d380168bb3c843d1e29c0a0d9bd12dbc2037", "secret"=>"17779e0979f79bed8d564ccc81e7fa6a762d1b5e017bcbadb522781389caef7e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900020d'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900020d'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize?client_id=ba72a159a05dc12451c150b8d3d6d380168bb3c843d1e29c0a0d9bd12dbc2037&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"ba72a159a05dc12451c150b8d3d6d380168bb3c843d1e29c0a0d9bd12dbc2037", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} Can't verify CSRF token authenticity Completed 422 Unprocessable Entity in 0ms (ActiveRecord: 0.0ms) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c67affb86b8e410e2eef1552a146fb12d3a445834f049e43eee0dd3b992af3e1", :_id=>{:$ne=>BSON::ObjectId('5bb6244e354159729900020e')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900020e'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 208", "uid"=>"c67affb86b8e410e2eef1552a146fb12d3a445834f049e43eee0dd3b992af3e1", "secret"=>"3f628645bf1289e810672b2891374b0c1694ea30b8d3707e1da012c3424e1e22", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900020e'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 208", "uid"=>"c67affb86b8e410e2eef1552a146fb12d3a445834f049e43eee0dd3b992af3e1", "secret"=>"3f628645bf1289e810672b2891374b0c1694ea30b8d3707e1da012c3424e1e22", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900020f'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900020f'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"c8b2ac0814178339b798df76bb558891092240f5ac7104d5153011b8ce16da62", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000210')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000210'), "application_id"=>BSON::ObjectId('5bb6244e354159729900020e'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e354159729900020f'), "token"=>"c8b2ac0814178339b798df76bb558891092240f5ac7104d5153011b8ce16da62", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000210'), "application_id"=>BSON::ObjectId('5bb6244e354159729900020e'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e354159729900020f'), "token"=>"c8b2ac0814178339b798df76bb558891092240f5ac7104d5153011b8ce16da62", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244e3541597299000210')}, :u=>{"_id"=>BSON::ObjectId('5bb6244e3541597299000210'), "application_id"=>BSON::ObjectId('5bb6244e354159729900020e'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e354159729900020f'), "token"=>"c8b2ac0814178339b798df76bb558891092240f5ac7104d5153011b8ce16da62", "expires_in"=>7200}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244e3541597299000210')}, {"_id"=>BSON::ObjectId('5bb6244e3541597299000210'), "application_id"=>BSON::ObjectId('5bb6244e354159729900020e'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e354159729900020f'), "token"=>"c8b2ac0814178339b798df76bb558891092240f5ac7104d5153011b8ce16da62", "expires_in"=>7200}) Started GET "/full_protected_resources/1.json" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by FullProtectedResourcesController#show as JSON Parameters: {"id"=>"1"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"c8b2ac0814178339b798df76bb558891092240f5ac7104d5153011b8ce16da62"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244e3541597299000210')}, :u=>{"_id"=>BSON::ObjectId('5bb6244e3541597299000210'), "application_id"=>BSON::ObjectId('5bb6244e354159729900020e'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e354159729900020f'), "token"=>"c8b2ac0814178339b798df76bb558891092240f5ac7104d5153011b8ce16da62", "previous_refresh_token"=>"", "expires_in"=>7200}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244e3541597299000210')}, {"_id"=>BSON::ObjectId('5bb6244e3541597299000210'), "application_id"=>BSON::ObjectId('5bb6244e354159729900020e'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e354159729900020f'), "token"=>"c8b2ac0814178339b798df76bb558891092240f5ac7104d5153011b8ce16da62", "previous_refresh_token"=>"", "expires_in"=>7200}) Filter chain halted as # rendered or redirected Completed 403 Forbidden in 3ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a65eedbffb45f368709b061ee034a3a1f1bbed9e2beb2289834f5dc313c585ec", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000211')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000211'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 209", "uid"=>"a65eedbffb45f368709b061ee034a3a1f1bbed9e2beb2289834f5dc313c585ec", "secret"=>"921bbacadd7e6bdd30b8c1eaf517d8df10dca20374dc02fb23007620a69b127c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000211'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 209", "uid"=>"a65eedbffb45f368709b061ee034a3a1f1bbed9e2beb2289834f5dc313c585ec", "secret"=>"921bbacadd7e6bdd30b8c1eaf517d8df10dca20374dc02fb23007620a69b127c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000212'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000212'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"9be3182dfe652fd2386124c80e25dd5d5cc189dc6e7a084214c6a892fd2d8c46", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000213')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000213'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000211'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000212'), "token"=>"9be3182dfe652fd2386124c80e25dd5d5cc189dc6e7a084214c6a892fd2d8c46", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000213'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000211'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000212'), "token"=>"9be3182dfe652fd2386124c80e25dd5d5cc189dc6e7a084214c6a892fd2d8c46", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244e3541597299000213')}, :u=>{"_id"=>BSON::ObjectId('5bb6244e3541597299000213'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000211'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000212'), "token"=>"9be3182dfe652fd2386124c80e25dd5d5cc189dc6e7a084214c6a892fd2d8c46"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244e3541597299000213')}, {"_id"=>BSON::ObjectId('5bb6244e3541597299000213'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000211'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000212'), "token"=>"9be3182dfe652fd2386124c80e25dd5d5cc189dc6e7a084214c6a892fd2d8c46"}) Started GET "/full_protected_resources" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by FullProtectedResourcesController#index as HTML MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"9be3182dfe652fd2386124c80e25dd5d5cc189dc6e7a084214c6a892fd2d8c46"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244e3541597299000213')}, :u=>{"_id"=>BSON::ObjectId('5bb6244e3541597299000213'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000211'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000212'), "token"=>"9be3182dfe652fd2386124c80e25dd5d5cc189dc6e7a084214c6a892fd2d8c46", "previous_refresh_token"=>""}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244e3541597299000213')}, {"_id"=>BSON::ObjectId('5bb6244e3541597299000213'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000211'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000212'), "token"=>"9be3182dfe652fd2386124c80e25dd5d5cc189dc6e7a084214c6a892fd2d8c46", "previous_refresh_token"=>""}) Rendered text template (0.0ms) Completed 200 OK in 9ms (Views: 5.5ms | ActiveRecord: 0.0ms) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"23538bfd9b9d5b07432564da4f0403660d51f5f726c7c142048afd6f528712c8", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000214')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000214'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 210", "uid"=>"23538bfd9b9d5b07432564da4f0403660d51f5f726c7c142048afd6f528712c8", "secret"=>"a94ff17ceb3485ffc777a63867282b27fe54cdafcb0b37e02513f1b243226009", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000214'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 210", "uid"=>"23538bfd9b9d5b07432564da4f0403660d51f5f726c7c142048afd6f528712c8", "secret"=>"a94ff17ceb3485ffc777a63867282b27fe54cdafcb0b37e02513f1b243226009", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000215'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000215'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"5b0fb143caafe2b67572b476c25adf2b891e9b37ad9bb9120b3681caa2e32daa", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000216')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000216'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000214'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000215'), "token"=>"5b0fb143caafe2b67572b476c25adf2b891e9b37ad9bb9120b3681caa2e32daa", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000216'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000214'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000215'), "token"=>"5b0fb143caafe2b67572b476c25adf2b891e9b37ad9bb9120b3681caa2e32daa", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244e3541597299000216')}, :u=>{"_id"=>BSON::ObjectId('5bb6244e3541597299000216'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000214'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000215'), "token"=>"5b0fb143caafe2b67572b476c25adf2b891e9b37ad9bb9120b3681caa2e32daa", "expires_in"=>-100}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244e3541597299000216')}, {"_id"=>BSON::ObjectId('5bb6244e3541597299000216'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000214'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000215'), "token"=>"5b0fb143caafe2b67572b476c25adf2b891e9b37ad9bb9120b3681caa2e32daa", "expires_in"=>-100}) Started GET "/full_protected_resources" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by FullProtectedResourcesController#index as HTML MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"5b0fb143caafe2b67572b476c25adf2b891e9b37ad9bb9120b3681caa2e32daa"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244e3541597299000216')}, :u=>{"_id"=>BSON::ObjectId('5bb6244e3541597299000216'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000214'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000215'), "token"=>"5b0fb143caafe2b67572b476c25adf2b891e9b37ad9bb9120b3681caa2e32daa", "previous_refresh_token"=>"", "expires_in"=>-100}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244e3541597299000216')}, {"_id"=>BSON::ObjectId('5bb6244e3541597299000216'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000214'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000215'), "token"=>"5b0fb143caafe2b67572b476c25adf2b891e9b37ad9bb9120b3681caa2e32daa", "previous_refresh_token"=>"", "expires_in"=>-100}) Filter chain halted as :doorkeeper_authorize! rendered or redirected Completed 401 Unauthorized in 3ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2ac1fc5bd6da7857a2de686733419436273f0aed33f4add7196b9708cf17aa08", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000217')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000217'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 211", "uid"=>"2ac1fc5bd6da7857a2de686733419436273f0aed33f4add7196b9708cf17aa08", "secret"=>"ba435eb4b76b1f501725482577d90df98e7ec158f6e91b9c94de7da482723221", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000217'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 211", "uid"=>"2ac1fc5bd6da7857a2de686733419436273f0aed33f4add7196b9708cf17aa08", "secret"=>"ba435eb4b76b1f501725482577d90df98e7ec158f6e91b9c94de7da482723221", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000218'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000218'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"63e8443d2598209ae687475a4d8a1bf54c73cb00d14e98e39200d3a1be6e5ff8", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000219')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000219'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000217'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000218'), "token"=>"63e8443d2598209ae687475a4d8a1bf54c73cb00d14e98e39200d3a1be6e5ff8", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000219'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000217'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000218'), "token"=>"63e8443d2598209ae687475a4d8a1bf54c73cb00d14e98e39200d3a1be6e5ff8", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244e3541597299000219')}, :u=>{"_id"=>BSON::ObjectId('5bb6244e3541597299000219'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000217'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000218'), "token"=>"63e8443d2598209ae687475a4d8a1bf54c73cb00d14e98e39200d3a1be6e5ff8", "expires_in"=>7200, "scopes"=>"dummy"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244e3541597299000219')}, {"_id"=>BSON::ObjectId('5bb6244e3541597299000219'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000217'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000218'), "token"=>"63e8443d2598209ae687475a4d8a1bf54c73cb00d14e98e39200d3a1be6e5ff8", "expires_in"=>7200, "scopes"=>"dummy"}) Started GET "/full_protected_resources" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by FullProtectedResourcesController#index as HTML MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"63e8443d2598209ae687475a4d8a1bf54c73cb00d14e98e39200d3a1be6e5ff8"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244e3541597299000219')}, :u=>{"_id"=>BSON::ObjectId('5bb6244e3541597299000219'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000217'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000218'), "token"=>"63e8443d2598209ae687475a4d8a1bf54c73cb00d14e98e39200d3a1be6e5ff8", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"dummy"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244e3541597299000219')}, {"_id"=>BSON::ObjectId('5bb6244e3541597299000219'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000217'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000218'), "token"=>"63e8443d2598209ae687475a4d8a1bf54c73cb00d14e98e39200d3a1be6e5ff8", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"dummy"}) Filter chain halted as :doorkeeper_authorize! rendered or redirected Completed 403 Forbidden in 5ms (ActiveRecord: 0.0ms) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7fb26613daadeba14e828dba42cdd24d786bdce9b55bf28ffebb1e30da8bbef8", :_id=>{:$ne=>BSON::ObjectId('5bb6244e354159729900021a')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900021a'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 212", "uid"=>"7fb26613daadeba14e828dba42cdd24d786bdce9b55bf28ffebb1e30da8bbef8", "secret"=>"e8ab0b51b0688f6b509523078e32b5ad2641fc88207d1d8572c1bebdab729e91", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900021a'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 212", "uid"=>"7fb26613daadeba14e828dba42cdd24d786bdce9b55bf28ffebb1e30da8bbef8", "secret"=>"e8ab0b51b0688f6b509523078e32b5ad2641fc88207d1d8572c1bebdab729e91", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900021b'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900021b'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e6e03060267eec903438e288b02bde29d867dadc5f37ada2dbcf9d36c610b735", :_id=>{:$ne=>BSON::ObjectId('5bb6244e354159729900021c')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900021c'), "application_id"=>BSON::ObjectId('5bb6244e354159729900021a'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e354159729900021b'), "token"=>"e6e03060267eec903438e288b02bde29d867dadc5f37ada2dbcf9d36c610b735", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900021c'), "application_id"=>BSON::ObjectId('5bb6244e354159729900021a'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e354159729900021b'), "token"=>"e6e03060267eec903438e288b02bde29d867dadc5f37ada2dbcf9d36c610b735", "expires_in"=>7200}) Started GET "/full_protected_resources" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by FullProtectedResourcesController#index as HTML MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"invalid"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"invalid"}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"invalid"}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"invalid"}).limit(-1) Filter chain halted as :doorkeeper_authorize! rendered or redirected Completed 401 Unauthorized in 2ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"66e748018b9f9205077aaf38a6e8be0a0696e4168b2c09031fea36dd1a7e4711", :_id=>{:$ne=>BSON::ObjectId('5bb6244e354159729900021d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900021d'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 213", "uid"=>"66e748018b9f9205077aaf38a6e8be0a0696e4168b2c09031fea36dd1a7e4711", "secret"=>"d0bbd88216999fa619374285c4d69dd450c962d09c491f7374b2cd605dde4fc1", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900021d'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 213", "uid"=>"66e748018b9f9205077aaf38a6e8be0a0696e4168b2c09031fea36dd1a7e4711", "secret"=>"d0bbd88216999fa619374285c4d69dd450c962d09c491f7374b2cd605dde4fc1", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900021e'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900021e'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"2fec380b03f1c207bbf47d98dc8abb6d63fe6cc2ee82824f739ca5a620661910", :_id=>{:$ne=>BSON::ObjectId('5bb6244e354159729900021f')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900021f'), "application_id"=>BSON::ObjectId('5bb6244e354159729900021d'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e354159729900021e'), "token"=>"2fec380b03f1c207bbf47d98dc8abb6d63fe6cc2ee82824f739ca5a620661910", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900021f'), "application_id"=>BSON::ObjectId('5bb6244e354159729900021d'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e354159729900021e'), "token"=>"2fec380b03f1c207bbf47d98dc8abb6d63fe6cc2ee82824f739ca5a620661910", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244e354159729900021f')}, :u=>{"_id"=>BSON::ObjectId('5bb6244e354159729900021f'), "application_id"=>BSON::ObjectId('5bb6244e354159729900021d'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e354159729900021e'), "token"=>"2fec380b03f1c207bbf47d98dc8abb6d63fe6cc2ee82824f739ca5a620661910", "expires_in"=>7200, "scopes"=>"admin"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244e354159729900021f')}, {"_id"=>BSON::ObjectId('5bb6244e354159729900021f'), "application_id"=>BSON::ObjectId('5bb6244e354159729900021d'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e354159729900021e'), "token"=>"2fec380b03f1c207bbf47d98dc8abb6d63fe6cc2ee82824f739ca5a620661910", "expires_in"=>7200, "scopes"=>"admin"}) Started GET "/full_protected_resources/1.json" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by FullProtectedResourcesController#show as JSON Parameters: {"id"=>"1"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"2fec380b03f1c207bbf47d98dc8abb6d63fe6cc2ee82824f739ca5a620661910"}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244e354159729900021f')}, :u=>{"_id"=>BSON::ObjectId('5bb6244e354159729900021f'), "application_id"=>BSON::ObjectId('5bb6244e354159729900021d'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e354159729900021e'), "token"=>"2fec380b03f1c207bbf47d98dc8abb6d63fe6cc2ee82824f739ca5a620661910", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"admin"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244e354159729900021f')}, {"_id"=>BSON::ObjectId('5bb6244e354159729900021f'), "application_id"=>BSON::ObjectId('5bb6244e354159729900021d'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e354159729900021e'), "token"=>"2fec380b03f1c207bbf47d98dc8abb6d63fe6cc2ee82824f739ca5a620661910", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"admin"}) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d351a2bef6886d640e556e10ee10fe92e54a281b6afb79af49fabf4825f54d53", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000220')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000220'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 214", "uid"=>"d351a2bef6886d640e556e10ee10fe92e54a281b6afb79af49fabf4825f54d53", "secret"=>"d987bfcc1cae8b450d2705ab4f73ac1717dbda0256b312d63436dff583b15d39", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000220'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 214", "uid"=>"d351a2bef6886d640e556e10ee10fe92e54a281b6afb79af49fabf4825f54d53", "secret"=>"d987bfcc1cae8b450d2705ab4f73ac1717dbda0256b312d63436dff583b15d39", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000221'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000221'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"02657a3582af09ad82333fd5acb7d748cbc95f4a6564c95dc19123b160e486a6", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000222')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000222'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000220'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000221'), "token"=>"02657a3582af09ad82333fd5acb7d748cbc95f4a6564c95dc19123b160e486a6", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000222'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000220'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000221'), "token"=>"02657a3582af09ad82333fd5acb7d748cbc95f4a6564c95dc19123b160e486a6", "expires_in"=>7200}) Started GET "/full_protected_resources" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by FullProtectedResourcesController#index as HTML MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"02657a3582af09ad82333fd5acb7d748cbc95f4a6564c95dc19123b160e486a6"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244e3541597299000222')}, :u=>{"_id"=>BSON::ObjectId('5bb6244e3541597299000222'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000220'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000221'), "token"=>"02657a3582af09ad82333fd5acb7d748cbc95f4a6564c95dc19123b160e486a6", "previous_refresh_token"=>"", "expires_in"=>7200}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244e3541597299000222')}, {"_id"=>BSON::ObjectId('5bb6244e3541597299000222'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000220'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000221'), "token"=>"02657a3582af09ad82333fd5acb7d748cbc95f4a6564c95dc19123b160e486a6", "previous_refresh_token"=>"", "expires_in"=>7200}) Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5b41ca2fab5f90ed1dcba98c1122ff850b8e1c4c82f19caf6bb87d54c7c1e78c", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000223')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000223'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 215", "uid"=>"5b41ca2fab5f90ed1dcba98c1122ff850b8e1c4c82f19caf6bb87d54c7c1e78c", "secret"=>"1252b96e973923414063b1914533715005a4931bcd7bc37a150a5492dd0d3f16", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000223'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 215", "uid"=>"5b41ca2fab5f90ed1dcba98c1122ff850b8e1c4c82f19caf6bb87d54c7c1e78c", "secret"=>"1252b96e973923414063b1914533715005a4931bcd7bc37a150a5492dd0d3f16", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000224'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000224'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"09ce0c5b9cd646b2ef66a183c506064fa39474923dbd622e107e432767ceb92c", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000225')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000225'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000223'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000224'), "token"=>"09ce0c5b9cd646b2ef66a183c506064fa39474923dbd622e107e432767ceb92c", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000225'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000223'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000224'), "token"=>"09ce0c5b9cd646b2ef66a183c506064fa39474923dbd622e107e432767ceb92c", "expires_in"=>7200}) Started GET "/full_protected_resources" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by FullProtectedResourcesController#index as HTML Filter chain halted as :doorkeeper_authorize! rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0ffaac985b77ed4a42c57eb8899ecc7dd72137328ab6acf0b37f75e1808934c5", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000226')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000226'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 216", "uid"=>"0ffaac985b77ed4a42c57eb8899ecc7dd72137328ab6acf0b37f75e1808934c5", "secret"=>"b10d022c09bf82427fd5d63012cbcd9908ac63ea894b7036085d12c7acb760f3", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000226'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 216", "uid"=>"0ffaac985b77ed4a42c57eb8899ecc7dd72137328ab6acf0b37f75e1808934c5", "secret"=>"b10d022c09bf82427fd5d63012cbcd9908ac63ea894b7036085d12c7acb760f3", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000227'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000227'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"cec8005a45cb3bc1782062361a2599dec050b6c88df1045837e0250eb6ace796", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000228')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000228'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000226'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000227'), "token"=>"cec8005a45cb3bc1782062361a2599dec050b6c88df1045837e0250eb6ace796", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000228'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000226'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000227'), "token"=>"cec8005a45cb3bc1782062361a2599dec050b6c88df1045837e0250eb6ace796", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244e3541597299000228')}, :u=>{"_id"=>BSON::ObjectId('5bb6244e3541597299000228'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000226'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000227'), "token"=>"cec8005a45cb3bc1782062361a2599dec050b6c88df1045837e0250eb6ace796", "expires_in"=>7200, "scopes"=>"write admin"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244e3541597299000228')}, {"_id"=>BSON::ObjectId('5bb6244e3541597299000228'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000226'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000227'), "token"=>"cec8005a45cb3bc1782062361a2599dec050b6c88df1045837e0250eb6ace796", "expires_in"=>7200, "scopes"=>"write admin"}) Started GET "/full_protected_resources/1.json" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by FullProtectedResourcesController#show as JSON Parameters: {"id"=>"1"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"cec8005a45cb3bc1782062361a2599dec050b6c88df1045837e0250eb6ace796"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244e3541597299000228')}, :u=>{"_id"=>BSON::ObjectId('5bb6244e3541597299000228'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000226'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000227'), "token"=>"cec8005a45cb3bc1782062361a2599dec050b6c88df1045837e0250eb6ace796", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"write admin"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244e3541597299000228')}, {"_id"=>BSON::ObjectId('5bb6244e3541597299000228'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000226'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000227'), "token"=>"cec8005a45cb3bc1782062361a2599dec050b6c88df1045837e0250eb6ace796", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"write admin"}) Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (6.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (6.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4fac1baa81fee135b42550f01a05c2f6dd0545306c398e98065a3fab5150e0fb", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000229')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000229'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 217", "uid"=>"4fac1baa81fee135b42550f01a05c2f6dd0545306c398e98065a3fab5150e0fb", "secret"=>"bf75a8d0ed4c0ca481f35ce601ca076680f09b3bc770eff8976c7073a4f6ec48", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000229'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 217", "uid"=>"4fac1baa81fee135b42550f01a05c2f6dd0545306c398e98065a3fab5150e0fb", "secret"=>"bf75a8d0ed4c0ca481f35ce601ca076680f09b3bc770eff8976c7073a4f6ec48", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900022a'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900022a'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"aa5441088d2793ac846075210c4c600f5d482008c1a9e28b14370f8e35603ebb", :_id=>{:$ne=>BSON::ObjectId('5bb6244e354159729900022b')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900022b'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000229'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e354159729900022a'), "token"=>"aa5441088d2793ac846075210c4c600f5d482008c1a9e28b14370f8e35603ebb", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900022b'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000229'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e354159729900022a'), "token"=>"aa5441088d2793ac846075210c4c600f5d482008c1a9e28b14370f8e35603ebb", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244e354159729900022b')}, :u=>{"_id"=>BSON::ObjectId('5bb6244e354159729900022b'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000229'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e354159729900022a'), "token"=>"aa5441088d2793ac846075210c4c600f5d482008c1a9e28b14370f8e35603ebb", "expires_in"=>7200, "scopes"=>"write"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244e354159729900022b')}, {"_id"=>BSON::ObjectId('5bb6244e354159729900022b'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000229'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e354159729900022a'), "token"=>"aa5441088d2793ac846075210c4c600f5d482008c1a9e28b14370f8e35603ebb", "expires_in"=>7200, "scopes"=>"write"}) Started GET "/full_protected_resources/1.json" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by FullProtectedResourcesController#show as JSON Parameters: {"id"=>"1"} MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"aa5441088d2793ac846075210c4c600f5d482008c1a9e28b14370f8e35603ebb"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244e354159729900022b')}, :u=>{"_id"=>BSON::ObjectId('5bb6244e354159729900022b'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000229'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e354159729900022a'), "token"=>"aa5441088d2793ac846075210c4c600f5d482008c1a9e28b14370f8e35603ebb", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"write"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244e354159729900022b')}, {"_id"=>BSON::ObjectId('5bb6244e354159729900022b'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000229'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e354159729900022a'), "token"=>"aa5441088d2793ac846075210c4c600f5d482008c1a9e28b14370f8e35603ebb", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"write"}) Rendered text template (0.0ms) Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.0ms) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"76451ba45a56ba4774a4fe199810edafe1b3f3ee67cc1393463cf36cade3e185", :_id=>{:$ne=>BSON::ObjectId('5bb6244e354159729900022d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900022d'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 218", "uid"=>"76451ba45a56ba4774a4fe199810edafe1b3f3ee67cc1393463cf36cade3e185", "secret"=>"081e8dd0942d0933bd2490f5baca0dbacb09f07e7eaa65cfc46ebb8aeff4ec07", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900022d'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 218", "uid"=>"76451ba45a56ba4774a4fe199810edafe1b3f3ee67cc1393463cf36cade3e185", "secret"=>"081e8dd0942d0933bd2490f5baca0dbacb09f07e7eaa65cfc46ebb8aeff4ec07", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"2db4a026bd0cc18172ca7da93a4134976dee90f0c343ce1b5891bf9eba58ef09", :_id=>{:$ne=>BSON::ObjectId('5bb6244e354159729900022c')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"9f23e672ff53884b9c9e01229ab997e249d79ac87f804645dd293497930b3aeb", :_id=>{:$ne=>BSON::ObjectId('5bb6244e354159729900022f')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900022f'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 219", "uid"=>"9f23e672ff53884b9c9e01229ab997e249d79ac87f804645dd293497930b3aeb", "secret"=>"d01218910cfa7b1e3e274f5cc9b5e5c46611925dd3e8ece8c482fa0ec2b52eca", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900022f'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 219", "uid"=>"9f23e672ff53884b9c9e01229ab997e249d79ac87f804645dd293497930b3aeb", "secret"=>"d01218910cfa7b1e3e274f5cc9b5e5c46611925dd3e8ece8c482fa0ec2b52eca", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"e7562c9c674582c669c763126b6de5a8e1488f4d2f50d2622c6684da4522d2d4", :_id=>{:$ne=>BSON::ObjectId('5bb6244e354159729900022e')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"35befc468c4be5f183a292e1305dd85cb2e5d71a725f854b284b10525cbe30ac", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000231')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000231'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 220", "uid"=>"35befc468c4be5f183a292e1305dd85cb2e5d71a725f854b284b10525cbe30ac", "secret"=>"13406b121155858164663e405f7fbd77c16ad45d9f587a12175c61b6fb8975eb", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000231'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 220", "uid"=>"35befc468c4be5f183a292e1305dd85cb2e5d71a725f854b284b10525cbe30ac", "secret"=>"13406b121155858164663e405f7fbd77c16ad45d9f587a12175c61b6fb8975eb", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"57c9a4f883da514c03328b6baa443b9c50b89ffc5ed95558b5286023eb245ccf", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000230')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000230'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000231'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>28, "token"=>"57c9a4f883da514c03328b6baa443b9c50b89ffc5ed95558b5286023eb245ccf", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000230'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000231'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>28, "token"=>"57c9a4f883da514c03328b6baa443b9c50b89ffc5ed95558b5286023eb245ccf", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"613ff1218d393702c0d40912ab8e2f65ab585fdc776c0ca032b965c5c9526141", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000233')}}, {:_id=>1}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000233'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 221", "uid"=>"613ff1218d393702c0d40912ab8e2f65ab585fdc776c0ca032b965c5c9526141", "secret"=>"bc9057f4768bdf53240da6a84f7ffad17ae4ed1b9e5780e21cb98d765514fe15", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000233'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 221", "uid"=>"613ff1218d393702c0d40912ab8e2f65ab585fdc776c0ca032b965c5c9526141", "secret"=>"bc9057f4768bdf53240da6a84f7ffad17ae4ed1b9e5780e21cb98d765514fe15", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"83c229880b3e0a7ed1a9b8120264f5c5a14f47500f7c0e621172f0119550c2bf", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000232')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000232'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000233'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>29, "token"=>"83c229880b3e0a7ed1a9b8120264f5c5a14f47500f7c0e621172f0119550c2bf", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000232'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000233'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>29, "token"=>"83c229880b3e0a7ed1a9b8120264f5c5a14f47500f7c0e621172f0119550c2bf", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"57c9a4f883da514c03328b6baa443b9c50b89ffc5ed95558b5286023eb245ccf", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000232')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b57bbaf9762c1107d13505a177bcc551f9311eb3176e6a2d31a4aec4fa4512b2", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000235')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000235'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 222", "uid"=>"b57bbaf9762c1107d13505a177bcc551f9311eb3176e6a2d31a4aec4fa4512b2", "secret"=>"956f0c30cfde5ff4bb6d084c14afa7300df113c6b8ed4c0a52c8d84c24938926", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000235'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 222", "uid"=>"b57bbaf9762c1107d13505a177bcc551f9311eb3176e6a2d31a4aec4fa4512b2", "secret"=>"956f0c30cfde5ff4bb6d084c14afa7300df113c6b8ed4c0a52c8d84c24938926", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"bf6ea487e268dc9f944ea525e536ed9849b636061004bdbd302ab931538fd363", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000234')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000234'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000235'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>30, "token"=>"bf6ea487e268dc9f944ea525e536ed9849b636061004bdbd302ab931538fd363", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000234'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000235'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>30, "token"=>"bf6ea487e268dc9f944ea525e536ed9849b636061004bdbd302ab931538fd363", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5e3753481a0de9e564351d3c8d64f69f5fdc4336bab34e54d0e15a264aff724e", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000237')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000237'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 223", "uid"=>"5e3753481a0de9e564351d3c8d64f69f5fdc4336bab34e54d0e15a264aff724e", "secret"=>"65c4763a1c8d9824378714109c574db4f7f3fea2e918164f5de0a33365ac0eff", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000237'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 223", "uid"=>"5e3753481a0de9e564351d3c8d64f69f5fdc4336bab34e54d0e15a264aff724e", "secret"=>"65c4763a1c8d9824378714109c574db4f7f3fea2e918164f5de0a33365ac0eff", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"4b0ca3b09b643704a809f69066600afd7e396f5cd0505a436f032a42aadf6c63", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000236')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000236'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000237'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>31, "token"=>"4b0ca3b09b643704a809f69066600afd7e396f5cd0505a436f032a42aadf6c63", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000236'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000237'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>31, "token"=>"4b0ca3b09b643704a809f69066600afd7e396f5cd0505a436f032a42aadf6c63", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"bf6ea487e268dc9f944ea525e536ed9849b636061004bdbd302ab931538fd363", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000236')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"bdf7f38fa2f5a733582b75f2aa5eb2a5d40c11372c6654223cae0f307c882a11", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000239')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000239'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 224", "uid"=>"bdf7f38fa2f5a733582b75f2aa5eb2a5d40c11372c6654223cae0f307c882a11", "secret"=>"b5def61fb5cf2f8ca9439516de78ca0799ee2a75f8dd6fe88353fd8d857c9305", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000239'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 224", "uid"=>"bdf7f38fa2f5a733582b75f2aa5eb2a5d40c11372c6654223cae0f307c882a11", "secret"=>"b5def61fb5cf2f8ca9439516de78ca0799ee2a75f8dd6fe88353fd8d857c9305", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"d1acab62d50a3f8dfe453c68a0405cbc5fa2e8c6c83f1fec6dcde63a09b1c90b", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000238')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000238'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000239'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>32, "token"=>"d1acab62d50a3f8dfe453c68a0405cbc5fa2e8c6c83f1fec6dcde63a09b1c90b", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000238'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000239'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>32, "token"=>"d1acab62d50a3f8dfe453c68a0405cbc5fa2e8c6c83f1fec6dcde63a09b1c90b", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244e3541597299000238')}, :u=>{"_id"=>BSON::ObjectId('5bb6244e3541597299000238'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000239'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>32, "token"=>"d1acab62d50a3f8dfe453c68a0405cbc5fa2e8c6c83f1fec6dcde63a09b1c90b", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb6244e3541597299000238')}, {"_id"=>BSON::ObjectId('5bb6244e3541597299000238'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000239'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>32, "token"=>"d1acab62d50a3f8dfe453c68a0405cbc5fa2e8c6c83f1fec6dcde63a09b1c90b", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b9f8770a92d581676e6ed33452678f24bcd0e764b8423068b22beaf0fbec83ca", :_id=>{:$ne=>BSON::ObjectId('5bb6244e354159729900023b')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900023b'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 225", "uid"=>"b9f8770a92d581676e6ed33452678f24bcd0e764b8423068b22beaf0fbec83ca", "secret"=>"f982adb5730643f221aed4579eee9615d7edd896d68aba77268bbbf13c23961e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900023b'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 225", "uid"=>"b9f8770a92d581676e6ed33452678f24bcd0e764b8423068b22beaf0fbec83ca", "secret"=>"f982adb5730643f221aed4579eee9615d7edd896d68aba77268bbbf13c23961e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"872f18cfd7c8c2e164009af025bd72f55528e4cddf4f96d7cc35fddee23b2904", :_id=>{:$ne=>BSON::ObjectId('5bb6244e354159729900023a')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900023a'), "application_id"=>BSON::ObjectId('5bb6244e354159729900023b'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>33, "token"=>"872f18cfd7c8c2e164009af025bd72f55528e4cddf4f96d7cc35fddee23b2904", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900023a'), "application_id"=>BSON::ObjectId('5bb6244e354159729900023b'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>33, "token"=>"872f18cfd7c8c2e164009af025bd72f55528e4cddf4f96d7cc35fddee23b2904", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c6b16e592a43edb194e20c5f6e0f9469a831e935805b957af4938989cdf48ac8", :_id=>{:$ne=>BSON::ObjectId('5bb6244e354159729900023d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900023d'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 226", "uid"=>"c6b16e592a43edb194e20c5f6e0f9469a831e935805b957af4938989cdf48ac8", "secret"=>"73d392713809072676bf5777a51cb5b7e2532d839ddb6e437e014c12e3cfb606", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900023d'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 226", "uid"=>"c6b16e592a43edb194e20c5f6e0f9469a831e935805b957af4938989cdf48ac8", "secret"=>"73d392713809072676bf5777a51cb5b7e2532d839ddb6e437e014c12e3cfb606", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"203f6131877431c5ad1726786171ce7a053cba027d432d0daaeedaa826a33860", :_id=>{:$ne=>BSON::ObjectId('5bb6244e354159729900023f')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900023f'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 227", "uid"=>"203f6131877431c5ad1726786171ce7a053cba027d432d0daaeedaa826a33860", "secret"=>"96e3d0e43eaee4bffe11b5bc37563272f9eb819aaf498278136ea908ddd2db85", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900023f'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 227", "uid"=>"203f6131877431c5ad1726786171ce7a053cba027d432d0daaeedaa826a33860", "secret"=>"96e3d0e43eaee4bffe11b5bc37563272f9eb819aaf498278136ea908ddd2db85", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5015adaf81e2f9755c729567d2d9576f592310a091df6e056ae910e8a12ffa7a", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000241')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000241'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 228", "uid"=>"5015adaf81e2f9755c729567d2d9576f592310a091df6e056ae910e8a12ffa7a", "secret"=>"dc1195f8ac5bf3bb584a2f805b77f691787b96ee9e447c7d5f48d9ae6f16ff69", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000241'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 228", "uid"=>"5015adaf81e2f9755c729567d2d9576f592310a091df6e056ae910e8a12ffa7a", "secret"=>"dc1195f8ac5bf3bb584a2f805b77f691787b96ee9e447c7d5f48d9ae6f16ff69", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"8975f489fd3a9effec8243503ab69c8f64f1e071de53a7128ed73fd3ff3b3633", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000240')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8ef438ce06126938858294207a6e831fd3a4b65583c0e48b123ed699f050f8e2", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000243')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000243'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 229", "uid"=>"8ef438ce06126938858294207a6e831fd3a4b65583c0e48b123ed699f050f8e2", "secret"=>"4b0dcafd7b145d87bd5a2f6d95c42d2865996b83281891e365833af8ca49ad4d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000243'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 229", "uid"=>"8ef438ce06126938858294207a6e831fd3a4b65583c0e48b123ed699f050f8e2", "secret"=>"4b0dcafd7b145d87bd5a2f6d95c42d2865996b83281891e365833af8ca49ad4d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"bbb444cfd4450b7ff3f212ffbe6ab549102933f2647e87263c805dd4ced39ea3", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000242')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8be2a2ea4af9c4f1f04f838b46020e49f6559088c521c90c72fa4ccaaddddb15", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000245')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000245'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 230", "uid"=>"8be2a2ea4af9c4f1f04f838b46020e49f6559088c521c90c72fa4ccaaddddb15", "secret"=>"46f1f71908011e28c1ea9ce64997f0ff3b051f5136dd530756c380fddabbeac3", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000245'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 230", "uid"=>"8be2a2ea4af9c4f1f04f838b46020e49f6559088c521c90c72fa4ccaaddddb15", "secret"=>"46f1f71908011e28c1ea9ce64997f0ff3b051f5136dd530756c380fddabbeac3", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"13bdbd317a4610b666e1f0d55ea0caba9ae0cee1046a3f3bf2f04988300a87d2", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000244')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"53fe6b480fc7a385e950a4f8fe95fd78bdf7686acde846b2c5a55df24309a840", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000247')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000247'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 231", "uid"=>"53fe6b480fc7a385e950a4f8fe95fd78bdf7686acde846b2c5a55df24309a840", "secret"=>"959eadcd0d0ff7a399f587bba4e5f30f8785036527571a232bfdf44231c3510f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000247'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 231", "uid"=>"53fe6b480fc7a385e950a4f8fe95fd78bdf7686acde846b2c5a55df24309a840", "secret"=>"959eadcd0d0ff7a399f587bba4e5f30f8785036527571a232bfdf44231c3510f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"9809b4690093f2a3d41ee3f68240811c0e2608a09a2ff6bd601d9179a7854fc1", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000246')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000246'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000247'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>39, "token"=>"9809b4690093f2a3d41ee3f68240811c0e2608a09a2ff6bd601d9179a7854fc1", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000246'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000247'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>39, "token"=>"9809b4690093f2a3d41ee3f68240811c0e2608a09a2ff6bd601d9179a7854fc1", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>nil, :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000246')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"84296d83da49087750a3b4ce273724da555518a938b490443569b76ff4d10d9c", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000248')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000248'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 232", "uid"=>"84296d83da49087750a3b4ce273724da555518a938b490443569b76ff4d10d9c", "secret"=>"cb72b1e77a95d54498e624f54b3a59a596e772b7f7f9e75b5138d74613155583", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000248'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 232", "uid"=>"84296d83da49087750a3b4ce273724da555518a938b490443569b76ff4d10d9c", "secret"=>"cb72b1e77a95d54498e624f54b3a59a596e772b7f7f9e75b5138d74613155583", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000249'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000249'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"1f2ceef0ea9c9ec6d7e6b422461d811892c8564ceb3a74aeb1bc7f4e376d9ad9", :_id=>{:$ne=>BSON::ObjectId('5bb6244e354159729900024a')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900024a'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000248'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000249'), "token"=>"1f2ceef0ea9c9ec6d7e6b422461d811892c8564ceb3a74aeb1bc7f4e376d9ad9", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900024a'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000248'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000249'), "token"=>"1f2ceef0ea9c9ec6d7e6b422461d811892c8564ceb3a74aeb1bc7f4e376d9ad9", "expires_in"=>7200}) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"84296d83da49087750a3b4ce273724da555518a938b490443569b76ff4d10d9c", "state"=>"", "redirect_uri"=>"https://app.com/callback", "response_type"=>"token", "commit"=>"Authorize"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"84296d83da49087750a3b4ce273724da555518a938b490443569b76ff4d10d9c"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244e3541597299000248')}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"949b4599aeea799a0c6ff099a74048749762399858bbe29b78dcf09a7cdeeab7", :_id=>{:$ne=>BSON::ObjectId('5bb6244e354159729900024b')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900024b'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000248'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000249'), "token"=>"949b4599aeea799a0c6ff099a74048749762399858bbe29b78dcf09a7cdeeab7", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900024b'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000248'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000249'), "token"=>"949b4599aeea799a0c6ff099a74048749762399858bbe29b78dcf09a7cdeeab7", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=949b4599aeea799a0c6ff099a74048749762399858bbe29b78dcf09a7cdeeab7&token_type=Bearer&expires_in=7200 Completed 302 Found in 7ms (ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8006be3cbfda9ae352dea37ae33a164a7c86e3d25ffe2e36db47c575f567f1e1", :_id=>{:$ne=>BSON::ObjectId('5bb6244e354159729900024c')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900024c'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 233", "uid"=>"8006be3cbfda9ae352dea37ae33a164a7c86e3d25ffe2e36db47c575f567f1e1", "secret"=>"bce51a7176f78456a74546e78aa5190d19bd2b533cd5b48044f98636759f5a03", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900024c'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 233", "uid"=>"8006be3cbfda9ae352dea37ae33a164a7c86e3d25ffe2e36db47c575f567f1e1", "secret"=>"bce51a7176f78456a74546e78aa5190d19bd2b533cd5b48044f98636759f5a03", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900024d'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900024d'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"6b581adb8a4a5972d1bad0c2cfa364f6b177d055478c302824d6f6e380782f2b", :_id=>{:$ne=>BSON::ObjectId('5bb6244e354159729900024e')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900024e'), "application_id"=>BSON::ObjectId('5bb6244e354159729900024c'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e354159729900024d'), "token"=>"6b581adb8a4a5972d1bad0c2cfa364f6b177d055478c302824d6f6e380782f2b", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900024e'), "application_id"=>BSON::ObjectId('5bb6244e354159729900024c'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e354159729900024d'), "token"=>"6b581adb8a4a5972d1bad0c2cfa364f6b177d055478c302824d6f6e380782f2b", "expires_in"=>7200}) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"8006be3cbfda9ae352dea37ae33a164a7c86e3d25ffe2e36db47c575f567f1e1", "state"=>"", "redirect_uri"=>"https://app.com/callback", "response_type"=>"token", "commit"=>"Authorize"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8006be3cbfda9ae352dea37ae33a164a7c86e3d25ffe2e36db47c575f567f1e1"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6244e354159729900024c'), :resource_owner_id=>BSON::ObjectId('5bb6244e354159729900024d'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Redirected to https://app.com/callback#access_token=6b581adb8a4a5972d1bad0c2cfa364f6b177d055478c302824d6f6e380782f2b&token_type=Bearer&expires_in=7200 Completed 302 Found in 4ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"aaf2ddef01e5d7930c7f339c73c87ef4721294440de7983208e3c7cd83677252", :_id=>{:$ne=>BSON::ObjectId('5bb6244e354159729900024f')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900024f'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 234", "uid"=>"aaf2ddef01e5d7930c7f339c73c87ef4721294440de7983208e3c7cd83677252", "secret"=>"f9403c891090fd7198c5086ec10178f2f8e7814357e5117628c0c31cbdacf758", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900024f'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 234", "uid"=>"aaf2ddef01e5d7930c7f339c73c87ef4721294440de7983208e3c7cd83677252", "secret"=>"f9403c891090fd7198c5086ec10178f2f8e7814357e5117628c0c31cbdacf758", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000250'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000250'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=aaf2ddef01e5d7930c7f339c73c87ef4721294440de7983208e3c7cd83677252&client_secret=[FILTERED]&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"aaf2ddef01e5d7930c7f339c73c87ef4721294440de7983208e3c7cd83677252", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} Completed 401 Unauthorized in 0ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1a2c71d8e26388fb28abf347541c0ffbc8271bc5267348cdc68fdc393e1a6c56", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000252')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000252'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 235", "uid"=>"1a2c71d8e26388fb28abf347541c0ffbc8271bc5267348cdc68fdc393e1a6c56", "secret"=>"5401fa359244ad4d727cccaf9f0a81e12ee154a7dd2c00f957c793e2fd20a089", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000252'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 235", "uid"=>"1a2c71d8e26388fb28abf347541c0ffbc8271bc5267348cdc68fdc393e1a6c56", "secret"=>"5401fa359244ad4d727cccaf9f0a81e12ee154a7dd2c00f957c793e2fd20a089", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"a53ded798ccaf47b008ca2ab22da50963f7ad46270526e5ec9ab1e7f1466155e", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000251')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000251'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000252'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>67, "token"=>"a53ded798ccaf47b008ca2ab22da50963f7ad46270526e5ec9ab1e7f1466155e", "refresh_token"=>"refresh_token", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000251'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000252'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>67, "token"=>"a53ded798ccaf47b008ca2ab22da50963f7ad46270526e5ec9ab1e7f1466155e", "refresh_token"=>"refresh_token", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"338ade487ab2b59066bbc2ab90c6848bcc50909b44e6e64ee3b65225f40514c5", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000254')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000254'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 236", "uid"=>"338ade487ab2b59066bbc2ab90c6848bcc50909b44e6e64ee3b65225f40514c5", "secret"=>"4d9ef70f3391725ca66c0c27607baf66fedf39dafbc1481110fe8de03b3dc5ed", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000254'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 236", "uid"=>"338ade487ab2b59066bbc2ab90c6848bcc50909b44e6e64ee3b65225f40514c5", "secret"=>"4d9ef70f3391725ca66c0c27607baf66fedf39dafbc1481110fe8de03b3dc5ed", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"7b9a3ca739f77861d5c9914dc60b6f4a96c392efc31c6a9f1f957b2bd7a5387b", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000253')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000253'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000254'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>68, "token"=>"7b9a3ca739f77861d5c9914dc60b6f4a96c392efc31c6a9f1f957b2bd7a5387b", "previous_refresh_token"=>"refresh_token", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000253'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000254'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>68, "token"=>"7b9a3ca739f77861d5c9914dc60b6f4a96c392efc31c6a9f1f957b2bd7a5387b", "previous_refresh_token"=>"refresh_token", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"refresh_token"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244e3541597299000251')}, :u=>{"_id"=>BSON::ObjectId('5bb6244e3541597299000251'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000252'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>67, "token"=>"a53ded798ccaf47b008ca2ab22da50963f7ad46270526e5ec9ab1e7f1466155e", "refresh_token"=>"refresh_token", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244e3541597299000251')}, {"_id"=>BSON::ObjectId('5bb6244e3541597299000251'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000252'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>67, "token"=>"a53ded798ccaf47b008ca2ab22da50963f7ad46270526e5ec9ab1e7f1466155e", "refresh_token"=>"refresh_token", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244e3541597299000253')}, :u=>{"_id"=>BSON::ObjectId('5bb6244e3541597299000253'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000254'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>68, "token"=>"7b9a3ca739f77861d5c9914dc60b6f4a96c392efc31c6a9f1f957b2bd7a5387b", "previous_refresh_token"=>"", "expires_in"=>7200}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244e3541597299000253')}, {"_id"=>BSON::ObjectId('5bb6244e3541597299000253'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000254'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>68, "token"=>"7b9a3ca739f77861d5c9914dc60b6f4a96c392efc31c6a9f1f957b2bd7a5387b", "previous_refresh_token"=>"", "expires_in"=>7200}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6244e3541597299000251')}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"89845af80cf028b29c953ff9fa95c804a301ca0a37538cbd4214cc88a9876f86", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000255')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000255'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 237", "uid"=>"89845af80cf028b29c953ff9fa95c804a301ca0a37538cbd4214cc88a9876f86", "secret"=>"7a4fa902ab3d501fd4b380fe9b860e82d402060fec25619ce0ab4b3232e94b1f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000255'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 237", "uid"=>"89845af80cf028b29c953ff9fa95c804a301ca0a37538cbd4214cc88a9876f86", "secret"=>"7a4fa902ab3d501fd4b380fe9b860e82d402060fec25619ce0ab4b3232e94b1f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"89845af80cf028b29c953ff9fa95c804a301ca0a37538cbd4214cc88a9876f86", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000255')}}, {:_id=>1}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8b23a054ea8ff5b5984f9eaa4445a278081e5c1c1a2de20a6103fac6f351090f", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000256')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000256'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 238", "uid"=>"8b23a054ea8ff5b5984f9eaa4445a278081e5c1c1a2de20a6103fac6f351090f", "secret"=>"572f14e84f7e660918328ac3172388b51de3bc85cb1f05857233c8ac8ad3bdbe", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000256'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 238", "uid"=>"8b23a054ea8ff5b5984f9eaa4445a278081e5c1c1a2de20a6103fac6f351090f", "secret"=>"572f14e84f7e660918328ac3172388b51de3bc85cb1f05857233c8ac8ad3bdbe", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8b23a054ea8ff5b5984f9eaa4445a278081e5c1c1a2de20a6103fac6f351090f", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000256')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ebd3f130044358b021efe13e246700642a259d16625799c887036598781c303b", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000257')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000257'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 239", "uid"=>"ebd3f130044358b021efe13e246700642a259d16625799c887036598781c303b", "secret"=>"59fe3dc8562fb960cc9596a34c6e8206926c5dab8a3378a8a3cfe05e4f07aa0f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000257'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 239", "uid"=>"ebd3f130044358b021efe13e246700642a259d16625799c887036598781c303b", "secret"=>"59fe3dc8562fb960cc9596a34c6e8206926c5dab8a3378a8a3cfe05e4f07aa0f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ebd3f130044358b021efe13e246700642a259d16625799c887036598781c303b", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000257')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1d5518568f15a0ba5a387aed58af347e8334c693ed8de11a453f7367ab976b98", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000258')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000258'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 240", "uid"=>"1d5518568f15a0ba5a387aed58af347e8334c693ed8de11a453f7367ab976b98", "secret"=>"5640aec7c44c1687baed5ad3ca5dcd5da10490d0ee8043bf22014b27a784197e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000258'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 240", "uid"=>"1d5518568f15a0ba5a387aed58af347e8334c693ed8de11a453f7367ab976b98", "secret"=>"5640aec7c44c1687baed5ad3ca5dcd5da10490d0ee8043bf22014b27a784197e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1d5518568f15a0ba5a387aed58af347e8334c693ed8de11a453f7367ab976b98", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000258')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"237a930de6611761af19d07ea7c61f631997889b281f439a2bd19e27434645fa", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000259')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000259'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 241", "uid"=>"237a930de6611761af19d07ea7c61f631997889b281f439a2bd19e27434645fa", "secret"=>"d6303366fe542fba5229e5d2c90247e3a929703fc153b9f7f012468db9d6014b", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000259'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 241", "uid"=>"237a930de6611761af19d07ea7c61f631997889b281f439a2bd19e27434645fa", "secret"=>"d6303366fe542fba5229e5d2c90247e3a929703fc153b9f7f012468db9d6014b", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"237a930de6611761af19d07ea7c61f631997889b281f439a2bd19e27434645fa", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000259')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"68b40b3eeba887dad0382e67f0f1fd5e445fa18e6af54ac9e2be8e97cbc12e61", :_id=>{:$ne=>BSON::ObjectId('5bb6244e354159729900025a')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900025a'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 242", "uid"=>"68b40b3eeba887dad0382e67f0f1fd5e445fa18e6af54ac9e2be8e97cbc12e61", "secret"=>"1127dcb82dac6ec7aa7c2f7b51e07252f562adc052c96e6102c29f6f7b1a597f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900025a'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 242", "uid"=>"68b40b3eeba887dad0382e67f0f1fd5e445fa18e6af54ac9e2be8e97cbc12e61", "secret"=>"1127dcb82dac6ec7aa7c2f7b51e07252f562adc052c96e6102c29f6f7b1a597f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"68b40b3eeba887dad0382e67f0f1fd5e445fa18e6af54ac9e2be8e97cbc12e61", :_id=>{:$ne=>BSON::ObjectId('5bb6244e354159729900025a')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"cb57088125580e112a962e5a092281d06608600a112e35d22131f6a19de49865", :_id=>{:$ne=>BSON::ObjectId('5bb6244e354159729900025b')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900025b'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 243", "uid"=>"cb57088125580e112a962e5a092281d06608600a112e35d22131f6a19de49865", "secret"=>"b8899b3c84e51c537b104cd5a77123b8ca5cdbc50eb6f191b2c0ce8d3243c100", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900025b'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 243", "uid"=>"cb57088125580e112a962e5a092281d06608600a112e35d22131f6a19de49865", "secret"=>"b8899b3c84e51c537b104cd5a77123b8ca5cdbc50eb6f191b2c0ce8d3243c100", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"cb57088125580e112a962e5a092281d06608600a112e35d22131f6a19de49865", :_id=>{:$ne=>BSON::ObjectId('5bb6244e354159729900025b')}}, {:_id=>1}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ebaa4cc610ade0bbfd8c62a988c8e2d480b9f4a2adba2e4cde97b8c508e23374", :_id=>{:$ne=>BSON::ObjectId('5bb6244e354159729900025c')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900025c'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 244", "uid"=>"ebaa4cc610ade0bbfd8c62a988c8e2d480b9f4a2adba2e4cde97b8c508e23374", "secret"=>"239f53a12a7b6d386176ceb311d219c6a9b94a8b6dad9153d0dcfbf4324b0274", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900025c'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 244", "uid"=>"ebaa4cc610ade0bbfd8c62a988c8e2d480b9f4a2adba2e4cde97b8c508e23374", "secret"=>"239f53a12a7b6d386176ceb311d219c6a9b94a8b6dad9153d0dcfbf4324b0274", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ebaa4cc610ade0bbfd8c62a988c8e2d480b9f4a2adba2e4cde97b8c508e23374", :_id=>{:$ne=>BSON::ObjectId('5bb6244e354159729900025c')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3138a66e7727dd8b7f319be60659fd0dc59ce2c5763d16f5b67c04a50afb5bbd", :_id=>{:$ne=>BSON::ObjectId('5bb6244e354159729900025d')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900025d'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 245", "uid"=>"3138a66e7727dd8b7f319be60659fd0dc59ce2c5763d16f5b67c04a50afb5bbd", "secret"=>"9a77d6627f9be744ae032576dde1df8fc2dc00082ea783b698685ff946761494", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900025d'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 245", "uid"=>"3138a66e7727dd8b7f319be60659fd0dc59ce2c5763d16f5b67c04a50afb5bbd", "secret"=>"9a77d6627f9be744ae032576dde1df8fc2dc00082ea783b698685ff946761494", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3138a66e7727dd8b7f319be60659fd0dc59ce2c5763d16f5b67c04a50afb5bbd", :_id=>{:$ne=>BSON::ObjectId('5bb6244e354159729900025d')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f07d3ce8c82e58962473914fb4da7cb2b48e136c06f32694bedf5646465fe05d", :_id=>{:$ne=>BSON::ObjectId('5bb6244e354159729900025e')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900025e'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 246", "uid"=>"f07d3ce8c82e58962473914fb4da7cb2b48e136c06f32694bedf5646465fe05d", "secret"=>"6265ff7931c21614b39879b8c3b3a3a61de84e80d893c3690b897c3cce1c65eb", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900025e'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 246", "uid"=>"f07d3ce8c82e58962473914fb4da7cb2b48e136c06f32694bedf5646465fe05d", "secret"=>"6265ff7931c21614b39879b8c3b3a3a61de84e80d893c3690b897c3cce1c65eb", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f07d3ce8c82e58962473914fb4da7cb2b48e136c06f32694bedf5646465fe05d", :_id=>{:$ne=>BSON::ObjectId('5bb6244e354159729900025e')}}, {:_id=>1}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"9d2617c92d3e4df7482456a20ed96e2c2ef7b644ef2d042589e530c9d29242c4", :_id=>{:$ne=>BSON::ObjectId('5bb6244e354159729900025f')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900025f'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 247", "uid"=>"9d2617c92d3e4df7482456a20ed96e2c2ef7b644ef2d042589e530c9d29242c4", "secret"=>"31d3fc19aaa1e1dfe2ad24ca21010d068d72e0a1c39d9cb86df091956cca6b4f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900025f'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 247", "uid"=>"9d2617c92d3e4df7482456a20ed96e2c2ef7b644ef2d042589e530c9d29242c4", "secret"=>"31d3fc19aaa1e1dfe2ad24ca21010d068d72e0a1c39d9cb86df091956cca6b4f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"9d2617c92d3e4df7482456a20ed96e2c2ef7b644ef2d042589e530c9d29242c4", :_id=>{:$ne=>BSON::ObjectId('5bb6244e354159729900025f')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"9d2617c92d3e4df7482456a20ed96e2c2ef7b644ef2d042589e530c9d29242c4", :_id=>{:$ne=>BSON::ObjectId('5bb6244e354159729900025f')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"703461717fc0a014550a4a3c5024d768520f85ad171acae50cf4f6fc839a6c8d", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000260')}}, {:_id=>1}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000260'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 248", "uid"=>"703461717fc0a014550a4a3c5024d768520f85ad171acae50cf4f6fc839a6c8d", "secret"=>"fc56d456b5589ed9d7ceeef3a4a309d0b455d63ab745f6eebced0289636a428d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000260'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 248", "uid"=>"703461717fc0a014550a4a3c5024d768520f85ad171acae50cf4f6fc839a6c8d", "secret"=>"fc56d456b5589ed9d7ceeef3a4a309d0b455d63ab745f6eebced0289636a428d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"703461717fc0a014550a4a3c5024d768520f85ad171acae50cf4f6fc839a6c8d", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000260')}}, {:_id=>1}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a6c6cc34ff81ffe15841807b13f733224a234c96e7e87147e95bc75fe37b5e18", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000261')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5e801b797264f8309a9106714db02a50cb445fde82562ae8421d5d3da0b2a891", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000262')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"dab5fa93cfb9f620317a6767335dd9c203b3d891917707759ec3ad4662148240", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000263')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000263'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 251", "uid"=>"dab5fa93cfb9f620317a6767335dd9c203b3d891917707759ec3ad4662148240", "secret"=>"ad7c9c21d48b80f3a106e406677ecd9242d0cfc3891b0cbc1f6959326106c66a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000263'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 251", "uid"=>"dab5fa93cfb9f620317a6767335dd9c203b3d891917707759ec3ad4662148240", "secret"=>"ad7c9c21d48b80f3a106e406677ecd9242d0cfc3891b0cbc1f6959326106c66a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"dab5fa93cfb9f620317a6767335dd9c203b3d891917707759ec3ad4662148240", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000263')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a6217975635558af248ee0de1f32c678fa8f6b6db6143f8f4c6dfd32d41da391", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000264')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000264'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 252", "uid"=>"a6217975635558af248ee0de1f32c678fa8f6b6db6143f8f4c6dfd32d41da391", "secret"=>"82966f533c8364afaec75eba431915767d222f7196f66b5591116362751cc000", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000264'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 252", "uid"=>"a6217975635558af248ee0de1f32c678fa8f6b6db6143f8f4c6dfd32d41da391", "secret"=>"82966f533c8364afaec75eba431915767d222f7196f66b5591116362751cc000", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a6217975635558af248ee0de1f32c678fa8f6b6db6143f8f4c6dfd32d41da391", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000264')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f0801820595438b31115ab543bbb32da3f9151e45aec10f7bff143473d2eaa26", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000265')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000265'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 253", "uid"=>"f0801820595438b31115ab543bbb32da3f9151e45aec10f7bff143473d2eaa26", "secret"=>"c2701786830caf35ad3dd9db91d42bd965b6b4b1e039875a687253b0d6e80e1a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000265'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 253", "uid"=>"f0801820595438b31115ab543bbb32da3f9151e45aec10f7bff143473d2eaa26", "secret"=>"c2701786830caf35ad3dd9db91d42bd965b6b4b1e039875a687253b0d6e80e1a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f0801820595438b31115ab543bbb32da3f9151e45aec10f7bff143473d2eaa26", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000265')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b3b33a44b0d54577675e303272149d88766d66aa55701fa8522347cb47817093", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000266')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000266'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 254", "uid"=>"b3b33a44b0d54577675e303272149d88766d66aa55701fa8522347cb47817093", "secret"=>"1516b0795bebb149c4d31f8a2dfd655fc95299268ef393d11a28a944f045049a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000266'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 254", "uid"=>"b3b33a44b0d54577675e303272149d88766d66aa55701fa8522347cb47817093", "secret"=>"1516b0795bebb149c4d31f8a2dfd655fc95299268ef393d11a28a944f045049a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000267'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000267'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=b3b33a44b0d54577675e303272149d88766d66aa55701fa8522347cb47817093&client_secret=[FILTERED]&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"b3b33a44b0d54577675e303272149d88766d66aa55701fa8522347cb47817093", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b3b33a44b0d54577675e303272149d88766d66aa55701fa8522347cb47817093"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) Completed 401 Unauthorized in 3ms MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5ddea5056998959088a2fa5b338708233cd42d81ea64135d51b5778cec20fa29", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000268')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000268'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 255", "uid"=>"5ddea5056998959088a2fa5b338708233cd42d81ea64135d51b5778cec20fa29", "secret"=>"bc4205b6754dd492f08afc949580f0091b9fedc857f2152e21779578862c756c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000268'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 255", "uid"=>"5ddea5056998959088a2fa5b338708233cd42d81ea64135d51b5778cec20fa29", "secret"=>"bc4205b6754dd492f08afc949580f0091b9fedc857f2152e21779578862c756c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000269'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000269'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=5ddea5056998959088a2fa5b338708233cd42d81ea64135d51b5778cec20fa29&client_secret=[FILTERED]&username&password&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"5ddea5056998959088a2fa5b338708233cd42d81ea64135d51b5778cec20fa29", "client_secret"=>"[FILTERED]", "username"=>nil, "password"=>nil, "scope"=>nil, "grant_type"=>"password"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5ddea5056998959088a2fa5b338708233cd42d81ea64135d51b5778cec20fa29"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>nil, :password=>nil}).limit(-1) Completed 401 Unauthorized in 2ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5988f415c14c7e59fd8d1763704170cd44b5e5b44fd71acb83ee4dc77e33d63f", :_id=>{:$ne=>BSON::ObjectId('5bb6244e354159729900026a')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900026a'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 256", "uid"=>"5988f415c14c7e59fd8d1763704170cd44b5e5b44fd71acb83ee4dc77e33d63f", "secret"=>"ac7cbbac3fb6f7bec7595542cd5a2939198d352331f830e8ba589e3048c8207e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900026a'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 256", "uid"=>"5988f415c14c7e59fd8d1763704170cd44b5e5b44fd71acb83ee4dc77e33d63f", "secret"=>"ac7cbbac3fb6f7bec7595542cd5a2939198d352331f830e8ba589e3048c8207e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900026b'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900026b'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=5988f415c14c7e59fd8d1763704170cd44b5e5b44fd71acb83ee4dc77e33d63f&client_secret=[FILTERED]&username=Joe&password=wrongpassword&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"5988f415c14c7e59fd8d1763704170cd44b5e5b44fd71acb83ee4dc77e33d63f", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"wrongpassword", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5988f415c14c7e59fd8d1763704170cd44b5e5b44fd71acb83ee4dc77e33d63f"}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"wrongpassword"}).limit(-1) Completed 401 Unauthorized in 3ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"42382d964ec1aaccb58963aa5b769a68cab346d1e28073f554e599474013118b", :_id=>{:$ne=>BSON::ObjectId('5bb6244e354159729900026c')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900026c'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 257", "uid"=>"42382d964ec1aaccb58963aa5b769a68cab346d1e28073f554e599474013118b", "secret"=>"40ad0dcbbb40c7df4c0bc673262f457e22de962689b943bf96a1c684978877f1", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900026c'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 257", "uid"=>"42382d964ec1aaccb58963aa5b769a68cab346d1e28073f554e599474013118b", "secret"=>"40ad0dcbbb40c7df4c0bc673262f457e22de962689b943bf96a1c684978877f1", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900026d'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900026d'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id&client_secret&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>nil, "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"04971bcd8c2a4463a5375f00c0648ce07c6a3b093362423400d96bde90006f0e", :_id=>{:$ne=>BSON::ObjectId('5bb6244e354159729900026e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900026e'), "application_id"=>nil, "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e354159729900026d'), "token"=>"04971bcd8c2a4463a5375f00c0648ce07c6a3b093362423400d96bde90006f0e", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900026e'), "application_id"=>nil, "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e354159729900026d'), "token"=>"04971bcd8c2a4463a5375f00c0648ce07c6a3b093362423400d96bde90006f0e", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 3ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4de3ee80dc196d79f105d458eb171f39798fb0394200c32eeac396e988eb2f04", :_id=>{:$ne=>BSON::ObjectId('5bb6244e354159729900026f')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900026f'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 258", "uid"=>"4de3ee80dc196d79f105d458eb171f39798fb0394200c32eeac396e988eb2f04", "secret"=>"f54779b2709093bd39cef192efcc6e45339a816d482524fe4bb0a5ea1c8c1ea7", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900026f'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 258", "uid"=>"4de3ee80dc196d79f105d458eb171f39798fb0394200c32eeac396e988eb2f04", "secret"=>"f54779b2709093bd39cef192efcc6e45339a816d482524fe4bb0a5ea1c8c1ea7", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000270'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000270'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"c1e43059c3630f3fdf5a09db2ead2b465066329b8da12aff61b1d739b2727bf9", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000271')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000271'), "application_id"=>BSON::ObjectId('5bb6244e354159729900026f'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000270'), "token"=>"c1e43059c3630f3fdf5a09db2ead2b465066329b8da12aff61b1d739b2727bf9", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000271'), "application_id"=>BSON::ObjectId('5bb6244e354159729900026f'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000270'), "token"=>"c1e43059c3630f3fdf5a09db2ead2b465066329b8da12aff61b1d739b2727bf9", "expires_in"=>7200}) Started POST "/oauth/token?code&client_id=4de3ee80dc196d79f105d458eb171f39798fb0394200c32eeac396e988eb2f04&client_secret=[FILTERED]&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"4de3ee80dc196d79f105d458eb171f39798fb0394200c32eeac396e988eb2f04", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4de3ee80dc196d79f105d458eb171f39798fb0394200c32eeac396e988eb2f04"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6244e354159729900026f'), :resource_owner_id=>BSON::ObjectId('5bb6244e3541597299000270'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Completed 200 OK in 4ms MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f79040f6ba9705bc0dc4c3478d88267a3531e0de80ce15671eeab3cfa26c106f", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000272')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000272'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 259", "uid"=>"f79040f6ba9705bc0dc4c3478d88267a3531e0de80ce15671eeab3cfa26c106f", "secret"=>"21275bdc2e64232067a65f8a2a324b2e552bb273fadc807a6844903744532b2a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000272'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 259", "uid"=>"f79040f6ba9705bc0dc4c3478d88267a3531e0de80ce15671eeab3cfa26c106f", "secret"=>"21275bdc2e64232067a65f8a2a324b2e552bb273fadc807a6844903744532b2a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000273'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000273'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}) Started POST "/oauth/token?code&client_id=f79040f6ba9705bc0dc4c3478d88267a3531e0de80ce15671eeab3cfa26c106f&client_secret=[FILTERED]&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"f79040f6ba9705bc0dc4c3478d88267a3531e0de80ce15671eeab3cfa26c106f", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f79040f6ba9705bc0dc4c3478d88267a3531e0de80ce15671eeab3cfa26c106f"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244e3541597299000272')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"60eff2f51065277dfde071ce1905af9cef8583a4c41022c5c7fcd69eac8b5d26", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000274')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"a9276d4ec451d2ecb631b217b4c170450766dfa1526a35843e28ab1b3bba2a90", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000274')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000274'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000272'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000273'), "token"=>"60eff2f51065277dfde071ce1905af9cef8583a4c41022c5c7fcd69eac8b5d26", "refresh_token"=>"a9276d4ec451d2ecb631b217b4c170450766dfa1526a35843e28ab1b3bba2a90", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000274'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000272'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000273'), "token"=>"60eff2f51065277dfde071ce1905af9cef8583a4c41022c5c7fcd69eac8b5d26", "refresh_token"=>"a9276d4ec451d2ecb631b217b4c170450766dfa1526a35843e28ab1b3bba2a90", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 6ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a72088567517855bbd433719c60ab4f9ff84165c6f542dc050a1c45e015e9a11", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000275')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000275'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 260", "uid"=>"a72088567517855bbd433719c60ab4f9ff84165c6f542dc050a1c45e015e9a11", "secret"=>"46d2f03de8c44f65fc22f65436b7217d4ea0a649046090bcaf39a0486992ef69", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000275'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 260", "uid"=>"a72088567517855bbd433719c60ab4f9ff84165c6f542dc050a1c45e015e9a11", "secret"=>"46d2f03de8c44f65fc22f65436b7217d4ea0a649046090bcaf39a0486992ef69", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000276'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000276'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=a72088567517855bbd433719c60ab4f9ff84165c6f542dc050a1c45e015e9a11&client_secret=[FILTERED]&username=Joe&password=sekret&scope=public&grant_type=password" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"a72088567517855bbd433719c60ab4f9ff84165c6f542dc050a1c45e015e9a11", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>"public", "grant_type"=>"password"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a72088567517855bbd433719c60ab4f9ff84165c6f542dc050a1c45e015e9a11"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244e3541597299000275')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"a5f6af5c3d0dffd613b9b40278a0770e8ecdff02754bd7e100fb52820f9de1c7", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000277')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000277'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000275'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000276'), "token"=>"a5f6af5c3d0dffd613b9b40278a0770e8ecdff02754bd7e100fb52820f9de1c7", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000277'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000275'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000276'), "token"=>"a5f6af5c3d0dffd613b9b40278a0770e8ecdff02754bd7e100fb52820f9de1c7", "expires_in"=>7200, "scopes"=>"public"}) Completed 200 OK in 5ms MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5f8fa000ba979132149a8ad0e063da80cec8c52f4cc978835de2bedf7eabff32", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000278')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000278'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 261", "uid"=>"5f8fa000ba979132149a8ad0e063da80cec8c52f4cc978835de2bedf7eabff32", "secret"=>"13c44d5964fe23b4067d591e9fa5511cd318c685a2b337a26cce6809fef386f2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000278'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 261", "uid"=>"5f8fa000ba979132149a8ad0e063da80cec8c52f4cc978835de2bedf7eabff32", "secret"=>"13c44d5964fe23b4067d591e9fa5511cd318c685a2b337a26cce6809fef386f2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000279'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000279'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=5f8fa000ba979132149a8ad0e063da80cec8c52f4cc978835de2bedf7eabff32&client_secret=[FILTERED]&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"5f8fa000ba979132149a8ad0e063da80cec8c52f4cc978835de2bedf7eabff32", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5f8fa000ba979132149a8ad0e063da80cec8c52f4cc978835de2bedf7eabff32"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244e3541597299000278')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"589c658b9de7c7b43a40ec5c217d2560e0df94322077dfa263000fa71cbc1e56", :_id=>{:$ne=>BSON::ObjectId('5bb6244e354159729900027a')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900027a'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000278'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000279'), "token"=>"589c658b9de7c7b43a40ec5c217d2560e0df94322077dfa263000fa71cbc1e56", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900027a'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000278'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000279'), "token"=>"589c658b9de7c7b43a40ec5c217d2560e0df94322077dfa263000fa71cbc1e56", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 7ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"12faa2940e48cea910f4753d4adccd26f4c84bc25521bfe638e8f626f0197167", :_id=>{:$ne=>BSON::ObjectId('5bb6244e354159729900027b')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900027b'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 262", "uid"=>"12faa2940e48cea910f4753d4adccd26f4c84bc25521bfe638e8f626f0197167", "secret"=>"9db1dc64f42a5b68dd77d553f42df8e5b572e1e80d9aca1463ae9c4bd9be38ee", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900027b'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 262", "uid"=>"12faa2940e48cea910f4753d4adccd26f4c84bc25521bfe638e8f626f0197167", "secret"=>"9db1dc64f42a5b68dd77d553f42df8e5b572e1e80d9aca1463ae9c4bd9be38ee", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900027c'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900027c'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=12faa2940e48cea910f4753d4adccd26f4c84bc25521bfe638e8f626f0197167&client_secret&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"12faa2940e48cea910f4753d4adccd26f4c84bc25521bfe638e8f626f0197167", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"12faa2940e48cea910f4753d4adccd26f4c84bc25521bfe638e8f626f0197167"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) Completed 401 Unauthorized in 2ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a502d6ede4205c560ce5172ecfc05618fcb59d0bbc60da88371f4faa199998e1", :_id=>{:$ne=>BSON::ObjectId('5bb6244e354159729900027d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900027d'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 263", "uid"=>"a502d6ede4205c560ce5172ecfc05618fcb59d0bbc60da88371f4faa199998e1", "secret"=>"bd267ca69d7c5092a4a931059e80aacc7cdc47a2b67bc501fd6843da624ac324", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900027d'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 263", "uid"=>"a502d6ede4205c560ce5172ecfc05618fcb59d0bbc60da88371f4faa199998e1", "secret"=>"bd267ca69d7c5092a4a931059e80aacc7cdc47a2b67bc501fd6843da624ac324", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900027e'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900027e'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=a502d6ede4205c560ce5172ecfc05618fcb59d0bbc60da88371f4faa199998e1&client_secret=[FILTERED]&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"a502d6ede4205c560ce5172ecfc05618fcb59d0bbc60da88371f4faa199998e1", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a502d6ede4205c560ce5172ecfc05618fcb59d0bbc60da88371f4faa199998e1"}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244e354159729900027d')}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"b5cc4601dc22d2f882360c9bf852dfff94d1327746315df5a7f39fe2e231b765", :_id=>{:$ne=>BSON::ObjectId('5bb6244e354159729900027f')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900027f'), "application_id"=>BSON::ObjectId('5bb6244e354159729900027d'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e354159729900027e'), "token"=>"b5cc4601dc22d2f882360c9bf852dfff94d1327746315df5a7f39fe2e231b765", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900027f'), "application_id"=>BSON::ObjectId('5bb6244e354159729900027d'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e354159729900027e'), "token"=>"b5cc4601dc22d2f882360c9bf852dfff94d1327746315df5a7f39fe2e231b765", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 8ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"fb395aabf4b699c60938eda1bc5e526edd82d8c93c8dea545187c7f21b1cbd01", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000280')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000280'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 264", "uid"=>"fb395aabf4b699c60938eda1bc5e526edd82d8c93c8dea545187c7f21b1cbd01", "secret"=>"61df6c5c5447326041ce176d28d76e81190e2f14b967d95baed42f7c9505063d", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000280'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 264", "uid"=>"fb395aabf4b699c60938eda1bc5e526edd82d8c93c8dea545187c7f21b1cbd01", "secret"=>"61df6c5c5447326041ce176d28d76e81190e2f14b967d95baed42f7c9505063d", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000281'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000281'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=fb395aabf4b699c60938eda1bc5e526edd82d8c93c8dea545187c7f21b1cbd01&client_secret=[FILTERED]&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"fb395aabf4b699c60938eda1bc5e526edd82d8c93c8dea545187c7f21b1cbd01", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"fb395aabf4b699c60938eda1bc5e526edd82d8c93c8dea545187c7f21b1cbd01"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) Completed 401 Unauthorized in 2ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d325ff7308ac149c76036436c2a201a7b436118e6d58946989cbb742067ca6cc", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000282')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000282'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 265", "uid"=>"d325ff7308ac149c76036436c2a201a7b436118e6d58946989cbb742067ca6cc", "secret"=>"051aa436b51ee3f7588b97bc08b6b22ce219e07e998d14be2c611fd6a85ed847", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000282'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 265", "uid"=>"d325ff7308ac149c76036436c2a201a7b436118e6d58946989cbb742067ca6cc", "secret"=>"051aa436b51ee3f7588b97bc08b6b22ce219e07e998d14be2c611fd6a85ed847", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000283'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000283'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=d325ff7308ac149c76036436c2a201a7b436118e6d58946989cbb742067ca6cc&client_secret&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"d325ff7308ac149c76036436c2a201a7b436118e6d58946989cbb742067ca6cc", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d325ff7308ac149c76036436c2a201a7b436118e6d58946989cbb742067ca6cc"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244e3541597299000282')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"ba13d34c2d6a30ac764c60f6df005fa3ef0a4353eea398984e1f57199c93b8d5", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000284')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000284'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000282'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000283'), "token"=>"ba13d34c2d6a30ac764c60f6df005fa3ef0a4353eea398984e1f57199c93b8d5", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000284'), "application_id"=>BSON::ObjectId('5bb6244e3541597299000282'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244e3541597299000283'), "token"=>"ba13d34c2d6a30ac764c60f6df005fa3ef0a4353eea398984e1f57199c93b8d5", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 5ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"70224ace5d9ff85036f570456d3f08c47ee1170ee9d2a72c810e19a9da374371", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000285')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000285'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 266", "uid"=>"70224ace5d9ff85036f570456d3f08c47ee1170ee9d2a72c810e19a9da374371", "secret"=>"4a7d491fab8ff55f4712882801893e99ff20e9f46a461a770758ba28c54a7a81", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000285'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 266", "uid"=>"70224ace5d9ff85036f570456d3f08c47ee1170ee9d2a72c810e19a9da374371", "secret"=>"4a7d491fab8ff55f4712882801893e99ff20e9f46a461a770758ba28c54a7a81", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000286'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000286'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=70224ace5d9ff85036f570456d3f08c47ee1170ee9d2a72c810e19a9da374371&client_secret=[FILTERED]&username=Joe&password=sekret&scope=random&grant_type=password" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"70224ace5d9ff85036f570456d3f08c47ee1170ee9d2a72c810e19a9da374371", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>"random", "grant_type"=>"password"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"70224ace5d9ff85036f570456d3f08c47ee1170ee9d2a72c810e19a9da374371"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) Completed 401 Unauthorized in 2ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"98d35575340238361d0c360f3951a922862a3145450ca9126af4a90f7e5c1c8e", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000287')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000287'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 267", "uid"=>"98d35575340238361d0c360f3951a922862a3145450ca9126af4a90f7e5c1c8e", "secret"=>"aafd04fc76397954f014409c9fa935bfdfec29ed2d760be2f20519fcc91ee43a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000287'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 267", "uid"=>"98d35575340238361d0c360f3951a922862a3145450ca9126af4a90f7e5c1c8e", "secret"=>"aafd04fc76397954f014409c9fa935bfdfec29ed2d760be2f20519fcc91ee43a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000288'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000288'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}) Started POST "/oauth/token?code&client_id=98d35575340238361d0c360f3951a922862a3145450ca9126af4a90f7e5c1c8e&client_secret=[FILTERED]&username=Joe&password=sekret&scope=random&grant_type=password" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"98d35575340238361d0c360f3951a922862a3145450ca9126af4a90f7e5c1c8e", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>"random", "grant_type"=>"password"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"98d35575340238361d0c360f3951a922862a3145450ca9126af4a90f7e5c1c8e"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) Completed 401 Unauthorized in 2ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a7d734e47b641f6d3f02c3402bb5d9551186b3b35848d8e8b2ba086e6a020e3e", :_id=>{:$ne=>BSON::ObjectId('5bb6244e3541597299000289')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e3541597299000289'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 268", "uid"=>"a7d734e47b641f6d3f02c3402bb5d9551186b3b35848d8e8b2ba086e6a020e3e", "secret"=>"4c322af4880f8cacd95f74a0d010fe0c048b952c0cabf65dd711fe551d02083b", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244e3541597299000289'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Application 268", "uid"=>"a7d734e47b641f6d3f02c3402bb5d9551186b3b35848d8e8b2ba086e6a020e3e", "secret"=>"4c322af4880f8cacd95f74a0d010fe0c048b952c0cabf65dd711fe551d02083b", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244e354159729900028a'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244e354159729900028a'), "created_at"=>2018-10-04 14:31:42 UTC, "updated_at"=>2018-10-04 14:31:42 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=bad_id&client_secret&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:31:42 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"bad_id", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"bad_id"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) Completed 401 Unauthorized in 2ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"0be53edbc23fa4e70bdbdbff0be9c51d94186e0fdc0853d2bd1128a1bc8de96c", :_id=>{:$ne=>BSON::ObjectId('5bb6244f354159729900028b')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f354159729900028b'), "application_id"=>nil, "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>nil, "token"=>"0be53edbc23fa4e70bdbdbff0be9c51d94186e0fdc0853d2bd1128a1bc8de96c", "expires_in"=>100, "scopes"=>"phone"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244f354159729900028b'), "application_id"=>nil, "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>nil, "token"=>"0be53edbc23fa4e70bdbdbff0be9c51d94186e0fdc0853d2bd1128a1bc8de96c", "expires_in"=>100, "scopes"=>"phone"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"56971cf33a2aaaea7bd9beaf3af6a736f57583ef3458a6e70d6f1486a87364b6", :_id=>{:$ne=>BSON::ObjectId('5bb6244f354159729900028c')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f354159729900028c'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 269", "uid"=>"56971cf33a2aaaea7bd9beaf3af6a736f57583ef3458a6e70d6f1486a87364b6", "secret"=>"9e573363d04323648e2a63227365dadf6f2873a15f0395c36ca72aebce87b118", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f354159729900028c'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 269", "uid"=>"56971cf33a2aaaea7bd9beaf3af6a736f57583ef3458a6e70d6f1486a87364b6", "secret"=>"9e573363d04323648e2a63227365dadf6f2873a15f0395c36ca72aebce87b118", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f354159729900028d'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244f354159729900028d'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:43 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:31:43 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:43 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"579ac6001d29ff723783653b5d60bddffa88704adf1823d11a3c8db567af95f1", :_id=>{:$ne=>BSON::ObjectId('5bb6244f354159729900028e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f354159729900028e'), "application_id"=>BSON::ObjectId('5bb6244f354159729900028c'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244f354159729900028d'), "token"=>"579ac6001d29ff723783653b5d60bddffa88704adf1823d11a3c8db567af95f1", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244f354159729900028e'), "application_id"=>BSON::ObjectId('5bb6244f354159729900028c'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244f354159729900028d'), "token"=>"579ac6001d29ff723783653b5d60bddffa88704adf1823d11a3c8db567af95f1", "expires_in"=>7200, "scopes"=>"public write"}) Started GET "/oauth/authorize?client_id=56971cf33a2aaaea7bd9beaf3af6a736f57583ef3458a6e70d6f1486a87364b6&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public" for 127.0.0.1 at 2018-10-04 17:31:43 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"56971cf33a2aaaea7bd9beaf3af6a736f57583ef3458a6e70d6f1486a87364b6", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"56971cf33a2aaaea7bd9beaf3af6a736f57583ef3458a6e70d6f1486a87364b6"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6244f354159729900028c'), :resource_owner_id=>BSON::ObjectId('5bb6244f354159729900028d'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.1ms) Completed 200 OK in 7ms (Views: 2.6ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:31:43 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"56971cf33a2aaaea7bd9beaf3af6a736f57583ef3458a6e70d6f1486a87364b6", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public", "commit"=>"Authorize"} MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"56971cf33a2aaaea7bd9beaf3af6a736f57583ef3458a6e70d6f1486a87364b6"}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"7bbb65446b1f7dbb1a5bb74b2bde4cc8870f79f1c0c02adce12a02642bc99bc3", :_id=>{:$ne=>BSON::ObjectId('5bb6244f354159729900028f')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f354159729900028f'), "application_id"=>BSON::ObjectId('5bb6244f354159729900028c'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244f354159729900028d'), "token"=>"7bbb65446b1f7dbb1a5bb74b2bde4cc8870f79f1c0c02adce12a02642bc99bc3", "scopes"=>"public", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244f354159729900028f'), "application_id"=>BSON::ObjectId('5bb6244f354159729900028c'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244f354159729900028d'), "token"=>"7bbb65446b1f7dbb1a5bb74b2bde4cc8870f79f1c0c02adce12a02642bc99bc3", "scopes"=>"public", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=7bbb65446b1f7dbb1a5bb74b2bde4cc8870f79f1c0c02adce12a02642bc99bc3 Completed 302 Found in 9ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:31:43 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"310e3d207b83e2d9f33d74f4a7bbf13a56283137b0c6ee4420fb17cde7aa9a62", :_id=>{:$ne=>BSON::ObjectId('5bb6244f3541597299000290')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f3541597299000290'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 270", "uid"=>"310e3d207b83e2d9f33d74f4a7bbf13a56283137b0c6ee4420fb17cde7aa9a62", "secret"=>"3e8944dd5c07ba2bd4afe93b5d644dfc1081f7a8b3a12128a4f23da253563557", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f3541597299000290'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 270", "uid"=>"310e3d207b83e2d9f33d74f4a7bbf13a56283137b0c6ee4420fb17cde7aa9a62", "secret"=>"3e8944dd5c07ba2bd4afe93b5d644dfc1081f7a8b3a12128a4f23da253563557", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f3541597299000291'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244f3541597299000291'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:43 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:31:43 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:43 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"b40452b55c34ba2d49922ff84c7028aaf849d9b3ce24e479e0197538cc18665f", :_id=>{:$ne=>BSON::ObjectId('5bb6244f3541597299000292')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f3541597299000292'), "application_id"=>BSON::ObjectId('5bb6244f3541597299000290'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244f3541597299000291'), "token"=>"b40452b55c34ba2d49922ff84c7028aaf849d9b3ce24e479e0197538cc18665f", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244f3541597299000292'), "application_id"=>BSON::ObjectId('5bb6244f3541597299000290'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244f3541597299000291'), "token"=>"b40452b55c34ba2d49922ff84c7028aaf849d9b3ce24e479e0197538cc18665f", "expires_in"=>7200, "scopes"=>"public write"}) Started GET "/oauth/authorize?client_id=310e3d207b83e2d9f33d74f4a7bbf13a56283137b0c6ee4420fb17cde7aa9a62&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public" for 127.0.0.1 at 2018-10-04 17:31:43 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"310e3d207b83e2d9f33d74f4a7bbf13a56283137b0c6ee4420fb17cde7aa9a62", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public"} MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"310e3d207b83e2d9f33d74f4a7bbf13a56283137b0c6ee4420fb17cde7aa9a62"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6244f3541597299000290'), :resource_owner_id=>BSON::ObjectId('5bb6244f3541597299000291'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.8ms) Completed 200 OK in 10ms (Views: 4.0ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"50159a9f3986802faf23fe3a786b6909f5b0127114b93b8af4c461fb2224a8b0", :_id=>{:$ne=>BSON::ObjectId('5bb6244f3541597299000293')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f3541597299000293'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 271", "uid"=>"50159a9f3986802faf23fe3a786b6909f5b0127114b93b8af4c461fb2224a8b0", "secret"=>"3a4248c098571646a7dd43739d4b9bdcf1def781d72a58e8bf3469d464e94f20", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f3541597299000293'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 271", "uid"=>"50159a9f3986802faf23fe3a786b6909f5b0127114b93b8af4c461fb2224a8b0", "secret"=>"3a4248c098571646a7dd43739d4b9bdcf1def781d72a58e8bf3469d464e94f20", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f3541597299000294'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244f3541597299000294'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:43 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:31:43 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:43 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"4b1cbfcb4e5901430e7791abcf4750029e437862dd2a60f425c7aa4dafe8edb6", :_id=>{:$ne=>BSON::ObjectId('5bb6244f3541597299000295')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f3541597299000295'), "application_id"=>BSON::ObjectId('5bb6244f3541597299000293'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244f3541597299000294'), "token"=>"4b1cbfcb4e5901430e7791abcf4750029e437862dd2a60f425c7aa4dafe8edb6", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244f3541597299000295'), "application_id"=>BSON::ObjectId('5bb6244f3541597299000293'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244f3541597299000294'), "token"=>"4b1cbfcb4e5901430e7791abcf4750029e437862dd2a60f425c7aa4dafe8edb6", "expires_in"=>7200, "scopes"=>"public"}) Started GET "/oauth/authorize?client_id=50159a9f3986802faf23fe3a786b6909f5b0127114b93b8af4c461fb2224a8b0&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public+write" for 127.0.0.1 at 2018-10-04 17:31:43 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"50159a9f3986802faf23fe3a786b6909f5b0127114b93b8af4c461fb2224a8b0", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public write"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"50159a9f3986802faf23fe3a786b6909f5b0127114b93b8af4c461fb2224a8b0"}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6244f3541597299000293'), :resource_owner_id=>BSON::ObjectId('5bb6244f3541597299000294'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.5ms) Completed 200 OK in 9ms (Views: 3.5ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"cdb6eb3c573f0f516318fa2727e73369726777f7692984771ac8ecec95181db7", :_id=>{:$ne=>BSON::ObjectId('5bb6244f3541597299000296')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f3541597299000296'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 272", "uid"=>"cdb6eb3c573f0f516318fa2727e73369726777f7692984771ac8ecec95181db7", "secret"=>"599258dccda9bd14dbe6ed5537f3448b16be80aa64d812efd34de3b604a5c07a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f3541597299000296'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 272", "uid"=>"cdb6eb3c573f0f516318fa2727e73369726777f7692984771ac8ecec95181db7", "secret"=>"599258dccda9bd14dbe6ed5537f3448b16be80aa64d812efd34de3b604a5c07a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f3541597299000297'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244f3541597299000297'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:43 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:31:43 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:43 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"4f050a2f771d45b0d01fef49ae0d2920335f3d014a748cee41fe04981e4ff794", :_id=>{:$ne=>BSON::ObjectId('5bb6244f3541597299000298')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f3541597299000298'), "application_id"=>BSON::ObjectId('5bb6244f3541597299000296'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244f3541597299000297'), "token"=>"4f050a2f771d45b0d01fef49ae0d2920335f3d014a748cee41fe04981e4ff794", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244f3541597299000298'), "application_id"=>BSON::ObjectId('5bb6244f3541597299000296'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244f3541597299000297'), "token"=>"4f050a2f771d45b0d01fef49ae0d2920335f3d014a748cee41fe04981e4ff794", "expires_in"=>7200, "scopes"=>"public write"}) Started GET "/oauth/authorize?client_id=cdb6eb3c573f0f516318fa2727e73369726777f7692984771ac8ecec95181db7&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:31:43 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"cdb6eb3c573f0f516318fa2727e73369726777f7692984771ac8ecec95181db7", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"cdb6eb3c573f0f516318fa2727e73369726777f7692984771ac8ecec95181db7"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6244f3541597299000296'), :resource_owner_id=>BSON::ObjectId('5bb6244f3541597299000297'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.4ms) Completed 200 OK in 7ms (Views: 3.0ms | ActiveRecord: 0.0ms) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"663585d9b7f214e4e2372d1eab578af15a2e364ff3d597274f50ea91242ee2af", :_id=>{:$ne=>BSON::ObjectId('5bb6244f3541597299000299')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f3541597299000299'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 273", "uid"=>"663585d9b7f214e4e2372d1eab578af15a2e364ff3d597274f50ea91242ee2af", "secret"=>"ce2a067e8fc09a4e8b099ef760b0f39ec80056e9827c43bfdd9b4479bd81a882", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f3541597299000299'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 273", "uid"=>"663585d9b7f214e4e2372d1eab578af15a2e364ff3d597274f50ea91242ee2af", "secret"=>"ce2a067e8fc09a4e8b099ef760b0f39ec80056e9827c43bfdd9b4479bd81a882", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f354159729900029a'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244f354159729900029a'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:43 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:31:43 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:43 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f2ab6c1b964422cac0cb28fa64a1cd88a4ffc46f940f843ae93615bb735c49c0", :_id=>{:$ne=>BSON::ObjectId('5bb6244f354159729900029b')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f354159729900029b'), "application_id"=>BSON::ObjectId('5bb6244f3541597299000299'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244f354159729900029a'), "token"=>"f2ab6c1b964422cac0cb28fa64a1cd88a4ffc46f940f843ae93615bb735c49c0", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244f354159729900029b'), "application_id"=>BSON::ObjectId('5bb6244f3541597299000299'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244f354159729900029a'), "token"=>"f2ab6c1b964422cac0cb28fa64a1cd88a4ffc46f940f843ae93615bb735c49c0", "expires_in"=>7200, "scopes"=>"public"}) Started GET "/oauth/authorize?client_id=663585d9b7f214e4e2372d1eab578af15a2e364ff3d597274f50ea91242ee2af&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public+write" for 127.0.0.1 at 2018-10-04 17:31:43 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"663585d9b7f214e4e2372d1eab578af15a2e364ff3d597274f50ea91242ee2af", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public write"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"663585d9b7f214e4e2372d1eab578af15a2e364ff3d597274f50ea91242ee2af"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6244f3541597299000299'), :resource_owner_id=>BSON::ObjectId('5bb6244f354159729900029a'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.1ms) Completed 200 OK in 6ms (Views: 2.4ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:31:43 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"663585d9b7f214e4e2372d1eab578af15a2e364ff3d597274f50ea91242ee2af", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public write", "commit"=>"Authorize"} MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"663585d9b7f214e4e2372d1eab578af15a2e364ff3d597274f50ea91242ee2af"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"c84cd42d5cd8af7c17817bef68815eced3dab63344c773f4c13b5f366105bb91", :_id=>{:$ne=>BSON::ObjectId('5bb6244f354159729900029c')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f354159729900029c'), "application_id"=>BSON::ObjectId('5bb6244f3541597299000299'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244f354159729900029a'), "token"=>"c84cd42d5cd8af7c17817bef68815eced3dab63344c773f4c13b5f366105bb91", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244f354159729900029c'), "application_id"=>BSON::ObjectId('5bb6244f3541597299000299'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244f354159729900029a'), "token"=>"c84cd42d5cd8af7c17817bef68815eced3dab63344c773f4c13b5f366105bb91", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=c84cd42d5cd8af7c17817bef68815eced3dab63344c773f4c13b5f366105bb91 Completed 302 Found in 8ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:31:43 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2982775e6b965a1d7a568806465f89114b0a2110a7c684085b8c19b514ea98a2", :_id=>{:$ne=>BSON::ObjectId('5bb6244f354159729900029d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f354159729900029d'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 274", "uid"=>"2982775e6b965a1d7a568806465f89114b0a2110a7c684085b8c19b514ea98a2", "secret"=>"54eac202c3d54c0c955695bf85667093041310d6fb997aa6902b573d91ab00a5", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f354159729900029d'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 274", "uid"=>"2982775e6b965a1d7a568806465f89114b0a2110a7c684085b8c19b514ea98a2", "secret"=>"54eac202c3d54c0c955695bf85667093041310d6fb997aa6902b573d91ab00a5", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f354159729900029e'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244f354159729900029e'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:43 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:31:43 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:31:43 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"36f329c1a193800ef51847c06d9f06fc7c9ace5f1360680c4991f66988f6285f", :_id=>{:$ne=>BSON::ObjectId('5bb6244f354159729900029f')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f354159729900029f'), "application_id"=>BSON::ObjectId('5bb6244f354159729900029d'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244f354159729900029e'), "token"=>"36f329c1a193800ef51847c06d9f06fc7c9ace5f1360680c4991f66988f6285f", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244f354159729900029f'), "application_id"=>BSON::ObjectId('5bb6244f354159729900029d'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244f354159729900029e'), "token"=>"36f329c1a193800ef51847c06d9f06fc7c9ace5f1360680c4991f66988f6285f", "expires_in"=>7200, "scopes"=>"public"}) Started GET "/oauth/authorize?client_id=2982775e6b965a1d7a568806465f89114b0a2110a7c684085b8c19b514ea98a2&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:31:43 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"2982775e6b965a1d7a568806465f89114b0a2110a7c684085b8c19b514ea98a2", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2982775e6b965a1d7a568806465f89114b0a2110a7c684085b8c19b514ea98a2"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6244f354159729900029d'), :resource_owner_id=>BSON::ObjectId('5bb6244f354159729900029e'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"1a486be688e4a8f241cc2c081514dde93b276805477181cace43476cf9ebac68", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002a0')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002a0'), "application_id"=>BSON::ObjectId('5bb6244f354159729900029d'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244f354159729900029e'), "token"=>"1a486be688e4a8f241cc2c081514dde93b276805477181cace43476cf9ebac68", "scopes"=>"public", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002a0'), "application_id"=>BSON::ObjectId('5bb6244f354159729900029d'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244f354159729900029e'), "token"=>"1a486be688e4a8f241cc2c081514dde93b276805477181cace43476cf9ebac68", "scopes"=>"public", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=1a486be688e4a8f241cc2c081514dde93b276805477181cace43476cf9ebac68 Completed 302 Found in 11ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:31:43 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{:application_id=>BSON::ObjectId('5bb6244f354159729900029d')}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:application_id=>BSON::ObjectId('5bb6244f354159729900029d')}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a8f2dca0209215b87917565b315e9344d30e88562e987d64fc2bc058a42ac505", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002a1')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002a1'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 275", "uid"=>"a8f2dca0209215b87917565b315e9344d30e88562e987d64fc2bc058a42ac505", "secret"=>"8bed8e44f1079a8bc914089c282dc54cfa03db6bb8d4dfe641525830be7a30c2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002a1'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 275", "uid"=>"a8f2dca0209215b87917565b315e9344d30e88562e987d64fc2bc058a42ac505", "secret"=>"8bed8e44f1079a8bc914089c282dc54cfa03db6bb8d4dfe641525830be7a30c2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"9d3dd762591f47d9adbc96f122b0ade5f32a21d1040ccd1e5d3b07f7ecd35d27", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002a2')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002a2'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 276", "uid"=>"9d3dd762591f47d9adbc96f122b0ade5f32a21d1040ccd1e5d3b07f7ecd35d27", "secret"=>"4555980270573ef0a8afba346231eaf25c5dc3d9079c39199797a626d956b521", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002a2'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 276", "uid"=>"9d3dd762591f47d9adbc96f122b0ade5f32a21d1040ccd1e5d3b07f7ecd35d27", "secret"=>"4555980270573ef0a8afba346231eaf25c5dc3d9079c39199797a626d956b521", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a8f2dca0209215b87917565b315e9344d30e88562e987d64fc2bc058a42ac505", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002a2')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"358ff955b090eff1d6df4af9403bbb4f9e88f611c9d4021ed4c6376521abd547", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002a3')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002a3'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 277", "uid"=>"358ff955b090eff1d6df4af9403bbb4f9e88f611c9d4021ed4c6376521abd547", "secret"=>"e212873af0d3da64d2c6601c1e67aa1c80dccb7a81151295a080ac9ffa5d41e1", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002a3'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 277", "uid"=>"358ff955b090eff1d6df4af9403bbb4f9e88f611c9d4021ed4c6376521abd547", "secret"=>"e212873af0d3da64d2c6601c1e67aa1c80dccb7a81151295a080ac9ffa5d41e1", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>nil, :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002a3')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b0fd0f3783ed9cc951b65c9fc552579b41f2af26c8c60ce9aa8d0fb7ce68b451", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002a4')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002a4'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 278", "uid"=>"b0fd0f3783ed9cc951b65c9fc552579b41f2af26c8c60ce9aa8d0fb7ce68b451", "secret"=>"794e062d011d35708ca7d128edeef5328332b5192e8ad73941c0cfb5f32447a8", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002a4'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 278", "uid"=>"b0fd0f3783ed9cc951b65c9fc552579b41f2af26c8c60ce9aa8d0fb7ce68b451", "secret"=>"794e062d011d35708ca7d128edeef5328332b5192e8ad73941c0cfb5f32447a8", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"16d7dc37c10566839d019bfad4602c0338bdb0a57736149197e623c29ead46bc", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002a5')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002a5'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 279", "uid"=>"16d7dc37c10566839d019bfad4602c0338bdb0a57736149197e623c29ead46bc", "secret"=>"398ad27f852907ad46f7f2e9631c0a66d77eeed87aa55055b829e4771821684d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002a5'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 279", "uid"=>"16d7dc37c10566839d019bfad4602c0338bdb0a57736149197e623c29ead46bc", "secret"=>"398ad27f852907ad46f7f2e9631c0a66d77eeed87aa55055b829e4771821684d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"dda4cb9c771ef99369404f4daf759a46ba9e0b382d3be2c3b37accbd8ff2474c", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002a6')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002a6'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 280", "uid"=>"dda4cb9c771ef99369404f4daf759a46ba9e0b382d3be2c3b37accbd8ff2474c", "secret"=>"29e223eee8486c7cce3ecf30869bfafa448f1b746e2bab40c90ac2992d3e8276", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002a6'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 280", "uid"=>"dda4cb9c771ef99369404f4daf759a46ba9e0b382d3be2c3b37accbd8ff2474c", "secret"=>"29e223eee8486c7cce3ecf30869bfafa448f1b746e2bab40c90ac2992d3e8276", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e6f294db7935c69e", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002a7')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002a7'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 281", "uid"=>"e6f294db7935c69e", "secret"=>"6a3701f3f6b95518bf15aab4acc912feae2e95e46373b073a2e4a96c9f467c8f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002a7'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 281", "uid"=>"e6f294db7935c69e", "secret"=>"6a3701f3f6b95518bf15aab4acc912feae2e95e46373b073a2e4a96c9f467c8f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7034052ea7d7020226cc25fa626cafd2ad66b342cc2fcd05049160ca8fb0e3a2", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002a8')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"133950bf10f3fdff8289c7d13d4bb5b541b76a453756a52ddc088c978e3920ab", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002a9')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002a9'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 283", "uid"=>"133950bf10f3fdff8289c7d13d4bb5b541b76a453756a52ddc088c978e3920ab", "secret"=>"43391f0925f0898a8745cf6bd785470b284856446163f2a57935ec4decf9deb9", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002a9'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 283", "uid"=>"133950bf10f3fdff8289c7d13d4bb5b541b76a453756a52ddc088c978e3920ab", "secret"=>"43391f0925f0898a8745cf6bd785470b284856446163f2a57935ec4decf9deb9", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"133950bf10f3fdff8289c7d13d4bb5b541b76a453756a52ddc088c978e3920ab", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002a9')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1b9517cd05dcc45b747fab146c69c217f493826ebf22874ae93fabfb62f0c8f4", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002aa')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002aa'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 284", "uid"=>"1b9517cd05dcc45b747fab146c69c217f493826ebf22874ae93fabfb62f0c8f4", "secret"=>"84d1c66ffa8a0090", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002aa'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 284", "uid"=>"1b9517cd05dcc45b747fab146c69c217f493826ebf22874ae93fabfb62f0c8f4", "secret"=>"84d1c66ffa8a0090", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b73dafa774eebc315eac7697d7e08cc5a91047e77bca5ab8d40fceca1a515e22", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002ab')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"333e534180ed8907adc11a4bf6457d8598384672c8b4989b36cfcb562c2d6429", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002ac')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002ac'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 286", "uid"=>"333e534180ed8907adc11a4bf6457d8598384672c8b4989b36cfcb562c2d6429", "secret"=>"76c7a7cafc31932ff71704d88104d50ec8f369e6d57d70c50d519b3fd64e0832", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002ac'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 286", "uid"=>"333e534180ed8907adc11a4bf6457d8598384672c8b4989b36cfcb562c2d6429", "secret"=>"76c7a7cafc31932ff71704d88104d50ec8f369e6d57d70c50d519b3fd64e0832", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"beabc24f6f244dc9724db44625aeb1b0ee124e219bf319aef8d993439c71a258", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002ad')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002ad'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 287", "uid"=>"beabc24f6f244dc9724db44625aeb1b0ee124e219bf319aef8d993439c71a258", "secret"=>"9d8762289099418fcfb674e2ebb99614a15666aac8fc14dbdfa83673acf26aa6", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002ad'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 287", "uid"=>"beabc24f6f244dc9724db44625aeb1b0ee124e219bf319aef8d993439c71a258", "secret"=>"9d8762289099418fcfb674e2ebb99614a15666aac8fc14dbdfa83673acf26aa6", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"333e534180ed8907adc11a4bf6457d8598384672c8b4989b36cfcb562c2d6429", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002ad')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"381c6dec21de16da839c81870d0989188b80008b40055aab23b776f32d310a85", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002ae')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002ae'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 288", "uid"=>"381c6dec21de16da839c81870d0989188b80008b40055aab23b776f32d310a85", "secret"=>"13de64faabe4d407737ad5b87ef27cf11f2f7e4f2928bc13f24888c209bc9649", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002ae'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 288", "uid"=>"381c6dec21de16da839c81870d0989188b80008b40055aab23b776f32d310a85", "secret"=>"13de64faabe4d407737ad5b87ef27cf11f2f7e4f2928bc13f24888c209bc9649", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"72272eb77fd74f7b829b64832fd512bdf57cd2eb35e39ceefe69bfce1f3743a8", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002af')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002af'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 289", "uid"=>"72272eb77fd74f7b829b64832fd512bdf57cd2eb35e39ceefe69bfce1f3743a8", "secret"=>"b8e6881bc27c85c783ff9906ee776a11fea309e419898a16d9f03c91e593285f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002af'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 289", "uid"=>"72272eb77fd74f7b829b64832fd512bdf57cd2eb35e39ceefe69bfce1f3743a8", "secret"=>"b8e6881bc27c85c783ff9906ee776a11fea309e419898a16d9f03c91e593285f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"72272eb77fd74f7b829b64832fd512bdf57cd2eb35e39ceefe69bfce1f3743a8", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002af')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ed26569a0dbb9e5c63fd6cc1dc89c7f16b7919e300fbdef7125d82d0c3c4c024", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002b0')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002b0'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 290", "uid"=>"ed26569a0dbb9e5c63fd6cc1dc89c7f16b7919e300fbdef7125d82d0c3c4c024", "secret"=>"9c67f97528473d6a7a53e61a1be1dff57f26fe941ed37c1b35eb4bf0c49d8f4f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002b0'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 290", "uid"=>"ed26569a0dbb9e5c63fd6cc1dc89c7f16b7919e300fbdef7125d82d0c3c4c024", "secret"=>"9c67f97528473d6a7a53e61a1be1dff57f26fe941ed37c1b35eb4bf0c49d8f4f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"75388c0f143386005fbf133a9d177847d6888725942e3c41de4e8884f66b04c7", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002b1')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002b1'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002b0'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>69, "token"=>"75388c0f143386005fbf133a9d177847d6888725942e3c41de4e8884f66b04c7", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002b1'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002b0'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>69, "token"=>"75388c0f143386005fbf133a9d177847d6888725942e3c41de4e8884f66b04c7", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"fa79da28f2e07f26358d9cfacb83116e066b8a476cb45645c2d757a26b0ecb5b", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002b2')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002b2'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002b0'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>70, "token"=>"fa79da28f2e07f26358d9cfacb83116e066b8a476cb45645c2d757a26b0ecb5b", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002b2'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002b0'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>70, "token"=>"fa79da28f2e07f26358d9cfacb83116e066b8a476cb45645c2d757a26b0ecb5b", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:application_id=>BSON::ObjectId('5bb6244f35415972990002b0')}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6244f35415972990002b0')}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{:_id=>{:$in=>[BSON::ObjectId('5bb6244f35415972990002b1')]}}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({:_id=>{:$in=>[BSON::ObjectId('5bb6244f35415972990002b1')]}}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{:_id=>{:$in=>[BSON::ObjectId('5bb6244f35415972990002b2')]}}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({:_id=>{:$in=>[BSON::ObjectId('5bb6244f35415972990002b2')]}}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6244f35415972990002b0')}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{:_id=>{:$in=>[BSON::ObjectId('5bb6244f35415972990002b0')]}}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({:_id=>{:$in=>[BSON::ObjectId('5bb6244f35415972990002b0')]}}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"66085995124c71c11f261ea81fd4c46a5f24e75c9713a98e79a3a7b2e34b9f87", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002b3')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002b3'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 291", "uid"=>"66085995124c71c11f261ea81fd4c46a5f24e75c9713a98e79a3a7b2e34b9f87", "secret"=>"0af8aaed616bc91afdf47191f2ec854df7d73bb06ba11b0f1daeeabc3ada7f71", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002b3'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 291", "uid"=>"66085995124c71c11f261ea81fd4c46a5f24e75c9713a98e79a3a7b2e34b9f87", "secret"=>"0af8aaed616bc91afdf47191f2ec854df7d73bb06ba11b0f1daeeabc3ada7f71", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"509f23a3584d8c0981075838fa498dcb8801f5705002108c55bb18463a3d560b", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002b4')}}, {:_id=>1}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002b4'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002b3'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>40, "token"=>"509f23a3584d8c0981075838fa498dcb8801f5705002108c55bb18463a3d560b", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002b4'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002b3'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>40, "token"=>"509f23a3584d8c0981075838fa498dcb8801f5705002108c55bb18463a3d560b", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:application_id=>BSON::ObjectId('5bb6244f35415972990002b3')}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{:_id=>{:$in=>[BSON::ObjectId('5bb6244f35415972990002b4')]}}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({:_id=>{:$in=>[BSON::ObjectId('5bb6244f35415972990002b4')]}}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6244f35415972990002b3')}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6244f35415972990002b3')}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{:_id=>{:$in=>[BSON::ObjectId('5bb6244f35415972990002b3')]}}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({:_id=>{:$in=>[BSON::ObjectId('5bb6244f35415972990002b3')]}}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"81ed5badadcd6b171650f3aa2d22120b27eeae695c3ee0d6bcb5d8a37e4b3610", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002b8')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002b8'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 294", "uid"=>"81ed5badadcd6b171650f3aa2d22120b27eeae695c3ee0d6bcb5d8a37e4b3610", "secret"=>"8105fae6dd66ed3579c00ce388d90733af16dab27a369475cbd89cfb03213bd8", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002b8'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 294", "uid"=>"81ed5badadcd6b171650f3aa2d22120b27eeae695c3ee0d6bcb5d8a37e4b3610", "secret"=>"8105fae6dd66ed3579c00ce388d90733af16dab27a369475cbd89cfb03213bd8", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"de59ae1e2d3f353831f9d1a32ec989cdc457f6afdc620291da928d2dd7cf12f7", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002b7')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002b7'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002b8'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>11, "token"=>"de59ae1e2d3f353831f9d1a32ec989cdc457f6afdc620291da928d2dd7cf12f7", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002b7'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002b8'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>11, "token"=>"de59ae1e2d3f353831f9d1a32ec989cdc457f6afdc620291da928d2dd7cf12f7", "expires_in"=>7200}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2cba43446b763060ddc8427c4363009683f808ebf16047082f16a36d12649f73", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002ba')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002ba'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 295", "uid"=>"2cba43446b763060ddc8427c4363009683f808ebf16047082f16a36d12649f73", "secret"=>"22e2186c98ec6a2fb8fcaa4017a9f1f5abacb6950d987fd0a9ad09b020f491f0", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002ba'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 295", "uid"=>"2cba43446b763060ddc8427c4363009683f808ebf16047082f16a36d12649f73", "secret"=>"22e2186c98ec6a2fb8fcaa4017a9f1f5abacb6950d987fd0a9ad09b020f491f0", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d400f1be5a932e2b4265170cc660a7ce40e1735e0d4f52c9cdfe207b5c8dfda6", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002b9')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002b9'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002ba'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>10, "token"=>"d400f1be5a932e2b4265170cc660a7ce40e1735e0d4f52c9cdfe207b5c8dfda6", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002b9'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002ba'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>10, "token"=>"d400f1be5a932e2b4265170cc660a7ce40e1735e0d4f52c9cdfe207b5c8dfda6", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:resource_owner_id=>10, :revoked_at=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>{:$in=>[BSON::ObjectId('5bb6244f35415972990002ba')]}}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"97efce6297680204f6da8afdd1d0a50e79535be6f0aa7984b0944ed0e9267187", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002bc')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002bc'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 296", "uid"=>"97efce6297680204f6da8afdd1d0a50e79535be6f0aa7984b0944ed0e9267187", "secret"=>"570c1c947dc61ecc7edcf4ee95ea0f2f8c51f8cf2d07366456df4e2ccbd08d50", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002bc'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 296", "uid"=>"97efce6297680204f6da8afdd1d0a50e79535be6f0aa7984b0944ed0e9267187", "secret"=>"570c1c947dc61ecc7edcf4ee95ea0f2f8c51f8cf2d07366456df4e2ccbd08d50", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"77f47b63b2366f3261d1b86a3fa2dd5190a5c7cd429bcd7b83ccb7ec48db9d3d", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002bb')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002bb'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002bc'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>10, "token"=>"77f47b63b2366f3261d1b86a3fa2dd5190a5c7cd429bcd7b83ccb7ec48db9d3d", "expires_in"=>7200, "revoked_at"=>2018-10-02 00:00:00 UTC}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002bb'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002bc'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>10, "token"=>"77f47b63b2366f3261d1b86a3fa2dd5190a5c7cd429bcd7b83ccb7ec48db9d3d", "expires_in"=>7200, "revoked_at"=>2018-10-02 00:00:00 UTC}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:resource_owner_id=>10, :revoked_at=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>[]}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2311c66cbe2479fa7101d10b92bfd5adaf1fc7cd0d5e3b8d56a86fbcd178a33a", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002bd')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002bd'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 297", "uid"=>"2311c66cbe2479fa7101d10b92bfd5adaf1fc7cd0d5e3b8d56a86fbcd178a33a", "secret"=>"2bab88d955799d615aa14bf2e39d569274a78039306efbf63277aaa083ee8249", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002bd'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 297", "uid"=>"2311c66cbe2479fa7101d10b92bfd5adaf1fc7cd0d5e3b8d56a86fbcd178a33a", "secret"=>"2bab88d955799d615aa14bf2e39d569274a78039306efbf63277aaa083ee8249", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"00ad4ee915222393429f5b27c185168d36f91dab16d57c2722f4537306985b4e", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002be')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002be'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002bd'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>10, "token"=>"00ad4ee915222393429f5b27c185168d36f91dab16d57c2722f4537306985b4e", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002be'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002bd'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>10, "token"=>"00ad4ee915222393429f5b27c185168d36f91dab16d57c2722f4537306985b4e", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"1dfda8266f2fede95c37b1e47c811fe8ebcefa62fab198fa4570c7e7a95e076f", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002bf')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002bf'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002bd'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>10, "token"=>"1dfda8266f2fede95c37b1e47c811fe8ebcefa62fab198fa4570c7e7a95e076f", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002bf'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002bd'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>10, "token"=>"1dfda8266f2fede95c37b1e47c811fe8ebcefa62fab198fa4570c7e7a95e076f", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:resource_owner_id=>10, :revoked_at=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>{:$in=>[BSON::ObjectId('5bb6244f35415972990002bd'), BSON::ObjectId('5bb6244f35415972990002bd')]}}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7b8ca4676b168f712d08b6de7a383ae2f7e0b0bc772daf5b1b52e46d06a8db58", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002c1')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002c1'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 298", "uid"=>"7b8ca4676b168f712d08b6de7a383ae2f7e0b0bc772daf5b1b52e46d06a8db58", "secret"=>"08e3d543aa48c3963aa252b8cf5ddeb851b33d4b2892879199f62466b75720bc", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002c1'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 298", "uid"=>"7b8ca4676b168f712d08b6de7a383ae2f7e0b0bc772daf5b1b52e46d06a8db58", "secret"=>"08e3d543aa48c3963aa252b8cf5ddeb851b33d4b2892879199f62466b75720bc", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"3c5a898d69e664cbe6c2bc891fa442d2204e5a028083ddfaf54704a53c88e6ba", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002c0')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002c0'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002c1'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>10, "token"=>"3c5a898d69e664cbe6c2bc891fa442d2204e5a028083ddfaf54704a53c88e6ba", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002c0'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002c1'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>10, "token"=>"3c5a898d69e664cbe6c2bc891fa442d2204e5a028083ddfaf54704a53c88e6ba", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c7a23054ac773c660423b588f1f2c3b0c0e730c2086e96d0e3e8845c6ed59f0b", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002c3')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002c3'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 299", "uid"=>"c7a23054ac773c660423b588f1f2c3b0c0e730c2086e96d0e3e8845c6ed59f0b", "secret"=>"a1bb61d5332940106ec389b657a19c81be8e9d93a8ce924b1e54101ff09f329a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002c3'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 299", "uid"=>"c7a23054ac773c660423b588f1f2c3b0c0e730c2086e96d0e3e8845c6ed59f0b", "secret"=>"a1bb61d5332940106ec389b657a19c81be8e9d93a8ce924b1e54101ff09f329a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"0d9d2a5c31aa27fc279f50ff6ae688f8f297756bd9b74c412a21d918b142c74b", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002c2')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002c2'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002c3'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>10, "token"=>"0d9d2a5c31aa27fc279f50ff6ae688f8f297756bd9b74c412a21d918b142c74b", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002c2'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002c3'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>10, "token"=>"0d9d2a5c31aa27fc279f50ff6ae688f8f297756bd9b74c412a21d918b142c74b", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:resource_owner_id=>10, :revoked_at=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>{:$in=>[BSON::ObjectId('5bb6244f35415972990002c1'), BSON::ObjectId('5bb6244f35415972990002c3')]}}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:resource_owner_id=>10, :revoked_at=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>[]}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a3027fcabc039a91bc8c104ec8fc221b215da5186b3391d642b264111587f3e9", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002c4')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002c4'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 300", "uid"=>"a3027fcabc039a91bc8c104ec8fc221b215da5186b3391d642b264111587f3e9", "secret"=>"13081c66eff0eb05ffbe9e3318ee19c377ec3a319c0c3765d4f672fcd72305a0", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002c4'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 300", "uid"=>"a3027fcabc039a91bc8c104ec8fc221b215da5186b3391d642b264111587f3e9", "secret"=>"13081c66eff0eb05ffbe9e3318ee19c377ec3a319c0c3765d4f672fcd72305a0", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c85ffa7550719fd79969a5b3e82709b7ad394ca1f56b5e0deb5cd017341e0b9b", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002c5')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002c5'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 301", "uid"=>"c85ffa7550719fd79969a5b3e82709b7ad394ca1f56b5e0deb5cd017341e0b9b", "secret"=>"fbfa9d8d04cb742ebb61265edaee61a9e7a22e0680ad043fb276434ac83e8ff6", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002c5'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 301", "uid"=>"c85ffa7550719fd79969a5b3e82709b7ad394ca1f56b5e0deb5cd017341e0b9b", "secret"=>"fbfa9d8d04cb742ebb61265edaee61a9e7a22e0680ad043fb276434ac83e8ff6", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0a5b517002d0b714f68f81678ca83de3bb7a0f0a28af8dc467f45074424ecb24", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002c6')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002c6'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 302", "uid"=>"0a5b517002d0b714f68f81678ca83de3bb7a0f0a28af8dc467f45074424ecb24", "secret"=>"c93467ff3796667912f7a3705b6810c48b3a3d1b70121a8b13b2bb442fcf0b49", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002c6'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 302", "uid"=>"0a5b517002d0b714f68f81678ca83de3bb7a0f0a28af8dc467f45074424ecb24", "secret"=>"c93467ff3796667912f7a3705b6810c48b3a3d1b70121a8b13b2bb442fcf0b49", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6a8e2f1e1a85c2f35fa04c8f80aa03e065541ad6fc72c545b05f35f44e5229b1", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002c7')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002c7'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 303", "uid"=>"6a8e2f1e1a85c2f35fa04c8f80aa03e065541ad6fc72c545b05f35f44e5229b1", "secret"=>"cede8b33b6611a18ed2225c96295e394d55b036cb1991b6066be8b3921069719", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002c7'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 303", "uid"=>"6a8e2f1e1a85c2f35fa04c8f80aa03e065541ad6fc72c545b05f35f44e5229b1", "secret"=>"cede8b33b6611a18ed2225c96295e394d55b036cb1991b6066be8b3921069719", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"03be9519427d97ccba910da2982d649517e901401315c23b85e3c2fb68792346", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002c8')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002c8'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 304", "uid"=>"03be9519427d97ccba910da2982d649517e901401315c23b85e3c2fb68792346", "secret"=>"a994ac564d53d23ab8b5268332279da2a94ea00e779160d58cf71096ce47a261", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002c8'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 304", "uid"=>"03be9519427d97ccba910da2982d649517e901401315c23b85e3c2fb68792346", "secret"=>"a994ac564d53d23ab8b5268332279da2a94ea00e779160d58cf71096ce47a261", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({}).sort([["name", 1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"90cbc69293d4265bc440aeb5959ffee44bc0e8f5f0f1eaabd1e09001e66ca5fc", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002c9')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002c9'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 305", "uid"=>"90cbc69293d4265bc440aeb5959ffee44bc0e8f5f0f1eaabd1e09001e66ca5fc", "secret"=>"f691dc195dfd4b9967d01e373e1b54874b992e09f8e61b981682559669f08d2b", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002c9'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 305", "uid"=>"90cbc69293d4265bc440aeb5959ffee44bc0e8f5f0f1eaabd1e09001e66ca5fc", "secret"=>"f691dc195dfd4b9967d01e373e1b54874b992e09f8e61b981682559669f08d2b", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4cf94bdb31a7bd208305e95e3a1a275c11726270511693b5e83ea873290553d1", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002ca')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002ca'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 306", "uid"=>"4cf94bdb31a7bd208305e95e3a1a275c11726270511693b5e83ea873290553d1", "secret"=>"efdd0baf8efd7b3ad0bb6f2d56f43b5456ee963de49e0859167513424822799f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002ca'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 306", "uid"=>"4cf94bdb31a7bd208305e95e3a1a275c11726270511693b5e83ea873290553d1", "secret"=>"efdd0baf8efd7b3ad0bb6f2d56f43b5456ee963de49e0859167513424822799f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f16f2ded7f413be7241964e83a123fedfceea55d617519421accb59ae48f10bb", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002cb')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002cb'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 307", "uid"=>"f16f2ded7f413be7241964e83a123fedfceea55d617519421accb59ae48f10bb", "secret"=>"d391edf03bdacb7ed6a3079fe38df4c94bfa93340f626cd9b174c1612a105bfe", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002cb'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 307", "uid"=>"f16f2ded7f413be7241964e83a123fedfceea55d617519421accb59ae48f10bb", "secret"=>"d391edf03bdacb7ed6a3079fe38df4c94bfa93340f626cd9b174c1612a105bfe", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f9094670ffe2e4975c4a38dac531d16f29e48960c2efe85a9d3cb532ad435e46", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002cc')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002cc'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 308", "uid"=>"f9094670ffe2e4975c4a38dac531d16f29e48960c2efe85a9d3cb532ad435e46", "secret"=>"84457e447ead8fa7f164d36605bb642ace558b1420a926e476123827c7fbc9e1", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002cc'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 308", "uid"=>"f9094670ffe2e4975c4a38dac531d16f29e48960c2efe85a9d3cb532ad435e46", "secret"=>"84457e447ead8fa7f164d36605bb642ace558b1420a926e476123827c7fbc9e1", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"881f0969feb383e488ec1cbe26f154b1005a6ff884ab5092ce7104aae04d553c", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002cd')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002cd'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 309", "uid"=>"881f0969feb383e488ec1cbe26f154b1005a6ff884ab5092ce7104aae04d553c", "secret"=>"c6b48d06f22d18db951930bd1d57e46f2201028c9f032a62481776ae9024521d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002cd'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 309", "uid"=>"881f0969feb383e488ec1cbe26f154b1005a6ff884ab5092ce7104aae04d553c", "secret"=>"c6b48d06f22d18db951930bd1d57e46f2201028c9f032a62481776ae9024521d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({}).sort([["name", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5f807b96c431d1721c09e6d268840230301b84f3228e9603713f62dd39f88e8e", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002ce')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002ce'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 310", "uid"=>"5f807b96c431d1721c09e6d268840230301b84f3228e9603713f62dd39f88e8e", "secret"=>"b87c5c2716fd6d4298677a524379995fd9254c28a1b64f2796d6e4cf8ed48770", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002ce'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 310", "uid"=>"5f807b96c431d1721c09e6d268840230301b84f3228e9603713f62dd39f88e8e", "secret"=>"b87c5c2716fd6d4298677a524379995fd9254c28a1b64f2796d6e4cf8ed48770", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"16da0b75e5459b87fdf273660a6554ba7edb3a6a629d84024e62f725ac367a81", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002cf')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002cf'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 311", "uid"=>"16da0b75e5459b87fdf273660a6554ba7edb3a6a629d84024e62f725ac367a81", "secret"=>"f04907ea9da85a6b3f79e63a9964b9b971965e46b7d59da302581846da735a77", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002cf'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 311", "uid"=>"16da0b75e5459b87fdf273660a6554ba7edb3a6a629d84024e62f725ac367a81", "secret"=>"f04907ea9da85a6b3f79e63a9964b9b971965e46b7d59da302581846da735a77", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f7dd994492815a188d8534942b02fe292af477a519784a8060387f62b5ce723d", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002d1')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002d1'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 312", "uid"=>"f7dd994492815a188d8534942b02fe292af477a519784a8060387f62b5ce723d", "secret"=>"d152a195173c3433119a7e864b780dc6e3702ef1758c2cd4ae4078fd8e7fadde", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002d1'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 312", "uid"=>"f7dd994492815a188d8534942b02fe292af477a519784a8060387f62b5ce723d", "secret"=>"d152a195173c3433119a7e864b780dc6e3702ef1758c2cd4ae4078fd8e7fadde", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"adbb0261c85826847edadd7286a740b7200180cde9980642b384e0eb37808a71", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002d2')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002d2'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 313", "uid"=>"adbb0261c85826847edadd7286a740b7200180cde9980642b384e0eb37808a71", "secret"=>"bd47d9cddfcca788385b382081634efdcf4aa443ea9ecf68621cb31768de5f7d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002d2'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 313", "uid"=>"adbb0261c85826847edadd7286a740b7200180cde9980642b384e0eb37808a71", "secret"=>"bd47d9cddfcca788385b382081634efdcf4aa443ea9ecf68621cb31768de5f7d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"adbb0261c85826847edadd7286a740b7200180cde9980642b384e0eb37808a71"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"51494979a807ab63eb104eba9fae6b8d4ef2583500c657e312b36e7ccde1c858", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002d3')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002d3'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 314", "uid"=>"51494979a807ab63eb104eba9fae6b8d4ef2583500c657e312b36e7ccde1c858", "secret"=>"a25a6c432fa84cf4a5cba1924d34b5718e7069ad2fcbdeac691e8f08b9edd4d8", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002d3'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 314", "uid"=>"51494979a807ab63eb104eba9fae6b8d4ef2583500c657e312b36e7ccde1c858", "secret"=>"a25a6c432fa84cf4a5cba1924d34b5718e7069ad2fcbdeac691e8f08b9edd4d8", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"51494979a807ab63eb104eba9fae6b8d4ef2583500c657e312b36e7ccde1c858"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e6fb85b4b3585031e823374b7d3f8076ecc3d7a45fbddc9f704b9dc0999ea16a", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002d4')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002d4'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 315", "uid"=>"e6fb85b4b3585031e823374b7d3f8076ecc3d7a45fbddc9f704b9dc0999ea16a", "secret"=>"aaed35c2039cfee92d0a9f29753cc17eefa6f05f044b71fc449c67af9c74de6c", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002d4'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 315", "uid"=>"e6fb85b4b3585031e823374b7d3f8076ecc3d7a45fbddc9f704b9dc0999ea16a", "secret"=>"aaed35c2039cfee92d0a9f29753cc17eefa6f05f044b71fc449c67af9c74de6c", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e6fb85b4b3585031e823374b7d3f8076ecc3d7a45fbddc9f704b9dc0999ea16a"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f354cb766105cd9047a17ae3aa305aca65c4dc8b28a05baf536a83346ca17b63", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002d5')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002d5'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 316", "uid"=>"f354cb766105cd9047a17ae3aa305aca65c4dc8b28a05baf536a83346ca17b63", "secret"=>"817b9e46ea183e0482304818cab466f61121726a92583e7c7769b2a36fce0f99", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002d5'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 316", "uid"=>"f354cb766105cd9047a17ae3aa305aca65c4dc8b28a05baf536a83346ca17b63", "secret"=>"817b9e46ea183e0482304818cab466f61121726a92583e7c7769b2a36fce0f99", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f354cb766105cd9047a17ae3aa305aca65c4dc8b28a05baf536a83346ca17b63"}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"82632b5a649502ec405bad7afee9d259d2bbc45a51b079134ecd0c5cf362ab44", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002d6')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002d6'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 317", "uid"=>"82632b5a649502ec405bad7afee9d259d2bbc45a51b079134ecd0c5cf362ab44", "secret"=>"8352ea2daa432222a7e1af1a40a6d22c293f9905e66e8c07df3dcb376de48221", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002d6'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 317", "uid"=>"82632b5a649502ec405bad7afee9d259d2bbc45a51b079134ecd0c5cf362ab44", "secret"=>"8352ea2daa432222a7e1af1a40a6d22c293f9905e66e8c07df3dcb376de48221", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"69f27a14dbcbc24c7460d82f1ec103e686cbf4e75f99113183475e451c0ae9c9", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002d7')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002d7'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 318", "uid"=>"69f27a14dbcbc24c7460d82f1ec103e686cbf4e75f99113183475e451c0ae9c9", "secret"=>"67ead61067e46f8bbaa90735fa912a0833bf4459f3d93bee09537cdb24232fae", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002d7'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 318", "uid"=>"69f27a14dbcbc24c7460d82f1ec103e686cbf4e75f99113183475e451c0ae9c9", "secret"=>"67ead61067e46f8bbaa90735fa912a0833bf4459f3d93bee09537cdb24232fae", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e7fa32593375fbe23653e6de0ab38e558b120d10fb80b151892f0a2f3425c9f1", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002d9')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"11cad1cfa22c0c3b0da9c66c14a529baee82dda4d0827bbbdd7b9837a8e0e915", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002db')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4896f1846e882dde7c9b31c9f7f146d8db164f04e3085f65d0496cb44cc75e46", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002dc')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"76f624ff0db3295569566d86e53466650383182f5b8f32643fabf68ca56fa045", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002dd')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002dd'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 322", "uid"=>"76f624ff0db3295569566d86e53466650383182f5b8f32643fabf68ca56fa045", "secret"=>"daa8bc8fbbfee6a0b50341c9b5ed260e88cae0ea68ac7925efcb7de48c5fd038", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002dd'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 322", "uid"=>"76f624ff0db3295569566d86e53466650383182f5b8f32643fabf68ca56fa045", "secret"=>"daa8bc8fbbfee6a0b50341c9b5ed260e88cae0ea68ac7925efcb7de48c5fd038", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"f429bc900a408cb0646c4dc71056444517f777e10e17f66a67548227595444ad", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002de')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002de'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002dd'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>41, "token"=>"f429bc900a408cb0646c4dc71056444517f777e10e17f66a67548227595444ad", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002de'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002dd'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>41, "token"=>"f429bc900a408cb0646c4dc71056444517f777e10e17f66a67548227595444ad", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token?code=[FILTERED]&client_id=76f624ff0db3295569566d86e53466650383182f5b8f32643fabf68ca56fa045&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:31:43 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"76f624ff0db3295569566d86e53466650383182f5b8f32643fabf68ca56fa045", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"f429bc900a408cb0646c4dc71056444517f777e10e17f66a67548227595444ad"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"76f624ff0db3295569566d86e53466650383182f5b8f32643fabf68ca56fa045"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb6244f35415972990002de')}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244f35415972990002de')}, :u=>{"_id"=>BSON::ObjectId('5bb6244f35415972990002de'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002dd'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>41, "token"=>"f429bc900a408cb0646c4dc71056444517f777e10e17f66a67548227595444ad", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb6244f35415972990002de')}, {"_id"=>BSON::ObjectId('5bb6244f35415972990002de'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002dd'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>41, "token"=>"f429bc900a408cb0646c4dc71056444517f777e10e17f66a67548227595444ad", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244f35415972990002dd')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244f35415972990002dd')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"5a904cfa6135dc9c9c18282f4f8fb3a3c9500e895831c1c200e5a73df4422ba5", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002df')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"7d79a2b8bd58a5c46f2a6d480796b071e928c7753d7ea5a61a3e0c14fc83cb16", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002df')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002df'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002dd'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>41, "token"=>"5a904cfa6135dc9c9c18282f4f8fb3a3c9500e895831c1c200e5a73df4422ba5", "refresh_token"=>"7d79a2b8bd58a5c46f2a6d480796b071e928c7753d7ea5a61a3e0c14fc83cb16", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002df'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002dd'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>41, "token"=>"5a904cfa6135dc9c9c18282f4f8fb3a3c9500e895831c1c200e5a73df4422ba5", "refresh_token"=>"7d79a2b8bd58a5c46f2a6d480796b071e928c7753d7ea5a61a3e0c14fc83cb16", "expires_in"=>7200, "scopes"=>"public write"}) Completed 200 OK in 10ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb6244f35415972990002de')}).limit(-1) Started POST "/oauth/token?refresh_token=[FILTERED]&client_id=76f624ff0db3295569566d86e53466650383182f5b8f32643fabf68ca56fa045&client_secret=[FILTERED]&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:31:43 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"refresh_token"=>"[FILTERED]", "client_id"=>"76f624ff0db3295569566d86e53466650383182f5b8f32643fabf68ca56fa045", "client_secret"=>"[FILTERED]", "grant_type"=>"refresh_token"} MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"7d79a2b8bd58a5c46f2a6d480796b071e928c7753d7ea5a61a3e0c14fc83cb16"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"76f624ff0db3295569566d86e53466650383182f5b8f32643fabf68ca56fa045"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6244f35415972990002df')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244f35415972990002dd')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"36ad0911f9d1953a3a39ca4083c3da59e02fe71756f9b4a2c94357a792174ff5", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002e0')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"9cc3e6934ba63c76decb59f265cc20efc4f2b317044bbe69c464e3dc11e08fb1", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002e0')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002e0'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002dd'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>41, "token"=>"36ad0911f9d1953a3a39ca4083c3da59e02fe71756f9b4a2c94357a792174ff5", "refresh_token"=>"9cc3e6934ba63c76decb59f265cc20efc4f2b317044bbe69c464e3dc11e08fb1", "previous_refresh_token"=>"7d79a2b8bd58a5c46f2a6d480796b071e928c7753d7ea5a61a3e0c14fc83cb16", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002e0'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002dd'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>41, "token"=>"36ad0911f9d1953a3a39ca4083c3da59e02fe71756f9b4a2c94357a792174ff5", "refresh_token"=>"9cc3e6934ba63c76decb59f265cc20efc4f2b317044bbe69c464e3dc11e08fb1", "previous_refresh_token"=>"7d79a2b8bd58a5c46f2a6d480796b071e928c7753d7ea5a61a3e0c14fc83cb16", "expires_in"=>7200, "scopes"=>"public write"}) Completed 200 OK in 6ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"cc0431f957bec44fbf1a85179e5916192f8640a21b989bdf5f43de22ef594ea9", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002e1')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002e1'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 323", "uid"=>"cc0431f957bec44fbf1a85179e5916192f8640a21b989bdf5f43de22ef594ea9", "secret"=>"0a265189d749216962b0c9c7c9e9bdd7bb1235dda4c144cbb12a5becb6914976", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002e1'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 323", "uid"=>"cc0431f957bec44fbf1a85179e5916192f8640a21b989bdf5f43de22ef594ea9", "secret"=>"0a265189d749216962b0c9c7c9e9bdd7bb1235dda4c144cbb12a5becb6914976", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002e2'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002e2'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Joe", "password"=>"sekret"}) Started POST "/oauth/token?code&client_id=cc0431f957bec44fbf1a85179e5916192f8640a21b989bdf5f43de22ef594ea9&client_secret=[FILTERED]&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:31:43 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"cc0431f957bec44fbf1a85179e5916192f8640a21b989bdf5f43de22ef594ea9", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"cc0431f957bec44fbf1a85179e5916192f8640a21b989bdf5f43de22ef594ea9"}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244f35415972990002e1')}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"becd8001337a455b0e36cc825ca880e01f6bbffbad157280b8870379cd7dff5d", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002e3')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"8b4934e990a6dc6b88d954a09b1acfe5dbc6807ecaf7ce0d48478e455257b3bd", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002e3')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002e3'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002e1'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244f35415972990002e2'), "token"=>"becd8001337a455b0e36cc825ca880e01f6bbffbad157280b8870379cd7dff5d", "refresh_token"=>"8b4934e990a6dc6b88d954a09b1acfe5dbc6807ecaf7ce0d48478e455257b3bd", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002e3'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002e1'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244f35415972990002e2'), "token"=>"becd8001337a455b0e36cc825ca880e01f6bbffbad157280b8870379cd7dff5d", "refresh_token"=>"8b4934e990a6dc6b88d954a09b1acfe5dbc6807ecaf7ce0d48478e455257b3bd", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 10ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6244f35415972990002e1'), :resource_owner_id=>BSON::ObjectId('5bb6244f35415972990002e2'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244f35415972990002e3')}, :u=>{"_id"=>BSON::ObjectId('5bb6244f35415972990002e3'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002e1'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244f35415972990002e2'), "token"=>"becd8001337a455b0e36cc825ca880e01f6bbffbad157280b8870379cd7dff5d", "refresh_token"=>"8b4934e990a6dc6b88d954a09b1acfe5dbc6807ecaf7ce0d48478e455257b3bd", "expires_in"=>7200, "scopes"=>""}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244f35415972990002e3')}, {"_id"=>BSON::ObjectId('5bb6244f35415972990002e3'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002e1'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244f35415972990002e2'), "token"=>"becd8001337a455b0e36cc825ca880e01f6bbffbad157280b8870379cd7dff5d", "refresh_token"=>"8b4934e990a6dc6b88d954a09b1acfe5dbc6807ecaf7ce0d48478e455257b3bd", "expires_in"=>7200, "scopes"=>""}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e1db990d9dba32267d142d7c883123c1e86c3a828f2e925e6a03530c93c51cdb", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002e4')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"dd0e64936081d11505da5f7e724e5790e42fb43be26bae012b843c55ec2d13b4", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002e4')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002e4'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002e1'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244f35415972990002e2'), "token"=>"e1db990d9dba32267d142d7c883123c1e86c3a828f2e925e6a03530c93c51cdb", "refresh_token"=>"dd0e64936081d11505da5f7e724e5790e42fb43be26bae012b843c55ec2d13b4", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002e4'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002e1'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244f35415972990002e2'), "token"=>"e1db990d9dba32267d142d7c883123c1e86c3a828f2e925e6a03530c93c51cdb", "refresh_token"=>"dd0e64936081d11505da5f7e724e5790e42fb43be26bae012b843c55ec2d13b4", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244f35415972990002e4')}, :u=>{"_id"=>BSON::ObjectId('5bb6244f35415972990002e4'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002e1'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244f35415972990002e2'), "token"=>"e1db990d9dba32267d142d7c883123c1e86c3a828f2e925e6a03530c93c51cdb", "refresh_token"=>"dd0e64936081d11505da5f7e724e5790e42fb43be26bae012b843c55ec2d13b4", "expires_in"=>-100}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244f35415972990002e4')}, {"_id"=>BSON::ObjectId('5bb6244f35415972990002e4'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002e1'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244f35415972990002e2'), "token"=>"e1db990d9dba32267d142d7c883123c1e86c3a828f2e925e6a03530c93c51cdb", "refresh_token"=>"dd0e64936081d11505da5f7e724e5790e42fb43be26bae012b843c55ec2d13b4", "expires_in"=>-100}) Started POST "/oauth/token?refresh_token=[FILTERED]&client_id=cc0431f957bec44fbf1a85179e5916192f8640a21b989bdf5f43de22ef594ea9&client_secret=[FILTERED]&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:31:43 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"refresh_token"=>"[FILTERED]", "client_id"=>"cc0431f957bec44fbf1a85179e5916192f8640a21b989bdf5f43de22ef594ea9", "client_secret"=>"[FILTERED]", "grant_type"=>"refresh_token"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"dd0e64936081d11505da5f7e724e5790e42fb43be26bae012b843c55ec2d13b4"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"cc0431f957bec44fbf1a85179e5916192f8640a21b989bdf5f43de22ef594ea9"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6244f35415972990002e4')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244f35415972990002e4')}, :u=>{"_id"=>BSON::ObjectId('5bb6244f35415972990002e4'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002e1'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244f35415972990002e2'), "token"=>"e1db990d9dba32267d142d7c883123c1e86c3a828f2e925e6a03530c93c51cdb", "refresh_token"=>"dd0e64936081d11505da5f7e724e5790e42fb43be26bae012b843c55ec2d13b4", "expires_in"=>-100, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244f35415972990002e4')}, {"_id"=>BSON::ObjectId('5bb6244f35415972990002e4'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002e1'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244f35415972990002e2'), "token"=>"e1db990d9dba32267d142d7c883123c1e86c3a828f2e925e6a03530c93c51cdb", "refresh_token"=>"dd0e64936081d11505da5f7e724e5790e42fb43be26bae012b843c55ec2d13b4", "expires_in"=>-100, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244f35415972990002e1')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"dcbb343291f413e8667a3980130ab1225950eacf7ce86da961a5bf5f20fd80da", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002e5')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"6d35577bb918080c6288aeeec156e7ebfbfaf398bd683a97d90e73ad285714e2", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002e5')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002e5'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002e1'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244f35415972990002e2'), "token"=>"dcbb343291f413e8667a3980130ab1225950eacf7ce86da961a5bf5f20fd80da", "refresh_token"=>"6d35577bb918080c6288aeeec156e7ebfbfaf398bd683a97d90e73ad285714e2", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002e5'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002e1'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244f35415972990002e2'), "token"=>"dcbb343291f413e8667a3980130ab1225950eacf7ce86da961a5bf5f20fd80da", "refresh_token"=>"6d35577bb918080c6288aeeec156e7ebfbfaf398bd683a97d90e73ad285714e2", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 7ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6244f35415972990002e1'), :resource_owner_id=>BSON::ObjectId('5bb6244f35415972990002e2'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6244f35415972990002e4')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"472f2dc5ab38489df98c4b8561eb8e16cd4575e43b133bda0f89bb160f7dd049", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002e6')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002e6'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 324", "uid"=>"472f2dc5ab38489df98c4b8561eb8e16cd4575e43b133bda0f89bb160f7dd049", "secret"=>"4a11dc8769bce62a2b4a5c2acd27fbc23ed6bff1a639002ef9d6a25de14cbcea", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002e6'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 324", "uid"=>"472f2dc5ab38489df98c4b8561eb8e16cd4575e43b133bda0f89bb160f7dd049", "secret"=>"4a11dc8769bce62a2b4a5c2acd27fbc23ed6bff1a639002ef9d6a25de14cbcea", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002e7'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002e7'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Joe", "password"=>"sekret"}) Started POST "/oauth/token?code&client_id=472f2dc5ab38489df98c4b8561eb8e16cd4575e43b133bda0f89bb160f7dd049&client_secret=[FILTERED]&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:31:43 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"472f2dc5ab38489df98c4b8561eb8e16cd4575e43b133bda0f89bb160f7dd049", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"472f2dc5ab38489df98c4b8561eb8e16cd4575e43b133bda0f89bb160f7dd049"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244f35415972990002e6')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d7368109d74935d1268349c4dfa8075bb5eabe98decfa97f52277faf7e5e381f", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002e8')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"4eaf848242c0a8ab612687ee5846a71a774176ea826ac03dbdd97f86ea5b0be1", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002e8')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002e8'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002e6'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244f35415972990002e7'), "token"=>"d7368109d74935d1268349c4dfa8075bb5eabe98decfa97f52277faf7e5e381f", "refresh_token"=>"4eaf848242c0a8ab612687ee5846a71a774176ea826ac03dbdd97f86ea5b0be1", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002e8'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002e6'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244f35415972990002e7'), "token"=>"d7368109d74935d1268349c4dfa8075bb5eabe98decfa97f52277faf7e5e381f", "refresh_token"=>"4eaf848242c0a8ab612687ee5846a71a774176ea826ac03dbdd97f86ea5b0be1", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 6ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6244f35415972990002e6'), :resource_owner_id=>BSON::ObjectId('5bb6244f35415972990002e7'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244f35415972990002e8')}, :u=>{"_id"=>BSON::ObjectId('5bb6244f35415972990002e8'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002e6'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244f35415972990002e7'), "token"=>"d7368109d74935d1268349c4dfa8075bb5eabe98decfa97f52277faf7e5e381f", "refresh_token"=>"4eaf848242c0a8ab612687ee5846a71a774176ea826ac03dbdd97f86ea5b0be1", "expires_in"=>7200, "scopes"=>""}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244f35415972990002e8')}, {"_id"=>BSON::ObjectId('5bb6244f35415972990002e8'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002e6'), "created_at"=>2018-10-04 14:31:38 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244f35415972990002e7'), "token"=>"d7368109d74935d1268349c4dfa8075bb5eabe98decfa97f52277faf7e5e381f", "refresh_token"=>"4eaf848242c0a8ab612687ee5846a71a774176ea826ac03dbdd97f86ea5b0be1", "expires_in"=>7200, "scopes"=>""}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"399433cb8b8bc8439f7d08e4073dcb2c75fe0833d6e9c36e4e6e167915efcba9", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002e9')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"534af4be70ad8e1a726809469cc28e65745ef84e12f38e790a8ebc2e73704d85", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002e9')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002e9'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002e6'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244f35415972990002e7'), "token"=>"399433cb8b8bc8439f7d08e4073dcb2c75fe0833d6e9c36e4e6e167915efcba9", "refresh_token"=>"534af4be70ad8e1a726809469cc28e65745ef84e12f38e790a8ebc2e73704d85", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002e9'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002e6'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244f35415972990002e7'), "token"=>"399433cb8b8bc8439f7d08e4073dcb2c75fe0833d6e9c36e4e6e167915efcba9", "refresh_token"=>"534af4be70ad8e1a726809469cc28e65745ef84e12f38e790a8ebc2e73704d85", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244f35415972990002e9')}, :u=>{"_id"=>BSON::ObjectId('5bb6244f35415972990002e9'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002e6'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244f35415972990002e7'), "token"=>"399433cb8b8bc8439f7d08e4073dcb2c75fe0833d6e9c36e4e6e167915efcba9", "refresh_token"=>"534af4be70ad8e1a726809469cc28e65745ef84e12f38e790a8ebc2e73704d85", "expires_in"=>-100}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244f35415972990002e9')}, {"_id"=>BSON::ObjectId('5bb6244f35415972990002e9'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002e6'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244f35415972990002e7'), "token"=>"399433cb8b8bc8439f7d08e4073dcb2c75fe0833d6e9c36e4e6e167915efcba9", "refresh_token"=>"534af4be70ad8e1a726809469cc28e65745ef84e12f38e790a8ebc2e73704d85", "expires_in"=>-100}) Started POST "/oauth/token?refresh_token=[FILTERED]&client_id=472f2dc5ab38489df98c4b8561eb8e16cd4575e43b133bda0f89bb160f7dd049&client_secret=[FILTERED]&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:31:43 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"refresh_token"=>"[FILTERED]", "client_id"=>"472f2dc5ab38489df98c4b8561eb8e16cd4575e43b133bda0f89bb160f7dd049", "client_secret"=>"[FILTERED]", "grant_type"=>"refresh_token"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"534af4be70ad8e1a726809469cc28e65745ef84e12f38e790a8ebc2e73704d85"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"472f2dc5ab38489df98c4b8561eb8e16cd4575e43b133bda0f89bb160f7dd049"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6244f35415972990002e9')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244f35415972990002e6')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"876713814ac94a471e7d41031a938595065f9169d631bd11d7bec78e98308191", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002ea')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"5bc308cee86c13225e1aee827dc54d29f8051a38a622613ced0a9a7366bb9808", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002ea')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002ea'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002e6'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244f35415972990002e7'), "token"=>"876713814ac94a471e7d41031a938595065f9169d631bd11d7bec78e98308191", "refresh_token"=>"5bc308cee86c13225e1aee827dc54d29f8051a38a622613ced0a9a7366bb9808", "previous_refresh_token"=>"534af4be70ad8e1a726809469cc28e65745ef84e12f38e790a8ebc2e73704d85", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002ea'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002e6'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6244f35415972990002e7'), "token"=>"876713814ac94a471e7d41031a938595065f9169d631bd11d7bec78e98308191", "refresh_token"=>"5bc308cee86c13225e1aee827dc54d29f8051a38a622613ced0a9a7366bb9808", "previous_refresh_token"=>"534af4be70ad8e1a726809469cc28e65745ef84e12f38e790a8ebc2e73704d85", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 6ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6244f35415972990002e6'), :resource_owner_id=>BSON::ObjectId('5bb6244f35415972990002e7'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6244f35415972990002e9')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1ed07eccd4f1bc6f7daff56134f9d0e7de55dc1c3bd67a3d0f274ef0fc247647", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002eb')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002eb'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 325", "uid"=>"1ed07eccd4f1bc6f7daff56134f9d0e7de55dc1c3bd67a3d0f274ef0fc247647", "secret"=>"de32425a5a972f702dbbb2aa6d3fc2598a93f218a35757bf99638e78d1d1bea9", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002eb'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 325", "uid"=>"1ed07eccd4f1bc6f7daff56134f9d0e7de55dc1c3bd67a3d0f274ef0fc247647", "secret"=>"de32425a5a972f702dbbb2aa6d3fc2598a93f218a35757bf99638e78d1d1bea9", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d6e14f3c929c024c8094c175029b1f004cf29bea1970be6006329fdd7a99f882", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002ec')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"0ae2637df47afe7162cb3575c37fc894529e548592092be5e45567c09a888df3", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002ec')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002ec'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002eb'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>1, "token"=>"d6e14f3c929c024c8094c175029b1f004cf29bea1970be6006329fdd7a99f882", "refresh_token"=>"0ae2637df47afe7162cb3575c37fc894529e548592092be5e45567c09a888df3", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002ec'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002eb'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>1, "token"=>"d6e14f3c929c024c8094c175029b1f004cf29bea1970be6006329fdd7a99f882", "refresh_token"=>"0ae2637df47afe7162cb3575c37fc894529e548592092be5e45567c09a888df3", "expires_in"=>7200}) Started POST "/oauth/token?refresh_token=[FILTERED]&client_id=1ed07eccd4f1bc6f7daff56134f9d0e7de55dc1c3bd67a3d0f274ef0fc247647&client_secret=[FILTERED]&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:31:43 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"refresh_token"=>"[FILTERED]", "client_id"=>"1ed07eccd4f1bc6f7daff56134f9d0e7de55dc1c3bd67a3d0f274ef0fc247647", "client_secret"=>"[FILTERED]", "grant_type"=>"refresh_token"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"invalid"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1ed07eccd4f1bc6f7daff56134f9d0e7de55dc1c3bd67a3d0f274ef0fc247647"}).limit(-1) Completed 401 Unauthorized in 2ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7c26493af56dead9de74eeafe442a95b3802fc63b7df8ba4e27467e06cd6685e", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002ed')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002ed'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 326", "uid"=>"7c26493af56dead9de74eeafe442a95b3802fc63b7df8ba4e27467e06cd6685e", "secret"=>"d4b9cf0917ad88758487feb750ba0b327b51fabcc64497c629448042cef296ea", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002ed'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 326", "uid"=>"7c26493af56dead9de74eeafe442a95b3802fc63b7df8ba4e27467e06cd6685e", "secret"=>"d4b9cf0917ad88758487feb750ba0b327b51fabcc64497c629448042cef296ea", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"4031a6b27778d627ae530b6d545c35658dbc7aaa189eb5c43d0fa74f5f8a45b7", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002ee')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"cbfb0b8c98e1e696747c2e9e603f911f8714b1dc0cb82847baeddeeaeeca6508", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002ee')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002ee'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002ed'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>1, "token"=>"4031a6b27778d627ae530b6d545c35658dbc7aaa189eb5c43d0fa74f5f8a45b7", "refresh_token"=>"cbfb0b8c98e1e696747c2e9e603f911f8714b1dc0cb82847baeddeeaeeca6508", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002ee'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002ed'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>1, "token"=>"4031a6b27778d627ae530b6d545c35658dbc7aaa189eb5c43d0fa74f5f8a45b7", "refresh_token"=>"cbfb0b8c98e1e696747c2e9e603f911f8714b1dc0cb82847baeddeeaeeca6508", "expires_in"=>7200}) Started POST "/oauth/token?refresh_token=[FILTERED]&client_id=7c26493af56dead9de74eeafe442a95b3802fc63b7df8ba4e27467e06cd6685e&client_secret=[FILTERED]&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:31:43 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"refresh_token"=>"[FILTERED]", "client_id"=>"7c26493af56dead9de74eeafe442a95b3802fc63b7df8ba4e27467e06cd6685e", "client_secret"=>"[FILTERED]", "grant_type"=>"refresh_token"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"cbfb0b8c98e1e696747c2e9e603f911f8714b1dc0cb82847baeddeeaeeca6508"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7c26493af56dead9de74eeafe442a95b3802fc63b7df8ba4e27467e06cd6685e"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6244f35415972990002ee')}).limit(-1) Completed 401 Unauthorized in 3ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7a2d52c5e6154583aafadccea575a8a2023fd493380715b9d9a7df4602e36b50", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002ef')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002ef'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 327", "uid"=>"7a2d52c5e6154583aafadccea575a8a2023fd493380715b9d9a7df4602e36b50", "secret"=>"6b6308d0d54765a03d042464d075e85375a613d37e01ac30553cbf723f5cb57f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002ef'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 327", "uid"=>"7a2d52c5e6154583aafadccea575a8a2023fd493380715b9d9a7df4602e36b50", "secret"=>"6b6308d0d54765a03d042464d075e85375a613d37e01ac30553cbf723f5cb57f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"699c62b06e5f0c1ec4d5daf0f8409f8548fa70ec18032ee9fd29013724c52aaa", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002f0')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"876e9eabd936ddf091082aaa115630b53ce7c65bc07a493bc5048ffa05289b31", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002f0')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002f0'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002ef'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>1, "token"=>"699c62b06e5f0c1ec4d5daf0f8409f8548fa70ec18032ee9fd29013724c52aaa", "refresh_token"=>"876e9eabd936ddf091082aaa115630b53ce7c65bc07a493bc5048ffa05289b31", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002f0'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002ef'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>1, "token"=>"699c62b06e5f0c1ec4d5daf0f8409f8548fa70ec18032ee9fd29013724c52aaa", "refresh_token"=>"876e9eabd936ddf091082aaa115630b53ce7c65bc07a493bc5048ffa05289b31", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244f35415972990002f0')}, :u=>{"_id"=>BSON::ObjectId('5bb6244f35415972990002f0'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002ef'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>1, "token"=>"699c62b06e5f0c1ec4d5daf0f8409f8548fa70ec18032ee9fd29013724c52aaa", "refresh_token"=>"876e9eabd936ddf091082aaa115630b53ce7c65bc07a493bc5048ffa05289b31", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244f35415972990002f0')}, {"_id"=>BSON::ObjectId('5bb6244f35415972990002f0'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002ef'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>1, "token"=>"699c62b06e5f0c1ec4d5daf0f8409f8548fa70ec18032ee9fd29013724c52aaa", "refresh_token"=>"876e9eabd936ddf091082aaa115630b53ce7c65bc07a493bc5048ffa05289b31", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Started POST "/oauth/token?refresh_token=[FILTERED]&client_id=7a2d52c5e6154583aafadccea575a8a2023fd493380715b9d9a7df4602e36b50&client_secret=[FILTERED]&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:31:43 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"refresh_token"=>"[FILTERED]", "client_id"=>"7a2d52c5e6154583aafadccea575a8a2023fd493380715b9d9a7df4602e36b50", "client_secret"=>"[FILTERED]", "grant_type"=>"refresh_token"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"876e9eabd936ddf091082aaa115630b53ce7c65bc07a493bc5048ffa05289b31"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7a2d52c5e6154583aafadccea575a8a2023fd493380715b9d9a7df4602e36b50"}).limit(-1) Completed 401 Unauthorized in 3ms MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"41f61f015162fe8bbb9ea9dca7b6b721465235a6f2f8fd8b169575bc9f0a0744", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002f1')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002f1'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 328", "uid"=>"41f61f015162fe8bbb9ea9dca7b6b721465235a6f2f8fd8b169575bc9f0a0744", "secret"=>"0d41973b8f32b76671fa5a1da32870d19a43538c3e2aa28a869efe86b9389eff", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002f1'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 328", "uid"=>"41f61f015162fe8bbb9ea9dca7b6b721465235a6f2f8fd8b169575bc9f0a0744", "secret"=>"0d41973b8f32b76671fa5a1da32870d19a43538c3e2aa28a869efe86b9389eff", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"3d044bf25a4666840738a136bd1e65ef53d926d057b7d9b35491fadfaff3695d", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002f2')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"c5a1e0e46f225e0e420ac097fda3554b7c6a19fa07fe69a2f50c7b15d79c6d9e", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002f2')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002f2'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002f1'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>1, "token"=>"3d044bf25a4666840738a136bd1e65ef53d926d057b7d9b35491fadfaff3695d", "refresh_token"=>"c5a1e0e46f225e0e420ac097fda3554b7c6a19fa07fe69a2f50c7b15d79c6d9e", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002f2'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002f1'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>1, "token"=>"3d044bf25a4666840738a136bd1e65ef53d926d057b7d9b35491fadfaff3695d", "refresh_token"=>"c5a1e0e46f225e0e420ac097fda3554b7c6a19fa07fe69a2f50c7b15d79c6d9e", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244f35415972990002f2')}, :u=>{"_id"=>BSON::ObjectId('5bb6244f35415972990002f2'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002f1'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>1, "token"=>"3d044bf25a4666840738a136bd1e65ef53d926d057b7d9b35491fadfaff3695d", "refresh_token"=>"c5a1e0e46f225e0e420ac097fda3554b7c6a19fa07fe69a2f50c7b15d79c6d9e", "expires_in"=>-100}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244f35415972990002f2')}, {"_id"=>BSON::ObjectId('5bb6244f35415972990002f2'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002f1'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>1, "token"=>"3d044bf25a4666840738a136bd1e65ef53d926d057b7d9b35491fadfaff3695d", "refresh_token"=>"c5a1e0e46f225e0e420ac097fda3554b7c6a19fa07fe69a2f50c7b15d79c6d9e", "expires_in"=>-100}) Started POST "/oauth/token?refresh_token=[FILTERED]&client_id=41f61f015162fe8bbb9ea9dca7b6b721465235a6f2f8fd8b169575bc9f0a0744&client_secret=[FILTERED]&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:31:43 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"refresh_token"=>"[FILTERED]", "client_id"=>"41f61f015162fe8bbb9ea9dca7b6b721465235a6f2f8fd8b169575bc9f0a0744", "client_secret"=>"[FILTERED]", "grant_type"=>"refresh_token"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"c5a1e0e46f225e0e420ac097fda3554b7c6a19fa07fe69a2f50c7b15d79c6d9e"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"41f61f015162fe8bbb9ea9dca7b6b721465235a6f2f8fd8b169575bc9f0a0744"}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6244f35415972990002f2')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244f35415972990002f1')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"0210f47388a45ccf6ba81a0ed50b684d5ad71a0c139ede607a007abb76f0eccc", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002f3')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"e7fb82ebbbaf26f448a8183dd64164c6fb9f85c8f00d6c841ba390707b5782b3", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002f3')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002f3'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002f1'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>1, "token"=>"0210f47388a45ccf6ba81a0ed50b684d5ad71a0c139ede607a007abb76f0eccc", "refresh_token"=>"e7fb82ebbbaf26f448a8183dd64164c6fb9f85c8f00d6c841ba390707b5782b3", "previous_refresh_token"=>"c5a1e0e46f225e0e420ac097fda3554b7c6a19fa07fe69a2f50c7b15d79c6d9e", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002f3'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002f1'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>1, "token"=>"0210f47388a45ccf6ba81a0ed50b684d5ad71a0c139ede607a007abb76f0eccc", "refresh_token"=>"e7fb82ebbbaf26f448a8183dd64164c6fb9f85c8f00d6c841ba390707b5782b3", "previous_refresh_token"=>"c5a1e0e46f225e0e420ac097fda3554b7c6a19fa07fe69a2f50c7b15d79c6d9e", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 6ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6244f35415972990002f2')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6e3907e6b7bfb6bcd0aa3167fdc148b25074640c517a21b808c8bf4ba010304f", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002f4')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002f4'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 329", "uid"=>"6e3907e6b7bfb6bcd0aa3167fdc148b25074640c517a21b808c8bf4ba010304f", "secret"=>"f03efe3d5a9220a59ea237ce0f40d8e4cbccad5b724e9f2284a468f30a1d5875", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002f4'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 329", "uid"=>"6e3907e6b7bfb6bcd0aa3167fdc148b25074640c517a21b808c8bf4ba010304f", "secret"=>"f03efe3d5a9220a59ea237ce0f40d8e4cbccad5b724e9f2284a468f30a1d5875", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"1a62eb13ba0b768282a8bec2593010f33662ab9fe4b64f5f3403b622687bc26a", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002f5')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"bf3cf98f6f3e6ccd251582cdb655b06bfec630a8b3e9fcdc3affc79ad8da754e", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002f5')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002f5'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002f4'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>1, "token"=>"1a62eb13ba0b768282a8bec2593010f33662ab9fe4b64f5f3403b622687bc26a", "refresh_token"=>"bf3cf98f6f3e6ccd251582cdb655b06bfec630a8b3e9fcdc3affc79ad8da754e", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002f5'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002f4'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>1, "token"=>"1a62eb13ba0b768282a8bec2593010f33662ab9fe4b64f5f3403b622687bc26a", "refresh_token"=>"bf3cf98f6f3e6ccd251582cdb655b06bfec630a8b3e9fcdc3affc79ad8da754e", "expires_in"=>7200}) Started POST "/oauth/token?refresh_token=[FILTERED]&client_id=6e3907e6b7bfb6bcd0aa3167fdc148b25074640c517a21b808c8bf4ba010304f&client_secret=[FILTERED]&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:31:43 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"refresh_token"=>"[FILTERED]", "client_id"=>"6e3907e6b7bfb6bcd0aa3167fdc148b25074640c517a21b808c8bf4ba010304f", "client_secret"=>"[FILTERED]", "grant_type"=>"refresh_token"} MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"bf3cf98f6f3e6ccd251582cdb655b06bfec630a8b3e9fcdc3affc79ad8da754e"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6e3907e6b7bfb6bcd0aa3167fdc148b25074640c517a21b808c8bf4ba010304f"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6244f35415972990002f5')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244f35415972990002f4')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"005304308184849a137f706efa100bb0ff6cbe4d902c1f2d140af8b01fc3ae67", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002f6')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"6fb6c1c25aaa165303887112672b0678e9d647cffa3507d43d7152dfec30fdfd", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002f6')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002f6'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002f4'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>1, "token"=>"005304308184849a137f706efa100bb0ff6cbe4d902c1f2d140af8b01fc3ae67", "refresh_token"=>"6fb6c1c25aaa165303887112672b0678e9d647cffa3507d43d7152dfec30fdfd", "previous_refresh_token"=>"bf3cf98f6f3e6ccd251582cdb655b06bfec630a8b3e9fcdc3affc79ad8da754e", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002f6'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002f4'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>1, "token"=>"005304308184849a137f706efa100bb0ff6cbe4d902c1f2d140af8b01fc3ae67", "refresh_token"=>"6fb6c1c25aaa165303887112672b0678e9d647cffa3507d43d7152dfec30fdfd", "previous_refresh_token"=>"bf3cf98f6f3e6ccd251582cdb655b06bfec630a8b3e9fcdc3affc79ad8da754e", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 7ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6244f35415972990002f5')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2f0aeaacb369c6a3e7d17eca57dd626a5d88a51a88e26df8a3efb86a031551ec", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002f7')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002f7'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 330", "uid"=>"2f0aeaacb369c6a3e7d17eca57dd626a5d88a51a88e26df8a3efb86a031551ec", "secret"=>"03fb22e790fcaddf1f2661e2e0068561d3dd57dd5e7d246dcebb2c7d23742703", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002f7'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 330", "uid"=>"2f0aeaacb369c6a3e7d17eca57dd626a5d88a51a88e26df8a3efb86a031551ec", "secret"=>"03fb22e790fcaddf1f2661e2e0068561d3dd57dd5e7d246dcebb2c7d23742703", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e33adb211f802850013bbd998ca109d35d172c402c21508b747400249701c3a0", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002f8')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"f2c0e94a844b145c32b3f918dfbb1e16fe817e89bbda0511ded48899d7ccbcb2", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002f8')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002f8'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002f7'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>1, "token"=>"e33adb211f802850013bbd998ca109d35d172c402c21508b747400249701c3a0", "refresh_token"=>"f2c0e94a844b145c32b3f918dfbb1e16fe817e89bbda0511ded48899d7ccbcb2", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002f8'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002f7'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>1, "token"=>"e33adb211f802850013bbd998ca109d35d172c402c21508b747400249701c3a0", "refresh_token"=>"f2c0e94a844b145c32b3f918dfbb1e16fe817e89bbda0511ded48899d7ccbcb2", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244f35415972990002f8')}, :u=>{"_id"=>BSON::ObjectId('5bb6244f35415972990002f8'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002f7'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>1, "token"=>"e33adb211f802850013bbd998ca109d35d172c402c21508b747400249701c3a0", "refresh_token"=>"f2c0e94a844b145c32b3f918dfbb1e16fe817e89bbda0511ded48899d7ccbcb2", "expires_in"=>-100}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244f35415972990002f8')}, {"_id"=>BSON::ObjectId('5bb6244f35415972990002f8'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002f7'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>1, "token"=>"e33adb211f802850013bbd998ca109d35d172c402c21508b747400249701c3a0", "refresh_token"=>"f2c0e94a844b145c32b3f918dfbb1e16fe817e89bbda0511ded48899d7ccbcb2", "expires_in"=>-100}) Started POST "/oauth/token?refresh_token=[FILTERED]&client_id=2f0aeaacb369c6a3e7d17eca57dd626a5d88a51a88e26df8a3efb86a031551ec&client_secret=[FILTERED]&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:31:43 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"refresh_token"=>"[FILTERED]", "client_id"=>"2f0aeaacb369c6a3e7d17eca57dd626a5d88a51a88e26df8a3efb86a031551ec", "client_secret"=>"[FILTERED]", "grant_type"=>"refresh_token"} MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"f2c0e94a844b145c32b3f918dfbb1e16fe817e89bbda0511ded48899d7ccbcb2"}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2f0aeaacb369c6a3e7d17eca57dd626a5d88a51a88e26df8a3efb86a031551ec"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6244f35415972990002f8')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244f35415972990002f8')}, :u=>{"_id"=>BSON::ObjectId('5bb6244f35415972990002f8'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002f7'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>1, "token"=>"e33adb211f802850013bbd998ca109d35d172c402c21508b747400249701c3a0", "refresh_token"=>"f2c0e94a844b145c32b3f918dfbb1e16fe817e89bbda0511ded48899d7ccbcb2", "expires_in"=>-100, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244f35415972990002f8')}, {"_id"=>BSON::ObjectId('5bb6244f35415972990002f8'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002f7'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>1, "token"=>"e33adb211f802850013bbd998ca109d35d172c402c21508b747400249701c3a0", "refresh_token"=>"f2c0e94a844b145c32b3f918dfbb1e16fe817e89bbda0511ded48899d7ccbcb2", "expires_in"=>-100, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244f35415972990002f7')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"b83d6af3a39085030ab7e823ea79ba869b16b950c08e61d3f759576aa8418ab0", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002f9')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"fa1beafe1598a9462a0191b8452fade2f0cdb09cec9b6989670b1cff3ae8c921", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002f9')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002f9'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002f7'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>1, "token"=>"b83d6af3a39085030ab7e823ea79ba869b16b950c08e61d3f759576aa8418ab0", "refresh_token"=>"fa1beafe1598a9462a0191b8452fade2f0cdb09cec9b6989670b1cff3ae8c921", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002f9'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002f7'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>1, "token"=>"b83d6af3a39085030ab7e823ea79ba869b16b950c08e61d3f759576aa8418ab0", "refresh_token"=>"fa1beafe1598a9462a0191b8452fade2f0cdb09cec9b6989670b1cff3ae8c921", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 10ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6244f35415972990002f8')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"cebd481b6dffa443b057e34f40d8d7a26aa9339a1fe393b28a94de02ebe51d37", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002fa')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002fa'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 331", "uid"=>"cebd481b6dffa443b057e34f40d8d7a26aa9339a1fe393b28a94de02ebe51d37", "secret"=>"c025ec7a93bbd27047b71c171647e0608a295392e2a3e7dad953bc05a45860cf", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002fa'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "name"=>"Application 331", "uid"=>"cebd481b6dffa443b057e34f40d8d7a26aa9339a1fe393b28a94de02ebe51d37", "secret"=>"c025ec7a93bbd27047b71c171647e0608a295392e2a3e7dad953bc05a45860cf", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"34dc93a20a035c144dd2247f7bec846ddf7155c5adb9518418f7af1884d8a398", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002fb')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"c7935d9667586b8a2f88fe5611e18658b536ba6fae6fdba3e06fcdce88f3a13d", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002fb')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002fb'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002fa'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>1, "token"=>"34dc93a20a035c144dd2247f7bec846ddf7155c5adb9518418f7af1884d8a398", "refresh_token"=>"c7935d9667586b8a2f88fe5611e18658b536ba6fae6fdba3e06fcdce88f3a13d", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002fb'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002fa'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>1, "token"=>"34dc93a20a035c144dd2247f7bec846ddf7155c5adb9518418f7af1884d8a398", "refresh_token"=>"c7935d9667586b8a2f88fe5611e18658b536ba6fae6fdba3e06fcdce88f3a13d", "expires_in"=>7200}) Started POST "/oauth/token?refresh_token=[FILTERED]&client_id=cebd481b6dffa443b057e34f40d8d7a26aa9339a1fe393b28a94de02ebe51d37&client_secret=[FILTERED]&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:31:43 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"refresh_token"=>"[FILTERED]", "client_id"=>"cebd481b6dffa443b057e34f40d8d7a26aa9339a1fe393b28a94de02ebe51d37", "client_secret"=>"[FILTERED]", "grant_type"=>"refresh_token"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"c7935d9667586b8a2f88fe5611e18658b536ba6fae6fdba3e06fcdce88f3a13d"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"cebd481b6dffa443b057e34f40d8d7a26aa9339a1fe393b28a94de02ebe51d37"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6244f35415972990002fb')}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6244f35415972990002fb')}, :u=>{"_id"=>BSON::ObjectId('5bb6244f35415972990002fb'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002fa'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>1, "token"=>"34dc93a20a035c144dd2247f7bec846ddf7155c5adb9518418f7af1884d8a398", "refresh_token"=>"c7935d9667586b8a2f88fe5611e18658b536ba6fae6fdba3e06fcdce88f3a13d", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6244f35415972990002fb')}, {"_id"=>BSON::ObjectId('5bb6244f35415972990002fb'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002fa'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>1, "token"=>"34dc93a20a035c144dd2247f7bec846ddf7155c5adb9518418f7af1884d8a398", "refresh_token"=>"c7935d9667586b8a2f88fe5611e18658b536ba6fae6fdba3e06fcdce88f3a13d", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6244f35415972990002fa')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"9d91244a9d74a7fdcdb8fd8a7a731e3ada70870e7dcd14c98da493b4dc914605", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002fc')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"05fd1cbb0d5bcc3d0bc9af687156b21dce56e55327139b30a141e2b645a01478", :_id=>{:$ne=>BSON::ObjectId('5bb6244f35415972990002fc')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6244f35415972990002fc'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002fa'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>1, "token"=>"9d91244a9d74a7fdcdb8fd8a7a731e3ada70870e7dcd14c98da493b4dc914605", "refresh_token"=>"05fd1cbb0d5bcc3d0bc9af687156b21dce56e55327139b30a141e2b645a01478", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6244f35415972990002fc'), "application_id"=>BSON::ObjectId('5bb6244f35415972990002fa'), "created_at"=>2018-10-04 14:31:43 UTC, "updated_at"=>2018-10-04 14:31:43 UTC, "resource_owner_id"=>1, "token"=>"9d91244a9d74a7fdcdb8fd8a7a731e3ada70870e7dcd14c98da493b4dc914605", "refresh_token"=>"05fd1cbb0d5bcc3d0bc9af687156b21dce56e55327139b30a141e2b645a01478", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 10ms MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb6244f35415972990002fb')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB [DEBUG] Logging level is currently :debug which could negatively impact client-side performance. You should set your logging level no lower than :info in production. MONGODB (0.5ms) admin['$cmd'].find({:isMaster=>1}).limit(-1) ====> Doorkeeper.orm = mongo_mapper ====> Rails version: 4.2.10 ====> Ruby version: 2.4.1 MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:createIndexes=>"oauth_applications", :indexes=>[{:name=>"uid_1", :key=>{"uid"=>1}, :unique=>true}]}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:createIndexes=>"oauth_access_grants", :indexes=>[{:name=>"token_1", :key=>{"token"=>1}, :unique=>true}]}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:createIndexes=>"oauth_access_tokens", :indexes=>[{:name=>"token_1", :key=>{"token"=>1}, :unique=>true}]}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:createIndexes=>"oauth_access_tokens", :indexes=>[{:name=>"refresh_token_1", :key=>{"refresh_token"=>1}, :unique=>true, :sparse=>true}]}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624623541597507000001'), "created_at"=>2018-10-04 14:32:02 UTC, "updated_at"=>2018-10-04 14:32:02 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624623541597507000001'), "created_at"=>2018-10-04 14:32:02 UTC, "updated_at"=>2018-10-04 14:32:02 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6ae90420cbef895477902fea58ca318c9a6fe0bc140bc191cbf4e9d0652d4042", :_id=>{:$ne=>BSON::ObjectId('5bb624623541597507000002')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624623541597507000002'), "created_at"=>2018-10-04 14:32:02 UTC, "updated_at"=>2018-10-04 14:32:02 UTC, "name"=>"Amazing Client App", "uid"=>"6ae90420cbef895477902fea58ca318c9a6fe0bc140bc191cbf4e9d0652d4042", "secret"=>"dd1fc97c7e894bbc04f03ecf7d21d718cc83087a04325a0045a1ceb75da68d32", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624623541597507000002'), "created_at"=>2018-10-04 14:32:02 UTC, "updated_at"=>2018-10-04 14:32:02 UTC, "name"=>"Amazing Client App", "uid"=>"6ae90420cbef895477902fea58ca318c9a6fe0bc140bc191cbf4e9d0652d4042", "secret"=>"dd1fc97c7e894bbc04f03ecf7d21d718cc83087a04325a0045a1ceb75da68d32", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"3b20491c603ce6ab3fcef821a09f2ea4de6c706eefa52c543b832654c69ad377", :_id=>{:$ne=>BSON::ObjectId('5bb624623541597507000003')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624623541597507000003'), "application_id"=>BSON::ObjectId('5bb624623541597507000002'), "created_at"=>2018-10-04 14:32:02 UTC, "updated_at"=>2018-10-04 14:32:02 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624623541597507000001'), "token"=>"3b20491c603ce6ab3fcef821a09f2ea4de6c706eefa52c543b832654c69ad377", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624623541597507000003'), "application_id"=>BSON::ObjectId('5bb624623541597507000002'), "created_at"=>2018-10-04 14:32:02 UTC, "updated_at"=>2018-10-04 14:32:02 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624623541597507000001'), "token"=>"3b20491c603ce6ab3fcef821a09f2ea4de6c706eefa52c543b832654c69ad377", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"9fa825fcb3ddae315ec4c5bdff15dac298dae753f3451c5cdb22e684581a4e19", :_id=>{:$ne=>BSON::ObjectId('5bb624623541597507000004')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624623541597507000004'), "created_at"=>2018-10-04 14:32:02 UTC, "updated_at"=>2018-10-04 14:32:02 UTC, "name"=>"Another Client App", "uid"=>"9fa825fcb3ddae315ec4c5bdff15dac298dae753f3451c5cdb22e684581a4e19", "secret"=>"3e4d866e5bc9cd3e5e66b1cb7e60d79aaff019dc6aadbdcd224b63c8447e3836", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624623541597507000004'), "created_at"=>2018-10-04 14:32:02 UTC, "updated_at"=>2018-10-04 14:32:02 UTC, "name"=>"Another Client App", "uid"=>"9fa825fcb3ddae315ec4c5bdff15dac298dae753f3451c5cdb22e684581a4e19", "secret"=>"3e4d866e5bc9cd3e5e66b1cb7e60d79aaff019dc6aadbdcd224b63c8447e3836", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624623541597507000005'), "created_at"=>2018-10-04 14:32:02 UTC, "updated_at"=>2018-10-04 14:32:02 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624623541597507000005'), "created_at"=>2018-10-04 14:32:02 UTC, "updated_at"=>2018-10-04 14:32:02 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"6ceb0d2b629ebefb1d3b0c57f60206465baa6a38e488e67637d16b207b3f4bc5", :_id=>{:$ne=>BSON::ObjectId('5bb624623541597507000006')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624623541597507000006'), "application_id"=>BSON::ObjectId('5bb624623541597507000004'), "created_at"=>2018-10-04 14:32:02 UTC, "updated_at"=>2018-10-04 14:32:02 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624623541597507000005'), "token"=>"6ceb0d2b629ebefb1d3b0c57f60206465baa6a38e488e67637d16b207b3f4bc5", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624623541597507000006'), "application_id"=>BSON::ObjectId('5bb624623541597507000004'), "created_at"=>2018-10-04 14:32:02 UTC, "updated_at"=>2018-10-04 14:32:02 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624623541597507000005'), "token"=>"6ceb0d2b629ebefb1d3b0c57f60206465baa6a38e488e67637d16b207b3f4bc5", "expires_in"=>7200}) Started GET "/oauth/authorized_applications" for 127.0.0.1 at 2018-10-04 17:32:02 +0300 Processing by Doorkeeper::AuthorizedApplicationsController#index as HTML MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:resource_owner_id=>BSON::ObjectId('5bb624623541597507000001'), :revoked_at=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>{:$in=>[BSON::ObjectId('5bb624623541597507000002')]}}) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorized_applications/_delete_form.html.erb (0.7ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorized_applications/index.html.erb within layouts/doorkeeper/application (2.1ms) Completed 200 OK in 160ms (Views: 157.3ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000007'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000007'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5a2a5243190282eb7a9fdb912fb18c8582ff43f94ae5c763cebe311872384fd7", :_id=>{:$ne=>BSON::ObjectId('5bb624633541597507000008')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000008'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Amazing Client App", "uid"=>"5a2a5243190282eb7a9fdb912fb18c8582ff43f94ae5c763cebe311872384fd7", "secret"=>"05b37844f2bcb94be7e3eeadd3235fb143a1b12b0735251a0defb8169311a576", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000008'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Amazing Client App", "uid"=>"5a2a5243190282eb7a9fdb912fb18c8582ff43f94ae5c763cebe311872384fd7", "secret"=>"05b37844f2bcb94be7e3eeadd3235fb143a1b12b0735251a0defb8169311a576", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d3ef3de40f90ff58bda4027ea324e73ca42e01560022e52c357efd78f8298e8f", :_id=>{:$ne=>BSON::ObjectId('5bb624633541597507000009')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000009'), "application_id"=>BSON::ObjectId('5bb624633541597507000008'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624633541597507000007'), "token"=>"d3ef3de40f90ff58bda4027ea324e73ca42e01560022e52c357efd78f8298e8f", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000009'), "application_id"=>BSON::ObjectId('5bb624633541597507000008'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624633541597507000007'), "token"=>"d3ef3de40f90ff58bda4027ea324e73ca42e01560022e52c357efd78f8298e8f", "expires_in"=>7200}) Started GET "/oauth/authorized_applications" for 127.0.0.1 at 2018-10-04 17:32:03 +0300 Processing by Doorkeeper::AuthorizedApplicationsController#index as HTML MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:resource_owner_id=>BSON::ObjectId('5bb624633541597507000007'), :revoked_at=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>{:$in=>[BSON::ObjectId('5bb624633541597507000008')]}}) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorized_applications/_delete_form.html.erb (0.3ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorized_applications/index.html.erb within layouts/doorkeeper/application (0.7ms) Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb62463354159750700000a'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb62463354159750700000a'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3512795188e93a8c075d0dff9b1c9eda2961659e8e29afdeb5b32b945de905f6", :_id=>{:$ne=>BSON::ObjectId('5bb62463354159750700000b')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62463354159750700000b'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Amazing Client App", "uid"=>"3512795188e93a8c075d0dff9b1c9eda2961659e8e29afdeb5b32b945de905f6", "secret"=>"a4cc2c76f9b34310cc6f8df5a1839daa9653bc7f8aa6bef1bb5556a8af92ede1", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62463354159750700000b'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Amazing Client App", "uid"=>"3512795188e93a8c075d0dff9b1c9eda2961659e8e29afdeb5b32b945de905f6", "secret"=>"a4cc2c76f9b34310cc6f8df5a1839daa9653bc7f8aa6bef1bb5556a8af92ede1", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e79a7fef38ac9b01c1a3e1e65ee07f32aab78d395b0f22dcff3105152aaa86ac", :_id=>{:$ne=>BSON::ObjectId('5bb62463354159750700000c')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62463354159750700000c'), "application_id"=>BSON::ObjectId('5bb62463354159750700000b'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62463354159750700000a'), "token"=>"e79a7fef38ac9b01c1a3e1e65ee07f32aab78d395b0f22dcff3105152aaa86ac", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62463354159750700000c'), "application_id"=>BSON::ObjectId('5bb62463354159750700000b'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62463354159750700000a'), "token"=>"e79a7fef38ac9b01c1a3e1e65ee07f32aab78d395b0f22dcff3105152aaa86ac", "expires_in"=>7200}) Started GET "/oauth/authorized_applications" for 127.0.0.1 at 2018-10-04 17:32:03 +0300 Processing by Doorkeeper::AuthorizedApplicationsController#index as HTML MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:resource_owner_id=>BSON::ObjectId('5bb62463354159750700000a'), :revoked_at=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>{:$in=>[BSON::ObjectId('5bb62463354159750700000b')]}}) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorized_applications/_delete_form.html.erb (0.4ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorized_applications/index.html.erb within layouts/doorkeeper/application (0.8ms) Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.0ms) Started DELETE "/oauth/authorized_applications/5bb62463354159750700000b" for 127.0.0.1 at 2018-10-04 17:32:03 +0300 Processing by Doorkeeper::AuthorizedApplicationsController#destroy as HTML Parameters: {"utf8"=>"✓", "commit"=>"Revoke", "id"=>"5bb62463354159750700000b"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb62463354159750700000b'), :resource_owner_id=>BSON::ObjectId('5bb62463354159750700000a'), :revoked_at=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb62463354159750700000c')}, :u=>{"_id"=>BSON::ObjectId('5bb62463354159750700000c'), "application_id"=>BSON::ObjectId('5bb62463354159750700000b'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62463354159750700000a'), "token"=>"e79a7fef38ac9b01c1a3e1e65ee07f32aab78d395b0f22dcff3105152aaa86ac", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb62463354159750700000c')}, {"_id"=>BSON::ObjectId('5bb62463354159750700000c'), "application_id"=>BSON::ObjectId('5bb62463354159750700000b'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62463354159750700000a'), "token"=>"e79a7fef38ac9b01c1a3e1e65ee07f32aab78d395b0f22dcff3105152aaa86ac", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Redirected to http://www.example.com/oauth/authorized_applications Completed 302 Found in 3ms (ActiveRecord: 0.0ms) Started GET "/oauth/authorized_applications" for 127.0.0.1 at 2018-10-04 17:32:03 +0300 Processing by Doorkeeper::AuthorizedApplicationsController#index as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:resource_owner_id=>BSON::ObjectId('5bb62463354159750700000a'), :revoked_at=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>[]}) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorized_applications/index.html.erb within layouts/doorkeeper/application (0.2ms) Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.0ms) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Started POST "/oauth/token" for 127.0.0.1 at 2018-10-04 17:32:03 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"grant_type"=>"client_credentials"} Completed 401 Unauthorized in 0ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"948686a6774cc71842ab552103eb28dd1ea9ac85738a0673e6d3d7d1b2472b81", :_id=>{:$ne=>BSON::ObjectId('5bb62463354159750700000d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62463354159750700000d'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 1", "uid"=>"948686a6774cc71842ab552103eb28dd1ea9ac85738a0673e6d3d7d1b2472b81", "secret"=>"df73b56def4ed588fade34dfc104880f6f28b45de75ad82d0e3c2aefaf225665", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62463354159750700000d'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 1", "uid"=>"948686a6774cc71842ab552103eb28dd1ea9ac85738a0673e6d3d7d1b2472b81", "secret"=>"df73b56def4ed588fade34dfc104880f6f28b45de75ad82d0e3c2aefaf225665", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Started POST "/oauth/token" for 127.0.0.1 at 2018-10-04 17:32:03 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"grant_type"=>"client_credentials"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"948686a6774cc71842ab552103eb28dd1ea9ac85738a0673e6d3d7d1b2472b81"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb62463354159750700000d')}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"fa2ac15f15a15453ab7cf11566615d00c2daf3e0a0ef5916aef95255a4426a17", :_id=>{:$ne=>BSON::ObjectId('5bb62463354159750700000e')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62463354159750700000e'), "application_id"=>BSON::ObjectId('5bb62463354159750700000d'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>nil, "token"=>"fa2ac15f15a15453ab7cf11566615d00c2daf3e0a0ef5916aef95255a4426a17", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62463354159750700000e'), "application_id"=>BSON::ObjectId('5bb62463354159750700000d'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>nil, "token"=>"fa2ac15f15a15453ab7cf11566615d00c2daf3e0a0ef5916aef95255a4426a17", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 6ms MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"35583af257810aecd19a689ff40e9a2b674dfe3df99b887d4a749b911050bee4", :_id=>{:$ne=>BSON::ObjectId('5bb62463354159750700000f')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62463354159750700000f'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 2", "uid"=>"35583af257810aecd19a689ff40e9a2b674dfe3df99b887d4a749b911050bee4", "secret"=>"44654565741944ded01f03024316cff24d578e7e4e40139a92a2a91f3aeb05fb", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62463354159750700000f'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 2", "uid"=>"35583af257810aecd19a689ff40e9a2b674dfe3df99b887d4a749b911050bee4", "secret"=>"44654565741944ded01f03024316cff24d578e7e4e40139a92a2a91f3aeb05fb", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Started POST "/oauth/token" for 127.0.0.1 at 2018-10-04 17:32:03 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"grant_type"=>"client_credentials", "scope"=>"write"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"35583af257810aecd19a689ff40e9a2b674dfe3df99b887d4a749b911050bee4"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb62463354159750700000f')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"df5051e9febd0a3392861430effac32e8d933a6b4e29f42eb9dfe99203f888ff", :_id=>{:$ne=>BSON::ObjectId('5bb624633541597507000010')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000010'), "application_id"=>BSON::ObjectId('5bb62463354159750700000f'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>nil, "token"=>"df5051e9febd0a3392861430effac32e8d933a6b4e29f42eb9dfe99203f888ff", "expires_in"=>7200, "scopes"=>"write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000010'), "application_id"=>BSON::ObjectId('5bb62463354159750700000f'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>nil, "token"=>"df5051e9febd0a3392861430effac32e8d933a6b4e29f42eb9dfe99203f888ff", "expires_in"=>7200, "scopes"=>"write"}) Completed 200 OK in 5ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ea62621d191e7af757a677cf9b7efc7499688ab0183086e2254f3a28661c292e", :_id=>{:$ne=>BSON::ObjectId('5bb624633541597507000011')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000011'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 3", "uid"=>"ea62621d191e7af757a677cf9b7efc7499688ab0183086e2254f3a28661c292e", "secret"=>"269a20c397d607ec6da18f93f7d8f6c2259237a94bbdf62a6100ad425a373270", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000011'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 3", "uid"=>"ea62621d191e7af757a677cf9b7efc7499688ab0183086e2254f3a28661c292e", "secret"=>"269a20c397d607ec6da18f93f7d8f6c2259237a94bbdf62a6100ad425a373270", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Started POST "/oauth/token" for 127.0.0.1 at 2018-10-04 17:32:03 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"grant_type"=>"client_credentials", "scope"=>"public"} MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ea62621d191e7af757a677cf9b7efc7499688ab0183086e2254f3a28661c292e"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624633541597507000011')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e47d2455a5ce3bb720b920f8c2ab15b2dcc58d0503292a0b5bf2aaa5a9adfe7f", :_id=>{:$ne=>BSON::ObjectId('5bb624633541597507000012')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000012'), "application_id"=>BSON::ObjectId('5bb624633541597507000011'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>nil, "token"=>"e47d2455a5ce3bb720b920f8c2ab15b2dcc58d0503292a0b5bf2aaa5a9adfe7f", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000012'), "application_id"=>BSON::ObjectId('5bb624633541597507000011'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>nil, "token"=>"e47d2455a5ce3bb720b920f8c2ab15b2dcc58d0503292a0b5bf2aaa5a9adfe7f", "expires_in"=>7200, "scopes"=>"public"}) Completed 200 OK in 6ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f1b93b2f5493d51341b98b3c474dcdc0ef337dcfc3a1006ba76c7d6accd0093f", :_id=>{:$ne=>BSON::ObjectId('5bb624633541597507000013')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000013'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 4", "uid"=>"f1b93b2f5493d51341b98b3c474dcdc0ef337dcfc3a1006ba76c7d6accd0093f", "secret"=>"21f16cf1bab9ea1fdae1edb8a6995b45caf7421576eeca4632f25bbe1e6ce28d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000013'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 4", "uid"=>"f1b93b2f5493d51341b98b3c474dcdc0ef337dcfc3a1006ba76c7d6accd0093f", "secret"=>"21f16cf1bab9ea1fdae1edb8a6995b45caf7421576eeca4632f25bbe1e6ce28d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Started POST "/oauth/token" for 127.0.0.1 at 2018-10-04 17:32:03 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"grant_type"=>"client_credentials", "scope"=>"random"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f1b93b2f5493d51341b98b3c474dcdc0ef337dcfc3a1006ba76c7d6accd0093f"}).limit(-1) Completed 401 Unauthorized in 2ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"37122e0c7d5a20539903e1985035d90776aa0da943f5987d7b31329d804936a3", :_id=>{:$ne=>BSON::ObjectId('5bb624633541597507000014')}}, {:_id=>1}).limit(-1) MONGODB (2.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000014'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 5", "uid"=>"37122e0c7d5a20539903e1985035d90776aa0da943f5987d7b31329d804936a3", "secret"=>"aa56a7746339f632114377ee6ccbed7dd4cbf5900787224a122432b0a0b784a1", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (2.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000014'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 5", "uid"=>"37122e0c7d5a20539903e1985035d90776aa0da943f5987d7b31329d804936a3", "secret"=>"aa56a7746339f632114377ee6ccbed7dd4cbf5900787224a122432b0a0b784a1", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Started GET "/oauth/applications/5bb624633541597507000014" for 127.0.0.1 at 2018-10-04 17:32:03 +0300 Processing by Doorkeeper::ApplicationsController#show as HTML Parameters: {"id"=>"5bb624633541597507000014"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624633541597507000014')}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (1.1ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/show.html.erb within layouts/doorkeeper/admin (5.1ms) Completed 200 OK in 18ms (Views: 12.9ms | ActiveRecord: 0.0ms) Started DELETE "/oauth/applications/5bb624633541597507000014" for 127.0.0.1 at 2018-10-04 17:32:03 +0300 Processing by Doorkeeper::ApplicationsController#destroy as HTML Parameters: {"utf8"=>"✓", "commit"=>"Destroy", "id"=>"5bb624633541597507000014"} MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624633541597507000014')}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:application_id=>BSON::ObjectId('5bb624633541597507000014')}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb624633541597507000014')}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb624633541597507000014')}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{:_id=>{:$in=>[BSON::ObjectId('5bb624633541597507000014')]}}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({:_id=>{:$in=>[BSON::ObjectId('5bb624633541597507000014')]}}) Redirected to http://www.example.com/oauth/applications Completed 302 Found in 9ms (ActiveRecord: 0.0ms) Started GET "/oauth/applications" for 127.0.0.1 at 2018-10-04 17:32:03 +0300 Processing by Doorkeeper::ApplicationsController#index as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({}).sort([["created_at", 1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/index.html.erb within layouts/doorkeeper/admin (2.5ms) Completed 200 OK in 6ms (Views: 6.0ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a71f84d0300780b878e525998ff0d7f875cc99d7124b63ec9403f8b035bcf995", :_id=>{:$ne=>BSON::ObjectId('5bb624633541597507000015')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000015'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 6", "uid"=>"a71f84d0300780b878e525998ff0d7f875cc99d7124b63ec9403f8b035bcf995", "secret"=>"343c81509cc4066939f1d67c1bd49bb469662693e7978ddb5903ea7b0ee174be", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000015'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 6", "uid"=>"a71f84d0300780b878e525998ff0d7f875cc99d7124b63ec9403f8b035bcf995", "secret"=>"343c81509cc4066939f1d67c1bd49bb469662693e7978ddb5903ea7b0ee174be", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Started GET "/oauth/applications" for 127.0.0.1 at 2018-10-04 17:32:03 +0300 Processing by Doorkeeper::ApplicationsController#index as HTML MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({}).sort([["created_at", 1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (1.3ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/index.html.erb within layouts/doorkeeper/admin (4.6ms) Completed 200 OK in 7ms (Views: 7.1ms | ActiveRecord: 0.0ms) Started DELETE "/oauth/applications/5bb624633541597507000015" for 127.0.0.1 at 2018-10-04 17:32:03 +0300 Processing by Doorkeeper::ApplicationsController#destroy as HTML Parameters: {"utf8"=>"✓", "commit"=>"Destroy", "id"=>"5bb624633541597507000015"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624633541597507000015')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:application_id=>BSON::ObjectId('5bb624633541597507000015')}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb624633541597507000015')}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb624633541597507000015')}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{:_id=>{:$in=>[BSON::ObjectId('5bb624633541597507000015')]}}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({:_id=>{:$in=>[BSON::ObjectId('5bb624633541597507000015')]}}) Redirected to http://www.example.com/oauth/applications Completed 302 Found in 6ms (ActiveRecord: 0.0ms) Started GET "/oauth/applications" for 127.0.0.1 at 2018-10-04 17:32:03 +0300 Processing by Doorkeeper::ApplicationsController#index as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({}).sort([["created_at", 1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/index.html.erb within layouts/doorkeeper/admin (1.7ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"587c06470548e3f35370ed07ada8ae8dd23d2055c53ce0da641fa773b807302f", :_id=>{:$ne=>BSON::ObjectId('5bb624633541597507000017')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000017'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 7", "uid"=>"587c06470548e3f35370ed07ada8ae8dd23d2055c53ce0da641fa773b807302f", "secret"=>"55bd5a1c38d8bdf5b292e2c85fedf03feeb878ee14ec1fc7ea93a811127ff776", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000017'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 7", "uid"=>"587c06470548e3f35370ed07ada8ae8dd23d2055c53ce0da641fa773b807302f", "secret"=>"55bd5a1c38d8bdf5b292e2c85fedf03feeb878ee14ec1fc7ea93a811127ff776", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"b1494270a7fabcbe91e97dc1391b4725e7076eb934226c95f0f891bd0d11035c", :_id=>{:$ne=>BSON::ObjectId('5bb624633541597507000016')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000016'), "application_id"=>BSON::ObjectId('5bb624633541597507000017'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>1, "token"=>"b1494270a7fabcbe91e97dc1391b4725e7076eb934226c95f0f891bd0d11035c", "refresh_token"=>"refresh_token", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000016'), "application_id"=>BSON::ObjectId('5bb624633541597507000017'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>1, "token"=>"b1494270a7fabcbe91e97dc1391b4725e7076eb934226c95f0f891bd0d11035c", "refresh_token"=>"refresh_token", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a400f4816e9c32803ffe71f666a8fb02e32ccc632e3d743833d3d7ccc5b10bae", :_id=>{:$ne=>BSON::ObjectId('5bb624633541597507000019')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000019'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 8", "uid"=>"a400f4816e9c32803ffe71f666a8fb02e32ccc632e3d743833d3d7ccc5b10bae", "secret"=>"af08ee5670c195a2d2ba0456129036aa2e6a3b0af77c907c168857cecafae878", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000019'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 8", "uid"=>"a400f4816e9c32803ffe71f666a8fb02e32ccc632e3d743833d3d7ccc5b10bae", "secret"=>"af08ee5670c195a2d2ba0456129036aa2e6a3b0af77c907c168857cecafae878", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"11e08cd936beb76bee69b25e80d511aa06f950466a9dc133f8cf6940cbb7a5d6", :_id=>{:$ne=>BSON::ObjectId('5bb624633541597507000018')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000018'), "application_id"=>BSON::ObjectId('5bb624633541597507000019'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>2, "token"=>"11e08cd936beb76bee69b25e80d511aa06f950466a9dc133f8cf6940cbb7a5d6", "previous_refresh_token"=>"refresh_token", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000018'), "application_id"=>BSON::ObjectId('5bb624633541597507000019'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>2, "token"=>"11e08cd936beb76bee69b25e80d511aa06f950466a9dc133f8cf6940cbb7a5d6", "previous_refresh_token"=>"refresh_token", "expires_in"=>7200}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"refresh_token"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb624633541597507000016')}, :u=>{"_id"=>BSON::ObjectId('5bb624633541597507000016'), "application_id"=>BSON::ObjectId('5bb624633541597507000017'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>1, "token"=>"b1494270a7fabcbe91e97dc1391b4725e7076eb934226c95f0f891bd0d11035c", "refresh_token"=>"refresh_token", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb624633541597507000016')}, {"_id"=>BSON::ObjectId('5bb624633541597507000016'), "application_id"=>BSON::ObjectId('5bb624633541597507000017'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>1, "token"=>"b1494270a7fabcbe91e97dc1391b4725e7076eb934226c95f0f891bd0d11035c", "refresh_token"=>"refresh_token", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb624633541597507000018')}, :u=>{"_id"=>BSON::ObjectId('5bb624633541597507000018'), "application_id"=>BSON::ObjectId('5bb624633541597507000019'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>2, "token"=>"11e08cd936beb76bee69b25e80d511aa06f950466a9dc133f8cf6940cbb7a5d6", "previous_refresh_token"=>"", "expires_in"=>7200}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb624633541597507000018')}, {"_id"=>BSON::ObjectId('5bb624633541597507000018'), "application_id"=>BSON::ObjectId('5bb624633541597507000019'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>2, "token"=>"11e08cd936beb76bee69b25e80d511aa06f950466a9dc133f8cf6940cbb7a5d6", "previous_refresh_token"=>"", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb624633541597507000016')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"db447d9fe62f0b935ee9b6fcb2a4f140aed40531625489ed774cf0d4cf203d2a", :_id=>{:$ne=>BSON::ObjectId('5bb62463354159750700001a')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62463354159750700001a'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 9", "uid"=>"db447d9fe62f0b935ee9b6fcb2a4f140aed40531625489ed774cf0d4cf203d2a", "secret"=>"f055eb40e44ba958ee33ea7b503a8661e7f0bef7d508c1f998842f90cb59a6d0", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62463354159750700001a'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 9", "uid"=>"db447d9fe62f0b935ee9b6fcb2a4f140aed40531625489ed774cf0d4cf203d2a", "secret"=>"f055eb40e44ba958ee33ea7b503a8661e7f0bef7d508c1f998842f90cb59a6d0", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb62463354159750700001b'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb62463354159750700001b'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"17d041f9345551b5858fd985773e260f3d99fda1150de025af80ba3ac0081403", :_id=>{:$ne=>BSON::ObjectId('5bb62463354159750700001c')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62463354159750700001c'), "application_id"=>BSON::ObjectId('5bb62463354159750700001a'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62463354159750700001b'), "token"=>"17d041f9345551b5858fd985773e260f3d99fda1150de025af80ba3ac0081403", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62463354159750700001c'), "application_id"=>BSON::ObjectId('5bb62463354159750700001a'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62463354159750700001b'), "token"=>"17d041f9345551b5858fd985773e260f3d99fda1150de025af80ba3ac0081403", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb62463354159750700001c')}, :u=>{"_id"=>BSON::ObjectId('5bb62463354159750700001c'), "application_id"=>BSON::ObjectId('5bb62463354159750700001a'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62463354159750700001b'), "token"=>"17d041f9345551b5858fd985773e260f3d99fda1150de025af80ba3ac0081403"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb62463354159750700001c')}, {"_id"=>BSON::ObjectId('5bb62463354159750700001c'), "application_id"=>BSON::ObjectId('5bb62463354159750700001a'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62463354159750700001b'), "token"=>"17d041f9345551b5858fd985773e260f3d99fda1150de025af80ba3ac0081403"}) Started GET "/full_protected_resources" for 127.0.0.1 at 2018-10-04 17:32:03 +0300 Processing by FullProtectedResourcesController#index as HTML MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"17d041f9345551b5858fd985773e260f3d99fda1150de025af80ba3ac0081403"}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb62463354159750700001c')}, :u=>{"_id"=>BSON::ObjectId('5bb62463354159750700001c'), "application_id"=>BSON::ObjectId('5bb62463354159750700001a'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62463354159750700001b'), "token"=>"17d041f9345551b5858fd985773e260f3d99fda1150de025af80ba3ac0081403", "previous_refresh_token"=>""}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb62463354159750700001c')}, {"_id"=>BSON::ObjectId('5bb62463354159750700001c'), "application_id"=>BSON::ObjectId('5bb62463354159750700001a'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62463354159750700001b'), "token"=>"17d041f9345551b5858fd985773e260f3d99fda1150de025af80ba3ac0081403", "previous_refresh_token"=>""}) Rendered text template (0.0ms) Completed 200 OK in 9ms (Views: 5.0ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7c2a1faabd5e3408f4664f3ddedadc93f14bdb81478b58099b8e30d14f8c4ad8", :_id=>{:$ne=>BSON::ObjectId('5bb62463354159750700001d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62463354159750700001d'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 10", "uid"=>"7c2a1faabd5e3408f4664f3ddedadc93f14bdb81478b58099b8e30d14f8c4ad8", "secret"=>"25ac7c8f68113bee4369488009b054abb04fd43de44359e2df7121dfc8823bef", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62463354159750700001d'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 10", "uid"=>"7c2a1faabd5e3408f4664f3ddedadc93f14bdb81478b58099b8e30d14f8c4ad8", "secret"=>"25ac7c8f68113bee4369488009b054abb04fd43de44359e2df7121dfc8823bef", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb62463354159750700001e'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb62463354159750700001e'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"b52c67482afd54ddb37c22260b9fe66e9b50933709014d1d62fd704f3b65a1b0", :_id=>{:$ne=>BSON::ObjectId('5bb62463354159750700001f')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62463354159750700001f'), "application_id"=>BSON::ObjectId('5bb62463354159750700001d'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62463354159750700001e'), "token"=>"b52c67482afd54ddb37c22260b9fe66e9b50933709014d1d62fd704f3b65a1b0", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62463354159750700001f'), "application_id"=>BSON::ObjectId('5bb62463354159750700001d'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62463354159750700001e'), "token"=>"b52c67482afd54ddb37c22260b9fe66e9b50933709014d1d62fd704f3b65a1b0", "expires_in"=>7200}) Started GET "/full_protected_resources" for 127.0.0.1 at 2018-10-04 17:32:03 +0300 Processing by FullProtectedResourcesController#index as HTML MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"invalid"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"invalid"}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"invalid"}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"invalid"}).limit(-1) Filter chain halted as :doorkeeper_authorize! rendered or redirected Completed 401 Unauthorized in 2ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a82b60999106425d9e2f476d732e44ae776b0b2291802172eb982d20d7043418", :_id=>{:$ne=>BSON::ObjectId('5bb624633541597507000020')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000020'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 11", "uid"=>"a82b60999106425d9e2f476d732e44ae776b0b2291802172eb982d20d7043418", "secret"=>"540126ab8e236fa951b834d672fcc9fc3a06182af59801737773d5a693d19e6e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000020'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 11", "uid"=>"a82b60999106425d9e2f476d732e44ae776b0b2291802172eb982d20d7043418", "secret"=>"540126ab8e236fa951b834d672fcc9fc3a06182af59801737773d5a693d19e6e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000021'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000021'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"45b7131f62b1b4503a3744560c60e4b9b96e1ad84e45d7715d20f898b6a684b4", :_id=>{:$ne=>BSON::ObjectId('5bb624633541597507000022')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000022'), "application_id"=>BSON::ObjectId('5bb624633541597507000020'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624633541597507000021'), "token"=>"45b7131f62b1b4503a3744560c60e4b9b96e1ad84e45d7715d20f898b6a684b4", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000022'), "application_id"=>BSON::ObjectId('5bb624633541597507000020'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624633541597507000021'), "token"=>"45b7131f62b1b4503a3744560c60e4b9b96e1ad84e45d7715d20f898b6a684b4", "expires_in"=>7200}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb624633541597507000022')}, :u=>{"_id"=>BSON::ObjectId('5bb624633541597507000022'), "application_id"=>BSON::ObjectId('5bb624633541597507000020'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624633541597507000021'), "token"=>"45b7131f62b1b4503a3744560c60e4b9b96e1ad84e45d7715d20f898b6a684b4", "expires_in"=>7200, "scopes"=>"write"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb624633541597507000022')}, {"_id"=>BSON::ObjectId('5bb624633541597507000022'), "application_id"=>BSON::ObjectId('5bb624633541597507000020'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624633541597507000021'), "token"=>"45b7131f62b1b4503a3744560c60e4b9b96e1ad84e45d7715d20f898b6a684b4", "expires_in"=>7200, "scopes"=>"write"}) Started GET "/full_protected_resources/1.json" for 127.0.0.1 at 2018-10-04 17:32:03 +0300 Processing by FullProtectedResourcesController#show as JSON Parameters: {"id"=>"1"} MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"45b7131f62b1b4503a3744560c60e4b9b96e1ad84e45d7715d20f898b6a684b4"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb624633541597507000022')}, :u=>{"_id"=>BSON::ObjectId('5bb624633541597507000022'), "application_id"=>BSON::ObjectId('5bb624633541597507000020'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624633541597507000021'), "token"=>"45b7131f62b1b4503a3744560c60e4b9b96e1ad84e45d7715d20f898b6a684b4", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"write"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb624633541597507000022')}, {"_id"=>BSON::ObjectId('5bb624633541597507000022'), "application_id"=>BSON::ObjectId('5bb624633541597507000020'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624633541597507000021'), "token"=>"45b7131f62b1b4503a3744560c60e4b9b96e1ad84e45d7715d20f898b6a684b4", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"write"}) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"390011baaee5a63c545250171d730a060a97dc1193df7889af8a01d6292e1602", :_id=>{:$ne=>BSON::ObjectId('5bb624633541597507000023')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000023'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 12", "uid"=>"390011baaee5a63c545250171d730a060a97dc1193df7889af8a01d6292e1602", "secret"=>"1d5071bafa7370a0ec5df5014e6b2dbd74de4388a194d33e21e0a033d908204c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000023'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 12", "uid"=>"390011baaee5a63c545250171d730a060a97dc1193df7889af8a01d6292e1602", "secret"=>"1d5071bafa7370a0ec5df5014e6b2dbd74de4388a194d33e21e0a033d908204c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000024'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000024'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"c0c34b414185afc8dee616d2ca62346a278bdf9a8580aea2985a9a6114ef1ea1", :_id=>{:$ne=>BSON::ObjectId('5bb624633541597507000025')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000025'), "application_id"=>BSON::ObjectId('5bb624633541597507000023'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624633541597507000024'), "token"=>"c0c34b414185afc8dee616d2ca62346a278bdf9a8580aea2985a9a6114ef1ea1", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000025'), "application_id"=>BSON::ObjectId('5bb624633541597507000023'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624633541597507000024'), "token"=>"c0c34b414185afc8dee616d2ca62346a278bdf9a8580aea2985a9a6114ef1ea1", "expires_in"=>7200}) Started GET "/full_protected_resources" for 127.0.0.1 at 2018-10-04 17:32:03 +0300 Processing by FullProtectedResourcesController#index as HTML Filter chain halted as :doorkeeper_authorize! rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6336b77faa224c89fd1ba797f17e69eea0d7ba7d0cdc8aebeb7b3ff78258fb51", :_id=>{:$ne=>BSON::ObjectId('5bb624633541597507000026')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000026'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 13", "uid"=>"6336b77faa224c89fd1ba797f17e69eea0d7ba7d0cdc8aebeb7b3ff78258fb51", "secret"=>"8b5b6535500122afede8a691e338e14a20898a1ed803275a00fe9d2eb8a590e1", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000026'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 13", "uid"=>"6336b77faa224c89fd1ba797f17e69eea0d7ba7d0cdc8aebeb7b3ff78258fb51", "secret"=>"8b5b6535500122afede8a691e338e14a20898a1ed803275a00fe9d2eb8a590e1", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000027'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000027'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"14d440077d59f2ccc135375d1174d7b9e42a596ac014607e69e7042b7f009b7e", :_id=>{:$ne=>BSON::ObjectId('5bb624633541597507000028')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000028'), "application_id"=>BSON::ObjectId('5bb624633541597507000026'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624633541597507000027'), "token"=>"14d440077d59f2ccc135375d1174d7b9e42a596ac014607e69e7042b7f009b7e", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000028'), "application_id"=>BSON::ObjectId('5bb624633541597507000026'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624633541597507000027'), "token"=>"14d440077d59f2ccc135375d1174d7b9e42a596ac014607e69e7042b7f009b7e", "expires_in"=>7200}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb624633541597507000028')}, :u=>{"_id"=>BSON::ObjectId('5bb624633541597507000028'), "application_id"=>BSON::ObjectId('5bb624633541597507000026'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624633541597507000027'), "token"=>"14d440077d59f2ccc135375d1174d7b9e42a596ac014607e69e7042b7f009b7e", "expires_in"=>-100}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb624633541597507000028')}, {"_id"=>BSON::ObjectId('5bb624633541597507000028'), "application_id"=>BSON::ObjectId('5bb624633541597507000026'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624633541597507000027'), "token"=>"14d440077d59f2ccc135375d1174d7b9e42a596ac014607e69e7042b7f009b7e", "expires_in"=>-100}) Started GET "/full_protected_resources" for 127.0.0.1 at 2018-10-04 17:32:03 +0300 Processing by FullProtectedResourcesController#index as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"14d440077d59f2ccc135375d1174d7b9e42a596ac014607e69e7042b7f009b7e"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb624633541597507000028')}, :u=>{"_id"=>BSON::ObjectId('5bb624633541597507000028'), "application_id"=>BSON::ObjectId('5bb624633541597507000026'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624633541597507000027'), "token"=>"14d440077d59f2ccc135375d1174d7b9e42a596ac014607e69e7042b7f009b7e", "previous_refresh_token"=>"", "expires_in"=>-100}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb624633541597507000028')}, {"_id"=>BSON::ObjectId('5bb624633541597507000028'), "application_id"=>BSON::ObjectId('5bb624633541597507000026'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624633541597507000027'), "token"=>"14d440077d59f2ccc135375d1174d7b9e42a596ac014607e69e7042b7f009b7e", "previous_refresh_token"=>"", "expires_in"=>-100}) Filter chain halted as :doorkeeper_authorize! rendered or redirected Completed 401 Unauthorized in 3ms (ActiveRecord: 0.0ms) MONGODB (5.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"42318bfc5cfe6334cfd22522737afd1722494bb19c3edde2de61034f405e3681", :_id=>{:$ne=>BSON::ObjectId('5bb624633541597507000029')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000029'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 14", "uid"=>"42318bfc5cfe6334cfd22522737afd1722494bb19c3edde2de61034f405e3681", "secret"=>"c315f16de2e40d207d9ea7aa87c3da7ed469257743d0eee7c1259a90adac48d9", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000029'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 14", "uid"=>"42318bfc5cfe6334cfd22522737afd1722494bb19c3edde2de61034f405e3681", "secret"=>"c315f16de2e40d207d9ea7aa87c3da7ed469257743d0eee7c1259a90adac48d9", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb62463354159750700002a'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb62463354159750700002a'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"910ac880a96efc440f2ccd6d8b396e2441093536c8dbedf92ce002a7cb6896be", :_id=>{:$ne=>BSON::ObjectId('5bb62463354159750700002b')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62463354159750700002b'), "application_id"=>BSON::ObjectId('5bb624633541597507000029'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62463354159750700002a'), "token"=>"910ac880a96efc440f2ccd6d8b396e2441093536c8dbedf92ce002a7cb6896be", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62463354159750700002b'), "application_id"=>BSON::ObjectId('5bb624633541597507000029'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62463354159750700002a'), "token"=>"910ac880a96efc440f2ccd6d8b396e2441093536c8dbedf92ce002a7cb6896be", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb62463354159750700002b')}, :u=>{"_id"=>BSON::ObjectId('5bb62463354159750700002b'), "application_id"=>BSON::ObjectId('5bb624633541597507000029'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62463354159750700002a'), "token"=>"910ac880a96efc440f2ccd6d8b396e2441093536c8dbedf92ce002a7cb6896be", "expires_in"=>7200}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb62463354159750700002b')}, {"_id"=>BSON::ObjectId('5bb62463354159750700002b'), "application_id"=>BSON::ObjectId('5bb624633541597507000029'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62463354159750700002a'), "token"=>"910ac880a96efc440f2ccd6d8b396e2441093536c8dbedf92ce002a7cb6896be", "expires_in"=>7200}) Started GET "/full_protected_resources/1.json" for 127.0.0.1 at 2018-10-04 17:32:03 +0300 Processing by FullProtectedResourcesController#show as JSON Parameters: {"id"=>"1"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"910ac880a96efc440f2ccd6d8b396e2441093536c8dbedf92ce002a7cb6896be"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb62463354159750700002b')}, :u=>{"_id"=>BSON::ObjectId('5bb62463354159750700002b'), "application_id"=>BSON::ObjectId('5bb624633541597507000029'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62463354159750700002a'), "token"=>"910ac880a96efc440f2ccd6d8b396e2441093536c8dbedf92ce002a7cb6896be", "previous_refresh_token"=>"", "expires_in"=>7200}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb62463354159750700002b')}, {"_id"=>BSON::ObjectId('5bb62463354159750700002b'), "application_id"=>BSON::ObjectId('5bb624633541597507000029'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62463354159750700002a'), "token"=>"910ac880a96efc440f2ccd6d8b396e2441093536c8dbedf92ce002a7cb6896be", "previous_refresh_token"=>"", "expires_in"=>7200}) Filter chain halted as # rendered or redirected Completed 403 Forbidden in 3ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b41af27779572dc12c513debe67d9f2006a464bae43e8b1886a994108243682e", :_id=>{:$ne=>BSON::ObjectId('5bb62463354159750700002c')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62463354159750700002c'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 15", "uid"=>"b41af27779572dc12c513debe67d9f2006a464bae43e8b1886a994108243682e", "secret"=>"ddf6288ee12eeb7a0c68d29e16a6e165bf7e527ff4890cd8dc68ed27433f67ad", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62463354159750700002c'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 15", "uid"=>"b41af27779572dc12c513debe67d9f2006a464bae43e8b1886a994108243682e", "secret"=>"ddf6288ee12eeb7a0c68d29e16a6e165bf7e527ff4890cd8dc68ed27433f67ad", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb62463354159750700002d'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb62463354159750700002d'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"64f28655f0eb7597975b83eac23d487f6d448446b87222ccfa8c9411dd435e82", :_id=>{:$ne=>BSON::ObjectId('5bb62463354159750700002e')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62463354159750700002e'), "application_id"=>BSON::ObjectId('5bb62463354159750700002c'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62463354159750700002d'), "token"=>"64f28655f0eb7597975b83eac23d487f6d448446b87222ccfa8c9411dd435e82", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62463354159750700002e'), "application_id"=>BSON::ObjectId('5bb62463354159750700002c'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62463354159750700002d'), "token"=>"64f28655f0eb7597975b83eac23d487f6d448446b87222ccfa8c9411dd435e82", "expires_in"=>7200}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb62463354159750700002e')}, :u=>{"_id"=>BSON::ObjectId('5bb62463354159750700002e'), "application_id"=>BSON::ObjectId('5bb62463354159750700002c'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62463354159750700002d'), "token"=>"64f28655f0eb7597975b83eac23d487f6d448446b87222ccfa8c9411dd435e82", "expires_in"=>7200, "scopes"=>"admin"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb62463354159750700002e')}, {"_id"=>BSON::ObjectId('5bb62463354159750700002e'), "application_id"=>BSON::ObjectId('5bb62463354159750700002c'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62463354159750700002d'), "token"=>"64f28655f0eb7597975b83eac23d487f6d448446b87222ccfa8c9411dd435e82", "expires_in"=>7200, "scopes"=>"admin"}) Started GET "/full_protected_resources/1.json" for 127.0.0.1 at 2018-10-04 17:32:03 +0300 Processing by FullProtectedResourcesController#show as JSON Parameters: {"id"=>"1"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"64f28655f0eb7597975b83eac23d487f6d448446b87222ccfa8c9411dd435e82"}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb62463354159750700002e')}, :u=>{"_id"=>BSON::ObjectId('5bb62463354159750700002e'), "application_id"=>BSON::ObjectId('5bb62463354159750700002c'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62463354159750700002d'), "token"=>"64f28655f0eb7597975b83eac23d487f6d448446b87222ccfa8c9411dd435e82", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"admin"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb62463354159750700002e')}, {"_id"=>BSON::ObjectId('5bb62463354159750700002e'), "application_id"=>BSON::ObjectId('5bb62463354159750700002c'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62463354159750700002d'), "token"=>"64f28655f0eb7597975b83eac23d487f6d448446b87222ccfa8c9411dd435e82", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"admin"}) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"cbd605f8428558862fe3a30adfb597fc0d16af2969f0050336adb5c4225b117c", :_id=>{:$ne=>BSON::ObjectId('5bb62463354159750700002f')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62463354159750700002f'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 16", "uid"=>"cbd605f8428558862fe3a30adfb597fc0d16af2969f0050336adb5c4225b117c", "secret"=>"6e70ffe8c68c9ab4033e9275fd008d1e3a5d3b2790ce1d4418a31e8e1933e0cb", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62463354159750700002f'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 16", "uid"=>"cbd605f8428558862fe3a30adfb597fc0d16af2969f0050336adb5c4225b117c", "secret"=>"6e70ffe8c68c9ab4033e9275fd008d1e3a5d3b2790ce1d4418a31e8e1933e0cb", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000030'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000030'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f3e3b5bc5928aac7123f94a9a82bc1a30fd67d8d954c317dcbda4b32d5880877", :_id=>{:$ne=>BSON::ObjectId('5bb624633541597507000031')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000031'), "application_id"=>BSON::ObjectId('5bb62463354159750700002f'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624633541597507000030'), "token"=>"f3e3b5bc5928aac7123f94a9a82bc1a30fd67d8d954c317dcbda4b32d5880877", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000031'), "application_id"=>BSON::ObjectId('5bb62463354159750700002f'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624633541597507000030'), "token"=>"f3e3b5bc5928aac7123f94a9a82bc1a30fd67d8d954c317dcbda4b32d5880877", "expires_in"=>7200}) Started GET "/full_protected_resources" for 127.0.0.1 at 2018-10-04 17:32:03 +0300 Processing by FullProtectedResourcesController#index as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f3e3b5bc5928aac7123f94a9a82bc1a30fd67d8d954c317dcbda4b32d5880877"}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb624633541597507000031')}, :u=>{"_id"=>BSON::ObjectId('5bb624633541597507000031'), "application_id"=>BSON::ObjectId('5bb62463354159750700002f'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624633541597507000030'), "token"=>"f3e3b5bc5928aac7123f94a9a82bc1a30fd67d8d954c317dcbda4b32d5880877", "previous_refresh_token"=>"", "expires_in"=>7200}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb624633541597507000031')}, {"_id"=>BSON::ObjectId('5bb624633541597507000031'), "application_id"=>BSON::ObjectId('5bb62463354159750700002f'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624633541597507000030'), "token"=>"f3e3b5bc5928aac7123f94a9a82bc1a30fd67d8d954c317dcbda4b32d5880877", "previous_refresh_token"=>"", "expires_in"=>7200}) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2564e4bb25b2f04e46abf5cf27af2204d1e021a827519beeb3c4b4cf646dd823", :_id=>{:$ne=>BSON::ObjectId('5bb624633541597507000032')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000032'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 17", "uid"=>"2564e4bb25b2f04e46abf5cf27af2204d1e021a827519beeb3c4b4cf646dd823", "secret"=>"286799a77c8cb6419712222e0f2d4ddd10b6ef1dd4f4644847212049c63170ce", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000032'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 17", "uid"=>"2564e4bb25b2f04e46abf5cf27af2204d1e021a827519beeb3c4b4cf646dd823", "secret"=>"286799a77c8cb6419712222e0f2d4ddd10b6ef1dd4f4644847212049c63170ce", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000033'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000033'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"3f4b0a1442ad9107192db80aec977260ff694f629bdc7fb8f6fb25ff66b08ada", :_id=>{:$ne=>BSON::ObjectId('5bb624633541597507000034')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000034'), "application_id"=>BSON::ObjectId('5bb624633541597507000032'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624633541597507000033'), "token"=>"3f4b0a1442ad9107192db80aec977260ff694f629bdc7fb8f6fb25ff66b08ada", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000034'), "application_id"=>BSON::ObjectId('5bb624633541597507000032'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624633541597507000033'), "token"=>"3f4b0a1442ad9107192db80aec977260ff694f629bdc7fb8f6fb25ff66b08ada", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb624633541597507000034')}, :u=>{"_id"=>BSON::ObjectId('5bb624633541597507000034'), "application_id"=>BSON::ObjectId('5bb624633541597507000032'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624633541597507000033'), "token"=>"3f4b0a1442ad9107192db80aec977260ff694f629bdc7fb8f6fb25ff66b08ada", "expires_in"=>7200, "scopes"=>"write admin"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb624633541597507000034')}, {"_id"=>BSON::ObjectId('5bb624633541597507000034'), "application_id"=>BSON::ObjectId('5bb624633541597507000032'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624633541597507000033'), "token"=>"3f4b0a1442ad9107192db80aec977260ff694f629bdc7fb8f6fb25ff66b08ada", "expires_in"=>7200, "scopes"=>"write admin"}) Started GET "/full_protected_resources/1.json" for 127.0.0.1 at 2018-10-04 17:32:03 +0300 Processing by FullProtectedResourcesController#show as JSON Parameters: {"id"=>"1"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"3f4b0a1442ad9107192db80aec977260ff694f629bdc7fb8f6fb25ff66b08ada"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb624633541597507000034')}, :u=>{"_id"=>BSON::ObjectId('5bb624633541597507000034'), "application_id"=>BSON::ObjectId('5bb624633541597507000032'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624633541597507000033'), "token"=>"3f4b0a1442ad9107192db80aec977260ff694f629bdc7fb8f6fb25ff66b08ada", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"write admin"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb624633541597507000034')}, {"_id"=>BSON::ObjectId('5bb624633541597507000034'), "application_id"=>BSON::ObjectId('5bb624633541597507000032'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624633541597507000033'), "token"=>"3f4b0a1442ad9107192db80aec977260ff694f629bdc7fb8f6fb25ff66b08ada", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"write admin"}) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ad768c330a307ce41f3e4c1a54e78173da46c77e78be5501094cbcbcfd4da4a2", :_id=>{:$ne=>BSON::ObjectId('5bb624633541597507000035')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000035'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 18", "uid"=>"ad768c330a307ce41f3e4c1a54e78173da46c77e78be5501094cbcbcfd4da4a2", "secret"=>"1ba53855cf585123c38dcdb30f5dc374dd54a768396c5a5b17cf669038428a60", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000035'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 18", "uid"=>"ad768c330a307ce41f3e4c1a54e78173da46c77e78be5501094cbcbcfd4da4a2", "secret"=>"1ba53855cf585123c38dcdb30f5dc374dd54a768396c5a5b17cf669038428a60", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000036'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000036'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"666cfe142d15c5dc0ecdc7b6013e0910d45435c664cb51ecff72ddb694191aee", :_id=>{:$ne=>BSON::ObjectId('5bb624633541597507000037')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000037'), "application_id"=>BSON::ObjectId('5bb624633541597507000035'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624633541597507000036'), "token"=>"666cfe142d15c5dc0ecdc7b6013e0910d45435c664cb51ecff72ddb694191aee", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000037'), "application_id"=>BSON::ObjectId('5bb624633541597507000035'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624633541597507000036'), "token"=>"666cfe142d15c5dc0ecdc7b6013e0910d45435c664cb51ecff72ddb694191aee", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb624633541597507000037')}, :u=>{"_id"=>BSON::ObjectId('5bb624633541597507000037'), "application_id"=>BSON::ObjectId('5bb624633541597507000035'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624633541597507000036'), "token"=>"666cfe142d15c5dc0ecdc7b6013e0910d45435c664cb51ecff72ddb694191aee", "expires_in"=>7200, "scopes"=>"dummy"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb624633541597507000037')}, {"_id"=>BSON::ObjectId('5bb624633541597507000037'), "application_id"=>BSON::ObjectId('5bb624633541597507000035'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624633541597507000036'), "token"=>"666cfe142d15c5dc0ecdc7b6013e0910d45435c664cb51ecff72ddb694191aee", "expires_in"=>7200, "scopes"=>"dummy"}) Started GET "/full_protected_resources" for 127.0.0.1 at 2018-10-04 17:32:03 +0300 Processing by FullProtectedResourcesController#index as HTML MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"666cfe142d15c5dc0ecdc7b6013e0910d45435c664cb51ecff72ddb694191aee"}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb624633541597507000037')}, :u=>{"_id"=>BSON::ObjectId('5bb624633541597507000037'), "application_id"=>BSON::ObjectId('5bb624633541597507000035'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624633541597507000036'), "token"=>"666cfe142d15c5dc0ecdc7b6013e0910d45435c664cb51ecff72ddb694191aee", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"dummy"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb624633541597507000037')}, {"_id"=>BSON::ObjectId('5bb624633541597507000037'), "application_id"=>BSON::ObjectId('5bb624633541597507000035'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624633541597507000036'), "token"=>"666cfe142d15c5dc0ecdc7b6013e0910d45435c664cb51ecff72ddb694191aee", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"dummy"}) Filter chain halted as :doorkeeper_authorize! rendered or redirected Completed 403 Forbidden in 6ms (ActiveRecord: 0.0ms) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokenInfoController#show as HTML MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7ac7c8b05f08fe4dc902c1c7f99ff9a49bb2ea27a97b84c2fd43abfc5fdb82a8", :_id=>{:$ne=>BSON::ObjectId('5bb624633541597507000039')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000039'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 19", "uid"=>"7ac7c8b05f08fe4dc902c1c7f99ff9a49bb2ea27a97b84c2fd43abfc5fdb82a8", "secret"=>"18fe3293edb7c6ac6d9a3af87ad6e26391deb88f6d714e0c4c8e9d0cc50443d7", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000039'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 19", "uid"=>"7ac7c8b05f08fe4dc902c1c7f99ff9a49bb2ea27a97b84c2fd43abfc5fdb82a8", "secret"=>"18fe3293edb7c6ac6d9a3af87ad6e26391deb88f6d714e0c4c8e9d0cc50443d7", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"87bd3b257dca7d305c6ce3db9a27db46dd622045ce758b98bd746a9b29c75966", :_id=>{:$ne=>BSON::ObjectId('5bb624633541597507000038')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000038'), "application_id"=>BSON::ObjectId('5bb624633541597507000039'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>3, "token"=>"87bd3b257dca7d305c6ce3db9a27db46dd622045ce758b98bd746a9b29c75966", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000038'), "application_id"=>BSON::ObjectId('5bb624633541597507000039'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>3, "token"=>"87bd3b257dca7d305c6ce3db9a27db46dd622045ce758b98bd746a9b29c75966", "expires_in"=>7200}) Completed 200 OK in 6ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokenInfoController#show as HTML MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2b78ef20afae32d272a2d643b5c58ce48972619fc30e91da5dfea92f540f88e6", :_id=>{:$ne=>BSON::ObjectId('5bb62463354159750700003b')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62463354159750700003b'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 20", "uid"=>"2b78ef20afae32d272a2d643b5c58ce48972619fc30e91da5dfea92f540f88e6", "secret"=>"c0e1570c5b1b0474d692030ac87b6427ab3824b8424dd761b6703c3e5035a656", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62463354159750700003b'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 20", "uid"=>"2b78ef20afae32d272a2d643b5c58ce48972619fc30e91da5dfea92f540f88e6", "secret"=>"c0e1570c5b1b0474d692030ac87b6427ab3824b8424dd761b6703c3e5035a656", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f673a7a309f5e5efa47b31e7b867f705427346b9770d3b9d32c04c273991fbcc", :_id=>{:$ne=>BSON::ObjectId('5bb62463354159750700003a')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62463354159750700003a'), "application_id"=>BSON::ObjectId('5bb62463354159750700003b'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>4, "token"=>"f673a7a309f5e5efa47b31e7b867f705427346b9770d3b9d32c04c273991fbcc", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62463354159750700003a'), "application_id"=>BSON::ObjectId('5bb62463354159750700003b'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>4, "token"=>"f673a7a309f5e5efa47b31e7b867f705427346b9770d3b9d32c04c273991fbcc", "expires_in"=>7200}) Completed 200 OK in 6ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokenInfoController#show as HTML Completed 401 Unauthorized in 0ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"05cb6839dfdf35a110790e02bc57725ba0df7a44d9ffd957232d6bbc943dd7cd", :_id=>{:$ne=>BSON::ObjectId('5bb62463354159750700003d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62463354159750700003d'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 21", "uid"=>"05cb6839dfdf35a110790e02bc57725ba0df7a44d9ffd957232d6bbc943dd7cd", "secret"=>"8916a9ce04179def0901d9336436af89489e62f1bba268857c8158e6aeb21269", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62463354159750700003d'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 21", "uid"=>"05cb6839dfdf35a110790e02bc57725ba0df7a44d9ffd957232d6bbc943dd7cd", "secret"=>"8916a9ce04179def0901d9336436af89489e62f1bba268857c8158e6aeb21269", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"3f154fa85caac93508fd98e46ed9b21d4cdfb9477b9149b69f15b59f41e2b68a", :_id=>{:$ne=>BSON::ObjectId('5bb62463354159750700003c')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62463354159750700003c'), "application_id"=>BSON::ObjectId('5bb62463354159750700003d'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>5, "token"=>"3f154fa85caac93508fd98e46ed9b21d4cdfb9477b9149b69f15b59f41e2b68a", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62463354159750700003c'), "application_id"=>BSON::ObjectId('5bb62463354159750700003d'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>5, "token"=>"3f154fa85caac93508fd98e46ed9b21d4cdfb9477b9149b69f15b59f41e2b68a", "expires_in"=>7200}) Processing by Doorkeeper::TokenInfoController#show as HTML Completed 401 Unauthorized in 0ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokenInfoController#show as HTML Completed 401 Unauthorized in 0ms MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1dc8c0e6f2552307c914a4fcb39e412264edf28f9d66c73f835f31c7d3604d76", :_id=>{:$ne=>BSON::ObjectId('5bb62463354159750700003e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62463354159750700003e'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 22", "uid"=>"1dc8c0e6f2552307c914a4fcb39e412264edf28f9d66c73f835f31c7d3604d76", "secret"=>"8ee6acd8851d84078f99d3b545c4ebd2326d34f8f28382e931c2ada7aedfb02b", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62463354159750700003e'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 22", "uid"=>"1dc8c0e6f2552307c914a4fcb39e412264edf28f9d66c73f835f31c7d3604d76", "secret"=>"8ee6acd8851d84078f99d3b545c4ebd2326d34f8f28382e931c2ada7aedfb02b", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"c77583d16420c5616b8ff320c45875afa8a219853d294e55b5c553e9f481b5d9", :_id=>{:$ne=>BSON::ObjectId('5bb62463354159750700003f')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62463354159750700003f'), "application_id"=>nil, "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>99, "token"=>"c77583d16420c5616b8ff320c45875afa8a219853d294e55b5c553e9f481b5d9", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62463354159750700003f'), "application_id"=>nil, "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>99, "token"=>"c77583d16420c5616b8ff320c45875afa8a219853d294e55b5c553e9f481b5d9", "expires_in"=>7200, "scopes"=>""}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"292bd82bb365c4018a4a4d840e4b328297b851f9930846e929fe5e6572499a2d", :_id=>{:$ne=>BSON::ObjectId('5bb624633541597507000040')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000040'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 23", "uid"=>"292bd82bb365c4018a4a4d840e4b328297b851f9930846e929fe5e6572499a2d", "secret"=>"a59986bb45f0f76d960da20176ff5e3e992c426ce3b50c84bb025822b047866d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000040'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 23", "uid"=>"292bd82bb365c4018a4a4d840e4b328297b851f9930846e929fe5e6572499a2d", "secret"=>"a59986bb45f0f76d960da20176ff5e3e992c426ce3b50c84bb025822b047866d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624633541597507000040')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"a15d93f54103944e782f5016e3abca433125896a7b6af8d01a9ec0da902c86eb", :_id=>{:$ne=>BSON::ObjectId('5bb624633541597507000041')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000041'), "application_id"=>BSON::ObjectId('5bb624633541597507000040'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>99, "token"=>"a15d93f54103944e782f5016e3abca433125896a7b6af8d01a9ec0da902c86eb", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000041'), "application_id"=>BSON::ObjectId('5bb624633541597507000040'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>99, "token"=>"a15d93f54103944e782f5016e3abca433125896a7b6af8d01a9ec0da902c86eb", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb624633541597507000040'), :resource_owner_id=>99, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"88cefdb6f79d06723ec165f37f31036908905d05294c4c89aead4685f50d5d43", :_id=>{:$ne=>BSON::ObjectId('5bb624633541597507000042')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000042'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 24", "uid"=>"88cefdb6f79d06723ec165f37f31036908905d05294c4c89aead4685f50d5d43", "secret"=>"c1a4eed4daa0d02c9eea0527a945a48f47befac63c670cbfaa2e131ef1d8c19f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000042'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 24", "uid"=>"88cefdb6f79d06723ec165f37f31036908905d05294c4c89aead4685f50d5d43", "secret"=>"c1a4eed4daa0d02c9eea0527a945a48f47befac63c670cbfaa2e131ef1d8c19f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"eac75e4173e089a189e25395ac849c8493ef1d64ef661dd4103a0364374b27d0", :_id=>{:$ne=>BSON::ObjectId('5bb624633541597507000043')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000043'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 25", "uid"=>"eac75e4173e089a189e25395ac849c8493ef1d64ef661dd4103a0364374b27d0", "secret"=>"9b5b5a59264592fed911eb575f053cdcb87b822cc064ef8e3d89827d7341927a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000043'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 25", "uid"=>"eac75e4173e089a189e25395ac849c8493ef1d64ef661dd4103a0364374b27d0", "secret"=>"9b5b5a59264592fed911eb575f053cdcb87b822cc064ef8e3d89827d7341927a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a7e4f20684b56807adf2ee2518e2212f3d5df36d17db05a95b302bd8b65d01da", :_id=>{:$ne=>BSON::ObjectId('5bb624633541597507000044')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000044'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 26", "uid"=>"a7e4f20684b56807adf2ee2518e2212f3d5df36d17db05a95b302bd8b65d01da", "secret"=>"c3b904cc9e98ea8744a24b2cd4bb9726bd31739498ccaa67a942df2ad02f3c5c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000044'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 26", "uid"=>"a7e4f20684b56807adf2ee2518e2212f3d5df36d17db05a95b302bd8b65d01da", "secret"=>"c3b904cc9e98ea8744a24b2cd4bb9726bd31739498ccaa67a942df2ad02f3c5c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624633541597507000044')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{:application_id=>BSON::ObjectId('5bb624633541597507000044')}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624633541597507000044')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"aba3a8aafa83a07651a75f651342e921b6673a0c8d2acb581e9ef419f654c394", :_id=>{:$ne=>BSON::ObjectId('5bb624633541597507000045')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000045'), "application_id"=>BSON::ObjectId('5bb624633541597507000044'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>99, "token"=>"aba3a8aafa83a07651a75f651342e921b6673a0c8d2acb581e9ef419f654c394", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000045'), "application_id"=>BSON::ObjectId('5bb624633541597507000044'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>99, "token"=>"aba3a8aafa83a07651a75f651342e921b6673a0c8d2acb581e9ef419f654c394", "expires_in"=>7200, "scopes"=>""}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624633541597507000044')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{:application_id=>BSON::ObjectId('5bb624633541597507000044')}, "fields"=>nil}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"74a58c6fbda1b844b1474b4bcc5a58ce410b50d2d61c65c560f89a3ddca6a422", :_id=>{:$ne=>BSON::ObjectId('5bb624633541597507000046')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000046'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 27", "uid"=>"74a58c6fbda1b844b1474b4bcc5a58ce410b50d2d61c65c560f89a3ddca6a422", "secret"=>"2744167ae65a1c4779c5e16671f4bee79aa87e1bcf0a6967c3173671669dd467", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000046'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 27", "uid"=>"74a58c6fbda1b844b1474b4bcc5a58ce410b50d2d61c65c560f89a3ddca6a422", "secret"=>"2744167ae65a1c4779c5e16671f4bee79aa87e1bcf0a6967c3173671669dd467", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624633541597507000046')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"80a66dbccbdbf070c3180609ebd218f8c856c69645ab5afb9cdaa345873b99bd", :_id=>{:$ne=>BSON::ObjectId('5bb624633541597507000047')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000047'), "application_id"=>BSON::ObjectId('5bb624633541597507000046'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>99, "token"=>"80a66dbccbdbf070c3180609ebd218f8c856c69645ab5afb9cdaa345873b99bd", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000047'), "application_id"=>BSON::ObjectId('5bb624633541597507000046'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>99, "token"=>"80a66dbccbdbf070c3180609ebd218f8c856c69645ab5afb9cdaa345873b99bd", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624633541597507000046')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"02c4b4aff32f8acede39678c58a5badfbb1df8e70c8bf5afb5b0599af145fb65", :_id=>{:$ne=>BSON::ObjectId('5bb624633541597507000048')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000048'), "application_id"=>BSON::ObjectId('5bb624633541597507000046'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>99, "token"=>"02c4b4aff32f8acede39678c58a5badfbb1df8e70c8bf5afb5b0599af145fb65", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000048'), "application_id"=>BSON::ObjectId('5bb624633541597507000046'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>99, "token"=>"02c4b4aff32f8acede39678c58a5badfbb1df8e70c8bf5afb5b0599af145fb65", "expires_in"=>7200, "scopes"=>""}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2e881616e6a33eeebaeab93a226ac1ed52d5e4437dc3b48970691f9e98e0c5f4", :_id=>{:$ne=>BSON::ObjectId('5bb624633541597507000049')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000049'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 28", "uid"=>"2e881616e6a33eeebaeab93a226ac1ed52d5e4437dc3b48970691f9e98e0c5f4", "secret"=>"889ce6c4affcea7d7ab76d867bf6445c9d690b5e849a29ccf82e97998ab0cc18", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000049'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 28", "uid"=>"2e881616e6a33eeebaeab93a226ac1ed52d5e4437dc3b48970691f9e98e0c5f4", "secret"=>"889ce6c4affcea7d7ab76d867bf6445c9d690b5e849a29ccf82e97998ab0cc18", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"93a7f514acc046e8df3b571f7dd5500148e17e2ac44e82353a181d69f4b2d66e", :_id=>{:$ne=>BSON::ObjectId('5bb62463354159750700004a')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62463354159750700004a'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 29", "uid"=>"93a7f514acc046e8df3b571f7dd5500148e17e2ac44e82353a181d69f4b2d66e", "secret"=>"d9dd709bd17116dffdfa887124991b7158bb1e8fde975bdc9f442d34847069d7", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62463354159750700004a'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 29", "uid"=>"93a7f514acc046e8df3b571f7dd5500148e17e2ac44e82353a181d69f4b2d66e", "secret"=>"d9dd709bd17116dffdfa887124991b7158bb1e8fde975bdc9f442d34847069d7", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb62463354159750700004a')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"9108a4894348e421d61c64b742524a7e1d389c877e1527e6d0ca318c3a803771", :_id=>{:$ne=>BSON::ObjectId('5bb62463354159750700004b')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62463354159750700004b'), "application_id"=>BSON::ObjectId('5bb62463354159750700004a'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>99, "token"=>"9108a4894348e421d61c64b742524a7e1d389c877e1527e6d0ca318c3a803771", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62463354159750700004b'), "application_id"=>BSON::ObjectId('5bb62463354159750700004a'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>99, "token"=>"9108a4894348e421d61c64b742524a7e1d389c877e1527e6d0ca318c3a803771", "expires_in"=>7200, "scopes"=>""}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0a662825d2eecfc725c1a712415d298a4730303cf463ea5e605eb328d69aeb4c", :_id=>{:$ne=>BSON::ObjectId('5bb62463354159750700004c')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62463354159750700004c'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 30", "uid"=>"0a662825d2eecfc725c1a712415d298a4730303cf463ea5e605eb328d69aeb4c", "secret"=>"ecb05a93ab513a21a32288f6a203379dd898ad06b12f9101ac6aaf151d63bceb", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62463354159750700004c'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 30", "uid"=>"0a662825d2eecfc725c1a712415d298a4730303cf463ea5e605eb328d69aeb4c", "secret"=>"ecb05a93ab513a21a32288f6a203379dd898ad06b12f9101ac6aaf151d63bceb", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4555d92944b3c2ed31fb13fcd95593cabdbdc67173aed0c852c9e9792824ef54", :_id=>{:$ne=>BSON::ObjectId('5bb62463354159750700004d')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62463354159750700004d'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 31", "uid"=>"4555d92944b3c2ed31fb13fcd95593cabdbdc67173aed0c852c9e9792824ef54", "secret"=>"32a5e03d62e22ed0604ccfdf0b294e909f78c0521523aa636a7e9cda63c93427", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62463354159750700004d'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 31", "uid"=>"4555d92944b3c2ed31fb13fcd95593cabdbdc67173aed0c852c9e9792824ef54", "secret"=>"32a5e03d62e22ed0604ccfdf0b294e909f78c0521523aa636a7e9cda63c93427", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb62463354159750700004d')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"5ecbb28211050fb24d9c20d8ddd9d3f78b0573f84787d91adfd9ba3adb3de06b", :_id=>{:$ne=>BSON::ObjectId('5bb62463354159750700004e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62463354159750700004e'), "application_id"=>BSON::ObjectId('5bb62463354159750700004d'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>99, "token"=>"5ecbb28211050fb24d9c20d8ddd9d3f78b0573f84787d91adfd9ba3adb3de06b", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62463354159750700004e'), "application_id"=>BSON::ObjectId('5bb62463354159750700004d'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>99, "token"=>"5ecbb28211050fb24d9c20d8ddd9d3f78b0573f84787d91adfd9ba3adb3de06b", "expires_in"=>7200, "scopes"=>"public"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"458b5a26ac9cdced40b185b4e3ba03598f6d8ec447c6294777933b08b9f07d34", :_id=>{:$ne=>BSON::ObjectId('5bb62463354159750700004f')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62463354159750700004f'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 32", "uid"=>"458b5a26ac9cdced40b185b4e3ba03598f6d8ec447c6294777933b08b9f07d34", "secret"=>"40fd1195e28615d0d2e8af82e841fb730d8ef18af290e5e0308178691aba242e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62463354159750700004f'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 32", "uid"=>"458b5a26ac9cdced40b185b4e3ba03598f6d8ec447c6294777933b08b9f07d34", "secret"=>"40fd1195e28615d0d2e8af82e841fb730d8ef18af290e5e0308178691aba242e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000050'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"John", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000050'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"John", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"5ffb17c35310d67c90aab4f9d1efb5dc4d0c7b5028038d98eabf8fd231f99ef4", :_id=>{:$ne=>BSON::ObjectId('5bb624633541597507000051')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"1ca97324f8b1eb3bb95c21f8fb0bc24f32e45c92f80b7f5796d535e7831c9034", :_id=>{:$ne=>BSON::ObjectId('5bb624633541597507000051')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000051'), "application_id"=>BSON::ObjectId('5bb62463354159750700004f'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624633541597507000050'), "token"=>"5ffb17c35310d67c90aab4f9d1efb5dc4d0c7b5028038d98eabf8fd231f99ef4", "refresh_token"=>"1ca97324f8b1eb3bb95c21f8fb0bc24f32e45c92f80b7f5796d535e7831c9034", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000051'), "application_id"=>BSON::ObjectId('5bb62463354159750700004f'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624633541597507000050'), "token"=>"5ffb17c35310d67c90aab4f9d1efb5dc4d0c7b5028038d98eabf8fd231f99ef4", "refresh_token"=>"1ca97324f8b1eb3bb95c21f8fb0bc24f32e45c92f80b7f5796d535e7831c9034", "expires_in"=>7200}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:32:03 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"1ca97324f8b1eb3bb95c21f8fb0bc24f32e45c92f80b7f5796d535e7831c9034"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"1ca97324f8b1eb3bb95c21f8fb0bc24f32e45c92f80b7f5796d535e7831c9034"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"1ca97324f8b1eb3bb95c21f8fb0bc24f32e45c92f80b7f5796d535e7831c9034"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb62463354159750700004f')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"458b5a26ac9cdced40b185b4e3ba03598f6d8ec447c6294777933b08b9f07d34"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb624633541597507000051')}, :u=>{"_id"=>BSON::ObjectId('5bb624633541597507000051'), "application_id"=>BSON::ObjectId('5bb62463354159750700004f'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624633541597507000050'), "token"=>"5ffb17c35310d67c90aab4f9d1efb5dc4d0c7b5028038d98eabf8fd231f99ef4", "refresh_token"=>"1ca97324f8b1eb3bb95c21f8fb0bc24f32e45c92f80b7f5796d535e7831c9034", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb624633541597507000051')}, {"_id"=>BSON::ObjectId('5bb624633541597507000051'), "application_id"=>BSON::ObjectId('5bb62463354159750700004f'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624633541597507000050'), "token"=>"5ffb17c35310d67c90aab4f9d1efb5dc4d0c7b5028038d98eabf8fd231f99ef4", "refresh_token"=>"1ca97324f8b1eb3bb95c21f8fb0bc24f32e45c92f80b7f5796d535e7831c9034", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 4ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb624633541597507000051')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"921e681cda58e768168f11fb736daa162c8af054dbdd19a823f5f4c5653a88b3", :_id=>{:$ne=>BSON::ObjectId('5bb624633541597507000052')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000052'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 33", "uid"=>"921e681cda58e768168f11fb736daa162c8af054dbdd19a823f5f4c5653a88b3", "secret"=>"e19b1ff946500982432b3cc17cdd8659e8885068bc82690fa228190e91bd41b0", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000052'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"Application 33", "uid"=>"921e681cda58e768168f11fb736daa162c8af054dbdd19a823f5f4c5653a88b3", "secret"=>"e19b1ff946500982432b3cc17cdd8659e8885068bc82690fa228190e91bd41b0", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000053'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"John", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000053'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "name"=>"John", "password"=>"sekret"}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"0c51c725ef492e0cfcf6d7876b2129315accb4ccca1b499fb969bf5f8d8a29a1", :_id=>{:$ne=>BSON::ObjectId('5bb624633541597507000054')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"36d9215c89b2003e6030223c9a73c4691da38bb0387d353a1d8f939653261c13", :_id=>{:$ne=>BSON::ObjectId('5bb624633541597507000054')}}, {:_id=>1}).limit(-1) MONGODB (5.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624633541597507000054'), "application_id"=>BSON::ObjectId('5bb624633541597507000052'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624633541597507000053'), "token"=>"0c51c725ef492e0cfcf6d7876b2129315accb4ccca1b499fb969bf5f8d8a29a1", "refresh_token"=>"36d9215c89b2003e6030223c9a73c4691da38bb0387d353a1d8f939653261c13", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (5.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624633541597507000054'), "application_id"=>BSON::ObjectId('5bb624633541597507000052'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:03 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624633541597507000053'), "token"=>"0c51c725ef492e0cfcf6d7876b2129315accb4ccca1b499fb969bf5f8d8a29a1", "refresh_token"=>"36d9215c89b2003e6030223c9a73c4691da38bb0387d353a1d8f939653261c13", "expires_in"=>7200}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:32:04 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"0c51c725ef492e0cfcf6d7876b2129315accb4ccca1b499fb969bf5f8d8a29a1"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"0c51c725ef492e0cfcf6d7876b2129315accb4ccca1b499fb969bf5f8d8a29a1"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624633541597507000052')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"921e681cda58e768168f11fb736daa162c8af054dbdd19a823f5f4c5653a88b3"}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb624633541597507000054')}, :u=>{"_id"=>BSON::ObjectId('5bb624633541597507000054'), "application_id"=>BSON::ObjectId('5bb624633541597507000052'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624633541597507000053'), "token"=>"0c51c725ef492e0cfcf6d7876b2129315accb4ccca1b499fb969bf5f8d8a29a1", "refresh_token"=>"36d9215c89b2003e6030223c9a73c4691da38bb0387d353a1d8f939653261c13", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb624633541597507000054')}, {"_id"=>BSON::ObjectId('5bb624633541597507000054'), "application_id"=>BSON::ObjectId('5bb624633541597507000052'), "created_at"=>2018-10-04 14:32:03 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624633541597507000053'), "token"=>"0c51c725ef492e0cfcf6d7876b2129315accb4ccca1b499fb969bf5f8d8a29a1", "refresh_token"=>"36d9215c89b2003e6030223c9a73c4691da38bb0387d353a1d8f939653261c13", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 4ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb624633541597507000054')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1af2af9488c2195541ec64618ea9136da588bd4010614eb549f08b9fadffdeae", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000055')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000055'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 34", "uid"=>"1af2af9488c2195541ec64618ea9136da588bd4010614eb549f08b9fadffdeae", "secret"=>"87e9448eedb2f88b134a8e24827126eed786891013eebb72fc2a0371a68314ca", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000055'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 34", "uid"=>"1af2af9488c2195541ec64618ea9136da588bd4010614eb549f08b9fadffdeae", "secret"=>"87e9448eedb2f88b134a8e24827126eed786891013eebb72fc2a0371a68314ca", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000056'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"John", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000056'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"John", "password"=>"sekret"}) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"8bbf7b3f184b89356abf70700c437889e1004ed71ef5b56fdca0d2caec609f23", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000057')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"9fa901b2e09226103b9312e3b3ff6e84f2e7b2da5ace1ab4c110b959ffcb2a6c", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000057')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000057'), "application_id"=>BSON::ObjectId('5bb624643541597507000055'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624643541597507000056'), "token"=>"8bbf7b3f184b89356abf70700c437889e1004ed71ef5b56fdca0d2caec609f23", "refresh_token"=>"9fa901b2e09226103b9312e3b3ff6e84f2e7b2da5ace1ab4c110b959ffcb2a6c", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000057'), "application_id"=>BSON::ObjectId('5bb624643541597507000055'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624643541597507000056'), "token"=>"8bbf7b3f184b89356abf70700c437889e1004ed71ef5b56fdca0d2caec609f23", "refresh_token"=>"9fa901b2e09226103b9312e3b3ff6e84f2e7b2da5ace1ab4c110b959ffcb2a6c", "expires_in"=>7200}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:32:04 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"8bbf7b3f184b89356abf70700c437889e1004ed71ef5b56fdca0d2caec609f23"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"8bbf7b3f184b89356abf70700c437889e1004ed71ef5b56fdca0d2caec609f23"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624643541597507000055')}).limit(-1) Completed 200 OK in 2ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb624643541597507000057')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6127827bd11d578d542064064e866b4a941cda3bed92c7de6049f5f1f3fede6f", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000058')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000058'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 35", "uid"=>"6127827bd11d578d542064064e866b4a941cda3bed92c7de6049f5f1f3fede6f", "secret"=>"17e05c4178721b7d81a85732555d5a498b232ed388b7c62893446be7e0063c20", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000058'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 35", "uid"=>"6127827bd11d578d542064064e866b4a941cda3bed92c7de6049f5f1f3fede6f", "secret"=>"17e05c4178721b7d81a85732555d5a498b232ed388b7c62893446be7e0063c20", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000059'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"John", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000059'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"John", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"500bc34a23e792c99051f03d756d0e1da2a4e1a473d1779a88c8c400702162f8", :_id=>{:$ne=>BSON::ObjectId('5bb62464354159750700005a')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"fe3cec1d95c8d27763a827560b9cd5cef0555443b0f8ca9dae530fd197554669", :_id=>{:$ne=>BSON::ObjectId('5bb62464354159750700005a')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62464354159750700005a'), "application_id"=>BSON::ObjectId('5bb624643541597507000058'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624643541597507000059'), "token"=>"500bc34a23e792c99051f03d756d0e1da2a4e1a473d1779a88c8c400702162f8", "refresh_token"=>"fe3cec1d95c8d27763a827560b9cd5cef0555443b0f8ca9dae530fd197554669", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62464354159750700005a'), "application_id"=>BSON::ObjectId('5bb624643541597507000058'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624643541597507000059'), "token"=>"500bc34a23e792c99051f03d756d0e1da2a4e1a473d1779a88c8c400702162f8", "refresh_token"=>"fe3cec1d95c8d27763a827560b9cd5cef0555443b0f8ca9dae530fd197554669", "expires_in"=>7200}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:32:04 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"500bc34a23e792c99051f03d756d0e1da2a4e1a473d1779a88c8c400702162f8"} MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"500bc34a23e792c99051f03d756d0e1da2a4e1a473d1779a88c8c400702162f8"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624643541597507000058')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6127827bd11d578d542064064e866b4a941cda3bed92c7de6049f5f1f3fede6f"}).limit(-1) Completed 200 OK in 4ms MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb62464354159750700005a')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6f0d121d5b8849d60a89e928bad8f793d929dabf1510581b8a18eb83129069eb", :_id=>{:$ne=>BSON::ObjectId('5bb62464354159750700005b')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62464354159750700005b'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 36", "uid"=>"6f0d121d5b8849d60a89e928bad8f793d929dabf1510581b8a18eb83129069eb", "secret"=>"94b20e057281f85aea4b1b25edda8bd47fbfe664638b1ac7130ea8c47581b883", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62464354159750700005b'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 36", "uid"=>"6f0d121d5b8849d60a89e928bad8f793d929dabf1510581b8a18eb83129069eb", "secret"=>"94b20e057281f85aea4b1b25edda8bd47fbfe664638b1ac7130ea8c47581b883", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb62464354159750700005c'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"John", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb62464354159750700005c'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"John", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"fa57df47eab68038eb3784742201172b0af6fc531b47028ea68702300ac81f2f", :_id=>{:$ne=>BSON::ObjectId('5bb62464354159750700005d')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"aab324496a63874d7973025c0ef7952e437f85e90549e0dac6f9f7fb340516e9", :_id=>{:$ne=>BSON::ObjectId('5bb62464354159750700005d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62464354159750700005d'), "application_id"=>BSON::ObjectId('5bb62464354159750700005b'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62464354159750700005c'), "token"=>"fa57df47eab68038eb3784742201172b0af6fc531b47028ea68702300ac81f2f", "refresh_token"=>"aab324496a63874d7973025c0ef7952e437f85e90549e0dac6f9f7fb340516e9", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62464354159750700005d'), "application_id"=>BSON::ObjectId('5bb62464354159750700005b'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62464354159750700005c'), "token"=>"fa57df47eab68038eb3784742201172b0af6fc531b47028ea68702300ac81f2f", "refresh_token"=>"aab324496a63874d7973025c0ef7952e437f85e90549e0dac6f9f7fb340516e9", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6f73808160436cc882b1a3d12c5ebc2acd2afd9ff3948ffddb930b58beb8d2b4", :_id=>{:$ne=>BSON::ObjectId('5bb62464354159750700005e')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62464354159750700005e'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 37", "uid"=>"6f73808160436cc882b1a3d12c5ebc2acd2afd9ff3948ffddb930b58beb8d2b4", "secret"=>"48c7456fbbfcd501c7635b9804044213e411e3a527899b0a81c9f26a6689528f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62464354159750700005e'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 37", "uid"=>"6f73808160436cc882b1a3d12c5ebc2acd2afd9ff3948ffddb930b58beb8d2b4", "secret"=>"48c7456fbbfcd501c7635b9804044213e411e3a527899b0a81c9f26a6689528f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:32:04 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"fa57df47eab68038eb3784742201172b0af6fc531b47028ea68702300ac81f2f"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"fa57df47eab68038eb3784742201172b0af6fc531b47028ea68702300ac81f2f"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb62464354159750700005b')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6f73808160436cc882b1a3d12c5ebc2acd2afd9ff3948ffddb930b58beb8d2b4"}).limit(-1) Completed 200 OK in 3ms MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb62464354159750700005d')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{:revoked_at=>nil}, "fields"=>nil}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"50de810fc43b7a454416f9db209227d4f2350f03c1f199643125556a99cf1788", :_id=>{:$ne=>BSON::ObjectId('5bb62464354159750700005f')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62464354159750700005f'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 38", "uid"=>"50de810fc43b7a454416f9db209227d4f2350f03c1f199643125556a99cf1788", "secret"=>"fed01ad313f8316a159ea977ee614ad0de9a1137fd78427414f4eeb03053405c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62464354159750700005f'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 38", "uid"=>"50de810fc43b7a454416f9db209227d4f2350f03c1f199643125556a99cf1788", "secret"=>"fed01ad313f8316a159ea977ee614ad0de9a1137fd78427414f4eeb03053405c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:32:04 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"I_AM_AN_INVALID_TOKEN"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"I_AM_AN_INVALID_TOKEN"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"I_AM_AN_INVALID_TOKEN"}).limit(-1) Completed 200 OK in 2ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{:revoked_at=>nil}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000060'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"John", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000060'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"John", "password"=>"sekret"}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"187a669d1132384be3e0cf49796fb6f4302d091833a33bac08f0c2bf826e07eb", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000061')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"3ecccb3e5e7b4befe5887c534e08d20d7ebcaade2b0b058ef5b063b0c883c293", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000061')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000061'), "application_id"=>nil, "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624643541597507000060'), "token"=>"187a669d1132384be3e0cf49796fb6f4302d091833a33bac08f0c2bf826e07eb", "refresh_token"=>"3ecccb3e5e7b4befe5887c534e08d20d7ebcaade2b0b058ef5b063b0c883c293", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000061'), "application_id"=>nil, "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624643541597507000060'), "token"=>"187a669d1132384be3e0cf49796fb6f4302d091833a33bac08f0c2bf826e07eb", "refresh_token"=>"3ecccb3e5e7b4befe5887c534e08d20d7ebcaade2b0b058ef5b063b0c883c293", "expires_in"=>7200}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:32:04 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"3ecccb3e5e7b4befe5887c534e08d20d7ebcaade2b0b058ef5b063b0c883c293"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"3ecccb3e5e7b4befe5887c534e08d20d7ebcaade2b0b058ef5b063b0c883c293"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"3ecccb3e5e7b4befe5887c534e08d20d7ebcaade2b0b058ef5b063b0c883c293"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb624643541597507000061')}, :u=>{"_id"=>BSON::ObjectId('5bb624643541597507000061'), "application_id"=>nil, "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624643541597507000060'), "token"=>"187a669d1132384be3e0cf49796fb6f4302d091833a33bac08f0c2bf826e07eb", "refresh_token"=>"3ecccb3e5e7b4befe5887c534e08d20d7ebcaade2b0b058ef5b063b0c883c293", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb624643541597507000061')}, {"_id"=>BSON::ObjectId('5bb624643541597507000061'), "application_id"=>nil, "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624643541597507000060'), "token"=>"187a669d1132384be3e0cf49796fb6f4302d091833a33bac08f0c2bf826e07eb", "refresh_token"=>"3ecccb3e5e7b4befe5887c534e08d20d7ebcaade2b0b058ef5b063b0c883c293", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 3ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb624643541597507000061')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000062'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"John", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000062'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"John", "password"=>"sekret"}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"037c0468ba8d350ed20db5febd14118c9e76237678869ecd8a87d862d62c312f", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000063')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"9f0daab814445341444070e3419af1085380826138ed47e187549ac1a3e235ae", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000063')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000063'), "application_id"=>nil, "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624643541597507000062'), "token"=>"037c0468ba8d350ed20db5febd14118c9e76237678869ecd8a87d862d62c312f", "refresh_token"=>"9f0daab814445341444070e3419af1085380826138ed47e187549ac1a3e235ae", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000063'), "application_id"=>nil, "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624643541597507000062'), "token"=>"037c0468ba8d350ed20db5febd14118c9e76237678869ecd8a87d862d62c312f", "refresh_token"=>"9f0daab814445341444070e3419af1085380826138ed47e187549ac1a3e235ae", "expires_in"=>7200}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:32:04 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"037c0468ba8d350ed20db5febd14118c9e76237678869ecd8a87d862d62c312f"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"037c0468ba8d350ed20db5febd14118c9e76237678869ecd8a87d862d62c312f"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb624643541597507000063')}, :u=>{"_id"=>BSON::ObjectId('5bb624643541597507000063'), "application_id"=>nil, "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624643541597507000062'), "token"=>"037c0468ba8d350ed20db5febd14118c9e76237678869ecd8a87d862d62c312f", "refresh_token"=>"9f0daab814445341444070e3419af1085380826138ed47e187549ac1a3e235ae", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb624643541597507000063')}, {"_id"=>BSON::ObjectId('5bb624643541597507000063'), "application_id"=>nil, "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624643541597507000062'), "token"=>"037c0468ba8d350ed20db5febd14118c9e76237678869ecd8a87d862d62c312f", "refresh_token"=>"9f0daab814445341444070e3419af1085380826138ed47e187549ac1a3e235ae", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 2ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb624643541597507000063')}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1cab05b307588fc99329ee20deb12d0afae898a65970c5ad6bb75da5b1c01027", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000064')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000064'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 39", "uid"=>"1cab05b307588fc99329ee20deb12d0afae898a65970c5ad6bb75da5b1c01027", "secret"=>"c8cd275204488c424a6bdf5c3deb0c5feabcefba0b6ae20048518981da7e5286", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000064'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 39", "uid"=>"1cab05b307588fc99329ee20deb12d0afae898a65970c5ad6bb75da5b1c01027", "secret"=>"c8cd275204488c424a6bdf5c3deb0c5feabcefba0b6ae20048518981da7e5286", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000065'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"John", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000065'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"John", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"08722ed4dbc8dfc1398a2209837cfe2c32fbf65be1ce700e04923379cc99219a", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000066')}}, {:_id=>1}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"94cff3e3541afc61b5cd38a6da0d2b3ba75babba11081fef9022d94fe729fcc9", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000066')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000066'), "application_id"=>BSON::ObjectId('5bb624643541597507000064'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624643541597507000065'), "token"=>"08722ed4dbc8dfc1398a2209837cfe2c32fbf65be1ce700e04923379cc99219a", "refresh_token"=>"94cff3e3541afc61b5cd38a6da0d2b3ba75babba11081fef9022d94fe729fcc9", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000066'), "application_id"=>BSON::ObjectId('5bb624643541597507000064'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624643541597507000065'), "token"=>"08722ed4dbc8dfc1398a2209837cfe2c32fbf65be1ce700e04923379cc99219a", "refresh_token"=>"94cff3e3541afc61b5cd38a6da0d2b3ba75babba11081fef9022d94fe729fcc9", "expires_in"=>7200}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:32:04 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"08722ed4dbc8dfc1398a2209837cfe2c32fbf65be1ce700e04923379cc99219a"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"08722ed4dbc8dfc1398a2209837cfe2c32fbf65be1ce700e04923379cc99219a"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624643541597507000064')}).limit(-1) Completed 200 OK in 2ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb624643541597507000066')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"36bdeb7ce604c7df12b271b054c59effe54b4d77ac290520df9323ec232a6d53", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000067')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000067'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 40", "uid"=>"36bdeb7ce604c7df12b271b054c59effe54b4d77ac290520df9323ec232a6d53", "secret"=>"8bf1fdc77fee181a7f9953195b6930558caeaeb0e89c1fe66f8d6200ea282b75", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000067'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 40", "uid"=>"36bdeb7ce604c7df12b271b054c59effe54b4d77ac290520df9323ec232a6d53", "secret"=>"8bf1fdc77fee181a7f9953195b6930558caeaeb0e89c1fe66f8d6200ea282b75", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000068'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"John", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000068'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"John", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"930d72bd9b955b0f011e6b0799582d14af39bbdf3ede5c1278285cdf341bf825", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000069')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"f534a7ccd9e386fb1c63bc80be0b8ea915e6a450caf15221aa9e312fbef6fbd0", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000069')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000069'), "application_id"=>BSON::ObjectId('5bb624643541597507000067'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624643541597507000068'), "token"=>"930d72bd9b955b0f011e6b0799582d14af39bbdf3ede5c1278285cdf341bf825", "refresh_token"=>"f534a7ccd9e386fb1c63bc80be0b8ea915e6a450caf15221aa9e312fbef6fbd0", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000069'), "application_id"=>BSON::ObjectId('5bb624643541597507000067'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624643541597507000068'), "token"=>"930d72bd9b955b0f011e6b0799582d14af39bbdf3ede5c1278285cdf341bf825", "refresh_token"=>"f534a7ccd9e386fb1c63bc80be0b8ea915e6a450caf15221aa9e312fbef6fbd0", "expires_in"=>7200}) Started POST "/oauth/revoke" for 127.0.0.1 at 2018-10-04 17:32:04 +0300 Processing by Doorkeeper::TokensController#revoke as HTML Parameters: {"token"=>"930d72bd9b955b0f011e6b0799582d14af39bbdf3ede5c1278285cdf341bf825"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"930d72bd9b955b0f011e6b0799582d14af39bbdf3ede5c1278285cdf341bf825"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624643541597507000067')}).limit(-1) Completed 200 OK in 2ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb624643541597507000069')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (5.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (5.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"98c46a29ffc5322debd92f1bc09290710da9c844382e37663063178ff59cee5d", :_id=>{:$ne=>BSON::ObjectId('5bb62464354159750700006b')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62464354159750700006b'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 41", "uid"=>"98c46a29ffc5322debd92f1bc09290710da9c844382e37663063178ff59cee5d", "secret"=>"9518512e2626df8917bfe35196a65c5e5ebe116fe69112d94ab7e1d099fa9d61", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62464354159750700006b'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 41", "uid"=>"98c46a29ffc5322debd92f1bc09290710da9c844382e37663063178ff59cee5d", "secret"=>"9518512e2626df8917bfe35196a65c5e5ebe116fe69112d94ab7e1d099fa9d61", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"6c8ffc1082035ef65eb3575928350678c97a32c3256966d724d2420629e58b0a", :_id=>{:$ne=>BSON::ObjectId('5bb62464354159750700006a')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"76ca9ead6072dff5da7aa3455c40c4b163c44118edeaf7d7db1c7d84ad8dbdfc", :_id=>{:$ne=>BSON::ObjectId('5bb62464354159750700006c')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62464354159750700006c'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 42", "uid"=>"76ca9ead6072dff5da7aa3455c40c4b163c44118edeaf7d7db1c7d84ad8dbdfc", "secret"=>"e4ba41a6a784a13f0be9d5ea274fdc189470b8123f547d5eb41dbc94ba4b2a3e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62464354159750700006c'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 42", "uid"=>"76ca9ead6072dff5da7aa3455c40c4b163c44118edeaf7d7db1c7d84ad8dbdfc", "secret"=>"e4ba41a6a784a13f0be9d5ea274fdc189470b8123f547d5eb41dbc94ba4b2a3e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"3a20247415109f3ff3b1ce673f80c2431b8edad9c96437ebd4497c1154931dad", :_id=>{:$ne=>BSON::ObjectId('5bb62464354159750700006d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62464354159750700006d'), "application_id"=>BSON::ObjectId('5bb62464354159750700006c'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>100, "token"=>"3a20247415109f3ff3b1ce673f80c2431b8edad9c96437ebd4497c1154931dad", "expires_in"=>7200, "scopes"=>"public write email"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62464354159750700006d'), "application_id"=>BSON::ObjectId('5bb62464354159750700006c'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>100, "token"=>"3a20247415109f3ff3b1ce673f80c2431b8edad9c96437ebd4497c1154931dad", "expires_in"=>7200, "scopes"=>"public write email"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb62464354159750700006c'), :resource_owner_id=>100, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"be959e79df14af2dce296774dda4abe4ef1b008ac460b34dee87c13b90e0244a", :_id=>{:$ne=>BSON::ObjectId('5bb62464354159750700006e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62464354159750700006e'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 43", "uid"=>"be959e79df14af2dce296774dda4abe4ef1b008ac460b34dee87c13b90e0244a", "secret"=>"ebdeefb6233e7fdbc3b6acdfe2535c874628e11f393c24b2424e787cf0bbae71", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62464354159750700006e'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 43", "uid"=>"be959e79df14af2dce296774dda4abe4ef1b008ac460b34dee87c13b90e0244a", "secret"=>"ebdeefb6233e7fdbc3b6acdfe2535c874628e11f393c24b2424e787cf0bbae71", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"a913ecf5071a78e57f8532d030029c2529c59d5bfe94446313ad32ad394fa116", :_id=>{:$ne=>BSON::ObjectId('5bb62464354159750700006f')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62464354159750700006f'), "application_id"=>BSON::ObjectId('5bb62464354159750700006e'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>100, "token"=>"a913ecf5071a78e57f8532d030029c2529c59d5bfe94446313ad32ad394fa116", "expires_in"=>7200, "revoked_at"=>2018-10-03 00:00:00 UTC, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62464354159750700006f'), "application_id"=>BSON::ObjectId('5bb62464354159750700006e'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>100, "token"=>"a913ecf5071a78e57f8532d030029c2529c59d5bfe94446313ad32ad394fa116", "expires_in"=>7200, "revoked_at"=>2018-10-03 00:00:00 UTC, "scopes"=>"public write"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb62464354159750700006e'), :resource_owner_id=>100, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"85047c6cd5dccd284432770729fb5a83e198097e0d6db44550134447a8f145a9", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000070')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000070'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 44", "uid"=>"85047c6cd5dccd284432770729fb5a83e198097e0d6db44550134447a8f145a9", "secret"=>"53e9e95dc7302de5c7a07cc9e75769d4faf97f8178bb8b17c0d55ea51a598117", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000070'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 44", "uid"=>"85047c6cd5dccd284432770729fb5a83e198097e0d6db44550134447a8f145a9", "secret"=>"53e9e95dc7302de5c7a07cc9e75769d4faf97f8178bb8b17c0d55ea51a598117", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"c6d1db4ca90778d2521678e52a9db79c3af9fdeeb168c3e82ea707c1eea89a60", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000071')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000071'), "application_id"=>BSON::ObjectId('5bb624643541597507000070'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>100, "token"=>"c6d1db4ca90778d2521678e52a9db79c3af9fdeeb168c3e82ea707c1eea89a60", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000071'), "application_id"=>BSON::ObjectId('5bb624643541597507000070'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>100, "token"=>"c6d1db4ca90778d2521678e52a9db79c3af9fdeeb168c3e82ea707c1eea89a60", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb624643541597507000070'), :resource_owner_id=>100, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0f307cc40a9687fe725c07f13790244022940d40080cb35c3ddfe150bcbac5c9", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000072')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000072'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 45", "uid"=>"0f307cc40a9687fe725c07f13790244022940d40080cb35c3ddfe150bcbac5c9", "secret"=>"0d87c488d85b709d48ca87f48a6aafcd032e62ee80a3ea487784aefa5b333029", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000072'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 45", "uid"=>"0f307cc40a9687fe725c07f13790244022940d40080cb35c3ddfe150bcbac5c9", "secret"=>"0d87c488d85b709d48ca87f48a6aafcd032e62ee80a3ea487784aefa5b333029", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"0365b1814d477ce2c7af84b89892dd0a6b396d42abe2fbc767bddfd12e36e98a", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000073')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000073'), "application_id"=>BSON::ObjectId('5bb624643541597507000072'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>100, "token"=>"0365b1814d477ce2c7af84b89892dd0a6b396d42abe2fbc767bddfd12e36e98a", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000073'), "application_id"=>BSON::ObjectId('5bb624643541597507000072'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>100, "token"=>"0365b1814d477ce2c7af84b89892dd0a6b396d42abe2fbc767bddfd12e36e98a", "expires_in"=>7200, "scopes"=>"public"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb624643541597507000072'), :resource_owner_id=>100, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"63c3f3820a8219d5318ca83f15d7804e73a26a1ff2a89afc7a8c6a1d005f71d4", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000074')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000074'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 46", "uid"=>"63c3f3820a8219d5318ca83f15d7804e73a26a1ff2a89afc7a8c6a1d005f71d4", "secret"=>"cd9298d1a6cf1c543fd94d5073d3830c14bcd36b04c1e472e983206557fc187f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000074'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 46", "uid"=>"63c3f3820a8219d5318ca83f15d7804e73a26a1ff2a89afc7a8c6a1d005f71d4", "secret"=>"cd9298d1a6cf1c543fd94d5073d3830c14bcd36b04c1e472e983206557fc187f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"a589688ad47ff6f275ad0cec6e1e75b99bfd75191108e619d3ce44579ca79bb3", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000075')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000075'), "application_id"=>BSON::ObjectId('5bb624643541597507000074'), "created_at"=>2018-10-03 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>100, "token"=>"a589688ad47ff6f275ad0cec6e1e75b99bfd75191108e619d3ce44579ca79bb3", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000075'), "application_id"=>BSON::ObjectId('5bb624643541597507000074'), "created_at"=>2018-10-03 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>100, "token"=>"a589688ad47ff6f275ad0cec6e1e75b99bfd75191108e619d3ce44579ca79bb3", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"030232695a282ad520cf1936f97c487090c6726a210ead557bd6783a0ee3542b", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000076')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000076'), "application_id"=>BSON::ObjectId('5bb624643541597507000074'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>100, "token"=>"030232695a282ad520cf1936f97c487090c6726a210ead557bd6783a0ee3542b", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000076'), "application_id"=>BSON::ObjectId('5bb624643541597507000074'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>100, "token"=>"030232695a282ad520cf1936f97c487090c6726a210ead557bd6783a0ee3542b", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb624643541597507000074'), :resource_owner_id=>100, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1f8292b6a8500a70cb9924ecd5cbb39d8fffd96dc976e7320ec3e3dc57a1bc9e", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000077')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000077'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 47", "uid"=>"1f8292b6a8500a70cb9924ecd5cbb39d8fffd96dc976e7320ec3e3dc57a1bc9e", "secret"=>"8259f7326bd04413b0bd5efecdffe591b8de88920cdc7440fecf18bb601ddb24", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000077'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 47", "uid"=>"1f8292b6a8500a70cb9924ecd5cbb39d8fffd96dc976e7320ec3e3dc57a1bc9e", "secret"=>"8259f7326bd04413b0bd5efecdffe591b8de88920cdc7440fecf18bb601ddb24", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"71ba740f753ee3775b9cb43fb9aab778b183600c36846aa7c599a5c5c0992499", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000078')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000078'), "application_id"=>BSON::ObjectId('5bb624643541597507000077'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>100, "token"=>"71ba740f753ee3775b9cb43fb9aab778b183600c36846aa7c599a5c5c0992499", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000078'), "application_id"=>BSON::ObjectId('5bb624643541597507000077'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>100, "token"=>"71ba740f753ee3775b9cb43fb9aab778b183600c36846aa7c599a5c5c0992499", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6da108175d90670ee75bff398ebd89e9a49c0f54f2d08573a08b7e5ffa870530", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000079')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000079'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 48", "uid"=>"6da108175d90670ee75bff398ebd89e9a49c0f54f2d08573a08b7e5ffa870530", "secret"=>"a26207b9e9692bf11061506943fc57aebed3b253e65b42111b474257593997f0", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000079'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 48", "uid"=>"6da108175d90670ee75bff398ebd89e9a49c0f54f2d08573a08b7e5ffa870530", "secret"=>"a26207b9e9692bf11061506943fc57aebed3b253e65b42111b474257593997f0", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"564245f4a81524520653c7b631b9d57b291548ae797533609a3d11d5a75e42f5", :_id=>{:$ne=>BSON::ObjectId('5bb62464354159750700007a')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62464354159750700007a'), "application_id"=>BSON::ObjectId('5bb624643541597507000079'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>2, "token"=>"564245f4a81524520653c7b631b9d57b291548ae797533609a3d11d5a75e42f5", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62464354159750700007a'), "application_id"=>BSON::ObjectId('5bb624643541597507000079'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>2, "token"=>"564245f4a81524520653c7b631b9d57b291548ae797533609a3d11d5a75e42f5", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb624643541597507000079'), :resource_owner_id=>100, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f1ca6c81fb9fe6d3625b74d9477818e771204b678c6bc893b5ac37bf3bc83abc", :_id=>{:$ne=>BSON::ObjectId('5bb62464354159750700007b')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62464354159750700007b'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 49", "uid"=>"f1ca6c81fb9fe6d3625b74d9477818e771204b678c6bc893b5ac37bf3bc83abc", "secret"=>"2c544adb297e41fc29867185adfca4385b9580aab36c03ce6f50b1290a896598", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62464354159750700007b'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 49", "uid"=>"f1ca6c81fb9fe6d3625b74d9477818e771204b678c6bc893b5ac37bf3bc83abc", "secret"=>"2c544adb297e41fc29867185adfca4385b9580aab36c03ce6f50b1290a896598", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"8b474bb452026c0dee4cc3cc28017f0103f25af1471ef2c253c982b157dcd2e1", :_id=>{:$ne=>BSON::ObjectId('5bb62464354159750700007c')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62464354159750700007c'), "application_id"=>BSON::ObjectId('5bb62464354159750700007b'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>nil, "token"=>"8b474bb452026c0dee4cc3cc28017f0103f25af1471ef2c253c982b157dcd2e1", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62464354159750700007c'), "application_id"=>BSON::ObjectId('5bb62464354159750700007b'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>nil, "token"=>"8b474bb452026c0dee4cc3cc28017f0103f25af1471ef2c253c982b157dcd2e1", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb62464354159750700007b'), :resource_owner_id=>nil, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a31c610c8d45be025f041d3805376f1075275e2bce73847392ed13dca82328d7", :_id=>{:$ne=>BSON::ObjectId('5bb62464354159750700007d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62464354159750700007d'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 50", "uid"=>"a31c610c8d45be025f041d3805376f1075275e2bce73847392ed13dca82328d7", "secret"=>"6208d1963e0cc4f3b979b0ce0d298f17328f65e10fa1842a3766603ba3624d8c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62464354159750700007d'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 50", "uid"=>"a31c610c8d45be025f041d3805376f1075275e2bce73847392ed13dca82328d7", "secret"=>"6208d1963e0cc4f3b979b0ce0d298f17328f65e10fa1842a3766603ba3624d8c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"7a98edf8fb09be76e25b05e07d54e01afe1a74f7d066f3c0565fe4cf0f91d986", :_id=>{:$ne=>BSON::ObjectId('5bb62464354159750700007e')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62464354159750700007e'), "application_id"=>BSON::ObjectId('5bb62464354159750700007d'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>100, "token"=>"7a98edf8fb09be76e25b05e07d54e01afe1a74f7d066f3c0565fe4cf0f91d986", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62464354159750700007e'), "application_id"=>BSON::ObjectId('5bb62464354159750700007d'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>100, "token"=>"7a98edf8fb09be76e25b05e07d54e01afe1a74f7d066f3c0565fe4cf0f91d986", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb62464354159750700007d'), :resource_owner_id=>100, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3d95ee7ca3990c3b4f54be8cf374be6c325e9136f9ad0fc8c9ad81caecfdd925", :_id=>{:$ne=>BSON::ObjectId('5bb62464354159750700007f')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62464354159750700007f'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 51", "uid"=>"3d95ee7ca3990c3b4f54be8cf374be6c325e9136f9ad0fc8c9ad81caecfdd925", "secret"=>"4db1591b6373112eac75393bad594f465abddae2e8b3c946324f8983e9c7e642", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62464354159750700007f'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 51", "uid"=>"3d95ee7ca3990c3b4f54be8cf374be6c325e9136f9ad0fc8c9ad81caecfdd925", "secret"=>"4db1591b6373112eac75393bad594f465abddae2e8b3c946324f8983e9c7e642", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"21c4f01ea9eef66f2b2d455c86ac409e2b5d44060d43343ab5caf57610836a78", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000080')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000080'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 52", "uid"=>"21c4f01ea9eef66f2b2d455c86ac409e2b5d44060d43343ab5caf57610836a78", "secret"=>"1e1a797879cee62bccd2149336106181a80899d71ba786317aa5646b765be25e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000080'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 52", "uid"=>"21c4f01ea9eef66f2b2d455c86ac409e2b5d44060d43343ab5caf57610836a78", "secret"=>"1e1a797879cee62bccd2149336106181a80899d71ba786317aa5646b765be25e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"6418912968a409b7318b42325739ce1dc122f2cf102a1316dda9ff9fe7f441df", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000081')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000081'), "application_id"=>BSON::ObjectId('5bb624643541597507000080'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>100, "token"=>"6418912968a409b7318b42325739ce1dc122f2cf102a1316dda9ff9fe7f441df", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000081'), "application_id"=>BSON::ObjectId('5bb624643541597507000080'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>100, "token"=>"6418912968a409b7318b42325739ce1dc122f2cf102a1316dda9ff9fe7f441df", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb62464354159750700007f'), :resource_owner_id=>100, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"9d736c70225bb60313a96a94dbacd851c24c1b79e73f93c52ade6e6c28cb77b3", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000082')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000082'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 53", "uid"=>"9d736c70225bb60313a96a94dbacd851c24c1b79e73f93c52ade6e6c28cb77b3", "secret"=>"7dfa7c54d21a2a81d2b1ded47d3402a205c952909e96d7b9533f5d10ff7dc7ae", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000082'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 53", "uid"=>"9d736c70225bb60313a96a94dbacd851c24c1b79e73f93c52ade6e6c28cb77b3", "secret"=>"7dfa7c54d21a2a81d2b1ded47d3402a205c952909e96d7b9533f5d10ff7dc7ae", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"964d16c640c67fa2cd016143123ae44daaa775062960605e18c7a8b54690886e", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000083')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000083'), "application_id"=>BSON::ObjectId('5bb624643541597507000082'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>100, "token"=>"964d16c640c67fa2cd016143123ae44daaa775062960605e18c7a8b54690886e", "expires_in"=>7200, "scopes"=>"public email"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000083'), "application_id"=>BSON::ObjectId('5bb624643541597507000082'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>100, "token"=>"964d16c640c67fa2cd016143123ae44daaa775062960605e18c7a8b54690886e", "expires_in"=>7200, "scopes"=>"public email"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb624643541597507000082'), :resource_owner_id=>100, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"619cca32f4d7d8cb3479df4d228f49227dfce9d5755a7b1dd1c7c9865977a75d", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000084')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000084'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 54", "uid"=>"619cca32f4d7d8cb3479df4d228f49227dfce9d5755a7b1dd1c7c9865977a75d", "secret"=>"3e5d8543fd7380c0554ad246ddd454aaa5495d7e6cf1115ae99d523bfbe4e3ff", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "scopes"=>"private read"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000084'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 54", "uid"=>"619cca32f4d7d8cb3479df4d228f49227dfce9d5755a7b1dd1c7c9865977a75d", "secret"=>"3e5d8543fd7380c0554ad246ddd454aaa5495d7e6cf1115ae99d523bfbe4e3ff", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "scopes"=>"private read"}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ea0a9dbd4142da8822cd99093a3837cd0ad7d1b672999d7e7f6035b279488db0", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000085')}}, {:_id=>1}).limit(-1) MONGODB (2.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000085'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 55", "uid"=>"ea0a9dbd4142da8822cd99093a3837cd0ad7d1b672999d7e7f6035b279488db0", "secret"=>"50005f08136633c0cd5f8ac87c74973bd19404faf44b8a3439b8ee4a0d93dd7c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (2.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000085'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 55", "uid"=>"ea0a9dbd4142da8822cd99093a3837cd0ad7d1b672999d7e7f6035b279488db0", "secret"=>"50005f08136633c0cd5f8ac87c74973bd19404faf44b8a3439b8ee4a0d93dd7c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"23e8a1e5a9c3b066c56ce58b1a2069c774e2c53b53449d1891c8938e60185b43", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000086')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000086'), "application_id"=>BSON::ObjectId('5bb624643541597507000084'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>100, "token"=>"23e8a1e5a9c3b066c56ce58b1a2069c774e2c53b53449d1891c8938e60185b43", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000086'), "application_id"=>BSON::ObjectId('5bb624643541597507000084'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>100, "token"=>"23e8a1e5a9c3b066c56ce58b1a2069c774e2c53b53449d1891c8938e60185b43", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb624643541597507000084'), :resource_owner_id=>100, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6bc37903a4f0161137f0f5dcd6ce9f3f90f78f567a8896a2764a3299f6cb05c1", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000088')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000088'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 56", "uid"=>"6bc37903a4f0161137f0f5dcd6ce9f3f90f78f567a8896a2764a3299f6cb05c1", "secret"=>"77990917cc6308c1ed614d01ed9120936730908e2338386bf226899ab946caba", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000088'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 56", "uid"=>"6bc37903a4f0161137f0f5dcd6ce9f3f90f78f567a8896a2764a3299f6cb05c1", "secret"=>"77990917cc6308c1ed614d01ed9120936730908e2338386bf226899ab946caba", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"07ee4afca2f43bb887d123683e28f8908e6f1f0c4b7f742dd9ad251e6621e36c", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000087')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000087'), "application_id"=>BSON::ObjectId('5bb624643541597507000088'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>7, "token"=>"07ee4afca2f43bb887d123683e28f8908e6f1f0c4b7f742dd9ad251e6621e36c", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000087'), "application_id"=>BSON::ObjectId('5bb624643541597507000088'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>7, "token"=>"07ee4afca2f43bb887d123683e28f8908e6f1f0c4b7f742dd9ad251e6621e36c", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"bad3a56ecd94c9cb9071b40118db8f26ab6a2d67c7f4268e7d3959c104c07c0f", :_id=>{:$ne=>BSON::ObjectId('5bb62464354159750700008a')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62464354159750700008a'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 57", "uid"=>"bad3a56ecd94c9cb9071b40118db8f26ab6a2d67c7f4268e7d3959c104c07c0f", "secret"=>"c862f96dc186570291c7fae46eb6b665992eabe41aa649ce906b911daaf1850e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62464354159750700008a'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 57", "uid"=>"bad3a56ecd94c9cb9071b40118db8f26ab6a2d67c7f4268e7d3959c104c07c0f", "secret"=>"c862f96dc186570291c7fae46eb6b665992eabe41aa649ce906b911daaf1850e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"84a111d8061f1b1332d26407173eb56b9c553df7e182921f4bf9bc5c6d6d6afd", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000089')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000089'), "application_id"=>BSON::ObjectId('5bb62464354159750700008a'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>8, "token"=>"84a111d8061f1b1332d26407173eb56b9c553df7e182921f4bf9bc5c6d6d6afd", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000089'), "application_id"=>BSON::ObjectId('5bb62464354159750700008a'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>8, "token"=>"84a111d8061f1b1332d26407173eb56b9c553df7e182921f4bf9bc5c6d6d6afd", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"07ee4afca2f43bb887d123683e28f8908e6f1f0c4b7f742dd9ad251e6621e36c", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000089')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"64342e7b94c7587f4a566aef390b1e1636f7fe3c7efa1d73f5f2259983057211", :_id=>{:$ne=>BSON::ObjectId('5bb62464354159750700008c')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62464354159750700008c'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 58", "uid"=>"64342e7b94c7587f4a566aef390b1e1636f7fe3c7efa1d73f5f2259983057211", "secret"=>"12a2f73b5afb21acbef2f23bb8c203a6d31635105bfd7d166d30a7c53b614cd6", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62464354159750700008c'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 58", "uid"=>"64342e7b94c7587f4a566aef390b1e1636f7fe3c7efa1d73f5f2259983057211", "secret"=>"12a2f73b5afb21acbef2f23bb8c203a6d31635105bfd7d166d30a7c53b614cd6", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"c308556820e01d33537a6df47ca8fba6b41085d3280633082f48fecc3e780c77", :_id=>{:$ne=>BSON::ObjectId('5bb62464354159750700008b')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b8f553fd6e0ad8362739cdf963bc3a13cf8f95b77ce0e998b7b1683a154847e7", :_id=>{:$ne=>BSON::ObjectId('5bb62464354159750700008e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62464354159750700008e'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 59", "uid"=>"b8f553fd6e0ad8362739cdf963bc3a13cf8f95b77ce0e998b7b1683a154847e7", "secret"=>"ef13299680602dab8caf9553ea1deacfaecf35c7e5c0528f4682f3efe44b5e10", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62464354159750700008e'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 59", "uid"=>"b8f553fd6e0ad8362739cdf963bc3a13cf8f95b77ce0e998b7b1683a154847e7", "secret"=>"ef13299680602dab8caf9553ea1deacfaecf35c7e5c0528f4682f3efe44b5e10", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"0358b319d062ceb5ea8c41e3a5a9306a77de6b9dbfa1c09898bb95368c3e7fe4", :_id=>{:$ne=>BSON::ObjectId('5bb62464354159750700008d')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62464354159750700008d'), "application_id"=>BSON::ObjectId('5bb62464354159750700008e'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>10, "token"=>"0358b319d062ceb5ea8c41e3a5a9306a77de6b9dbfa1c09898bb95368c3e7fe4", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62464354159750700008d'), "application_id"=>BSON::ObjectId('5bb62464354159750700008e'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>10, "token"=>"0358b319d062ceb5ea8c41e3a5a9306a77de6b9dbfa1c09898bb95368c3e7fe4", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d16ef138f0c6d76964cdf8a8d45aac4507be248afdd4ef2b6e24981485403e02", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000090')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000090'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 60", "uid"=>"d16ef138f0c6d76964cdf8a8d45aac4507be248afdd4ef2b6e24981485403e02", "secret"=>"e8e4feebc41fec6963bde660f7b33cad3a48805c3f2c13fb3ec6c94e6dad0be2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000090'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 60", "uid"=>"d16ef138f0c6d76964cdf8a8d45aac4507be248afdd4ef2b6e24981485403e02", "secret"=>"e8e4feebc41fec6963bde660f7b33cad3a48805c3f2c13fb3ec6c94e6dad0be2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"9dbc28a14c9b1de619d03305eb83ab0565bc14e78d0c8b3ddc1f887c10c516fc", :_id=>{:$ne=>BSON::ObjectId('5bb62464354159750700008f')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62464354159750700008f'), "application_id"=>BSON::ObjectId('5bb624643541597507000090'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>11, "token"=>"9dbc28a14c9b1de619d03305eb83ab0565bc14e78d0c8b3ddc1f887c10c516fc", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62464354159750700008f'), "application_id"=>BSON::ObjectId('5bb624643541597507000090'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>11, "token"=>"9dbc28a14c9b1de619d03305eb83ab0565bc14e78d0c8b3ddc1f887c10c516fc", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"0358b319d062ceb5ea8c41e3a5a9306a77de6b9dbfa1c09898bb95368c3e7fe4", :_id=>{:$ne=>BSON::ObjectId('5bb62464354159750700008f')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ffbf0092feab68e7b25e5fb6ad31a4ea48c7b0cc24859e64c16c632d4dd8cd48", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000092')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000092'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 61", "uid"=>"ffbf0092feab68e7b25e5fb6ad31a4ea48c7b0cc24859e64c16c632d4dd8cd48", "secret"=>"ebb5678c9136a718076a37860f81e6ba2628047bba89a4c26ade53ccaba7ed37", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000092'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 61", "uid"=>"ffbf0092feab68e7b25e5fb6ad31a4ea48c7b0cc24859e64c16c632d4dd8cd48", "secret"=>"ebb5678c9136a718076a37860f81e6ba2628047bba89a4c26ade53ccaba7ed37", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"fd98a0b16366869c167145f76fffe9714df05391fd5254dd2200d08b1c68bfe7", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000091')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000091'), "application_id"=>BSON::ObjectId('5bb624643541597507000092'), "created_at"=>2018-10-04 08:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>12, "token"=>"fd98a0b16366869c167145f76fffe9714df05391fd5254dd2200d08b1c68bfe7", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000091'), "application_id"=>BSON::ObjectId('5bb624643541597507000092'), "created_at"=>2018-10-04 08:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>12, "token"=>"fd98a0b16366869c167145f76fffe9714df05391fd5254dd2200d08b1c68bfe7", "expires_in"=>7200}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ed8c62a796af95b73e15c50a8dca415ec66d2e7faa7f7e9b5785f6b4dffd2310", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000094')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000094'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 62", "uid"=>"ed8c62a796af95b73e15c50a8dca415ec66d2e7faa7f7e9b5785f6b4dffd2310", "secret"=>"8f45bfdf1069127c50c3fee5c63d01b5e32f3ec9661391ab6eb307628a2fbfba", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000094'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 62", "uid"=>"ed8c62a796af95b73e15c50a8dca415ec66d2e7faa7f7e9b5785f6b4dffd2310", "secret"=>"8f45bfdf1069127c50c3fee5c63d01b5e32f3ec9661391ab6eb307628a2fbfba", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"cb1eddcfba2c15162449d481592792c481b9449936972a2bcb949e30a58489c3", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000093')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000093'), "application_id"=>BSON::ObjectId('5bb624643541597507000094'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>13, "token"=>"cb1eddcfba2c15162449d481592792c481b9449936972a2bcb949e30a58489c3", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000093'), "application_id"=>BSON::ObjectId('5bb624643541597507000094'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>13, "token"=>"cb1eddcfba2c15162449d481592792c481b9449936972a2bcb949e30a58489c3", "expires_in"=>7200}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"46b3ac3b1f8e97ae7d46d0eaedd5e0508e7a5556186fe8b92536f65f6f36e618", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000096')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000096'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 63", "uid"=>"46b3ac3b1f8e97ae7d46d0eaedd5e0508e7a5556186fe8b92536f65f6f36e618", "secret"=>"b25c75acf48804948dd757a904227a77f3d505effbc85bc46637b52369546fb9", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000096'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 63", "uid"=>"46b3ac3b1f8e97ae7d46d0eaedd5e0508e7a5556186fe8b92536f65f6f36e618", "secret"=>"b25c75acf48804948dd757a904227a77f3d505effbc85bc46637b52369546fb9", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"cfccb173987128485e68f30a4941e4a7586952c9f32c7d229af7a3517c6dcc02", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000095')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000095'), "application_id"=>BSON::ObjectId('5bb624643541597507000096'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>14, "token"=>"cfccb173987128485e68f30a4941e4a7586952c9f32c7d229af7a3517c6dcc02", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000095'), "application_id"=>BSON::ObjectId('5bb624643541597507000096'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>14, "token"=>"cfccb173987128485e68f30a4941e4a7586952c9f32c7d229af7a3517c6dcc02", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0a79ad7fabdee4c1055ab393feaecece40d6c1f2b838803e578aeea11a9b119f", :_id=>{:$ne=>BSON::ObjectId('5bb624643541597507000098')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624643541597507000098'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 64", "uid"=>"0a79ad7fabdee4c1055ab393feaecece40d6c1f2b838803e578aeea11a9b119f", "secret"=>"9e79908bf4329ffc2d20e7b0813f67dd33fdc555eba20ed570d35e65b20e3cae", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624643541597507000098'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 64", "uid"=>"0a79ad7fabdee4c1055ab393feaecece40d6c1f2b838803e578aeea11a9b119f", "secret"=>"9e79908bf4329ffc2d20e7b0813f67dd33fdc555eba20ed570d35e65b20e3cae", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"11e0bf060e64fda6eba9218e9b206e575378939615898d9ee43252b6b343b2dd", :_id=>{:$ne=>BSON::ObjectId('5bb62464354159750700009a')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62464354159750700009a'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 65", "uid"=>"11e0bf060e64fda6eba9218e9b206e575378939615898d9ee43252b6b343b2dd", "secret"=>"1f521e170b269ce7dacd481d2ae7f02e4e2c9362dadc7bae3b290da0a9e5f397", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62464354159750700009a'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 65", "uid"=>"11e0bf060e64fda6eba9218e9b206e575378939615898d9ee43252b6b343b2dd", "secret"=>"1f521e170b269ce7dacd481d2ae7f02e4e2c9362dadc7bae3b290da0a9e5f397", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f52337b71d4a1d9bdaebfddffb3144ad511e96e63572526e770e70ce636584fd", :_id=>{:$ne=>BSON::ObjectId('5bb62464354159750700009c')}}, {:_id=>1}).limit(-1) MONGODB (12.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62464354159750700009c'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 66", "uid"=>"f52337b71d4a1d9bdaebfddffb3144ad511e96e63572526e770e70ce636584fd", "secret"=>"031e5a18ad8a8dfaf5f30952320a81b95971ff6257c98f82fbfe51c445bc69b1", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (12.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62464354159750700009c'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 66", "uid"=>"f52337b71d4a1d9bdaebfddffb3144ad511e96e63572526e770e70ce636584fd", "secret"=>"031e5a18ad8a8dfaf5f30952320a81b95971ff6257c98f82fbfe51c445bc69b1", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"001352e89bafc1763cca79ff493a5ca8a5a0e91cecf109a9d30f51dfa83cbb48", :_id=>{:$ne=>BSON::ObjectId('5bb62464354159750700009e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62464354159750700009e'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 67", "uid"=>"001352e89bafc1763cca79ff493a5ca8a5a0e91cecf109a9d30f51dfa83cbb48", "secret"=>"5c9489a01f82443b1103f3f1b0a5ed5c4589635a74fc6051b000f54d53e669c3", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62464354159750700009e'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 67", "uid"=>"001352e89bafc1763cca79ff493a5ca8a5a0e91cecf109a9d30f51dfa83cbb48", "secret"=>"5c9489a01f82443b1103f3f1b0a5ed5c4589635a74fc6051b000f54d53e669c3", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"custom_generator_token_Application 67", :_id=>{:$ne=>BSON::ObjectId('5bb62464354159750700009d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62464354159750700009d'), "application_id"=>BSON::ObjectId('5bb62464354159750700009e'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>18, "token"=>"custom_generator_token_Application 67", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62464354159750700009d'), "application_id"=>BSON::ObjectId('5bb62464354159750700009e'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>18, "token"=>"custom_generator_token_Application 67", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"82d5c7be0dd67fdfba4b4891c0784dc1b8894c76f9c7d17fb622211da6c3c9e4", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000a0')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000a0'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 68", "uid"=>"82d5c7be0dd67fdfba4b4891c0784dc1b8894c76f9c7d17fb622211da6c3c9e4", "secret"=>"d7a746e5484454982f23aad025b9848fc89fc4787d9c4f349f28b939de8afaeb", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000a0'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 68", "uid"=>"82d5c7be0dd67fdfba4b4891c0784dc1b8894c76f9c7d17fb622211da6c3c9e4", "secret"=>"d7a746e5484454982f23aad025b9848fc89fc4787d9c4f349f28b939de8afaeb", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"custom_generator_token_1538663524", :_id=>{:$ne=>BSON::ObjectId('5bb62464354159750700009f')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62464354159750700009f'), "application_id"=>BSON::ObjectId('5bb6246435415975070000a0'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>19, "token"=>"custom_generator_token_1538663524", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62464354159750700009f'), "application_id"=>BSON::ObjectId('5bb6246435415975070000a0'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>19, "token"=>"custom_generator_token_1538663524", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"40d38070259a616985298b43a307a0be6199b9ed8a116d8da58edd72dad4f0d9", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000a2')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000a2'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 69", "uid"=>"40d38070259a616985298b43a307a0be6199b9ed8a116d8da58edd72dad4f0d9", "secret"=>"cb7ab9c4471f2bf7e6dd4a302c1b89fd8ae7aca13847042e92324aa22dcfb46f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000a2'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 69", "uid"=>"40d38070259a616985298b43a307a0be6199b9ed8a116d8da58edd72dad4f0d9", "secret"=>"cb7ab9c4471f2bf7e6dd4a302c1b89fd8ae7aca13847042e92324aa22dcfb46f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"custom_generator_token_7200", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000a1')}}, {:_id=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000a1'), "application_id"=>BSON::ObjectId('5bb6246435415975070000a2'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>20, "token"=>"custom_generator_token_7200", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000a1'), "application_id"=>BSON::ObjectId('5bb6246435415975070000a2'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>20, "token"=>"custom_generator_token_7200", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"60bf5bcc5ee6c0842ab3c0690f567a5bf94d79c5abfbc7a7d791139931399f01", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000a4')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000a4'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 70", "uid"=>"60bf5bcc5ee6c0842ab3c0690f567a5bf94d79c5abfbc7a7d791139931399f01", "secret"=>"fbdf7b3704b23490b08ef4b94ebfef1c6c408d8480367aaf07797bb40088067a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000a4'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 70", "uid"=>"60bf5bcc5ee6c0842ab3c0690f567a5bf94d79c5abfbc7a7d791139931399f01", "secret"=>"fbdf7b3704b23490b08ef4b94ebfef1c6c408d8480367aaf07797bb40088067a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"custom_generator_token_21", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000a3')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000a3'), "application_id"=>BSON::ObjectId('5bb6246435415975070000a4'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>21, "token"=>"custom_generator_token_21", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000a3'), "application_id"=>BSON::ObjectId('5bb6246435415975070000a4'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>21, "token"=>"custom_generator_token_21", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b500b09b17b5d556913db3022cf8810e33948e72884a2d6ca5da7e4d8a3e8fca", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000a6')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000a6'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 71", "uid"=>"b500b09b17b5d556913db3022cf8810e33948e72884a2d6ca5da7e4d8a3e8fca", "secret"=>"196570717e1232b196f6dca044fda6499d1363ba6936e6ed259389d6424e6770", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000a6'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 71", "uid"=>"b500b09b17b5d556913db3022cf8810e33948e72884a2d6ca5da7e4d8a3e8fca", "secret"=>"196570717e1232b196f6dca044fda6499d1363ba6936e6ed259389d6424e6770", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"972a1bd174aa8505d5efaa1a42c15c45f10ff9b17af00dbf6ed012f0c6ca290a", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000a5')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000a5'), "application_id"=>BSON::ObjectId('5bb6246435415975070000a6'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>22, "token"=>"972a1bd174aa8505d5efaa1a42c15c45f10ff9b17af00dbf6ed012f0c6ca290a", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000a5'), "application_id"=>BSON::ObjectId('5bb6246435415975070000a6'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>22, "token"=>"972a1bd174aa8505d5efaa1a42c15c45f10ff9b17af00dbf6ed012f0c6ca290a", "expires_in"=>7200}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"35ac993d8e1891b53877709baf442aea9225967f8a3c9e6bd2747fc5f14cfebe", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000a8')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000a8'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 72", "uid"=>"35ac993d8e1891b53877709baf442aea9225967f8a3c9e6bd2747fc5f14cfebe", "secret"=>"d4a7f3992d710b7767815b30b4afb4ed7a37599ca26e3ad9ae7901793279c5fd", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000a8'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 72", "uid"=>"35ac993d8e1891b53877709baf442aea9225967f8a3c9e6bd2747fc5f14cfebe", "secret"=>"d4a7f3992d710b7767815b30b4afb4ed7a37599ca26e3ad9ae7901793279c5fd", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"c9e8dbf9ef4dc62564497f618a430c17729a9a6ba49ea85d44168e496f8bb43f", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000a7')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000a7'), "application_id"=>BSON::ObjectId('5bb6246435415975070000a8'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>23, "token"=>"c9e8dbf9ef4dc62564497f618a430c17729a9a6ba49ea85d44168e496f8bb43f", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000a7'), "application_id"=>BSON::ObjectId('5bb6246435415975070000a8'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>23, "token"=>"c9e8dbf9ef4dc62564497f618a430c17729a9a6ba49ea85d44168e496f8bb43f", "expires_in"=>7200}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d1b26d851052fb7fda7b2e66b907f1e80940e3ccf270c26f5b90a5aa3b5915b4", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000aa')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000aa'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 73", "uid"=>"d1b26d851052fb7fda7b2e66b907f1e80940e3ccf270c26f5b90a5aa3b5915b4", "secret"=>"eae7d42371588aa87e991aead6a0064f252166fa956f750a7e69d33f91c4aad1", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000aa'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 73", "uid"=>"d1b26d851052fb7fda7b2e66b907f1e80940e3ccf270c26f5b90a5aa3b5915b4", "secret"=>"eae7d42371588aa87e991aead6a0064f252166fa956f750a7e69d33f91c4aad1", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"custom_generator_token_2_public write", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000a9')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000a9'), "application_id"=>BSON::ObjectId('5bb6246435415975070000aa'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>24, "token"=>"custom_generator_token_2_public write", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000a9'), "application_id"=>BSON::ObjectId('5bb6246435415975070000aa'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>24, "token"=>"custom_generator_token_2_public write", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3392f225c27af4db6f512ff24c382d54e83ce65a806336644dca8ff8b896ca9b", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000ac')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000ac'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 74", "uid"=>"3392f225c27af4db6f512ff24c382d54e83ce65a806336644dca8ff8b896ca9b", "secret"=>"ca1fc3c15c8a1fe6557e86e374298ec09a1615e4fdd38b4994e1fdf0bdc799bc", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000ac'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 74", "uid"=>"3392f225c27af4db6f512ff24c382d54e83ce65a806336644dca8ff8b896ca9b", "secret"=>"ca1fc3c15c8a1fe6557e86e374298ec09a1615e4fdd38b4994e1fdf0bdc799bc", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ab95d1fc0e22034eb4bba34d60c7451f936ad2d8e3f7f477a6352a051c2cbb62", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000ae')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000ae'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 75", "uid"=>"ab95d1fc0e22034eb4bba34d60c7451f936ad2d8e3f7f477a6352a051c2cbb62", "secret"=>"34f8fd45ab4565d3e33635231a62cfbd22bda29a90b00b6cbf34e1fb353ef748", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000ae'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 75", "uid"=>"ab95d1fc0e22034eb4bba34d60c7451f936ad2d8e3f7f477a6352a051c2cbb62", "secret"=>"34f8fd45ab4565d3e33635231a62cfbd22bda29a90b00b6cbf34e1fb353ef748", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c0611ec3cbcc2383fe2f6db0af52fd7306448eecdb8f0741a27c7f326713bcd0", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000af')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000af'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 76", "uid"=>"c0611ec3cbcc2383fe2f6db0af52fd7306448eecdb8f0741a27c7f326713bcd0", "secret"=>"78fef1ea2b023c8897060417b282b9a27e00f94a66d91f9a51d37f8bf8ef4556", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000af'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 76", "uid"=>"c0611ec3cbcc2383fe2f6db0af52fd7306448eecdb8f0741a27c7f326713bcd0", "secret"=>"78fef1ea2b023c8897060417b282b9a27e00f94a66d91f9a51d37f8bf8ef4556", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e8d23cb722ba55e3b4c31f00c5b42884003f7666d29f9f6f18d147f8c7b6d587", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000b0')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000b0'), "application_id"=>BSON::ObjectId('5bb6246435415975070000af'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>100, "token"=>"e8d23cb722ba55e3b4c31f00c5b42884003f7666d29f9f6f18d147f8c7b6d587", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000b0'), "application_id"=>BSON::ObjectId('5bb6246435415975070000af'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>100, "token"=>"e8d23cb722ba55e3b4c31f00c5b42884003f7666d29f9f6f18d147f8c7b6d587", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6246435415975070000af'), :resource_owner_id=>100, :revoked_at=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6246435415975070000b0')}, :u=>{"_id"=>BSON::ObjectId('5bb6246435415975070000b0'), "application_id"=>BSON::ObjectId('5bb6246435415975070000af'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>100, "token"=>"e8d23cb722ba55e3b4c31f00c5b42884003f7666d29f9f6f18d147f8c7b6d587", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6246435415975070000b0')}, {"_id"=>BSON::ObjectId('5bb6246435415975070000b0'), "application_id"=>BSON::ObjectId('5bb6246435415975070000af'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>100, "token"=>"e8d23cb722ba55e3b4c31f00c5b42884003f7666d29f9f6f18d147f8c7b6d587", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1b88331f3af5194573989f7e68032323d0955beb07aa132c46e6f40486e652f2", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000b1')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000b1'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 77", "uid"=>"1b88331f3af5194573989f7e68032323d0955beb07aa132c46e6f40486e652f2", "secret"=>"6c9b46883852d1642a67391e3645645ccbb07e16a18e4cb70b1d3789f5ebbb21", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000b1'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 77", "uid"=>"1b88331f3af5194573989f7e68032323d0955beb07aa132c46e6f40486e652f2", "secret"=>"6c9b46883852d1642a67391e3645645ccbb07e16a18e4cb70b1d3789f5ebbb21", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"2ca37e1e0f26f60df0379cc420d9f021f2a4fdf3957fcc5b32f6544f6c5665e7", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000b2')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000b2'), "application_id"=>BSON::ObjectId('5bb6246435415975070000b1'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>90, "token"=>"2ca37e1e0f26f60df0379cc420d9f021f2a4fdf3957fcc5b32f6544f6c5665e7", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000b2'), "application_id"=>BSON::ObjectId('5bb6246435415975070000b1'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>90, "token"=>"2ca37e1e0f26f60df0379cc420d9f021f2a4fdf3957fcc5b32f6544f6c5665e7", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6246435415975070000b1'), :resource_owner_id=>100, :revoked_at=>nil}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}) MONGODB (4.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (4.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (4.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c5e72cd1eee0f6b376f915d97022c075ed4e71d467684825150bbe478599f08b", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000b3')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000b3'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 78", "uid"=>"c5e72cd1eee0f6b376f915d97022c075ed4e71d467684825150bbe478599f08b", "secret"=>"aef9b507e73be242569d7e5b712f14b3b3a116cfb5be4cb8fdf171f3a372351b", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000b3'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 78", "uid"=>"c5e72cd1eee0f6b376f915d97022c075ed4e71d467684825150bbe478599f08b", "secret"=>"aef9b507e73be242569d7e5b712f14b3b3a116cfb5be4cb8fdf171f3a372351b", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d2a8433f8334c55245c4b1f165b5c7b60efc7656fe1bb48ba57a9e31a1ab08f9", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000b4')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000b4'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 79", "uid"=>"d2a8433f8334c55245c4b1f165b5c7b60efc7656fe1bb48ba57a9e31a1ab08f9", "secret"=>"44c237c6e43a8364bcdc58fc4991858a0ae50adad05d2d446bd2c6dd698eed40", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000b4'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 79", "uid"=>"d2a8433f8334c55245c4b1f165b5c7b60efc7656fe1bb48ba57a9e31a1ab08f9", "secret"=>"44c237c6e43a8364bcdc58fc4991858a0ae50adad05d2d446bd2c6dd698eed40", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"90c1fa9622c37a06cfe86a2fb5aeb660c6b7923710743e557692bb38cdc58f25", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000b5')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000b5'), "application_id"=>BSON::ObjectId('5bb6246435415975070000b4'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>100, "token"=>"90c1fa9622c37a06cfe86a2fb5aeb660c6b7923710743e557692bb38cdc58f25", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000b5'), "application_id"=>BSON::ObjectId('5bb6246435415975070000b4'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>100, "token"=>"90c1fa9622c37a06cfe86a2fb5aeb660c6b7923710743e557692bb38cdc58f25", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6246435415975070000b3'), :resource_owner_id=>100, :revoked_at=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f89a113e88922447b9599de7c7078ace2f9617078827993483ccd846677c38ed", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000b7')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000b7'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 80", "uid"=>"f89a113e88922447b9599de7c7078ace2f9617078827993483ccd846677c38ed", "secret"=>"1079a5ee47e3adac12ffccf611791855de9ed79cf92d5fecac33bed30d05b022", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000b7'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 80", "uid"=>"f89a113e88922447b9599de7c7078ace2f9617078827993483ccd846677c38ed", "secret"=>"1079a5ee47e3adac12ffccf611791855de9ed79cf92d5fecac33bed30d05b022", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"1c2925428407800061ea76dc939f81c24f3257fd9dc02a1e98fcad6a8ffe9678", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000b6')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000b6'), "application_id"=>BSON::ObjectId('5bb6246435415975070000b7'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>27, "token"=>"1c2925428407800061ea76dc939f81c24f3257fd9dc02a1e98fcad6a8ffe9678", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000b6'), "application_id"=>BSON::ObjectId('5bb6246435415975070000b7'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>27, "token"=>"1c2925428407800061ea76dc939f81c24f3257fd9dc02a1e98fcad6a8ffe9678", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"679769d36e67de1162745e09414f326376df2fd9a403954893f2057b36dddc15", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000b9')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000b9'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 81", "uid"=>"679769d36e67de1162745e09414f326376df2fd9a403954893f2057b36dddc15", "secret"=>"6d8b6b776743b11bba1bab5340be54837b3bdce8d5d4b81f431d4091e5399ade", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000b9'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 81", "uid"=>"679769d36e67de1162745e09414f326376df2fd9a403954893f2057b36dddc15", "secret"=>"6d8b6b776743b11bba1bab5340be54837b3bdce8d5d4b81f431d4091e5399ade", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"5cb1ddd54b2f7f9477a75f1f000f606fcfcff8e847454a0e7c98c4fa981b9718", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000b8')}}, {:_id=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000b8'), "application_id"=>BSON::ObjectId('5bb6246435415975070000b9'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>28, "token"=>"5cb1ddd54b2f7f9477a75f1f000f606fcfcff8e847454a0e7c98c4fa981b9718", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000b8'), "application_id"=>BSON::ObjectId('5bb6246435415975070000b9'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>28, "token"=>"5cb1ddd54b2f7f9477a75f1f000f606fcfcff8e847454a0e7c98c4fa981b9718", "expires_in"=>7200}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6246435415975070000b8')}, :u=>{"_id"=>BSON::ObjectId('5bb6246435415975070000b8'), "application_id"=>BSON::ObjectId('5bb6246435415975070000b9'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>28, "token"=>"5cb1ddd54b2f7f9477a75f1f000f606fcfcff8e847454a0e7c98c4fa981b9718", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6246435415975070000b8')}, {"_id"=>BSON::ObjectId('5bb6246435415975070000b8'), "application_id"=>BSON::ObjectId('5bb6246435415975070000b9'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>28, "token"=>"5cb1ddd54b2f7f9477a75f1f000f606fcfcff8e847454a0e7c98c4fa981b9718", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3db033f5de6743713c277b1911d022379a863e58d29302b1081c79beed78cfe1", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000bb')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000bb'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 82", "uid"=>"3db033f5de6743713c277b1911d022379a863e58d29302b1081c79beed78cfe1", "secret"=>"3a6ab3158b52e9b4db782c951384b904d9153596c7b3bd6071b2972a9dcbcaf7", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000bb'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 82", "uid"=>"3db033f5de6743713c277b1911d022379a863e58d29302b1081c79beed78cfe1", "secret"=>"3a6ab3158b52e9b4db782c951384b904d9153596c7b3bd6071b2972a9dcbcaf7", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"4b051240a18304bf3cabe364773fcd342d9b084acee5d1708db71357f686fe92", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000ba')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"199e46ac80e344a2bc65be5ef61891e056e3043cccca1392ee5439d6f4a6e1a8", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000bd')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000bd'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 83", "uid"=>"199e46ac80e344a2bc65be5ef61891e056e3043cccca1392ee5439d6f4a6e1a8", "secret"=>"ab754ad3d4e265756236e9f85113a6c726e7b85bab0e2095ddd51a5cae98047b", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000bd'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 83", "uid"=>"199e46ac80e344a2bc65be5ef61891e056e3043cccca1392ee5439d6f4a6e1a8", "secret"=>"ab754ad3d4e265756236e9f85113a6c726e7b85bab0e2095ddd51a5cae98047b", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"1b9fd418396f177212bb7c383b6efc18e199ad95fa181ae881b285a79f2f76f5", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000bc')}}, {:_id=>1}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4544b49e09c9c64083c4646494624c8dcb63c68e32f9af7c736b8aeaed0c5165", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000be')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000be'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 84", "uid"=>"4544b49e09c9c64083c4646494624c8dcb63c68e32f9af7c736b8aeaed0c5165", "secret"=>"04b67d40e8f47f50753eda375050c0b4466ca93a0aa1d9ea2041522c13214a95", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000be'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 84", "uid"=>"4544b49e09c9c64083c4646494624c8dcb63c68e32f9af7c736b8aeaed0c5165", "secret"=>"04b67d40e8f47f50753eda375050c0b4466ca93a0aa1d9ea2041522c13214a95", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e598607fecbf54e412a86b28461d4c7f41c964f5d00da277218df324bb9a50e7", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000bf')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000bf'), "application_id"=>BSON::ObjectId('5bb6246435415975070000be'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>100, "token"=>"e598607fecbf54e412a86b28461d4c7f41c964f5d00da277218df324bb9a50e7", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000bf'), "application_id"=>BSON::ObjectId('5bb6246435415975070000be'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>100, "token"=>"e598607fecbf54e412a86b28461d4c7f41c964f5d00da277218df324bb9a50e7", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7ba7b9df64a8c6387ace105f7545f3894bd51845d29f231067688b8230b6a7cf", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000c0')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000c0'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 85", "uid"=>"7ba7b9df64a8c6387ace105f7545f3894bd51845d29f231067688b8230b6a7cf", "secret"=>"f6640ad5f6fed06da2ba787e360dff7011cc795b86af8953229c04001daf1216", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000c0'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 85", "uid"=>"7ba7b9df64a8c6387ace105f7545f3894bd51845d29f231067688b8230b6a7cf", "secret"=>"f6640ad5f6fed06da2ba787e360dff7011cc795b86af8953229c04001daf1216", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"facfad6ff353b5e9f64654760a6cb7af472f064f0f3e9fa33c1a743017f2571d", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000c1')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000c1'), "application_id"=>BSON::ObjectId('5bb6246435415975070000c0'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>100, "token"=>"facfad6ff353b5e9f64654760a6cb7af472f064f0f3e9fa33c1a743017f2571d", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000c1'), "application_id"=>BSON::ObjectId('5bb6246435415975070000c0'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>100, "token"=>"facfad6ff353b5e9f64654760a6cb7af472f064f0f3e9fa33c1a743017f2571d", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"105cf2084a0065f46651da7b98078c7330c0b498aa6884e0f1f91243d3d4473e", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000c2')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000c2'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 86", "uid"=>"105cf2084a0065f46651da7b98078c7330c0b498aa6884e0f1f91243d3d4473e", "secret"=>"f7c05c7fcf984f2d9f51313dfe543ab25ac32afde844a454f74fe1e6b2ed6106", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000c2'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 86", "uid"=>"105cf2084a0065f46651da7b98078c7330c0b498aa6884e0f1f91243d3d4473e", "secret"=>"f7c05c7fcf984f2d9f51313dfe543ab25ac32afde844a454f74fe1e6b2ed6106", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"4381c05d43c71df7fe31d0fa03a38565cf46e76e113943a8356372de8aaf45f5", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000c3')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000c3'), "application_id"=>BSON::ObjectId('5bb6246435415975070000c2'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>100, "token"=>"4381c05d43c71df7fe31d0fa03a38565cf46e76e113943a8356372de8aaf45f5", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000c3'), "application_id"=>BSON::ObjectId('5bb6246435415975070000c2'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>100, "token"=>"4381c05d43c71df7fe31d0fa03a38565cf46e76e113943a8356372de8aaf45f5", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"4b2a0e0a64ae3a8a72c16a6d50e438fdd622a4e864503d466f2f3c4b30e69c32", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000c4')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000c4'), "application_id"=>BSON::ObjectId('5bb6246435415975070000c2'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>42, "token"=>"4b2a0e0a64ae3a8a72c16a6d50e438fdd622a4e864503d466f2f3c4b30e69c32", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000c4'), "application_id"=>BSON::ObjectId('5bb6246435415975070000c2'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>42, "token"=>"4b2a0e0a64ae3a8a72c16a6d50e438fdd622a4e864503d466f2f3c4b30e69c32", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"15080c0d35c38a001c9393612a09143cbf788a993e610c890034460399ac07e2", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000c5')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000c5'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 87", "uid"=>"15080c0d35c38a001c9393612a09143cbf788a993e610c890034460399ac07e2", "secret"=>"f12629438a9b9e43efb6ce9d1bd1ca822725513fba0722fa0d9af43cc2214a20", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000c5'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 87", "uid"=>"15080c0d35c38a001c9393612a09143cbf788a993e610c890034460399ac07e2", "secret"=>"f12629438a9b9e43efb6ce9d1bd1ca822725513fba0722fa0d9af43cc2214a20", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"810bddf55a70866ba7ddb4f1f58d712c898c69a6e810904115f1beda5fd1d9f5", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000c6')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000c6'), "application_id"=>BSON::ObjectId('5bb6246435415975070000c5'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>100, "token"=>"810bddf55a70866ba7ddb4f1f58d712c898c69a6e810904115f1beda5fd1d9f5", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000c6'), "application_id"=>BSON::ObjectId('5bb6246435415975070000c5'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>100, "token"=>"810bddf55a70866ba7ddb4f1f58d712c898c69a6e810904115f1beda5fd1d9f5", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e301ff22d8841047ec3ffb4f0ad9aa4442e012101b27cc42fddcfacd38dc4b92", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000c7')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000c7'), "application_id"=>BSON::ObjectId('5bb6246435415975070000c5'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>100, "token"=>"e301ff22d8841047ec3ffb4f0ad9aa4442e012101b27cc42fddcfacd38dc4b92", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000c7'), "application_id"=>BSON::ObjectId('5bb6246435415975070000c5'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>100, "token"=>"e301ff22d8841047ec3ffb4f0ad9aa4442e012101b27cc42fddcfacd38dc4b92", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7c13bca1f5b9e025d0c815a6dc877b33b09a92ae654abd897697e800cd92ba09", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000c8')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000c8'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 88", "uid"=>"7c13bca1f5b9e025d0c815a6dc877b33b09a92ae654abd897697e800cd92ba09", "secret"=>"17032cc09cf39eaa5037a4a9a60ead8d5170060426bd83a2a2a08f9013d7a84d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000c8'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 88", "uid"=>"7c13bca1f5b9e025d0c815a6dc877b33b09a92ae654abd897697e800cd92ba09", "secret"=>"17032cc09cf39eaa5037a4a9a60ead8d5170060426bd83a2a2a08f9013d7a84d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"55f0f693cf2dfe71de9355e437376f0d1b061c8b034dd765800cf2192567cdd0", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000c9')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000c9'), "application_id"=>BSON::ObjectId('5bb6246435415975070000c8'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>100, "token"=>"55f0f693cf2dfe71de9355e437376f0d1b061c8b034dd765800cf2192567cdd0", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000c9'), "application_id"=>BSON::ObjectId('5bb6246435415975070000c8'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>100, "token"=>"55f0f693cf2dfe71de9355e437376f0d1b061c8b034dd765800cf2192567cdd0", "expires_in"=>7200}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0a79e6aa1c9681a14f88f0503df20ce5199591c9e7105b4d6df3188079c2f512", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000ca')}}, {:_id=>1}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000ca'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 89", "uid"=>"0a79e6aa1c9681a14f88f0503df20ce5199591c9e7105b4d6df3188079c2f512", "secret"=>"adc245316d93b9cffe0f42ef07141aaab6dafa9f6e772172a829133924e75e74", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000ca'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 89", "uid"=>"0a79e6aa1c9681a14f88f0503df20ce5199591c9e7105b4d6df3188079c2f512", "secret"=>"adc245316d93b9cffe0f42ef07141aaab6dafa9f6e772172a829133924e75e74", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"34b9b1b6b341d0ee10c39cd1778cc2635173cf4d50699655dbd73d53b4af0eac", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000cb')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000cb'), "application_id"=>BSON::ObjectId('5bb6246435415975070000ca'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>42, "token"=>"34b9b1b6b341d0ee10c39cd1778cc2635173cf4d50699655dbd73d53b4af0eac", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000cb'), "application_id"=>BSON::ObjectId('5bb6246435415975070000ca'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>42, "token"=>"34b9b1b6b341d0ee10c39cd1778cc2635173cf4d50699655dbd73d53b4af0eac", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b53121be069ed92d94b5a8abef2b4d08a0c9fba7c3bd803e754daf39c27c49d0", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000cd')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000cd'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 90", "uid"=>"b53121be069ed92d94b5a8abef2b4d08a0c9fba7c3bd803e754daf39c27c49d0", "secret"=>"b7b35b9a33591b0331f506a7cbd4ce49f079085c2dbadf498d7141f0ceef4e99", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000cd'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 90", "uid"=>"b53121be069ed92d94b5a8abef2b4d08a0c9fba7c3bd803e754daf39c27c49d0", "secret"=>"b7b35b9a33591b0331f506a7cbd4ce49f079085c2dbadf498d7141f0ceef4e99", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"213306db64f97c9d14226809c6ff3a582a4aa156582b6f1c1b59c42926f4684f", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000cc')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"23c462365390380f395525647fa71bfe65566a6a80817f3a64a4489c04df477c", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000cc')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000cc'), "application_id"=>BSON::ObjectId('5bb6246435415975070000cd'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>31, "token"=>"213306db64f97c9d14226809c6ff3a582a4aa156582b6f1c1b59c42926f4684f", "refresh_token"=>"23c462365390380f395525647fa71bfe65566a6a80817f3a64a4489c04df477c", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000cc'), "application_id"=>BSON::ObjectId('5bb6246435415975070000cd'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>31, "token"=>"213306db64f97c9d14226809c6ff3a582a4aa156582b6f1c1b59c42926f4684f", "refresh_token"=>"23c462365390380f395525647fa71bfe65566a6a80817f3a64a4489c04df477c", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5d1fc3f4c9ea0ba0ed61f8e04aed94dea59ee85aa69d23b8a9dc2911083f9e10", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000cf')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000cf'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 91", "uid"=>"5d1fc3f4c9ea0ba0ed61f8e04aed94dea59ee85aa69d23b8a9dc2911083f9e10", "secret"=>"414a7b78d42941c14e99442bc4de5abdcd949a39753b7a65a10b059cf18cf1ad", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000cf'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 91", "uid"=>"5d1fc3f4c9ea0ba0ed61f8e04aed94dea59ee85aa69d23b8a9dc2911083f9e10", "secret"=>"414a7b78d42941c14e99442bc4de5abdcd949a39753b7a65a10b059cf18cf1ad", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e41ba4f5cc2decd347e2400181d1c09707271ce0b55f80639dc777c8f187ead9", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000ce')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"84f6056607d4a9b60fbd2bc824f10faadc4f03cfc41bc256691cc1a425bdfd1e", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000ce')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000ce'), "application_id"=>BSON::ObjectId('5bb6246435415975070000cf'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>32, "token"=>"e41ba4f5cc2decd347e2400181d1c09707271ce0b55f80639dc777c8f187ead9", "refresh_token"=>"84f6056607d4a9b60fbd2bc824f10faadc4f03cfc41bc256691cc1a425bdfd1e", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000ce'), "application_id"=>BSON::ObjectId('5bb6246435415975070000cf'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>32, "token"=>"e41ba4f5cc2decd347e2400181d1c09707271ce0b55f80639dc777c8f187ead9", "refresh_token"=>"84f6056607d4a9b60fbd2bc824f10faadc4f03cfc41bc256691cc1a425bdfd1e", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e41ba4f5cc2decd347e2400181d1c09707271ce0b55f80639dc777c8f187ead9", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000ce')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"23c462365390380f395525647fa71bfe65566a6a80817f3a64a4489c04df477c", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000ce')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3a4d29493cbc1221e39938e8bea310cd6763a174ad57b6444dfc9a571a695f94", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000d1')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000d1'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 92", "uid"=>"3a4d29493cbc1221e39938e8bea310cd6763a174ad57b6444dfc9a571a695f94", "secret"=>"9c44c25a52f85d2728f8baf0e32911942bfba115f82afb9375047bbc9f5f67b7", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000d1'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 92", "uid"=>"3a4d29493cbc1221e39938e8bea310cd6763a174ad57b6444dfc9a571a695f94", "secret"=>"9c44c25a52f85d2728f8baf0e32911942bfba115f82afb9375047bbc9f5f67b7", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"b506452b40d341a040fefc308816e884d07294f1d9bf41053baeae6bd506f677", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000d0')}}, {:_id=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"c8876e7e7bc8c0b8637697078fbd498863ffc8e6da8c69fb026b31f4b6026b9f", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000d0')}}, {:_id=>1}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000d0'), "application_id"=>BSON::ObjectId('5bb6246435415975070000d1'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>33, "token"=>"b506452b40d341a040fefc308816e884d07294f1d9bf41053baeae6bd506f677", "refresh_token"=>"c8876e7e7bc8c0b8637697078fbd498863ffc8e6da8c69fb026b31f4b6026b9f", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (2.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000d0'), "application_id"=>BSON::ObjectId('5bb6246435415975070000d1'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>33, "token"=>"b506452b40d341a040fefc308816e884d07294f1d9bf41053baeae6bd506f677", "refresh_token"=>"c8876e7e7bc8c0b8637697078fbd498863ffc8e6da8c69fb026b31f4b6026b9f", "expires_in"=>7200}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d41fa97029b0e48221573834d1ae7324dc1eed385d23c975eef3c7d1c2036fd4", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000d3')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000d3'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 93", "uid"=>"d41fa97029b0e48221573834d1ae7324dc1eed385d23c975eef3c7d1c2036fd4", "secret"=>"cf948368edc6362e86133f664534c84f2b3772e8a2fa02909fcfe2be9746ba06", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000d3'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 93", "uid"=>"d41fa97029b0e48221573834d1ae7324dc1eed385d23c975eef3c7d1c2036fd4", "secret"=>"cf948368edc6362e86133f664534c84f2b3772e8a2fa02909fcfe2be9746ba06", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"11d859760fb079b66608ddad5d8d2ea4e8954388cabe992eab73134e22f18574", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000d2')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"e124837ae05c2bb73b4bce93cdec8d5e738a35bdba09cb4699e643f1c44a7092", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000d2')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000d2'), "application_id"=>BSON::ObjectId('5bb6246435415975070000d3'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>34, "token"=>"11d859760fb079b66608ddad5d8d2ea4e8954388cabe992eab73134e22f18574", "refresh_token"=>"e124837ae05c2bb73b4bce93cdec8d5e738a35bdba09cb4699e643f1c44a7092", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000d2'), "application_id"=>BSON::ObjectId('5bb6246435415975070000d3'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>34, "token"=>"11d859760fb079b66608ddad5d8d2ea4e8954388cabe992eab73134e22f18574", "refresh_token"=>"e124837ae05c2bb73b4bce93cdec8d5e738a35bdba09cb4699e643f1c44a7092", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6246435415975070000d2')}, :u=>{"_id"=>BSON::ObjectId('5bb6246435415975070000d2'), "application_id"=>BSON::ObjectId('5bb6246435415975070000d3'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>34, "token"=>"11d859760fb079b66608ddad5d8d2ea4e8954388cabe992eab73134e22f18574", "refresh_token"=>"c8876e7e7bc8c0b8637697078fbd498863ffc8e6da8c69fb026b31f4b6026b9f", "expires_in"=>7200}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1d69f5ec76493d063930719633dcc9b51a057036e4f73698f800605f15d2d2b1", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000d5')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000d5'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 94", "uid"=>"1d69f5ec76493d063930719633dcc9b51a057036e4f73698f800605f15d2d2b1", "secret"=>"9ea43246d15e952079d3e73c570330d7cb144fd9e8d25269dbda9d76d357b9db", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000d5'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 94", "uid"=>"1d69f5ec76493d063930719633dcc9b51a057036e4f73698f800605f15d2d2b1", "secret"=>"9ea43246d15e952079d3e73c570330d7cb144fd9e8d25269dbda9d76d357b9db", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"aac5cb71349f06e3581e5dc9aab287c1f54071b8e207a58c944c845eb2eee04a", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000d4')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"623a798f9beae50a01c091b1df5e0c28860cb2ce61aca55a12e496648bd43895", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000d4')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000d4'), "application_id"=>BSON::ObjectId('5bb6246435415975070000d5'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>35, "token"=>"aac5cb71349f06e3581e5dc9aab287c1f54071b8e207a58c944c845eb2eee04a", "refresh_token"=>"623a798f9beae50a01c091b1df5e0c28860cb2ce61aca55a12e496648bd43895", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000d4'), "application_id"=>BSON::ObjectId('5bb6246435415975070000d5'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>35, "token"=>"aac5cb71349f06e3581e5dc9aab287c1f54071b8e207a58c944c845eb2eee04a", "refresh_token"=>"623a798f9beae50a01c091b1df5e0c28860cb2ce61aca55a12e496648bd43895", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5f4b3bb680d6c2ac31a74111ede4297eddd80c834d989f44a489c91cdce146e6", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000d7')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000d7'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 95", "uid"=>"5f4b3bb680d6c2ac31a74111ede4297eddd80c834d989f44a489c91cdce146e6", "secret"=>"dc7f595a9ae6b5c6df5d4d4be76a058acb070c07bc1bfc423cfd77ee439a6ae5", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000d7'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 95", "uid"=>"5f4b3bb680d6c2ac31a74111ede4297eddd80c834d989f44a489c91cdce146e6", "secret"=>"dc7f595a9ae6b5c6df5d4d4be76a058acb070c07bc1bfc423cfd77ee439a6ae5", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f4a01a32fb94398f2d5d11859ead67218607e19c9dfe21eed1dcc0ecca706f28", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000d6')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000d6'), "application_id"=>BSON::ObjectId('5bb6246435415975070000d7'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>36, "token"=>"f4a01a32fb94398f2d5d11859ead67218607e19c9dfe21eed1dcc0ecca706f28", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000d6'), "application_id"=>BSON::ObjectId('5bb6246435415975070000d7'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>36, "token"=>"f4a01a32fb94398f2d5d11859ead67218607e19c9dfe21eed1dcc0ecca706f28", "expires_in"=>7200}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (6.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b085a30da4e9d16db9de2836ddda982a434dfef1141663c495f77b3a6f30417d", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000d8')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000d8'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 96", "uid"=>"b085a30da4e9d16db9de2836ddda982a434dfef1141663c495f77b3a6f30417d", "secret"=>"6578c0a835298c15ee76e746519df574c30a7d1c27bdb5cd4ae0834cb6b4033d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000d8'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 96", "uid"=>"b085a30da4e9d16db9de2836ddda982a434dfef1141663c495f77b3a6f30417d", "secret"=>"6578c0a835298c15ee76e746519df574c30a7d1c27bdb5cd4ae0834cb6b4033d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000d9'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000d9'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:04 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 6ms (Views: 6.0ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:32:04 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:04 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"38ed8e113b0de68bd2c3a34ad08357302de1f018f82073b818986ae35748561a", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000da')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000da'), "application_id"=>BSON::ObjectId('5bb6246435415975070000d8'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246435415975070000d9'), "token"=>"38ed8e113b0de68bd2c3a34ad08357302de1f018f82073b818986ae35748561a", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000da'), "application_id"=>BSON::ObjectId('5bb6246435415975070000d8'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246435415975070000d9'), "token"=>"38ed8e113b0de68bd2c3a34ad08357302de1f018f82073b818986ae35748561a", "expires_in"=>7200, "scopes"=>"public write"}) Started GET "/oauth/authorize?client_id=b085a30da4e9d16db9de2836ddda982a434dfef1141663c495f77b3a6f30417d&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public" for 127.0.0.1 at 2018-10-04 17:32:04 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"b085a30da4e9d16db9de2836ddda982a434dfef1141663c495f77b3a6f30417d", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b085a30da4e9d16db9de2836ddda982a434dfef1141663c495f77b3a6f30417d"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6246435415975070000d8'), :resource_owner_id=>BSON::ObjectId('5bb6246435415975070000d9'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (2.6ms) Completed 200 OK in 13ms (Views: 8.8ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:32:04 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"b085a30da4e9d16db9de2836ddda982a434dfef1141663c495f77b3a6f30417d", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public", "commit"=>"Authorize"} MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b085a30da4e9d16db9de2836ddda982a434dfef1141663c495f77b3a6f30417d"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"b6f2e195280ba265412b983d9f52eec9cfc263eb02670151789ade884c622a29", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000db')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000db'), "application_id"=>BSON::ObjectId('5bb6246435415975070000d8'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246435415975070000d9'), "token"=>"b6f2e195280ba265412b983d9f52eec9cfc263eb02670151789ade884c622a29", "scopes"=>"public", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000db'), "application_id"=>BSON::ObjectId('5bb6246435415975070000d8'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246435415975070000d9'), "token"=>"b6f2e195280ba265412b983d9f52eec9cfc263eb02670151789ade884c622a29", "scopes"=>"public", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=b6f2e195280ba265412b983d9f52eec9cfc263eb02670151789ade884c622a29 Completed 302 Found in 8ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:32:04 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b902c94248b82a55a4c23c8aa94d735c143d3bf570c02fad74f01ebc5064f5c7", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000dc')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000dc'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 97", "uid"=>"b902c94248b82a55a4c23c8aa94d735c143d3bf570c02fad74f01ebc5064f5c7", "secret"=>"ea4717e058faac4ce27d6c718cdc9afa1e7f43f664f9a671a31f9691e331b5a4", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000dc'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 97", "uid"=>"b902c94248b82a55a4c23c8aa94d735c143d3bf570c02fad74f01ebc5064f5c7", "secret"=>"ea4717e058faac4ce27d6c718cdc9afa1e7f43f664f9a671a31f9691e331b5a4", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000dd'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000dd'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:04 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:32:04 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:04 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) MONGODB (2.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"ba96102ca967edc3f97c73f12dfa6d72072f260c8043b250204dcb4e651eb907", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000de')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000de'), "application_id"=>BSON::ObjectId('5bb6246435415975070000dc'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246435415975070000dd'), "token"=>"ba96102ca967edc3f97c73f12dfa6d72072f260c8043b250204dcb4e651eb907", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000de'), "application_id"=>BSON::ObjectId('5bb6246435415975070000dc'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246435415975070000dd'), "token"=>"ba96102ca967edc3f97c73f12dfa6d72072f260c8043b250204dcb4e651eb907", "expires_in"=>7200, "scopes"=>"public write"}) Started GET "/oauth/authorize?client_id=b902c94248b82a55a4c23c8aa94d735c143d3bf570c02fad74f01ebc5064f5c7&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:32:04 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"b902c94248b82a55a4c23c8aa94d735c143d3bf570c02fad74f01ebc5064f5c7", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b902c94248b82a55a4c23c8aa94d735c143d3bf570c02fad74f01ebc5064f5c7"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6246435415975070000dc'), :resource_owner_id=>BSON::ObjectId('5bb6246435415975070000dd'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.1ms) Completed 200 OK in 9ms (Views: 2.5ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"580edee8c2d5bffdabda0bbbd4f040ce9d824961c40bd63ecbb7d922f66ebfda", :_id=>{:$ne=>BSON::ObjectId('5bb6246435415975070000df')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000df'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 98", "uid"=>"580edee8c2d5bffdabda0bbbd4f040ce9d824961c40bd63ecbb7d922f66ebfda", "secret"=>"29442d841d04204d9ad2080ff349a41ad286d4a5e15a9724d063f74f99db96f8", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000df'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Application 98", "uid"=>"580edee8c2d5bffdabda0bbbd4f040ce9d824961c40bd63ecbb7d922f66ebfda", "secret"=>"29442d841d04204d9ad2080ff349a41ad286d4a5e15a9724d063f74f99db96f8", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6246435415975070000e0'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6246435415975070000e0'), "created_at"=>2018-10-04 14:32:04 UTC, "updated_at"=>2018-10-04 14:32:04 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:04 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"81409a4c0a35ed4c29a26e05f02adf22e576c8d37d485dee5de0738380e1bebf", :_id=>{:$ne=>BSON::ObjectId('5bb6246535415975070000e1')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246535415975070000e1'), "application_id"=>BSON::ObjectId('5bb6246435415975070000df'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246435415975070000e0'), "token"=>"81409a4c0a35ed4c29a26e05f02adf22e576c8d37d485dee5de0738380e1bebf", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246535415975070000e1'), "application_id"=>BSON::ObjectId('5bb6246435415975070000df'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246435415975070000e0'), "token"=>"81409a4c0a35ed4c29a26e05f02adf22e576c8d37d485dee5de0738380e1bebf", "expires_in"=>7200, "scopes"=>"public"}) Started GET "/oauth/authorize?client_id=580edee8c2d5bffdabda0bbbd4f040ce9d824961c40bd63ecbb7d922f66ebfda&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"580edee8c2d5bffdabda0bbbd4f040ce9d824961c40bd63ecbb7d922f66ebfda", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"580edee8c2d5bffdabda0bbbd4f040ce9d824961c40bd63ecbb7d922f66ebfda"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6246435415975070000df'), :resource_owner_id=>BSON::ObjectId('5bb6246435415975070000e0'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"d97da70c6229ef19358b5b9f0793d67a27a64d3f62d52333c0509e0a66219545", :_id=>{:$ne=>BSON::ObjectId('5bb6246535415975070000e2')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6246535415975070000e2'), "application_id"=>BSON::ObjectId('5bb6246435415975070000df'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246435415975070000e0'), "token"=>"d97da70c6229ef19358b5b9f0793d67a27a64d3f62d52333c0509e0a66219545", "scopes"=>"public", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6246535415975070000e2'), "application_id"=>BSON::ObjectId('5bb6246435415975070000df'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246435415975070000e0'), "token"=>"d97da70c6229ef19358b5b9f0793d67a27a64d3f62d52333c0509e0a66219545", "scopes"=>"public", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=d97da70c6229ef19358b5b9f0793d67a27a64d3f62d52333c0509e0a66219545 Completed 302 Found in 13ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{:application_id=>BSON::ObjectId('5bb6246435415975070000df')}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:application_id=>BSON::ObjectId('5bb6246435415975070000df')}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4da56e0f00a05d751b3e3e2504fc13e8be938e3e3b7defd9f1be5cd9d741d6f1", :_id=>{:$ne=>BSON::ObjectId('5bb6246535415975070000e3')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246535415975070000e3'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 99", "uid"=>"4da56e0f00a05d751b3e3e2504fc13e8be938e3e3b7defd9f1be5cd9d741d6f1", "secret"=>"e1f38c61fe88cbaa8fe38bcc870cfa4c599aa45fb827236c060975b857d3eaa3", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246535415975070000e3'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 99", "uid"=>"4da56e0f00a05d751b3e3e2504fc13e8be938e3e3b7defd9f1be5cd9d741d6f1", "secret"=>"e1f38c61fe88cbaa8fe38bcc870cfa4c599aa45fb827236c060975b857d3eaa3", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6246535415975070000e4'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6246535415975070000e4'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"2df164dd6cb56953bd0a0e6921e2939b1cca005a0500b3b61b16fe911fdc2e29", :_id=>{:$ne=>BSON::ObjectId('5bb6246535415975070000e5')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246535415975070000e5'), "application_id"=>BSON::ObjectId('5bb6246535415975070000e3'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246535415975070000e4'), "token"=>"2df164dd6cb56953bd0a0e6921e2939b1cca005a0500b3b61b16fe911fdc2e29", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246535415975070000e5'), "application_id"=>BSON::ObjectId('5bb6246535415975070000e3'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246535415975070000e4'), "token"=>"2df164dd6cb56953bd0a0e6921e2939b1cca005a0500b3b61b16fe911fdc2e29", "expires_in"=>7200, "scopes"=>"public write"}) Started GET "/oauth/authorize?client_id=4da56e0f00a05d751b3e3e2504fc13e8be938e3e3b7defd9f1be5cd9d741d6f1&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"4da56e0f00a05d751b3e3e2504fc13e8be938e3e3b7defd9f1be5cd9d741d6f1", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4da56e0f00a05d751b3e3e2504fc13e8be938e3e3b7defd9f1be5cd9d741d6f1"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6246535415975070000e3'), :resource_owner_id=>BSON::ObjectId('5bb6246535415975070000e4'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.1ms) Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"47be7dd1e1ba1e68ec3a3f07f0936a5c3a67ca0cd111e2cc449b0799e0767654", :_id=>{:$ne=>BSON::ObjectId('5bb6246535415975070000e6')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246535415975070000e6'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 100", "uid"=>"47be7dd1e1ba1e68ec3a3f07f0936a5c3a67ca0cd111e2cc449b0799e0767654", "secret"=>"d2feeb528a22ecd97debc15831fa1767fa764b991fa3039f112889d71f405d0b", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246535415975070000e6'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 100", "uid"=>"47be7dd1e1ba1e68ec3a3f07f0936a5c3a67ca0cd111e2cc449b0799e0767654", "secret"=>"d2feeb528a22ecd97debc15831fa1767fa764b991fa3039f112889d71f405d0b", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6246535415975070000e7'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6246535415975070000e7'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"246d66a7387d5195c1113d3fa0dd633662087b8f469dd3b9cc9a2e31dc9cf6a2", :_id=>{:$ne=>BSON::ObjectId('5bb6246535415975070000e8')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246535415975070000e8'), "application_id"=>BSON::ObjectId('5bb6246535415975070000e6'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246535415975070000e7'), "token"=>"246d66a7387d5195c1113d3fa0dd633662087b8f469dd3b9cc9a2e31dc9cf6a2", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246535415975070000e8'), "application_id"=>BSON::ObjectId('5bb6246535415975070000e6'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246535415975070000e7'), "token"=>"246d66a7387d5195c1113d3fa0dd633662087b8f469dd3b9cc9a2e31dc9cf6a2", "expires_in"=>7200, "scopes"=>"public"}) Started GET "/oauth/authorize?client_id=47be7dd1e1ba1e68ec3a3f07f0936a5c3a67ca0cd111e2cc449b0799e0767654&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public+write" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"47be7dd1e1ba1e68ec3a3f07f0936a5c3a67ca0cd111e2cc449b0799e0767654", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public write"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"47be7dd1e1ba1e68ec3a3f07f0936a5c3a67ca0cd111e2cc449b0799e0767654"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6246535415975070000e6'), :resource_owner_id=>BSON::ObjectId('5bb6246535415975070000e7'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.1ms) Completed 200 OK in 6ms (Views: 2.4ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"47be7dd1e1ba1e68ec3a3f07f0936a5c3a67ca0cd111e2cc449b0799e0767654", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public write", "commit"=>"Authorize"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"47be7dd1e1ba1e68ec3a3f07f0936a5c3a67ca0cd111e2cc449b0799e0767654"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"46b56bc99107cc783683561680e21b4ac845c5cf2f998146e34f9a92ba465725", :_id=>{:$ne=>BSON::ObjectId('5bb6246535415975070000e9')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6246535415975070000e9'), "application_id"=>BSON::ObjectId('5bb6246535415975070000e6'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246535415975070000e7'), "token"=>"46b56bc99107cc783683561680e21b4ac845c5cf2f998146e34f9a92ba465725", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6246535415975070000e9'), "application_id"=>BSON::ObjectId('5bb6246535415975070000e6'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246535415975070000e7'), "token"=>"46b56bc99107cc783683561680e21b4ac845c5cf2f998146e34f9a92ba465725", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=46b56bc99107cc783683561680e21b4ac845c5cf2f998146e34f9a92ba465725 Completed 302 Found in 5ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6c3870e5e872bd882ce9f7cb0ba56deba5f19505abdf3e36f52c8e4488e91a44", :_id=>{:$ne=>BSON::ObjectId('5bb6246535415975070000ea')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246535415975070000ea'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 101", "uid"=>"6c3870e5e872bd882ce9f7cb0ba56deba5f19505abdf3e36f52c8e4488e91a44", "secret"=>"7fdc87db83b1a2a69e77f3ab46a639086f00fdd46e1eef7f4299b38a6e71ccd2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246535415975070000ea'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 101", "uid"=>"6c3870e5e872bd882ce9f7cb0ba56deba5f19505abdf3e36f52c8e4488e91a44", "secret"=>"7fdc87db83b1a2a69e77f3ab46a639086f00fdd46e1eef7f4299b38a6e71ccd2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6246535415975070000eb'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6246535415975070000eb'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"de093437a1ac4051189608d3145e590fc6ace2454bec199be742fac596bd5b10", :_id=>{:$ne=>BSON::ObjectId('5bb6246535415975070000ec')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246535415975070000ec'), "application_id"=>BSON::ObjectId('5bb6246535415975070000ea'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246535415975070000eb'), "token"=>"de093437a1ac4051189608d3145e590fc6ace2454bec199be742fac596bd5b10", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246535415975070000ec'), "application_id"=>BSON::ObjectId('5bb6246535415975070000ea'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246535415975070000eb'), "token"=>"de093437a1ac4051189608d3145e590fc6ace2454bec199be742fac596bd5b10", "expires_in"=>7200, "scopes"=>"public"}) Started GET "/oauth/authorize?client_id=6c3870e5e872bd882ce9f7cb0ba56deba5f19505abdf3e36f52c8e4488e91a44&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public+write" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"6c3870e5e872bd882ce9f7cb0ba56deba5f19505abdf3e36f52c8e4488e91a44", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public write"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6c3870e5e872bd882ce9f7cb0ba56deba5f19505abdf3e36f52c8e4488e91a44"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6246535415975070000ea'), :resource_owner_id=>BSON::ObjectId('5bb6246535415975070000eb'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.2ms) Completed 200 OK in 7ms (Views: 2.5ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c589566a6125375dc9cef73be9f4d2e6773271600539100ab25913b284a3e244", :_id=>{:$ne=>BSON::ObjectId('5bb6246535415975070000ed')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246535415975070000ed'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"OMG my app", "uid"=>"c589566a6125375dc9cef73be9f4d2e6773271600539100ab25913b284a3e244", "secret"=>"3143066d8066347e1c5b6809522118cbde162bfa5a7aa5efe6a68a4f2a0ae18c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246535415975070000ed'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"OMG my app", "uid"=>"c589566a6125375dc9cef73be9f4d2e6773271600539100ab25913b284a3e244", "secret"=>"3143066d8066347e1c5b6809522118cbde162bfa5a7aa5efe6a68a4f2a0ae18c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Started GET "/oauth/applications/5bb6246535415975070000ed/edit" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by Doorkeeper::ApplicationsController#edit as HTML Parameters: {"id"=>"5bb6246535415975070000ed"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6246535415975070000ed')}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_form.html.erb (3.9ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/edit.html.erb within layouts/doorkeeper/admin (4.9ms) Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.0ms) Started PATCH "/oauth/applications/5bb6246535415975070000ed" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by Doorkeeper::ApplicationsController#update as HTML Parameters: {"utf8"=>"✓", "doorkeeper_application"=>{"name"=>"Serious app", "redirect_uri"=>"https://app.com/callback", "confidential"=>"1", "scopes"=>""}, "commit"=>"Submit", "id"=>"5bb6246535415975070000ed"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6246535415975070000ed')}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c589566a6125375dc9cef73be9f4d2e6773271600539100ab25913b284a3e244", :_id=>{:$ne=>BSON::ObjectId('5bb6246535415975070000ed')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6246535415975070000ed')}, :u=>{"_id"=>BSON::ObjectId('5bb6246535415975070000ed'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Serious app", "uid"=>"c589566a6125375dc9cef73be9f4d2e6773271600539100ab25913b284a3e244", "secret"=>"3143066d8066347e1c5b6809522118cbde162bfa5a7aa5efe6a68a4f2a0ae18c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "scopes"=>""}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb6246535415975070000ed')}, {"_id"=>BSON::ObjectId('5bb6246535415975070000ed'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Serious app", "uid"=>"c589566a6125375dc9cef73be9f4d2e6773271600539100ab25913b284a3e244", "secret"=>"3143066d8066347e1c5b6809522118cbde162bfa5a7aa5efe6a68a4f2a0ae18c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "scopes"=>""}) Redirected to http://www.example.com/oauth/applications/5bb6246535415975070000ed Completed 302 Found in 5ms (ActiveRecord: 0.0ms) Started GET "/oauth/applications/5bb6246535415975070000ed" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by Doorkeeper::ApplicationsController#show as HTML Parameters: {"id"=>"5bb6246535415975070000ed"} MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6246535415975070000ed')}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (0.4ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/show.html.erb within layouts/doorkeeper/admin (2.0ms) Completed 200 OK in 6ms (Views: 3.6ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"db655551592f03acf28455e4f7ccab529590884d1bb9cdaf42e66dec85f0f610", :_id=>{:$ne=>BSON::ObjectId('5bb6246535415975070000ee')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246535415975070000ee'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"OMG my app", "uid"=>"db655551592f03acf28455e4f7ccab529590884d1bb9cdaf42e66dec85f0f610", "secret"=>"47ab777083939dd5ce7ba9138c7b55132d27605a09098de3e02c6ed85567a9fd", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246535415975070000ee'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"OMG my app", "uid"=>"db655551592f03acf28455e4f7ccab529590884d1bb9cdaf42e66dec85f0f610", "secret"=>"47ab777083939dd5ce7ba9138c7b55132d27605a09098de3e02c6ed85567a9fd", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Started GET "/oauth/applications/5bb6246535415975070000ee/edit" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by Doorkeeper::ApplicationsController#edit as HTML Parameters: {"id"=>"5bb6246535415975070000ee"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6246535415975070000ee')}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_form.html.erb (2.2ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/edit.html.erb within layouts/doorkeeper/admin (2.4ms) Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.0ms) Started PATCH "/oauth/applications/5bb6246535415975070000ee" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by Doorkeeper::ApplicationsController#update as HTML Parameters: {"utf8"=>"✓", "doorkeeper_application"=>{"name"=>"", "redirect_uri"=>"https://app.com/callback", "confidential"=>"1", "scopes"=>""}, "commit"=>"Submit", "id"=>"5bb6246535415975070000ee"} MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6246535415975070000ee')}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"db655551592f03acf28455e4f7ccab529590884d1bb9cdaf42e66dec85f0f610", :_id=>{:$ne=>BSON::ObjectId('5bb6246535415975070000ee')}}, {:_id=>1}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_form.html.erb (3.3ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/edit.html.erb within layouts/doorkeeper/admin (3.7ms) Completed 200 OK in 10ms (Views: 6.0ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2591a7fa7af85494d99dfb200d805cf996d886d77cd0c31e0105bc36c5dee0ce", :_id=>{:$ne=>BSON::ObjectId('5bb6246535415975070000ef')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246535415975070000ef'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 102", "uid"=>"2591a7fa7af85494d99dfb200d805cf996d886d77cd0c31e0105bc36c5dee0ce", "secret"=>"6b2e405b7b953d3b71ae7ad87d26570775472de5bf67b9ea2116a6acbe946898", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246535415975070000ef'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 102", "uid"=>"2591a7fa7af85494d99dfb200d805cf996d886d77cd0c31e0105bc36c5dee0ce", "secret"=>"6b2e405b7b953d3b71ae7ad87d26570775472de5bf67b9ea2116a6acbe946898", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6246535415975070000f0'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6246535415975070000f0'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=invalid&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=token" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"invalid", "redirect_uri"=>"https://app.com/callback", "response_type"=>"token"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"invalid"}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/error.html.erb within layouts/doorkeeper/application (0.6ms) Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.0ms) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e7ed77dc5e3164b14c0a993d027bea648bbef227a63dc176580351cfc60b5293", :_id=>{:$ne=>BSON::ObjectId('5bb6246535415975070000f1')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246535415975070000f1'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 103", "uid"=>"e7ed77dc5e3164b14c0a993d027bea648bbef227a63dc176580351cfc60b5293", "secret"=>"6f31500ede5e9853a26d6751c83e4a1ec93f87e5b1ecd408b8175610fbd3a193", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246535415975070000f1'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 103", "uid"=>"e7ed77dc5e3164b14c0a993d027bea648bbef227a63dc176580351cfc60b5293", "secret"=>"6f31500ede5e9853a26d6751c83e4a1ec93f87e5b1ecd408b8175610fbd3a193", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6246535415975070000f2'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6246535415975070000f2'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=e7ed77dc5e3164b14c0a993d027bea648bbef227a63dc176580351cfc60b5293&redirect_uri=invalid&response_type=token" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"e7ed77dc5e3164b14c0a993d027bea648bbef227a63dc176580351cfc60b5293", "redirect_uri"=>"invalid", "response_type"=>"token"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e7ed77dc5e3164b14c0a993d027bea648bbef227a63dc176580351cfc60b5293"}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/error.html.erb within layouts/doorkeeper/application (0.2ms) Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"188cc9868ab87b23a54f5d95a6ac24e4b9bcca3cf994b63e13b024e25aae0c19", :_id=>{:$ne=>BSON::ObjectId('5bb6246535415975070000f3')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246535415975070000f3'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 104", "uid"=>"188cc9868ab87b23a54f5d95a6ac24e4b9bcca3cf994b63e13b024e25aae0c19", "secret"=>"e5104e6cf510bcf0cb357dbe7e0f2cb89ee12c92c2444d9f3b6576a5127489d5", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246535415975070000f3'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 104", "uid"=>"188cc9868ab87b23a54f5d95a6ac24e4b9bcca3cf994b63e13b024e25aae0c19", "secret"=>"e5104e6cf510bcf0cb357dbe7e0f2cb89ee12c92c2444d9f3b6576a5127489d5", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6246535415975070000f4'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6246535415975070000f4'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=188cc9868ab87b23a54f5d95a6ac24e4b9bcca3cf994b63e13b024e25aae0c19&response_type=token" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"188cc9868ab87b23a54f5d95a6ac24e4b9bcca3cf994b63e13b024e25aae0c19", "response_type"=>"token"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"188cc9868ab87b23a54f5d95a6ac24e4b9bcca3cf994b63e13b024e25aae0c19"}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/error.html.erb within layouts/doorkeeper/application (0.2ms) Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"aae02be844b97154e9358ddaf6657fb2727e0bb4c9d545e8cb98c049543828d3", :_id=>{:$ne=>BSON::ObjectId('5bb6246535415975070000f5')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246535415975070000f5'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 105", "uid"=>"aae02be844b97154e9358ddaf6657fb2727e0bb4c9d545e8cb98c049543828d3", "secret"=>"99d43c0bd7c2d11fd934fe9e1340f595a4951a57a0c31cb661b8b08d1c6c5a9e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246535415975070000f5'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 105", "uid"=>"aae02be844b97154e9358ddaf6657fb2727e0bb4c9d545e8cb98c049543828d3", "secret"=>"99d43c0bd7c2d11fd934fe9e1340f595a4951a57a0c31cb661b8b08d1c6c5a9e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6246535415975070000f6'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6246535415975070000f6'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by HomeController#sign_in as HTML MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=token" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"redirect_uri"=>"https://app.com/callback", "response_type"=>"token"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>""}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/error.html.erb within layouts/doorkeeper/application (0.2ms) Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6d898e51339a8c54a93761264821a755a5dd6eb0e11dbfcb606abf82afcef295", :_id=>{:$ne=>BSON::ObjectId('5bb6246535415975070000f7')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246535415975070000f7'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 106", "uid"=>"6d898e51339a8c54a93761264821a755a5dd6eb0e11dbfcb606abf82afcef295", "secret"=>"0e8345115d0054bac5c24e6e8fdb15d9920b49c7d91739982c5896207522536e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246535415975070000f7'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 106", "uid"=>"6d898e51339a8c54a93761264821a755a5dd6eb0e11dbfcb606abf82afcef295", "secret"=>"0e8345115d0054bac5c24e6e8fdb15d9920b49c7d91739982c5896207522536e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"cdd46cd3513d332770eefb608514605365f2f5caec5b7acdcbe8e08212c4a830", :_id=>{:$ne=>BSON::ObjectId('5bb6246535415975070000f8')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246535415975070000f8'), "application_id"=>BSON::ObjectId('5bb6246535415975070000f7'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>37, "token"=>"cdd46cd3513d332770eefb608514605365f2f5caec5b7acdcbe8e08212c4a830", "expires_in"=>7200, "revoked_at"=>2017-10-04 00:00:00 UTC}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246535415975070000f8'), "application_id"=>BSON::ObjectId('5bb6246535415975070000f7'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>37, "token"=>"cdd46cd3513d332770eefb608514605365f2f5caec5b7acdcbe8e08212c4a830", "expires_in"=>7200, "revoked_at"=>2017-10-04 00:00:00 UTC}) Processing by Doorkeeper::TokensController#introspect as HTML Parameters: {"token"=>"cdd46cd3513d332770eefb608514605365f2f5caec5b7acdcbe8e08212c4a830"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"cdd46cd3513d332770eefb608514605365f2f5caec5b7acdcbe8e08212c4a830"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6d898e51339a8c54a93761264821a755a5dd6eb0e11dbfcb606abf82afcef295"}).limit(-1) Completed 200 OK in 2ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8d5aa1d9a29dafb185f7b3b0d70df20982da3283cb79ce2cf5a9199eb3df7d15", :_id=>{:$ne=>BSON::ObjectId('5bb6246535415975070000f9')}}, {:_id=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246535415975070000f9'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 107", "uid"=>"8d5aa1d9a29dafb185f7b3b0d70df20982da3283cb79ce2cf5a9199eb3df7d15", "secret"=>"3f32376de401060376cc14ad81bb52cd3a76985ea085e75acf85d60e19a6e983", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246535415975070000f9'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 107", "uid"=>"8d5aa1d9a29dafb185f7b3b0d70df20982da3283cb79ce2cf5a9199eb3df7d15", "secret"=>"3f32376de401060376cc14ad81bb52cd3a76985ea085e75acf85d60e19a6e983", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"7e30a6df7e283c42d76d6fd8cbef4ad3dca7c6482a73fb0aa5a4d654b80a0a05", :_id=>{:$ne=>BSON::ObjectId('5bb6246535415975070000fa')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246535415975070000fa'), "application_id"=>BSON::ObjectId('5bb6246535415975070000f9'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>38, "token"=>"7e30a6df7e283c42d76d6fd8cbef4ad3dca7c6482a73fb0aa5a4d654b80a0a05", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246535415975070000fa'), "application_id"=>BSON::ObjectId('5bb6246535415975070000f9'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>38, "token"=>"7e30a6df7e283c42d76d6fd8cbef4ad3dca7c6482a73fb0aa5a4d654b80a0a05", "expires_in"=>7200}) Processing by Doorkeeper::TokensController#introspect as HTML Parameters: {"token"=>"7e30a6df7e283c42d76d6fd8cbef4ad3dca7c6482a73fb0aa5a4d654b80a0a05"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"7e30a6df7e283c42d76d6fd8cbef4ad3dca7c6482a73fb0aa5a4d654b80a0a05"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"7e30a6df7e283c42d76d6fd8cbef4ad3dca7c6482a73fb0aa5a4d654b80a0a05"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6246535415975070000fa')}, :u=>{"_id"=>BSON::ObjectId('5bb6246535415975070000fa'), "application_id"=>BSON::ObjectId('5bb6246535415975070000f9'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>38, "token"=>"7e30a6df7e283c42d76d6fd8cbef4ad3dca7c6482a73fb0aa5a4d654b80a0a05", "previous_refresh_token"=>"", "expires_in"=>7200}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6246535415975070000fa')}, {"_id"=>BSON::ObjectId('5bb6246535415975070000fa'), "application_id"=>BSON::ObjectId('5bb6246535415975070000f9'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>38, "token"=>"7e30a6df7e283c42d76d6fd8cbef4ad3dca7c6482a73fb0aa5a4d654b80a0a05", "previous_refresh_token"=>"", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6246535415975070000f9')}).limit(-1) Completed 200 OK in 5ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0bf17a0668571c12af9f5f8be61a9aa7704733941b2e70a1a1144d5879cfa724", :_id=>{:$ne=>BSON::ObjectId('5bb6246535415975070000fb')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246535415975070000fb'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 108", "uid"=>"0bf17a0668571c12af9f5f8be61a9aa7704733941b2e70a1a1144d5879cfa724", "secret"=>"2be36529fa4632d8859030fd936a30d8309b600e028f2e604971a356c2b66f08", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246535415975070000fb'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 108", "uid"=>"0bf17a0668571c12af9f5f8be61a9aa7704733941b2e70a1a1144d5879cfa724", "secret"=>"2be36529fa4632d8859030fd936a30d8309b600e028f2e604971a356c2b66f08", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"79231cd7d2c85078bef490b313d932b3998ecdd4743151550cb9d119eb58a69f", :_id=>{:$ne=>BSON::ObjectId('5bb6246535415975070000fc')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246535415975070000fc'), "application_id"=>nil, "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>39, "token"=>"79231cd7d2c85078bef490b313d932b3998ecdd4743151550cb9d119eb58a69f", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246535415975070000fc'), "application_id"=>nil, "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>39, "token"=>"79231cd7d2c85078bef490b313d932b3998ecdd4743151550cb9d119eb58a69f", "expires_in"=>7200}) Processing by Doorkeeper::TokensController#introspect as HTML Parameters: {"token"=>"79231cd7d2c85078bef490b313d932b3998ecdd4743151550cb9d119eb58a69f"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"79231cd7d2c85078bef490b313d932b3998ecdd4743151550cb9d119eb58a69f"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0bf17a0668571c12af9f5f8be61a9aa7704733941b2e70a1a1144d5879cfa724"}).limit(-1) Completed 200 OK in 2ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7202773d75a581e9696a901141a5fee65ad06bf0fd813ec0a96193990e5d1b6d", :_id=>{:$ne=>BSON::ObjectId('5bb6246535415975070000fe')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246535415975070000fe'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 109", "uid"=>"7202773d75a581e9696a901141a5fee65ad06bf0fd813ec0a96193990e5d1b6d", "secret"=>"165f09d1ea1452e84a66d4ec620693d3d97e13ecd8762fc85c7b88d45bea0446", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246535415975070000fe'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 109", "uid"=>"7202773d75a581e9696a901141a5fee65ad06bf0fd813ec0a96193990e5d1b6d", "secret"=>"165f09d1ea1452e84a66d4ec620693d3d97e13ecd8762fc85c7b88d45bea0446", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"0ef3a4d2bc333b73c0d9e72fa205e1aea98cd38f3960a0a39a4302d49f42bb5f", :_id=>{:$ne=>BSON::ObjectId('5bb6246535415975070000fd')}}, {:_id=>1}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246535415975070000fd'), "application_id"=>BSON::ObjectId('5bb6246535415975070000fe'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>40, "token"=>"0ef3a4d2bc333b73c0d9e72fa205e1aea98cd38f3960a0a39a4302d49f42bb5f", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246535415975070000fd'), "application_id"=>BSON::ObjectId('5bb6246535415975070000fe'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>40, "token"=>"0ef3a4d2bc333b73c0d9e72fa205e1aea98cd38f3960a0a39a4302d49f42bb5f", "expires_in"=>7200}) Processing by Doorkeeper::TokensController#introspect as HTML Parameters: {"token"=>"0ef3a4d2bc333b73c0d9e72fa205e1aea98cd38f3960a0a39a4302d49f42bb5f"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"0ef3a4d2bc333b73c0d9e72fa205e1aea98cd38f3960a0a39a4302d49f42bb5f"}).limit(-1) Completed 401 Unauthorized in 1ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"831a562ff087395fe7489b52e45da1ebc80e3f5d69d1b473b133375d53b0b5a1", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000100')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000100'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 110", "uid"=>"831a562ff087395fe7489b52e45da1ebc80e3f5d69d1b473b133375d53b0b5a1", "secret"=>"058e7ba8db48d4a640b6d844295e46e3de663de7c045f783768eda01cecaf52f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000100'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 110", "uid"=>"831a562ff087395fe7489b52e45da1ebc80e3f5d69d1b473b133375d53b0b5a1", "secret"=>"058e7ba8db48d4a640b6d844295e46e3de663de7c045f783768eda01cecaf52f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"fde4673fb6f7c5113464e846e2377a3cfc52698495f71d04af664ff4cbf142be", :_id=>{:$ne=>BSON::ObjectId('5bb6246535415975070000ff')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246535415975070000ff'), "application_id"=>BSON::ObjectId('5bb624653541597507000100'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>41, "token"=>"fde4673fb6f7c5113464e846e2377a3cfc52698495f71d04af664ff4cbf142be", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246535415975070000ff'), "application_id"=>BSON::ObjectId('5bb624653541597507000100'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>41, "token"=>"fde4673fb6f7c5113464e846e2377a3cfc52698495f71d04af664ff4cbf142be", "expires_in"=>7200}) Processing by Doorkeeper::TokensController#introspect as HTML Parameters: {"token"=>"fde4673fb6f7c5113464e846e2377a3cfc52698495f71d04af664ff4cbf142be"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"fde4673fb6f7c5113464e846e2377a3cfc52698495f71d04af664ff4cbf142be"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"123123"}).limit(-1) Completed 401 Unauthorized in 2ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3e8e102b97690cb5023cb50f31a00b84c6c4d2131cb14c81c27cd0ca899ee0c3", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000101')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000101'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 111", "uid"=>"3e8e102b97690cb5023cb50f31a00b84c6c4d2131cb14c81c27cd0ca899ee0c3", "secret"=>"ed5114b7d9fc8b3c479ccfea6c6ed440d020022b349312f6ea0f85edf1bc6fef", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000101'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 111", "uid"=>"3e8e102b97690cb5023cb50f31a00b84c6c4d2131cb14c81c27cd0ca899ee0c3", "secret"=>"ed5114b7d9fc8b3c479ccfea6c6ed440d020022b349312f6ea0f85edf1bc6fef", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Processing by Doorkeeper::TokensController#introspect as HTML Parameters: {"token"=>"2dae4438a99dbd15afb6217153e9405d"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"2dae4438a99dbd15afb6217153e9405d"}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"2dae4438a99dbd15afb6217153e9405d"}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3e8e102b97690cb5023cb50f31a00b84c6c4d2131cb14c81c27cd0ca899ee0c3"}).limit(-1) Completed 200 OK in 4ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"61b2c0673c105115740b05c981e54215a07aab815708acd750606a12560e5e7b", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000102')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000102'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 112", "uid"=>"61b2c0673c105115740b05c981e54215a07aab815708acd750606a12560e5e7b", "secret"=>"a247b345ee93fc8a3b44088912720a099bce735fee133a273d766421b3cf57de", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000102'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 112", "uid"=>"61b2c0673c105115740b05c981e54215a07aab815708acd750606a12560e5e7b", "secret"=>"a247b345ee93fc8a3b44088912720a099bce735fee133a273d766421b3cf57de", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"c23945f236aca8b097699f2bf2d1bdb00bcec562849e5a7f1493ccb7d7d2346e", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000103')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000103'), "application_id"=>BSON::ObjectId('5bb624653541597507000102'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>42, "token"=>"c23945f236aca8b097699f2bf2d1bdb00bcec562849e5a7f1493ccb7d7d2346e", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000103'), "application_id"=>BSON::ObjectId('5bb624653541597507000102'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>42, "token"=>"c23945f236aca8b097699f2bf2d1bdb00bcec562849e5a7f1493ccb7d7d2346e", "expires_in"=>7200}) Processing by Doorkeeper::TokensController#introspect as HTML Parameters: {"token"=>"c23945f236aca8b097699f2bf2d1bdb00bcec562849e5a7f1493ccb7d7d2346e"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"c23945f236aca8b097699f2bf2d1bdb00bcec562849e5a7f1493ccb7d7d2346e"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"61b2c0673c105115740b05c981e54215a07aab815708acd750606a12560e5e7b"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624653541597507000102')}).limit(-1) Completed 200 OK in 3ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"449bcad335e04eef5bfac20fb43e5c4d8acd5e3dd2fb6779b5fde135b6d06c1d", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000104')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000104'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 113", "uid"=>"449bcad335e04eef5bfac20fb43e5c4d8acd5e3dd2fb6779b5fde135b6d06c1d", "secret"=>"956e785d670f516b91e1e2aa46afcabba9fdd11dbffaabbfc2c703ad04f0b482", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000104'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 113", "uid"=>"449bcad335e04eef5bfac20fb43e5c4d8acd5e3dd2fb6779b5fde135b6d06c1d", "secret"=>"956e785d670f516b91e1e2aa46afcabba9fdd11dbffaabbfc2c703ad04f0b482", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ef972cf402b0d0e22b5253e8b56b631d5ea8790a29da79a70afc3d0887f8176d", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000105')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000105'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 114", "uid"=>"ef972cf402b0d0e22b5253e8b56b631d5ea8790a29da79a70afc3d0887f8176d", "secret"=>"1f9761a095645fa9a5dfc79c56611f95485949b40621606e38396c5960d49adc", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000105'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 114", "uid"=>"ef972cf402b0d0e22b5253e8b56b631d5ea8790a29da79a70afc3d0887f8176d", "secret"=>"1f9761a095645fa9a5dfc79c56611f95485949b40621606e38396c5960d49adc", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f4c6f38539da3c70467c1b23c320be98b5eff55bfef0e245ebe535707a168f4d", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000106')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000106'), "application_id"=>BSON::ObjectId('5bb624653541597507000105'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>43, "token"=>"f4c6f38539da3c70467c1b23c320be98b5eff55bfef0e245ebe535707a168f4d", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000106'), "application_id"=>BSON::ObjectId('5bb624653541597507000105'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>43, "token"=>"f4c6f38539da3c70467c1b23c320be98b5eff55bfef0e245ebe535707a168f4d", "expires_in"=>7200}) Processing by Doorkeeper::TokensController#introspect as HTML Parameters: {"token"=>"f4c6f38539da3c70467c1b23c320be98b5eff55bfef0e245ebe535707a168f4d"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f4c6f38539da3c70467c1b23c320be98b5eff55bfef0e245ebe535707a168f4d"}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"449bcad335e04eef5bfac20fb43e5c4d8acd5e3dd2fb6779b5fde135b6d06c1d"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624653541597507000105')}).limit(-1) Completed 200 OK in 5ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4de09b0d339bdf5b0cd47580f46ab0511d673a7812a6bb9ae7b5ec9613206684", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000107')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000107'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 115", "uid"=>"4de09b0d339bdf5b0cd47580f46ab0511d673a7812a6bb9ae7b5ec9613206684", "secret"=>"019d24ff6da9292d69f897b9f73a7d62206552ac57175b55309d40c6b23dc8bb", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000107'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 115", "uid"=>"4de09b0d339bdf5b0cd47580f46ab0511d673a7812a6bb9ae7b5ec9613206684", "secret"=>"019d24ff6da9292d69f897b9f73a7d62206552ac57175b55309d40c6b23dc8bb", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"be6256a0a92e22b45b483f49a172aa4255bf716a66b5fac9daae67a88f6a4044", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000108')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000108'), "application_id"=>BSON::ObjectId('5bb624653541597507000107'), "created_at"=>2017-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>44, "token"=>"be6256a0a92e22b45b483f49a172aa4255bf716a66b5fac9daae67a88f6a4044", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000108'), "application_id"=>BSON::ObjectId('5bb624653541597507000107'), "created_at"=>2017-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>44, "token"=>"be6256a0a92e22b45b483f49a172aa4255bf716a66b5fac9daae67a88f6a4044", "expires_in"=>7200}) Processing by Doorkeeper::TokensController#introspect as HTML Parameters: {"token"=>"be6256a0a92e22b45b483f49a172aa4255bf716a66b5fac9daae67a88f6a4044"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"be6256a0a92e22b45b483f49a172aa4255bf716a66b5fac9daae67a88f6a4044"}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4de09b0d339bdf5b0cd47580f46ab0511d673a7812a6bb9ae7b5ec9613206684"}).limit(-1) Completed 200 OK in 4ms MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (2.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokensController#create as HTML Completed 401 Unauthorized in 0ms MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokensController#revoke as HTML MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"985157957bf4b24dba5be951d01e6bfc2c926efd0d8c523bd032d26221550d6e", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000109')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000109'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 116", "uid"=>"985157957bf4b24dba5be951d01e6bfc2c926efd0d8c523bd032d26221550d6e", "secret"=>"2b32680831b563cadbf9e82c1cf7bdb9fc933cb1a532c08640f1121ae8365996", "redirect_uri"=>"https://app.com/callback", "confidential"=>false}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000109'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 116", "uid"=>"985157957bf4b24dba5be951d01e6bfc2c926efd0d8c523bd032d26221550d6e", "secret"=>"2b32680831b563cadbf9e82c1cf7bdb9fc933cb1a532c08640f1121ae8365996", "redirect_uri"=>"https://app.com/callback", "confidential"=>false}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"65dc2c1c79ef0ba507586dedb66b65bd0c495c75e1704f18e49f18669b7fe8f3", :_id=>{:$ne=>BSON::ObjectId('5bb62465354159750700010a')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62465354159750700010a'), "application_id"=>BSON::ObjectId('5bb624653541597507000109'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>45, "token"=>"65dc2c1c79ef0ba507586dedb66b65bd0c495c75e1704f18e49f18669b7fe8f3", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62465354159750700010a'), "application_id"=>BSON::ObjectId('5bb624653541597507000109'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>45, "token"=>"65dc2c1c79ef0ba507586dedb66b65bd0c495c75e1704f18e49f18669b7fe8f3", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb62465354159750700010a')}, :u=>{"_id"=>BSON::ObjectId('5bb62465354159750700010a'), "application_id"=>BSON::ObjectId('5bb624653541597507000109'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>45, "token"=>"65dc2c1c79ef0ba507586dedb66b65bd0c495c75e1704f18e49f18669b7fe8f3", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb62465354159750700010a')}, {"_id"=>BSON::ObjectId('5bb62465354159750700010a'), "application_id"=>BSON::ObjectId('5bb624653541597507000109'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>45, "token"=>"65dc2c1c79ef0ba507586dedb66b65bd0c495c75e1704f18e49f18669b7fe8f3", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 9ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb62465354159750700010a')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokensController#revoke as HTML MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"63c9193cecebc5aafd5e727b3e902a76208c14647ee6e900ca6689ff0a122057", :_id=>{:$ne=>BSON::ObjectId('5bb62465354159750700010b')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62465354159750700010b'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 117", "uid"=>"63c9193cecebc5aafd5e727b3e902a76208c14647ee6e900ca6689ff0a122057", "secret"=>"c9157ad16119e53d81810ba6d141fc245ccf12b73aeea4233ef13037c63d72c1", "redirect_uri"=>"https://app.com/callback", "confidential"=>false}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62465354159750700010b'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 117", "uid"=>"63c9193cecebc5aafd5e727b3e902a76208c14647ee6e900ca6689ff0a122057", "secret"=>"c9157ad16119e53d81810ba6d141fc245ccf12b73aeea4233ef13037c63d72c1", "redirect_uri"=>"https://app.com/callback", "confidential"=>false}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"db378041085a34b669d92a5ec613670c3b6a21d0121214fdadf791b23142be08", :_id=>{:$ne=>BSON::ObjectId('5bb62465354159750700010c')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62465354159750700010c'), "application_id"=>BSON::ObjectId('5bb62465354159750700010b'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>46, "token"=>"db378041085a34b669d92a5ec613670c3b6a21d0121214fdadf791b23142be08", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62465354159750700010c'), "application_id"=>BSON::ObjectId('5bb62465354159750700010b'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>46, "token"=>"db378041085a34b669d92a5ec613670c3b6a21d0121214fdadf791b23142be08", "expires_in"=>7200}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb62465354159750700010c')}, :u=>{"_id"=>BSON::ObjectId('5bb62465354159750700010c'), "application_id"=>BSON::ObjectId('5bb62465354159750700010b'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>46, "token"=>"db378041085a34b669d92a5ec613670c3b6a21d0121214fdadf791b23142be08", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb62465354159750700010c')}, {"_id"=>BSON::ObjectId('5bb62465354159750700010c'), "application_id"=>BSON::ObjectId('5bb62465354159750700010b'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>46, "token"=>"db378041085a34b669d92a5ec613670c3b6a21d0121214fdadf791b23142be08", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 9ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokensController#revoke as HTML MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"369e151c823f9bf06de2cbdb1896a7e9038ec34a291654b2092db7773a027045", :_id=>{:$ne=>BSON::ObjectId('5bb62465354159750700010d')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62465354159750700010d'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 118", "uid"=>"369e151c823f9bf06de2cbdb1896a7e9038ec34a291654b2092db7773a027045", "secret"=>"9b3e7e13351b1ee6f63ff06aa5fa153d11fb5ff7a2eb826d5e0294af1c8c4576", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62465354159750700010d'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 118", "uid"=>"369e151c823f9bf06de2cbdb1896a7e9038ec34a291654b2092db7773a027045", "secret"=>"9b3e7e13351b1ee6f63ff06aa5fa153d11fb5ff7a2eb826d5e0294af1c8c4576", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (2.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f51a9ec200f49a175a82250b10b344676a6cdc15ad7127c352c57b8657ccd59f", :_id=>{:$ne=>BSON::ObjectId('5bb62465354159750700010e')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62465354159750700010e'), "application_id"=>BSON::ObjectId('5bb62465354159750700010d'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>47, "token"=>"f51a9ec200f49a175a82250b10b344676a6cdc15ad7127c352c57b8657ccd59f", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62465354159750700010e'), "application_id"=>BSON::ObjectId('5bb62465354159750700010d'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>47, "token"=>"f51a9ec200f49a175a82250b10b344676a6cdc15ad7127c352c57b8657ccd59f", "expires_in"=>7200}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb62465354159750700010e')}, :u=>{"_id"=>BSON::ObjectId('5bb62465354159750700010e'), "application_id"=>BSON::ObjectId('5bb62465354159750700010d'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>47, "token"=>"f51a9ec200f49a175a82250b10b344676a6cdc15ad7127c352c57b8657ccd59f", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb62465354159750700010e')}, {"_id"=>BSON::ObjectId('5bb62465354159750700010e'), "application_id"=>BSON::ObjectId('5bb62465354159750700010d'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>47, "token"=>"f51a9ec200f49a175a82250b10b344676a6cdc15ad7127c352c57b8657ccd59f", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 18ms MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb62465354159750700010e')}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokensController#revoke as HTML MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8d05bb85df1c132bc0daeac7009b27eabfe5eff7c414c37426e0d6a6be856ef1", :_id=>{:$ne=>BSON::ObjectId('5bb62465354159750700010f')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62465354159750700010f'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 119", "uid"=>"8d05bb85df1c132bc0daeac7009b27eabfe5eff7c414c37426e0d6a6be856ef1", "secret"=>"a5d669e1aefef3987cbed4f99ce851a797c400b25d39c8bed48d9c557e69419a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62465354159750700010f'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 119", "uid"=>"8d05bb85df1c132bc0daeac7009b27eabfe5eff7c414c37426e0d6a6be856ef1", "secret"=>"a5d669e1aefef3987cbed4f99ce851a797c400b25d39c8bed48d9c557e69419a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"0daca6718b77dce84ef221625cfd60fa8510e5fd8d5273b62b9fbe4780ce3ec5", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000110')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000110'), "application_id"=>BSON::ObjectId('5bb62465354159750700010f'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>48, "token"=>"0daca6718b77dce84ef221625cfd60fa8510e5fd8d5273b62b9fbe4780ce3ec5", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000110'), "application_id"=>BSON::ObjectId('5bb62465354159750700010f'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>48, "token"=>"0daca6718b77dce84ef221625cfd60fa8510e5fd8d5273b62b9fbe4780ce3ec5", "expires_in"=>7200}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb624653541597507000110')}, :u=>{"_id"=>BSON::ObjectId('5bb624653541597507000110'), "application_id"=>BSON::ObjectId('5bb62465354159750700010f'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>48, "token"=>"0daca6718b77dce84ef221625cfd60fa8510e5fd8d5273b62b9fbe4780ce3ec5", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb624653541597507000110')}, {"_id"=>BSON::ObjectId('5bb624653541597507000110'), "application_id"=>BSON::ObjectId('5bb62465354159750700010f'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>48, "token"=>"0daca6718b77dce84ef221625cfd60fa8510e5fd8d5273b62b9fbe4780ce3ec5", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Completed 200 OK in 12ms MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokensController#revoke as HTML MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"93681dcbffe5b469f9d532903b50dcd6eed13e5ea15073565267b3fbaa1f4f00", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000111')}}, {:_id=>1}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000111'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 120", "uid"=>"93681dcbffe5b469f9d532903b50dcd6eed13e5ea15073565267b3fbaa1f4f00", "secret"=>"e4ac9997802a4d2c15bb417e4a3c3e687f73c8da8ecb42416ff4dbe29dfdc0f8", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000111'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 120", "uid"=>"93681dcbffe5b469f9d532903b50dcd6eed13e5ea15073565267b3fbaa1f4f00", "secret"=>"e4ac9997802a4d2c15bb417e4a3c3e687f73c8da8ecb42416ff4dbe29dfdc0f8", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"34229b2cf7525c6ac00c1632993a3092f5364363dc5fd24d627adf4a83fc798f", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000112')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000112'), "application_id"=>BSON::ObjectId('5bb624653541597507000111'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>49, "token"=>"34229b2cf7525c6ac00c1632993a3092f5364363dc5fd24d627adf4a83fc798f", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000112'), "application_id"=>BSON::ObjectId('5bb624653541597507000111'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>49, "token"=>"34229b2cf7525c6ac00c1632993a3092f5364363dc5fd24d627adf4a83fc798f", "expires_in"=>7200}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a97fdbe47e80ba6fbaacd332ef22889e29f290b94b6158d6a08b38cb03b9f274", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000113')}}, {:_id=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000113'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 121", "uid"=>"a97fdbe47e80ba6fbaacd332ef22889e29f290b94b6158d6a08b38cb03b9f274", "secret"=>"3b318d6fd6169b21f972266e9c1db19a67e6af5575c32efa9bb2fa1e25bbfd6b", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000113'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 121", "uid"=>"a97fdbe47e80ba6fbaacd332ef22889e29f290b94b6158d6a08b38cb03b9f274", "secret"=>"3b318d6fd6169b21f972266e9c1db19a67e6af5575c32efa9bb2fa1e25bbfd6b", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Completed 200 OK in 15ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb624653541597507000112')}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokensController#revoke as HTML MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"90a0ff6cc4ae4d03af78c8e88425bec5941404476671788c68a4a43c8f36154d", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000114')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000114'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 122", "uid"=>"90a0ff6cc4ae4d03af78c8e88425bec5941404476671788c68a4a43c8f36154d", "secret"=>"6e8e18aa698b271bc76910eaebe2d4514e621e8695473fabcc83672d3822af0b", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000114'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 122", "uid"=>"90a0ff6cc4ae4d03af78c8e88425bec5941404476671788c68a4a43c8f36154d", "secret"=>"6e8e18aa698b271bc76910eaebe2d4514e621e8695473fabcc83672d3822af0b", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"30ebd1230be549278ef74f6491a952bc8dd83ec5e01f1bd6806aa82a922a1df6", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000115')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000115'), "application_id"=>BSON::ObjectId('5bb624653541597507000114'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>50, "token"=>"30ebd1230be549278ef74f6491a952bc8dd83ec5e01f1bd6806aa82a922a1df6", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000115'), "application_id"=>BSON::ObjectId('5bb624653541597507000114'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>50, "token"=>"30ebd1230be549278ef74f6491a952bc8dd83ec5e01f1bd6806aa82a922a1df6", "expires_in"=>7200}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4f5a794848eb0e6ae3b410b7cb400690db788c7df000fe54e3a0a388f7858fe2", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000116')}}, {:_id=>1}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000116'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 123", "uid"=>"4f5a794848eb0e6ae3b410b7cb400690db788c7df000fe54e3a0a388f7858fe2", "secret"=>"843a99b8b6e9c62ef449a910c1bb3910651e24a9a56ed5996aafa2817dca2b28", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000116'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 123", "uid"=>"4f5a794848eb0e6ae3b410b7cb400690db788c7df000fe54e3a0a388f7858fe2", "secret"=>"843a99b8b6e9c62ef449a910c1bb3910651e24a9a56ed5996aafa2817dca2b28", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Completed 200 OK in 14ms MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokensController#create as HTML Completed 401 Unauthorized in 1ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::TokensController#create as HTML Completed 200 OK in 0ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1cb0aa99d4ee03364ec667cec2e2abe5ec396b2d635fc34065a36e861319845d", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000117')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000117'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 124", "uid"=>"1cb0aa99d4ee03364ec667cec2e2abe5ec396b2d635fc34065a36e861319845d", "secret"=>"f37472b4667f2024bbf54bc1da738296321c4120106190072204a05968238e9f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000117'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 124", "uid"=>"1cb0aa99d4ee03364ec667cec2e2abe5ec396b2d635fc34065a36e861319845d", "secret"=>"f37472b4667f2024bbf54bc1da738296321c4120106190072204a05968238e9f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000118'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (12.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000118'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=1cb0aa99d4ee03364ec667cec2e2abe5ec396b2d635fc34065a36e861319845d&client_secret=[FILTERED]&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"1cb0aa99d4ee03364ec667cec2e2abe5ec396b2d635fc34065a36e861319845d", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} Completed 401 Unauthorized in 0ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_applications", "query"=>{}, "fields"=>nil}).limit(-1) Processing by Doorkeeper::ApplicationsController#create as HTML Parameters: {"doorkeeper_application"=>{"name"=>"Example", "redirect_uri"=>"https://example.com"}} Redirected to http://test.host/ Filter chain halted as :authenticate_admin! rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_applications", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by Doorkeeper::ApplicationsController#index as HTML Redirected to http://test.host/ Filter chain halted as :authenticate_admin! rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) MONGODB (1.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e85c9522f62fb97ee6862dc06eb97b6328c382c7c69a7a8d7d2fe1efa0ba3e2d", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000119')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000119'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 125", "uid"=>"e85c9522f62fb97ee6862dc06eb97b6328c382c7c69a7a8d7d2fe1efa0ba3e2d", "secret"=>"f9b1644b9ada3b6171d10edd903eaa6bce2bc7540fb310bdbc96f1056b68d30e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000119'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 125", "uid"=>"e85c9522f62fb97ee6862dc06eb97b6328c382c7c69a7a8d7d2fe1efa0ba3e2d", "secret"=>"f9b1644b9ada3b6171d10edd903eaa6bce2bc7540fb310bdbc96f1056b68d30e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Processing by Doorkeeper::ApplicationsController#update as HTML Parameters: {"doorkeeper_application"=>{"uid"=>"1A2B3C4D", "secret"=>"1A2B3C4D"}, "id"=>"5bb624653541597507000119"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624653541597507000119')}).limit(-1) Unpermitted parameters: uid, secret MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e85c9522f62fb97ee6862dc06eb97b6328c382c7c69a7a8d7d2fe1efa0ba3e2d", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000119')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb624653541597507000119')}, :u=>{"_id"=>BSON::ObjectId('5bb624653541597507000119'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 125", "uid"=>"e85c9522f62fb97ee6862dc06eb97b6328c382c7c69a7a8d7d2fe1efa0ba3e2d", "secret"=>"f9b1644b9ada3b6171d10edd903eaa6bce2bc7540fb310bdbc96f1056b68d30e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb624653541597507000119')}, {"_id"=>BSON::ObjectId('5bb624653541597507000119'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 125", "uid"=>"e85c9522f62fb97ee6862dc06eb97b6328c382c7c69a7a8d7d2fe1efa0ba3e2d", "secret"=>"f9b1644b9ada3b6171d10edd903eaa6bce2bc7540fb310bdbc96f1056b68d30e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Redirected to http://test.host/oauth/applications/5bb624653541597507000119 Completed 302 Found in 3ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624653541597507000119')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"817cbfbc6b59d5a0fc153864d0591d884892771b74ebb50db44fd2405d85ceb0", :_id=>{:$ne=>BSON::ObjectId('5bb62465354159750700011a')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62465354159750700011a'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 126", "uid"=>"817cbfbc6b59d5a0fc153864d0591d884892771b74ebb50db44fd2405d85ceb0", "secret"=>"5ccf2e083c42a68f90aaef83cbd1adba39b850a898874c64e8d58723c56e63ee", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62465354159750700011a'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 126", "uid"=>"817cbfbc6b59d5a0fc153864d0591d884892771b74ebb50db44fd2405d85ceb0", "secret"=>"5ccf2e083c42a68f90aaef83cbd1adba39b850a898874c64e8d58723c56e63ee", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"fdd8c134b506e6f0fa44f4e063ce289a8bb1787978dfb96cb75dac82c215602e", :_id=>{:$ne=>BSON::ObjectId('5bb62465354159750700011b')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62465354159750700011b'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 127", "uid"=>"fdd8c134b506e6f0fa44f4e063ce289a8bb1787978dfb96cb75dac82c215602e", "secret"=>"9671bb4ebc77033ee9b7fc37495f6623ae6c12b72812f32029a127ee3a7f326a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62465354159750700011b'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 127", "uid"=>"fdd8c134b506e6f0fa44f4e063ce289a8bb1787978dfb96cb75dac82c215602e", "secret"=>"9671bb4ebc77033ee9b7fc37495f6623ae6c12b72812f32029a127ee3a7f326a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Processing by Doorkeeper::ApplicationsController#index as HTML MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({}).sort([["created_at", 1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (0.3ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (0.3ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/index.html.erb within layouts/doorkeeper/admin (3.2ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_applications", "query"=>{}, "fields"=>nil}).limit(-1) Processing by Doorkeeper::ApplicationsController#create as HTML Parameters: {"doorkeeper_application"=>{"name"=>"Example", "redirect_uri"=>"https://example.com"}} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e2658d657855b29c28b80e24ee7d18ecab07cdf1800c5d8084b2447644e29abb", :_id=>{:$ne=>BSON::ObjectId('5bb62465354159750700011c')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62465354159750700011c'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Example", "uid"=>"e2658d657855b29c28b80e24ee7d18ecab07cdf1800c5d8084b2447644e29abb", "secret"=>"e7e12b2942cfe98c59d0340c247e98204b8f45b05651c493998644603f12cac5", "redirect_uri"=>"https://example.com", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62465354159750700011c'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Example", "uid"=>"e2658d657855b29c28b80e24ee7d18ecab07cdf1800c5d8084b2447644e29abb", "secret"=>"e7e12b2942cfe98c59d0340c247e98204b8f45b05651c493998644603f12cac5", "redirect_uri"=>"https://example.com", "confidential"=>true}) Redirected to http://test.host/oauth/applications/5bb62465354159750700011c Completed 302 Found in 3ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_applications", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d01d1b72d952d87b613f72fd628bc7e11eaddaa7869afd9f41fbaf3dbee3a873", :_id=>{:$ne=>BSON::ObjectId('5bb62465354159750700011d')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62465354159750700011d'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 128", "uid"=>"d01d1b72d952d87b613f72fd628bc7e11eaddaa7869afd9f41fbaf3dbee3a873", "secret"=>"24e0e7cc0974b50675dde42b8dfea67e2868a4e6ebd931994431785db037030b", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62465354159750700011d'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 128", "uid"=>"d01d1b72d952d87b613f72fd628bc7e11eaddaa7869afd9f41fbaf3dbee3a873", "secret"=>"24e0e7cc0974b50675dde42b8dfea67e2868a4e6ebd931994431785db037030b", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) Processing by Doorkeeper::ApplicationsController#update as HTML Parameters: {"doorkeeper_application"=>{"name"=>"Example", "redirect_uri"=>"https://example.com"}, "id"=>"5bb62465354159750700011d"} MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb62465354159750700011d')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d01d1b72d952d87b613f72fd628bc7e11eaddaa7869afd9f41fbaf3dbee3a873", :_id=>{:$ne=>BSON::ObjectId('5bb62465354159750700011d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb62465354159750700011d')}, :u=>{"_id"=>BSON::ObjectId('5bb62465354159750700011d'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Example", "uid"=>"d01d1b72d952d87b613f72fd628bc7e11eaddaa7869afd9f41fbaf3dbee3a873", "secret"=>"24e0e7cc0974b50675dde42b8dfea67e2868a4e6ebd931994431785db037030b", "redirect_uri"=>"https://example.com", "confidential"=>true}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb62465354159750700011d')}, {"_id"=>BSON::ObjectId('5bb62465354159750700011d'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Example", "uid"=>"d01d1b72d952d87b613f72fd628bc7e11eaddaa7869afd9f41fbaf3dbee3a873", "secret"=>"24e0e7cc0974b50675dde42b8dfea67e2868a4e6ebd931994431785db037030b", "redirect_uri"=>"https://example.com", "confidential"=>true}) Redirected to http://test.host/oauth/applications/5bb62465354159750700011d Completed 302 Found in 3ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb62465354159750700011d')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"481095b31f3316e8ed5fd89e55ef8d68c8836deb76a7ac604183da02df3bf63d", :_id=>{:$ne=>BSON::ObjectId('5bb62465354159750700011e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62465354159750700011e'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 129", "uid"=>"481095b31f3316e8ed5fd89e55ef8d68c8836deb76a7ac604183da02df3bf63d", "secret"=>"0cf09b4a160516cb4a9c82ab87ef5221ff44ad3c9f6295b59a5f6bd421466b5c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62465354159750700011e'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 129", "uid"=>"481095b31f3316e8ed5fd89e55ef8d68c8836deb76a7ac604183da02df3bf63d", "secret"=>"0cf09b4a160516cb4a9c82ab87ef5221ff44ad3c9f6295b59a5f6bd421466b5c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"611d29f192adf54e9828c7e3bc9599f6aebddc5388c77e79e3601f8fb1ba63bc", :_id=>{:$ne=>BSON::ObjectId('5bb62465354159750700011f')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb62465354159750700011f'), "application_id"=>BSON::ObjectId('5bb62465354159750700011e'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>1, "token"=>"611d29f192adf54e9828c7e3bc9599f6aebddc5388c77e79e3601f8fb1ba63bc", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb62465354159750700011f'), "application_id"=>BSON::ObjectId('5bb62465354159750700011e'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>1, "token"=>"611d29f192adf54e9828c7e3bc9599f6aebddc5388c77e79e3601f8fb1ba63bc", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token?code=[FILTERED]&client_id=481095b31f3316e8ed5fd89e55ef8d68c8836deb76a7ac604183da02df3bf63d&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"481095b31f3316e8ed5fd89e55ef8d68c8836deb76a7ac604183da02df3bf63d", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>""} Completed 401 Unauthorized in 1ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c00215e3dcba34306d800228eeaac53f038d712f63c899092de6abdc30541fb9", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000120')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000120'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 130", "uid"=>"c00215e3dcba34306d800228eeaac53f038d712f63c899092de6abdc30541fb9", "secret"=>"a2fd51f60ac3d6f03dc0929acd5e1932ece0e4a86986f80bad6d10b26541b6d8", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000120'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 130", "uid"=>"c00215e3dcba34306d800228eeaac53f038d712f63c899092de6abdc30541fb9", "secret"=>"a2fd51f60ac3d6f03dc0929acd5e1932ece0e4a86986f80bad6d10b26541b6d8", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"e0f80786e9dd30aff5113336e9dff95485248ba3ad9850d3ab8f3ef2b842c31a", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000121')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000121'), "application_id"=>BSON::ObjectId('5bb624653541597507000120'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>2, "token"=>"e0f80786e9dd30aff5113336e9dff95485248ba3ad9850d3ab8f3ef2b842c31a", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000121'), "application_id"=>BSON::ObjectId('5bb624653541597507000120'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>2, "token"=>"e0f80786e9dd30aff5113336e9dff95485248ba3ad9850d3ab8f3ef2b842c31a", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token?code=[FILTERED]&client_id=c00215e3dcba34306d800228eeaac53f038d712f63c899092de6abdc30541fb9&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=nothing" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"c00215e3dcba34306d800228eeaac53f038d712f63c899092de6abdc30541fb9", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"nothing"} Completed 401 Unauthorized in 0ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"769d7bebf3bbfe73cdf18f525937d427efa040eddbee100498da8beea5ccc7f7", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000122')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000122'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 131", "uid"=>"769d7bebf3bbfe73cdf18f525937d427efa040eddbee100498da8beea5ccc7f7", "secret"=>"a740283a718776f0ba5082f7d75748441a8fed437881ee2606f910b10c6e5ce1", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000122'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 131", "uid"=>"769d7bebf3bbfe73cdf18f525937d427efa040eddbee100498da8beea5ccc7f7", "secret"=>"a740283a718776f0ba5082f7d75748441a8fed437881ee2606f910b10c6e5ce1", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"756aaef2fa41a38f0e0a51c7c912880994d54d3b9bf0939df5f12a60a647c5a1", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000123')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000123'), "application_id"=>BSON::ObjectId('5bb624653541597507000122'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>3, "token"=>"756aaef2fa41a38f0e0a51c7c912880994d54d3b9bf0939df5f12a60a647c5a1", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000123'), "application_id"=>BSON::ObjectId('5bb624653541597507000122'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>3, "token"=>"756aaef2fa41a38f0e0a51c7c912880994d54d3b9bf0939df5f12a60a647c5a1", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token?code=[FILTERED]&client_id=769d7bebf3bbfe73cdf18f525937d427efa040eddbee100498da8beea5ccc7f7&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"769d7bebf3bbfe73cdf18f525937d427efa040eddbee100498da8beea5ccc7f7", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} Completed 401 Unauthorized in 0ms MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4a9057d85b5c9b48f3821cc5483b883287b4463259b6943d7168cf8ffc06727d", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000124')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000124'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 132", "uid"=>"4a9057d85b5c9b48f3821cc5483b883287b4463259b6943d7168cf8ffc06727d", "secret"=>"8795c55dd43709a8501eaab4d3cfb4a0ea7a0326c61090284424cbb09cc6fe55", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000124'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 132", "uid"=>"4a9057d85b5c9b48f3821cc5483b883287b4463259b6943d7168cf8ffc06727d", "secret"=>"8795c55dd43709a8501eaab4d3cfb4a0ea7a0326c61090284424cbb09cc6fe55", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"da199ecedf7bf6f92796f8e9c5a760e4d042ec899c19b1d5f7319453be68a417", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000125')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000125'), "application_id"=>BSON::ObjectId('5bb624653541597507000124'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>4, "token"=>"da199ecedf7bf6f92796f8e9c5a760e4d042ec899c19b1d5f7319453be68a417", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000125'), "application_id"=>BSON::ObjectId('5bb624653541597507000124'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>4, "token"=>"da199ecedf7bf6f92796f8e9c5a760e4d042ec899c19b1d5f7319453be68a417", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token?code=[FILTERED]&client_id&client_secret&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>nil, "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"da199ecedf7bf6f92796f8e9c5a760e4d042ec899c19b1d5f7319453be68a417"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4a9057d85b5c9b48f3821cc5483b883287b4463259b6943d7168cf8ffc06727d"}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb624653541597507000125')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb624653541597507000125')}, :u=>{"_id"=>BSON::ObjectId('5bb624653541597507000125'), "application_id"=>BSON::ObjectId('5bb624653541597507000124'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>4, "token"=>"da199ecedf7bf6f92796f8e9c5a760e4d042ec899c19b1d5f7319453be68a417", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb624653541597507000125')}, {"_id"=>BSON::ObjectId('5bb624653541597507000125'), "application_id"=>BSON::ObjectId('5bb624653541597507000124'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>4, "token"=>"da199ecedf7bf6f92796f8e9c5a760e4d042ec899c19b1d5f7319453be68a417", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624653541597507000124')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624653541597507000124')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"2c9b29b926d7858e4398e92c6d375136639fc2d79220ef02be15f33d9bdfb61f", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000126')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000126'), "application_id"=>BSON::ObjectId('5bb624653541597507000124'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>4, "token"=>"2c9b29b926d7858e4398e92c6d375136639fc2d79220ef02be15f33d9bdfb61f", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000126'), "application_id"=>BSON::ObjectId('5bb624653541597507000124'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>4, "token"=>"2c9b29b926d7858e4398e92c6d375136639fc2d79220ef02be15f33d9bdfb61f", "expires_in"=>7200, "scopes"=>"public"}) Completed 200 OK in 7ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1fc8e23aa44268d81d520851c5e89b5a914854c541b7ce19197521c61fa6b7ad", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000127')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000127'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 133", "uid"=>"1fc8e23aa44268d81d520851c5e89b5a914854c541b7ce19197521c61fa6b7ad", "secret"=>"5001138320f4e83523991381acae8705c59a78572752c4f87638b2396b4f785d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000127'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 133", "uid"=>"1fc8e23aa44268d81d520851c5e89b5a914854c541b7ce19197521c61fa6b7ad", "secret"=>"5001138320f4e83523991381acae8705c59a78572752c4f87638b2396b4f785d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"0fdaa8734846fc634b587d0e0e0f83e64a41ea805240796a42d9f772b71857ed", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000128')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000128'), "application_id"=>BSON::ObjectId('5bb624653541597507000127'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>5, "token"=>"0fdaa8734846fc634b587d0e0e0f83e64a41ea805240796a42d9f772b71857ed", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000128'), "application_id"=>BSON::ObjectId('5bb624653541597507000127'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>5, "token"=>"0fdaa8734846fc634b587d0e0e0f83e64a41ea805240796a42d9f772b71857ed", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token?code=[FILTERED]&client_id=1fc8e23aa44268d81d520851c5e89b5a914854c541b7ce19197521c61fa6b7ad&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"1fc8e23aa44268d81d520851c5e89b5a914854c541b7ce19197521c61fa6b7ad", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"0fdaa8734846fc634b587d0e0e0f83e64a41ea805240796a42d9f772b71857ed"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1fc8e23aa44268d81d520851c5e89b5a914854c541b7ce19197521c61fa6b7ad"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb624653541597507000128')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb624653541597507000128')}, :u=>{"_id"=>BSON::ObjectId('5bb624653541597507000128'), "application_id"=>BSON::ObjectId('5bb624653541597507000127'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>5, "token"=>"0fdaa8734846fc634b587d0e0e0f83e64a41ea805240796a42d9f772b71857ed", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb624653541597507000128')}, {"_id"=>BSON::ObjectId('5bb624653541597507000128'), "application_id"=>BSON::ObjectId('5bb624653541597507000127'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>5, "token"=>"0fdaa8734846fc634b587d0e0e0f83e64a41ea805240796a42d9f772b71857ed", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624653541597507000127')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624653541597507000127')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"55b2ef442d62482434cbbfe2257f5ccbb737da68645db85e62563201b8164349", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000129')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000129'), "application_id"=>BSON::ObjectId('5bb624653541597507000127'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>5, "token"=>"55b2ef442d62482434cbbfe2257f5ccbb737da68645db85e62563201b8164349", "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000129'), "application_id"=>BSON::ObjectId('5bb624653541597507000127'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>5, "token"=>"55b2ef442d62482434cbbfe2257f5ccbb737da68645db85e62563201b8164349", "scopes"=>"public"}) Completed 200 OK in 9ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6f355bb0756b3db8eed8c21083414be694db35ca10598fd5778207c5cb4a680d", :_id=>{:$ne=>BSON::ObjectId('5bb62465354159750700012a')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62465354159750700012a'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 134", "uid"=>"6f355bb0756b3db8eed8c21083414be694db35ca10598fd5778207c5cb4a680d", "secret"=>"e157d6e5ee831254864aae3cf743bd1c4d4bf1693ba2a7e4145aafb6feee6761", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62465354159750700012a'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 134", "uid"=>"6f355bb0756b3db8eed8c21083414be694db35ca10598fd5778207c5cb4a680d", "secret"=>"e157d6e5ee831254864aae3cf743bd1c4d4bf1693ba2a7e4145aafb6feee6761", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"c22024d98d689ff6a16eeb4ee1e76932733d75af8569861b18e333bedff0b927", :_id=>{:$ne=>BSON::ObjectId('5bb62465354159750700012b')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb62465354159750700012b'), "application_id"=>BSON::ObjectId('5bb62465354159750700012a'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>6, "token"=>"c22024d98d689ff6a16eeb4ee1e76932733d75af8569861b18e333bedff0b927", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb62465354159750700012b'), "application_id"=>BSON::ObjectId('5bb62465354159750700012a'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>6, "token"=>"c22024d98d689ff6a16eeb4ee1e76932733d75af8569861b18e333bedff0b927", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token?code=[FILTERED]&client_id=6f355bb0756b3db8eed8c21083414be694db35ca10598fd5778207c5cb4a680d&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"6f355bb0756b3db8eed8c21083414be694db35ca10598fd5778207c5cb4a680d", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"refresh_token"} Completed 401 Unauthorized in 0ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"dfce2d74e37174e4187f6de80e16214a68e0d427716da94fefe3a6d519e28a79", :_id=>{:$ne=>BSON::ObjectId('5bb62465354159750700012c')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62465354159750700012c'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 135", "uid"=>"dfce2d74e37174e4187f6de80e16214a68e0d427716da94fefe3a6d519e28a79", "secret"=>"d4cd29383299a54123b9579bec4c82fde7aa98acfa82ad29dda7352680fd2bb0", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62465354159750700012c'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 135", "uid"=>"dfce2d74e37174e4187f6de80e16214a68e0d427716da94fefe3a6d519e28a79", "secret"=>"d4cd29383299a54123b9579bec4c82fde7aa98acfa82ad29dda7352680fd2bb0", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"51302f48dac06e05a851fe4640ac6a82a47e80bd71254c4d68352078f863656e", :_id=>{:$ne=>BSON::ObjectId('5bb62465354159750700012d')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb62465354159750700012d'), "application_id"=>BSON::ObjectId('5bb62465354159750700012c'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>7, "token"=>"51302f48dac06e05a851fe4640ac6a82a47e80bd71254c4d68352078f863656e", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb62465354159750700012d'), "application_id"=>BSON::ObjectId('5bb62465354159750700012c'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>7, "token"=>"51302f48dac06e05a851fe4640ac6a82a47e80bd71254c4d68352078f863656e", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token?code=[FILTERED]&client_id=dfce2d74e37174e4187f6de80e16214a68e0d427716da94fefe3a6d519e28a79&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:32:05 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"dfce2d74e37174e4187f6de80e16214a68e0d427716da94fefe3a6d519e28a79", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"51302f48dac06e05a851fe4640ac6a82a47e80bd71254c4d68352078f863656e"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"dfce2d74e37174e4187f6de80e16214a68e0d427716da94fefe3a6d519e28a79"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb62465354159750700012d')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb62465354159750700012d')}, :u=>{"_id"=>BSON::ObjectId('5bb62465354159750700012d'), "application_id"=>BSON::ObjectId('5bb62465354159750700012c'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>7, "token"=>"51302f48dac06e05a851fe4640ac6a82a47e80bd71254c4d68352078f863656e", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb62465354159750700012d')}, {"_id"=>BSON::ObjectId('5bb62465354159750700012d'), "application_id"=>BSON::ObjectId('5bb62465354159750700012c'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>7, "token"=>"51302f48dac06e05a851fe4640ac6a82a47e80bd71254c4d68352078f863656e", "scopes"=>"public", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb62465354159750700012c')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb62465354159750700012c')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"c04ea80016b20f10caa21e4cf6864f4b728df6a3646811c81d8a86d41d586530", :_id=>{:$ne=>BSON::ObjectId('5bb62465354159750700012e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62465354159750700012e'), "application_id"=>BSON::ObjectId('5bb62465354159750700012c'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>7, "token"=>"c04ea80016b20f10caa21e4cf6864f4b728df6a3646811c81d8a86d41d586530", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62465354159750700012e'), "application_id"=>BSON::ObjectId('5bb62465354159750700012c'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>7, "token"=>"c04ea80016b20f10caa21e4cf6864f4b728df6a3646811c81d8a86d41d586530", "expires_in"=>7200, "scopes"=>"public"}) Completed 200 OK in 7ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7bef89cea6c1ebe2af6a9e49a4a94b945b5100eeea9cb0cab1bc4202c15ff921", :_id=>{:$ne=>BSON::ObjectId('5bb62465354159750700012f')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62465354159750700012f'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 136", "uid"=>"7bef89cea6c1ebe2af6a9e49a4a94b945b5100eeea9cb0cab1bc4202c15ff921", "secret"=>"dd3b4f524bbf335be290ba8f7f7b722ba6c8268bef4caa061a6b8aed7ed674f2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62465354159750700012f'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 136", "uid"=>"7bef89cea6c1ebe2af6a9e49a4a94b945b5100eeea9cb0cab1bc4202c15ff921", "secret"=>"dd3b4f524bbf335be290ba8f7f7b722ba6c8268bef4caa061a6b8aed7ed674f2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>nil, :_id=>{:$ne=>BSON::ObjectId('5bb62465354159750700012f')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"15f495e21a4a26720511ca6678b90d829924270d5a5da634a37989f960400a4e", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000130')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000130'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 137", "uid"=>"15f495e21a4a26720511ca6678b90d829924270d5a5da634a37989f960400a4e", "secret"=>"df5a0bc5bc4c6c135490f6578f13d2307d7d3a3fdfe138e5e07998bc0969cc6a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000130'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 137", "uid"=>"15f495e21a4a26720511ca6678b90d829924270d5a5da634a37989f960400a4e", "secret"=>"df5a0bc5bc4c6c135490f6578f13d2307d7d3a3fdfe138e5e07998bc0969cc6a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"15f495e21a4a26720511ca6678b90d829924270d5a5da634a37989f960400a4e", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000130')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4c4c40ca1d27611419ed6dd9b91e53645b7006129ac5be19745f51c294acb661", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000131')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000131'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 138", "uid"=>"4c4c40ca1d27611419ed6dd9b91e53645b7006129ac5be19745f51c294acb661", "secret"=>"32ccb5d881bf57f86cdfd6ce64e5f7fa0fa801d9622cea0ba92a2ebc4d910fef", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000131'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 138", "uid"=>"4c4c40ca1d27611419ed6dd9b91e53645b7006129ac5be19745f51c294acb661", "secret"=>"32ccb5d881bf57f86cdfd6ce64e5f7fa0fa801d9622cea0ba92a2ebc4d910fef", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1d73676de1a7d0260ac30f89df28a1cbc79387d1eef8d6661f79f4ec83cd289c", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000132')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000132'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 139", "uid"=>"1d73676de1a7d0260ac30f89df28a1cbc79387d1eef8d6661f79f4ec83cd289c", "secret"=>"c6336df25f742510580cbc4ac2e321a2d314e6cb86e694508aaf351f5bf0fbf2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000132'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 139", "uid"=>"1d73676de1a7d0260ac30f89df28a1cbc79387d1eef8d6661f79f4ec83cd289c", "secret"=>"c6336df25f742510580cbc4ac2e321a2d314e6cb86e694508aaf351f5bf0fbf2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4c4c40ca1d27611419ed6dd9b91e53645b7006129ac5be19745f51c294acb661", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000132')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"496673ee25075b5e049bf3d4e2b8b5d11a3131ec7c7f0b31ecf9f3bef4389f31", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000133')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"97df8bd4e5ff50bb", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000134')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000134'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 141", "uid"=>"97df8bd4e5ff50bb", "secret"=>"fe456837af86b1e39122a9eb5a7672016d2c5f4559b82cc70a40f4d72d14dd0d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000134'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 141", "uid"=>"97df8bd4e5ff50bb", "secret"=>"fe456837af86b1e39122a9eb5a7672016d2c5f4559b82cc70a40f4d72d14dd0d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"220d6a2e56fbf89f31ed05e9e09846a94a062c948ab82d73c5bed173a1704476", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000135')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000135'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 142", "uid"=>"220d6a2e56fbf89f31ed05e9e09846a94a062c948ab82d73c5bed173a1704476", "secret"=>"b303ee4ae340accceb750542ebece641cef86189c9cc3251ef7cc0f01ea6f098", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000135'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 142", "uid"=>"220d6a2e56fbf89f31ed05e9e09846a94a062c948ab82d73c5bed173a1704476", "secret"=>"b303ee4ae340accceb750542ebece641cef86189c9cc3251ef7cc0f01ea6f098", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"220d6a2e56fbf89f31ed05e9e09846a94a062c948ab82d73c5bed173a1704476", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000135')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e5a549c6a47d15c6d8b559d46d360a5bac62edd76df98e3042638be8d6accc83", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000136')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000136'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 143", "uid"=>"e5a549c6a47d15c6d8b559d46d360a5bac62edd76df98e3042638be8d6accc83", "secret"=>"f3cde34e4dbabb3980d7ef94fc494d7b4a1fa8fc915a0cad25305301013b40ac", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000136'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 143", "uid"=>"e5a549c6a47d15c6d8b559d46d360a5bac62edd76df98e3042638be8d6accc83", "secret"=>"f3cde34e4dbabb3980d7ef94fc494d7b4a1fa8fc915a0cad25305301013b40ac", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"050fd1a6b5874bef716c84abf076271234d7d8b9ffe5a887b8d5aad7ad50c23c", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000137')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000137'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 144", "uid"=>"050fd1a6b5874bef716c84abf076271234d7d8b9ffe5a887b8d5aad7ad50c23c", "secret"=>"cbc944c6cb6d96dd7202d9a93fe246884c2ab5a35d6d4e40a6e2bdeaa84d97f2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000137'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 144", "uid"=>"050fd1a6b5874bef716c84abf076271234d7d8b9ffe5a887b8d5aad7ad50c23c", "secret"=>"cbc944c6cb6d96dd7202d9a93fe246884c2ab5a35d6d4e40a6e2bdeaa84d97f2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7914165a2e258a6681b4038954887f52cc0a35803c6517e266a04428ac7412ef", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000138')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000138'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 145", "uid"=>"7914165a2e258a6681b4038954887f52cc0a35803c6517e266a04428ac7412ef", "secret"=>"0570efc8d8fd86809354320f6c4c582281cc6b94c91a5a3f8d3c9e7c2df483ce", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000138'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 145", "uid"=>"7914165a2e258a6681b4038954887f52cc0a35803c6517e266a04428ac7412ef", "secret"=>"0570efc8d8fd86809354320f6c4c582281cc6b94c91a5a3f8d3c9e7c2df483ce", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"050fd1a6b5874bef716c84abf076271234d7d8b9ffe5a887b8d5aad7ad50c23c", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000138')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b2d4e459d6937baa70b0f57ede07eee887e6ce3e9860103352501797bab33f46", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000139')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"341dcde6f6e0abf275068067b3d2310c2e68b892cafcad831ee8057006db5e7d", :_id=>{:$ne=>BSON::ObjectId('5bb62465354159750700013a')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62465354159750700013a'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 147", "uid"=>"341dcde6f6e0abf275068067b3d2310c2e68b892cafcad831ee8057006db5e7d", "secret"=>"5645bd74d378e77eb40649e448ffda952892a39e413244dab2317e3550910a16", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62465354159750700013a'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 147", "uid"=>"341dcde6f6e0abf275068067b3d2310c2e68b892cafcad831ee8057006db5e7d", "secret"=>"5645bd74d378e77eb40649e448ffda952892a39e413244dab2317e3550910a16", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a9c2abcd6ba09d9471fab31c8c98cf60947fb4307572f2e73e44b11133843414", :_id=>{:$ne=>BSON::ObjectId('5bb62465354159750700013b')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62465354159750700013b'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 148", "uid"=>"a9c2abcd6ba09d9471fab31c8c98cf60947fb4307572f2e73e44b11133843414", "secret"=>"126db1a2a98cd86d78e447e2e13938e1be28495e833037464fed13bc26c89c25", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62465354159750700013b'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 148", "uid"=>"a9c2abcd6ba09d9471fab31c8c98cf60947fb4307572f2e73e44b11133843414", "secret"=>"126db1a2a98cd86d78e447e2e13938e1be28495e833037464fed13bc26c89c25", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2935355327a2067b6219cf03fb382dac4158b00f645e08ff68f6f863d529cfbc", :_id=>{:$ne=>BSON::ObjectId('5bb62465354159750700013c')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62465354159750700013c'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 149", "uid"=>"2935355327a2067b6219cf03fb382dac4158b00f645e08ff68f6f863d529cfbc", "secret"=>"fd092afa0115af4c85a8cbed3198798e116f04ced6bb5a4470ddaa1631617c09", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62465354159750700013c'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 149", "uid"=>"2935355327a2067b6219cf03fb382dac4158b00f645e08ff68f6f863d529cfbc", "secret"=>"fd092afa0115af4c85a8cbed3198798e116f04ced6bb5a4470ddaa1631617c09", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"df69f871a6e7e4fb9e2f8f686ef6ec242fcfe034fa4456fc7d64bacd340a04c9", :_id=>{:$ne=>BSON::ObjectId('5bb62465354159750700013d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62465354159750700013d'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 150", "uid"=>"df69f871a6e7e4fb9e2f8f686ef6ec242fcfe034fa4456fc7d64bacd340a04c9", "secret"=>"eede4bcbb0c91810", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62465354159750700013d'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 150", "uid"=>"df69f871a6e7e4fb9e2f8f686ef6ec242fcfe034fa4456fc7d64bacd340a04c9", "secret"=>"eede4bcbb0c91810", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a741f656490dd6fe7d4f4105aa658f001dc51da29674b785ae0ecbe2b275bd1b", :_id=>{:$ne=>BSON::ObjectId('5bb62465354159750700013e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62465354159750700013e'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 151", "uid"=>"a741f656490dd6fe7d4f4105aa658f001dc51da29674b785ae0ecbe2b275bd1b", "secret"=>"822e3b8fcca5bd22fa203a349fc1fa62a22b3af9e9a13bf7adfab5decf7fcb87", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62465354159750700013e'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 151", "uid"=>"a741f656490dd6fe7d4f4105aa658f001dc51da29674b785ae0ecbe2b275bd1b", "secret"=>"822e3b8fcca5bd22fa203a349fc1fa62a22b3af9e9a13bf7adfab5decf7fcb87", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"8fc93c9edfaf13922cb5dcfa78167dabf919604182150d90a5bc291bcce68189", :_id=>{:$ne=>BSON::ObjectId('5bb62465354159750700013f')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62465354159750700013f'), "application_id"=>BSON::ObjectId('5bb62465354159750700013e'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>10, "token"=>"8fc93c9edfaf13922cb5dcfa78167dabf919604182150d90a5bc291bcce68189", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62465354159750700013f'), "application_id"=>BSON::ObjectId('5bb62465354159750700013e'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>10, "token"=>"8fc93c9edfaf13922cb5dcfa78167dabf919604182150d90a5bc291bcce68189", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"0be76ffb069be56d916b4d0bd551cdf68708d8d9e7ffa6c22a57e4d6f1c594a5", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000140')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000140'), "application_id"=>BSON::ObjectId('5bb62465354159750700013e'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>10, "token"=>"0be76ffb069be56d916b4d0bd551cdf68708d8d9e7ffa6c22a57e4d6f1c594a5", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000140'), "application_id"=>BSON::ObjectId('5bb62465354159750700013e'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>10, "token"=>"0be76ffb069be56d916b4d0bd551cdf68708d8d9e7ffa6c22a57e4d6f1c594a5", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:resource_owner_id=>10, :revoked_at=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>{:$in=>[BSON::ObjectId('5bb62465354159750700013e'), BSON::ObjectId('5bb62465354159750700013e')]}}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c1e8539f94a8ea798cb334701aa5f1a145ebab911d55d28dd4ecba4c3207e8c1", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000142')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000142'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 152", "uid"=>"c1e8539f94a8ea798cb334701aa5f1a145ebab911d55d28dd4ecba4c3207e8c1", "secret"=>"e814f4c7a24c85ed3ea266d314e0d8ffb605247d98c5d57c7001521a86c31e90", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000142'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 152", "uid"=>"c1e8539f94a8ea798cb334701aa5f1a145ebab911d55d28dd4ecba4c3207e8c1", "secret"=>"e814f4c7a24c85ed3ea266d314e0d8ffb605247d98c5d57c7001521a86c31e90", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"8ae9435950fd96324fdb1316909461e0794b6a68d6a1c36b377d8d69bf6666c8", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000141')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000141'), "application_id"=>BSON::ObjectId('5bb624653541597507000142'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>11, "token"=>"8ae9435950fd96324fdb1316909461e0794b6a68d6a1c36b377d8d69bf6666c8", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000141'), "application_id"=>BSON::ObjectId('5bb624653541597507000142'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>11, "token"=>"8ae9435950fd96324fdb1316909461e0794b6a68d6a1c36b377d8d69bf6666c8", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"dfac941ebcc60f5c72c435889fe44af3b7bfad5e41fa3aa9437611ebf977e1b5", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000144')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000144'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 153", "uid"=>"dfac941ebcc60f5c72c435889fe44af3b7bfad5e41fa3aa9437611ebf977e1b5", "secret"=>"f86abed2c7ac2185a1af31682fe8ad166fecc276506e7316d76cb9baad5dbf16", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000144'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "name"=>"Application 153", "uid"=>"dfac941ebcc60f5c72c435889fe44af3b7bfad5e41fa3aa9437611ebf977e1b5", "secret"=>"f86abed2c7ac2185a1af31682fe8ad166fecc276506e7316d76cb9baad5dbf16", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"19769f2c48b37acdcdb7216cfb749889398f6277c8030dbc84fe24c922f7248c", :_id=>{:$ne=>BSON::ObjectId('5bb624653541597507000143')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624653541597507000143'), "application_id"=>BSON::ObjectId('5bb624653541597507000144'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>10, "token"=>"19769f2c48b37acdcdb7216cfb749889398f6277c8030dbc84fe24c922f7248c", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624653541597507000143'), "application_id"=>BSON::ObjectId('5bb624653541597507000144'), "created_at"=>2018-10-04 14:32:05 UTC, "updated_at"=>2018-10-04 14:32:05 UTC, "resource_owner_id"=>10, "token"=>"19769f2c48b37acdcdb7216cfb749889398f6277c8030dbc84fe24c922f7248c", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:resource_owner_id=>10, :revoked_at=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>{:$in=>[BSON::ObjectId('5bb624653541597507000144')]}}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"49631998b27170ed61d0950f080008eb167152960a66d64c19edc554646e6c45", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000146')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000146'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 154", "uid"=>"49631998b27170ed61d0950f080008eb167152960a66d64c19edc554646e6c45", "secret"=>"4bb41bb0c3fa8f5d55dbb1ac042dc79d939a339d1e86d7dffbafa1e39432554a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000146'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 154", "uid"=>"49631998b27170ed61d0950f080008eb167152960a66d64c19edc554646e6c45", "secret"=>"4bb41bb0c3fa8f5d55dbb1ac042dc79d939a339d1e86d7dffbafa1e39432554a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"6075702ce4a36237b3ba5c93d38827ff1217e515f1f439d31d9e900a436e45de", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000145')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000145'), "application_id"=>BSON::ObjectId('5bb624663541597507000146'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>10, "token"=>"6075702ce4a36237b3ba5c93d38827ff1217e515f1f439d31d9e900a436e45de", "expires_in"=>7200, "revoked_at"=>2018-10-02 00:00:00 UTC}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000145'), "application_id"=>BSON::ObjectId('5bb624663541597507000146'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>10, "token"=>"6075702ce4a36237b3ba5c93d38827ff1217e515f1f439d31d9e900a436e45de", "expires_in"=>7200, "revoked_at"=>2018-10-02 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:resource_owner_id=>10, :revoked_at=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>[]}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:resource_owner_id=>10, :revoked_at=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>[]}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"9a5927f80ab21bb638b2aee01aadf9a2654361ec4f747f5d7c8197a72dabc5d6", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000148')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000148'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 155", "uid"=>"9a5927f80ab21bb638b2aee01aadf9a2654361ec4f747f5d7c8197a72dabc5d6", "secret"=>"8a7f33d93111a5b4b9b1e6347a3c8be8cbf5c9072331c7d6e7535cec3436f8b0", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000148'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 155", "uid"=>"9a5927f80ab21bb638b2aee01aadf9a2654361ec4f747f5d7c8197a72dabc5d6", "secret"=>"8a7f33d93111a5b4b9b1e6347a3c8be8cbf5c9072331c7d6e7535cec3436f8b0", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"6f40fc074437442f680226ac02e167a00741c688485be37d22f9152a6ad1c01a", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000147')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000147'), "application_id"=>BSON::ObjectId('5bb624663541597507000148'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>10, "token"=>"6f40fc074437442f680226ac02e167a00741c688485be37d22f9152a6ad1c01a", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000147'), "application_id"=>BSON::ObjectId('5bb624663541597507000148'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>10, "token"=>"6f40fc074437442f680226ac02e167a00741c688485be37d22f9152a6ad1c01a", "expires_in"=>7200}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"53a75b70257d06a74669986c96ee23c716d7ffe6576ca60ab1138cd4c5503f2e", :_id=>{:$ne=>BSON::ObjectId('5bb62466354159750700014a')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62466354159750700014a'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 156", "uid"=>"53a75b70257d06a74669986c96ee23c716d7ffe6576ca60ab1138cd4c5503f2e", "secret"=>"188815b17e007a481a4ac812a72d2f7c7da5d48e8448b326be9b39a11c2210cc", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62466354159750700014a'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 156", "uid"=>"53a75b70257d06a74669986c96ee23c716d7ffe6576ca60ab1138cd4c5503f2e", "secret"=>"188815b17e007a481a4ac812a72d2f7c7da5d48e8448b326be9b39a11c2210cc", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"38f2e8433573b1b74a28ebbb896a570be3b54ddcff0c5703a8443165fdcf1fe8", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000149')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000149'), "application_id"=>BSON::ObjectId('5bb62466354159750700014a'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>10, "token"=>"38f2e8433573b1b74a28ebbb896a570be3b54ddcff0c5703a8443165fdcf1fe8", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000149'), "application_id"=>BSON::ObjectId('5bb62466354159750700014a'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>10, "token"=>"38f2e8433573b1b74a28ebbb896a570be3b54ddcff0c5703a8443165fdcf1fe8", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:resource_owner_id=>10, :revoked_at=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>{:$in=>[BSON::ObjectId('5bb624663541597507000148'), BSON::ObjectId('5bb62466354159750700014a')]}}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3d0e1f4c3c01d330461f9d17e26b4663807ac805e1790122122ec89212db3f7b", :_id=>{:$ne=>BSON::ObjectId('5bb62466354159750700014b')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62466354159750700014b'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 157", "uid"=>"3d0e1f4c3c01d330461f9d17e26b4663807ac805e1790122122ec89212db3f7b", "secret"=>"0eb05aeab48223b8ca13f2461b000675d7566141ee7f173b61c20d3a42815d78", "redirect_uri"=>"https://app.com/callback", "confidential"=>false}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62466354159750700014b'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 157", "uid"=>"3d0e1f4c3c01d330461f9d17e26b4663807ac805e1790122122ec89212db3f7b", "secret"=>"0eb05aeab48223b8ca13f2461b000675d7566141ee7f173b61c20d3a42815d78", "redirect_uri"=>"https://app.com/callback", "confidential"=>false}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3530d57d33769f86b035e7683bb739b8c71c3f72db2b2c12b266f341d6ad39a4", :_id=>{:$ne=>BSON::ObjectId('5bb62466354159750700014c')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62466354159750700014c'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 158", "uid"=>"3530d57d33769f86b035e7683bb739b8c71c3f72db2b2c12b266f341d6ad39a4", "secret"=>"f11657d63088bac5e0f3623d570498e2509503c77c7051551d2461f4a04c0fd8", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62466354159750700014c'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 158", "uid"=>"3530d57d33769f86b035e7683bb739b8c71c3f72db2b2c12b266f341d6ad39a4", "secret"=>"f11657d63088bac5e0f3623d570498e2509503c77c7051551d2461f4a04c0fd8", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6d96264355282bbeccd4029d3f69936ef212c43836dd6fe1157702f9c4bd2c6d", :_id=>{:$ne=>BSON::ObjectId('5bb62466354159750700014e')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62466354159750700014e'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 159", "uid"=>"6d96264355282bbeccd4029d3f69936ef212c43836dd6fe1157702f9c4bd2c6d", "secret"=>"7d88ee9939222575a38113dbe779324f39972a75d10674fbaf74960b88e3afe1", "redirect_uri"=>"https://app.com/callback", "confidential"=>false}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62466354159750700014e'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 159", "uid"=>"6d96264355282bbeccd4029d3f69936ef212c43836dd6fe1157702f9c4bd2c6d", "secret"=>"7d88ee9939222575a38113dbe779324f39972a75d10674fbaf74960b88e3afe1", "redirect_uri"=>"https://app.com/callback", "confidential"=>false}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"68c832d19b73986c3efb4fde36340b2379ee7de7603f2773098077e9a7ebdc8e", :_id=>{:$ne=>BSON::ObjectId('5bb62466354159750700014f')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62466354159750700014f'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 160", "uid"=>"68c832d19b73986c3efb4fde36340b2379ee7de7603f2773098077e9a7ebdc8e", "secret"=>"d769f76e4c876145c66b3d966f11d11ebc42eb83c8b006feb73e1a4e42fe930f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62466354159750700014f'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 160", "uid"=>"68c832d19b73986c3efb4fde36340b2379ee7de7603f2773098077e9a7ebdc8e", "secret"=>"d769f76e4c876145c66b3d966f11d11ebc42eb83c8b006feb73e1a4e42fe930f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e673ac313dd33b08f265ee25a6d6495574da259a432fe4c5244a6b0e34399ae2", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000150')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000150'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 161", "uid"=>"e673ac313dd33b08f265ee25a6d6495574da259a432fe4c5244a6b0e34399ae2", "secret"=>"96671343b7a945b64e53b477db38fb1ebbcaffcbee6ef3a4b365efeb9bba8b33", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000150'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 161", "uid"=>"e673ac313dd33b08f265ee25a6d6495574da259a432fe4c5244a6b0e34399ae2", "secret"=>"96671343b7a945b64e53b477db38fb1ebbcaffcbee6ef3a4b365efeb9bba8b33", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"9d8aa129d5ddaa5cd98d3ecfb548d7eb1616b37e76686a2c167ef83cd25bb619", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000151')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000151'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 162", "uid"=>"9d8aa129d5ddaa5cd98d3ecfb548d7eb1616b37e76686a2c167ef83cd25bb619", "secret"=>"31d4078db874ca4dbf7bbeba013d1f2db0b757e65a2c0dd9565db877719130e8", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000151'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 162", "uid"=>"9d8aa129d5ddaa5cd98d3ecfb548d7eb1616b37e76686a2c167ef83cd25bb619", "secret"=>"31d4078db874ca4dbf7bbeba013d1f2db0b757e65a2c0dd9565db877719130e8", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2c4bb640329d96bc27ab856dd127abce1719d527eed2852909b89903a1845562", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000152')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000152'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 163", "uid"=>"2c4bb640329d96bc27ab856dd127abce1719d527eed2852909b89903a1845562", "secret"=>"3985b8bbbd1b70b309148105639eb99728929133729d5dade393ab27737d36e0", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000152'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 163", "uid"=>"2c4bb640329d96bc27ab856dd127abce1719d527eed2852909b89903a1845562", "secret"=>"3985b8bbbd1b70b309148105639eb99728929133729d5dade393ab27737d36e0", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f7cc9ca89cc6281291e4f023d95aa2cdc48d654d2c280edd18be95884260d5e9", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000153')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000153'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 164", "uid"=>"f7cc9ca89cc6281291e4f023d95aa2cdc48d654d2c280edd18be95884260d5e9", "secret"=>"321a8dadb861e47b845ec46973771b422f5cca59c89523010a80c6ffbc22b646", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000153'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 164", "uid"=>"f7cc9ca89cc6281291e4f023d95aa2cdc48d654d2c280edd18be95884260d5e9", "secret"=>"321a8dadb861e47b845ec46973771b422f5cca59c89523010a80c6ffbc22b646", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({}).sort([["name", 1]]) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c8eb880b925111d171b3214bd40f3f6b6802ec98dd3439c1e385063141baaaeb", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000154')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000154'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 165", "uid"=>"c8eb880b925111d171b3214bd40f3f6b6802ec98dd3439c1e385063141baaaeb", "secret"=>"77550945c85f95f2232597ad48a753780d4d62c5c5ec608d6280a16e068f6019", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000154'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 165", "uid"=>"c8eb880b925111d171b3214bd40f3f6b6802ec98dd3439c1e385063141baaaeb", "secret"=>"77550945c85f95f2232597ad48a753780d4d62c5c5ec608d6280a16e068f6019", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c1c71d23a1cb751d7d9f296af6ef810ab17d11d4796df3f5758156ad345838bb", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000155')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000155'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 166", "uid"=>"c1c71d23a1cb751d7d9f296af6ef810ab17d11d4796df3f5758156ad345838bb", "secret"=>"317a6e2eb07994f171b3c6a67760df1b6a74459f404a8eb81341cd4d7448d214", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000155'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 166", "uid"=>"c1c71d23a1cb751d7d9f296af6ef810ab17d11d4796df3f5758156ad345838bb", "secret"=>"317a6e2eb07994f171b3c6a67760df1b6a74459f404a8eb81341cd4d7448d214", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b00b479acd952deb08428705c78001ff677be2e0e322ce7620010440ae9fc0af", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000156')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000156'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 167", "uid"=>"b00b479acd952deb08428705c78001ff677be2e0e322ce7620010440ae9fc0af", "secret"=>"ec071ff895c2a4937f3052dec432460a5cb866284f7d414d73b596bf199b59c3", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000156'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 167", "uid"=>"b00b479acd952deb08428705c78001ff677be2e0e322ce7620010440ae9fc0af", "secret"=>"ec071ff895c2a4937f3052dec432460a5cb866284f7d414d73b596bf199b59c3", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"69e2cbf39985a7a17cfb51958a642f7708420ea6070b0a19a8b60623640d1848", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000157')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000157'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 168", "uid"=>"69e2cbf39985a7a17cfb51958a642f7708420ea6070b0a19a8b60623640d1848", "secret"=>"6117555000ecf4f1057758ae9579fbdd067bd3003574ff100bb8bee5e2679729", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000157'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 168", "uid"=>"69e2cbf39985a7a17cfb51958a642f7708420ea6070b0a19a8b60623640d1848", "secret"=>"6117555000ecf4f1057758ae9579fbdd067bd3003574ff100bb8bee5e2679729", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"212b32c524d69f854c130987d38ac6c6549e978df0b16d7ba8fce16529fc810c", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000158')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000158'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 169", "uid"=>"212b32c524d69f854c130987d38ac6c6549e978df0b16d7ba8fce16529fc810c", "secret"=>"f0e61380212e201b7920b09f250880970f4c7ccb52747b66f4ccbce0f31f38c4", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000158'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 169", "uid"=>"212b32c524d69f854c130987d38ac6c6549e978df0b16d7ba8fce16529fc810c", "secret"=>"f0e61380212e201b7920b09f250880970f4c7ccb52747b66f4ccbce0f31f38c4", "redirect_uri"=>"https://app.com/callback", "confidential"=>true}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({}).sort([["name", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6ce23d5aed0fcb88b1a202039a02da150b9f06e4060d08be2dd9f33abb776261", :_id=>{:$ne=>BSON::ObjectId('5bb62466354159750700015a')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7a560732977410baa0627df2669e9f0c585735aac38c3c40da5d31e85ee96915", :_id=>{:$ne=>BSON::ObjectId('5bb62466354159750700015c')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"cc2c7a14531a5a242544919e2ce5c28f412f7ce77ea73b46b67e706652e7eb62", :_id=>{:$ne=>BSON::ObjectId('5bb62466354159750700015d')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"311f74cbac88b99f683276a5bbf0713d40661510c67d48b8e9b752e75e9c3a33", :_id=>{:$ne=>BSON::ObjectId('5bb62466354159750700015e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62466354159750700015e'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 173", "uid"=>"311f74cbac88b99f683276a5bbf0713d40661510c67d48b8e9b752e75e9c3a33", "secret"=>"291e03eb77d5f60b95efedb422c3fb142d2003823ee3c8aff87614c7e9dfc983", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62466354159750700015e'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 173", "uid"=>"311f74cbac88b99f683276a5bbf0713d40661510c67d48b8e9b752e75e9c3a33", "secret"=>"291e03eb77d5f60b95efedb422c3fb142d2003823ee3c8aff87614c7e9dfc983", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e85d5b45128920658b363d35649071b3fae3ffb9318deaf1e271180a8d40f521", :_id=>{:$ne=>BSON::ObjectId('5bb62466354159750700015f')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62466354159750700015f'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 174", "uid"=>"e85d5b45128920658b363d35649071b3fae3ffb9318deaf1e271180a8d40f521", "secret"=>"caaeb69f049d750d4041206e3f138d14c44c272ee59c52ac56024badfd0420f2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62466354159750700015f'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 174", "uid"=>"e85d5b45128920658b363d35649071b3fae3ffb9318deaf1e271180a8d40f521", "secret"=>"caaeb69f049d750d4041206e3f138d14c44c272ee59c52ac56024badfd0420f2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5ee155b3480442f486f13bb1aad1fedc06fc5d662344a92cfd530777781b8cba", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000160')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000160'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 175", "uid"=>"5ee155b3480442f486f13bb1aad1fedc06fc5d662344a92cfd530777781b8cba", "secret"=>"266e69b8728c9d76d5760e84225037efb44bc5b5ab020c0baad8816d5743d0d8", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000160'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 175", "uid"=>"5ee155b3480442f486f13bb1aad1fedc06fc5d662344a92cfd530777781b8cba", "secret"=>"266e69b8728c9d76d5760e84225037efb44bc5b5ab020c0baad8816d5743d0d8", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5ee155b3480442f486f13bb1aad1fedc06fc5d662344a92cfd530777781b8cba"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"acd10bb21ba6bffb53e6b79cb41ef69f2dd208f0b61a1a7f42b95fb5185c74e0", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000161')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000161'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 176", "uid"=>"acd10bb21ba6bffb53e6b79cb41ef69f2dd208f0b61a1a7f42b95fb5185c74e0", "secret"=>"0955bd55d0a0f16f50f3bba769af805df2c09aad80d9927648202e93ece043b3", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000161'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 176", "uid"=>"acd10bb21ba6bffb53e6b79cb41ef69f2dd208f0b61a1a7f42b95fb5185c74e0", "secret"=>"0955bd55d0a0f16f50f3bba769af805df2c09aad80d9927648202e93ece043b3", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"acd10bb21ba6bffb53e6b79cb41ef69f2dd208f0b61a1a7f42b95fb5185c74e0"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"bcca513963669058d5775fc4b937b55bb808d3f3c05fba8886f8e5505752e4c4", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000162')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000162'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 177", "uid"=>"bcca513963669058d5775fc4b937b55bb808d3f3c05fba8886f8e5505752e4c4", "secret"=>"3f3e1f280d35f37b5dcacea6da58d2bb009d0b31a887e082410e7e50abd0e98e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000162'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 177", "uid"=>"bcca513963669058d5775fc4b937b55bb808d3f3c05fba8886f8e5505752e4c4", "secret"=>"3f3e1f280d35f37b5dcacea6da58d2bb009d0b31a887e082410e7e50abd0e98e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"bcca513963669058d5775fc4b937b55bb808d3f3c05fba8886f8e5505752e4c4"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f38e78f2459b387ff85d52c0a8b5f5b64c49c4d56f41bb36a269d24540876ac5", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000163')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000163'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 178", "uid"=>"f38e78f2459b387ff85d52c0a8b5f5b64c49c4d56f41bb36a269d24540876ac5", "secret"=>"b39cdac071edac1350f8e23ae953170ebb23c5cf7f3e3523d6671d5f47d46366", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000163'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 178", "uid"=>"f38e78f2459b387ff85d52c0a8b5f5b64c49c4d56f41bb36a269d24540876ac5", "secret"=>"b39cdac071edac1350f8e23ae953170ebb23c5cf7f3e3523d6671d5f47d46366", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f38e78f2459b387ff85d52c0a8b5f5b64c49c4d56f41bb36a269d24540876ac5"}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"058a828d17f2f4a572d9fc18392bd65cb8e15e223527cef1855da6494aedcd03", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000164')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000164'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 179", "uid"=>"058a828d17f2f4a572d9fc18392bd65cb8e15e223527cef1855da6494aedcd03", "secret"=>"61cb2228a88cd4b42c8a1ae563972edf16036111d1366118a1319d8b7e2cd308", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000164'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 179", "uid"=>"058a828d17f2f4a572d9fc18392bd65cb8e15e223527cef1855da6494aedcd03", "secret"=>"61cb2228a88cd4b42c8a1ae563972edf16036111d1366118a1319d8b7e2cd308", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"82babc5b65ea6fe0cb631048df499834fb459fc1d4577c45bb4e707adbdacece", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000165')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000165'), "application_id"=>BSON::ObjectId('5bb624663541597507000164'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>51, "token"=>"82babc5b65ea6fe0cb631048df499834fb459fc1d4577c45bb4e707adbdacece", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000165'), "application_id"=>BSON::ObjectId('5bb624663541597507000164'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>51, "token"=>"82babc5b65ea6fe0cb631048df499834fb459fc1d4577c45bb4e707adbdacece", "expires_in"=>7200}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"87008060e039251a719a676e0a8f8d345f5e9e0cafa75d78432a85d7835a08f6", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000166')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000166'), "application_id"=>BSON::ObjectId('5bb624663541597507000164'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>52, "token"=>"87008060e039251a719a676e0a8f8d345f5e9e0cafa75d78432a85d7835a08f6", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000166'), "application_id"=>BSON::ObjectId('5bb624663541597507000164'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>52, "token"=>"87008060e039251a719a676e0a8f8d345f5e9e0cafa75d78432a85d7835a08f6", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:application_id=>BSON::ObjectId('5bb624663541597507000164')}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb624663541597507000164')}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{:_id=>{:$in=>[BSON::ObjectId('5bb624663541597507000165')]}}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({:_id=>{:$in=>[BSON::ObjectId('5bb624663541597507000165')]}}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{:_id=>{:$in=>[BSON::ObjectId('5bb624663541597507000166')]}}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({:_id=>{:$in=>[BSON::ObjectId('5bb624663541597507000166')]}}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb624663541597507000164')}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{:_id=>{:$in=>[BSON::ObjectId('5bb624663541597507000164')]}}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({:_id=>{:$in=>[BSON::ObjectId('5bb624663541597507000164')]}}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"160f311ade09f34c5ec759c61e1a6eeebed156357741ad91e9a136c049197b19", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000167')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000167'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 180", "uid"=>"160f311ade09f34c5ec759c61e1a6eeebed156357741ad91e9a136c049197b19", "secret"=>"151da5f47fdf466548b73a97c7a51c83d995edaa901abc648e9164272d3e8afb", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000167'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 180", "uid"=>"160f311ade09f34c5ec759c61e1a6eeebed156357741ad91e9a136c049197b19", "secret"=>"151da5f47fdf466548b73a97c7a51c83d995edaa901abc648e9164272d3e8afb", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"213a6c2c1c9a8e466bde56b21b673d9cfa57d9882dcb74de54ba1bc69d71c2a3", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000168')}}, {:_id=>1}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000168'), "application_id"=>BSON::ObjectId('5bb624663541597507000167'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>8, "token"=>"213a6c2c1c9a8e466bde56b21b673d9cfa57d9882dcb74de54ba1bc69d71c2a3", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000168'), "application_id"=>BSON::ObjectId('5bb624663541597507000167'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>8, "token"=>"213a6c2c1c9a8e466bde56b21b673d9cfa57d9882dcb74de54ba1bc69d71c2a3", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:application_id=>BSON::ObjectId('5bb624663541597507000167')}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{:_id=>{:$in=>[BSON::ObjectId('5bb624663541597507000168')]}}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({:_id=>{:$in=>[BSON::ObjectId('5bb624663541597507000168')]}}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb624663541597507000167')}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb624663541597507000167')}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{:_id=>{:$in=>[BSON::ObjectId('5bb624663541597507000167')]}}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({:_id=>{:$in=>[BSON::ObjectId('5bb624663541597507000167')]}}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"70673df97d6ef8b841be60ea14ccb3997a20b913c50a780202b432f54c93be5e", :_id=>{:$ne=>BSON::ObjectId('5bb62466354159750700016b')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62466354159750700016b'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 183", "uid"=>"70673df97d6ef8b841be60ea14ccb3997a20b913c50a780202b432f54c93be5e", "secret"=>"ec3768a73ac76d8ed210977e9f9ad354b1c1a4843af17578113d0512d021d123", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62466354159750700016b'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 183", "uid"=>"70673df97d6ef8b841be60ea14ccb3997a20b913c50a780202b432f54c93be5e", "secret"=>"ec3768a73ac76d8ed210977e9f9ad354b1c1a4843af17578113d0512d021d123", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb62466354159750700016c'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb62466354159750700016c'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Joe", "password"=>"sekret"}) Started POST "/oauth/token?code&client_id=70673df97d6ef8b841be60ea14ccb3997a20b913c50a780202b432f54c93be5e&client_secret=[FILTERED]&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:32:06 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"70673df97d6ef8b841be60ea14ccb3997a20b913c50a780202b432f54c93be5e", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"70673df97d6ef8b841be60ea14ccb3997a20b913c50a780202b432f54c93be5e"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb62466354159750700016b')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"0751802fb14c0c2ded68ac0660e8b75a064e59c662f081f49dc2bead66719581", :_id=>{:$ne=>BSON::ObjectId('5bb62466354159750700016d')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"81637ad508293f3a2a41cb28f93e95aec307ced0520505170b1dc66680b5e735", :_id=>{:$ne=>BSON::ObjectId('5bb62466354159750700016d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62466354159750700016d'), "application_id"=>BSON::ObjectId('5bb62466354159750700016b'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62466354159750700016c'), "token"=>"0751802fb14c0c2ded68ac0660e8b75a064e59c662f081f49dc2bead66719581", "refresh_token"=>"81637ad508293f3a2a41cb28f93e95aec307ced0520505170b1dc66680b5e735", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62466354159750700016d'), "application_id"=>BSON::ObjectId('5bb62466354159750700016b'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62466354159750700016c'), "token"=>"0751802fb14c0c2ded68ac0660e8b75a064e59c662f081f49dc2bead66719581", "refresh_token"=>"81637ad508293f3a2a41cb28f93e95aec307ced0520505170b1dc66680b5e735", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 5ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb62466354159750700016b'), :resource_owner_id=>BSON::ObjectId('5bb62466354159750700016c'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb62466354159750700016d')}, :u=>{"_id"=>BSON::ObjectId('5bb62466354159750700016d'), "application_id"=>BSON::ObjectId('5bb62466354159750700016b'), "created_at"=>2018-10-04 14:32:01 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62466354159750700016c'), "token"=>"0751802fb14c0c2ded68ac0660e8b75a064e59c662f081f49dc2bead66719581", "refresh_token"=>"81637ad508293f3a2a41cb28f93e95aec307ced0520505170b1dc66680b5e735", "expires_in"=>7200, "scopes"=>""}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb62466354159750700016d')}, {"_id"=>BSON::ObjectId('5bb62466354159750700016d'), "application_id"=>BSON::ObjectId('5bb62466354159750700016b'), "created_at"=>2018-10-04 14:32:01 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62466354159750700016c'), "token"=>"0751802fb14c0c2ded68ac0660e8b75a064e59c662f081f49dc2bead66719581", "refresh_token"=>"81637ad508293f3a2a41cb28f93e95aec307ced0520505170b1dc66680b5e735", "expires_in"=>7200, "scopes"=>""}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"b17524f6327a7376071c6a76ade1f59f558123e1ba54f7a3e293dd3c851719bd", :_id=>{:$ne=>BSON::ObjectId('5bb62466354159750700016e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"906a6131703240bf7c2d370a9fdcc95d47a925e5bfe91158ccabbbc158653ca0", :_id=>{:$ne=>BSON::ObjectId('5bb62466354159750700016e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62466354159750700016e'), "application_id"=>BSON::ObjectId('5bb62466354159750700016b'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62466354159750700016c'), "token"=>"b17524f6327a7376071c6a76ade1f59f558123e1ba54f7a3e293dd3c851719bd", "refresh_token"=>"906a6131703240bf7c2d370a9fdcc95d47a925e5bfe91158ccabbbc158653ca0", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62466354159750700016e'), "application_id"=>BSON::ObjectId('5bb62466354159750700016b'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62466354159750700016c'), "token"=>"b17524f6327a7376071c6a76ade1f59f558123e1ba54f7a3e293dd3c851719bd", "refresh_token"=>"906a6131703240bf7c2d370a9fdcc95d47a925e5bfe91158ccabbbc158653ca0", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb62466354159750700016e')}, :u=>{"_id"=>BSON::ObjectId('5bb62466354159750700016e'), "application_id"=>BSON::ObjectId('5bb62466354159750700016b'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62466354159750700016c'), "token"=>"b17524f6327a7376071c6a76ade1f59f558123e1ba54f7a3e293dd3c851719bd", "refresh_token"=>"906a6131703240bf7c2d370a9fdcc95d47a925e5bfe91158ccabbbc158653ca0", "expires_in"=>-100}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb62466354159750700016e')}, {"_id"=>BSON::ObjectId('5bb62466354159750700016e'), "application_id"=>BSON::ObjectId('5bb62466354159750700016b'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62466354159750700016c'), "token"=>"b17524f6327a7376071c6a76ade1f59f558123e1ba54f7a3e293dd3c851719bd", "refresh_token"=>"906a6131703240bf7c2d370a9fdcc95d47a925e5bfe91158ccabbbc158653ca0", "expires_in"=>-100}) Started POST "/oauth/token?refresh_token=[FILTERED]&client_id=70673df97d6ef8b841be60ea14ccb3997a20b913c50a780202b432f54c93be5e&client_secret=[FILTERED]&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:32:06 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"refresh_token"=>"[FILTERED]", "client_id"=>"70673df97d6ef8b841be60ea14ccb3997a20b913c50a780202b432f54c93be5e", "client_secret"=>"[FILTERED]", "grant_type"=>"refresh_token"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"906a6131703240bf7c2d370a9fdcc95d47a925e5bfe91158ccabbbc158653ca0"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"70673df97d6ef8b841be60ea14ccb3997a20b913c50a780202b432f54c93be5e"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb62466354159750700016e')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb62466354159750700016b')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"1aa04e24df23291de1bf5e5dc07dc47bbaa806f8bfe3e964815c161a9e6f46ce", :_id=>{:$ne=>BSON::ObjectId('5bb62466354159750700016f')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"6db06adaf9ad03d207779dd449aa778fad0df1cfe977d2105d6850d9e9971908", :_id=>{:$ne=>BSON::ObjectId('5bb62466354159750700016f')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62466354159750700016f'), "application_id"=>BSON::ObjectId('5bb62466354159750700016b'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62466354159750700016c'), "token"=>"1aa04e24df23291de1bf5e5dc07dc47bbaa806f8bfe3e964815c161a9e6f46ce", "refresh_token"=>"6db06adaf9ad03d207779dd449aa778fad0df1cfe977d2105d6850d9e9971908", "previous_refresh_token"=>"906a6131703240bf7c2d370a9fdcc95d47a925e5bfe91158ccabbbc158653ca0", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62466354159750700016f'), "application_id"=>BSON::ObjectId('5bb62466354159750700016b'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62466354159750700016c'), "token"=>"1aa04e24df23291de1bf5e5dc07dc47bbaa806f8bfe3e964815c161a9e6f46ce", "refresh_token"=>"6db06adaf9ad03d207779dd449aa778fad0df1cfe977d2105d6850d9e9971908", "previous_refresh_token"=>"906a6131703240bf7c2d370a9fdcc95d47a925e5bfe91158ccabbbc158653ca0", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 7ms MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb62466354159750700016b'), :resource_owner_id=>BSON::ObjectId('5bb62466354159750700016c'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb62466354159750700016e')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"40e2e2f430aeac44d2a93a7c0727b08f9456de3601448b64c6ed445f4d291ae5", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000170')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000170'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 184", "uid"=>"40e2e2f430aeac44d2a93a7c0727b08f9456de3601448b64c6ed445f4d291ae5", "secret"=>"9a67c05d1a321ddf5c23fe28cd2c17ba90bb5c666d4db3620b96af61d43810ac", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000170'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 184", "uid"=>"40e2e2f430aeac44d2a93a7c0727b08f9456de3601448b64c6ed445f4d291ae5", "secret"=>"9a67c05d1a321ddf5c23fe28cd2c17ba90bb5c666d4db3620b96af61d43810ac", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000171'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000171'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Joe", "password"=>"sekret"}) Started POST "/oauth/token?code&client_id=40e2e2f430aeac44d2a93a7c0727b08f9456de3601448b64c6ed445f4d291ae5&client_secret=[FILTERED]&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:32:06 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"40e2e2f430aeac44d2a93a7c0727b08f9456de3601448b64c6ed445f4d291ae5", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"40e2e2f430aeac44d2a93a7c0727b08f9456de3601448b64c6ed445f4d291ae5"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624663541597507000170')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e4987acdf03980f04bd650e3c9968eb6833ff842f6f6458dc43154108013d386", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000172')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"9e318d384e6de23d703e156dcb2cc79950f2209eb6556e93de5dbb4930a1e99a", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000172')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000172'), "application_id"=>BSON::ObjectId('5bb624663541597507000170'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624663541597507000171'), "token"=>"e4987acdf03980f04bd650e3c9968eb6833ff842f6f6458dc43154108013d386", "refresh_token"=>"9e318d384e6de23d703e156dcb2cc79950f2209eb6556e93de5dbb4930a1e99a", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000172'), "application_id"=>BSON::ObjectId('5bb624663541597507000170'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624663541597507000171'), "token"=>"e4987acdf03980f04bd650e3c9968eb6833ff842f6f6458dc43154108013d386", "refresh_token"=>"9e318d384e6de23d703e156dcb2cc79950f2209eb6556e93de5dbb4930a1e99a", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 6ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb624663541597507000170'), :resource_owner_id=>BSON::ObjectId('5bb624663541597507000171'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb624663541597507000172')}, :u=>{"_id"=>BSON::ObjectId('5bb624663541597507000172'), "application_id"=>BSON::ObjectId('5bb624663541597507000170'), "created_at"=>2018-10-04 14:32:01 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624663541597507000171'), "token"=>"e4987acdf03980f04bd650e3c9968eb6833ff842f6f6458dc43154108013d386", "refresh_token"=>"9e318d384e6de23d703e156dcb2cc79950f2209eb6556e93de5dbb4930a1e99a", "expires_in"=>7200, "scopes"=>""}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb624663541597507000172')}, {"_id"=>BSON::ObjectId('5bb624663541597507000172'), "application_id"=>BSON::ObjectId('5bb624663541597507000170'), "created_at"=>2018-10-04 14:32:01 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624663541597507000171'), "token"=>"e4987acdf03980f04bd650e3c9968eb6833ff842f6f6458dc43154108013d386", "refresh_token"=>"9e318d384e6de23d703e156dcb2cc79950f2209eb6556e93de5dbb4930a1e99a", "expires_in"=>7200, "scopes"=>""}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e9ca5eb7941c83992e3a66fc2f154d6dd70497b8c9c4ac79248ef70821cfb2f0", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000173')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"84ae3bf25dd90257ad6bda06b553853dc0a3e0db185f944ee6cc0a188989c6a5", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000173')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000173'), "application_id"=>BSON::ObjectId('5bb624663541597507000170'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624663541597507000171'), "token"=>"e9ca5eb7941c83992e3a66fc2f154d6dd70497b8c9c4ac79248ef70821cfb2f0", "refresh_token"=>"84ae3bf25dd90257ad6bda06b553853dc0a3e0db185f944ee6cc0a188989c6a5", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000173'), "application_id"=>BSON::ObjectId('5bb624663541597507000170'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624663541597507000171'), "token"=>"e9ca5eb7941c83992e3a66fc2f154d6dd70497b8c9c4ac79248ef70821cfb2f0", "refresh_token"=>"84ae3bf25dd90257ad6bda06b553853dc0a3e0db185f944ee6cc0a188989c6a5", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb624663541597507000173')}, :u=>{"_id"=>BSON::ObjectId('5bb624663541597507000173'), "application_id"=>BSON::ObjectId('5bb624663541597507000170'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624663541597507000171'), "token"=>"e9ca5eb7941c83992e3a66fc2f154d6dd70497b8c9c4ac79248ef70821cfb2f0", "refresh_token"=>"84ae3bf25dd90257ad6bda06b553853dc0a3e0db185f944ee6cc0a188989c6a5", "expires_in"=>-100}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb624663541597507000173')}, {"_id"=>BSON::ObjectId('5bb624663541597507000173'), "application_id"=>BSON::ObjectId('5bb624663541597507000170'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624663541597507000171'), "token"=>"e9ca5eb7941c83992e3a66fc2f154d6dd70497b8c9c4ac79248ef70821cfb2f0", "refresh_token"=>"84ae3bf25dd90257ad6bda06b553853dc0a3e0db185f944ee6cc0a188989c6a5", "expires_in"=>-100}) Started POST "/oauth/token?refresh_token=[FILTERED]&client_id=40e2e2f430aeac44d2a93a7c0727b08f9456de3601448b64c6ed445f4d291ae5&client_secret=[FILTERED]&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:32:06 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"refresh_token"=>"[FILTERED]", "client_id"=>"40e2e2f430aeac44d2a93a7c0727b08f9456de3601448b64c6ed445f4d291ae5", "client_secret"=>"[FILTERED]", "grant_type"=>"refresh_token"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"84ae3bf25dd90257ad6bda06b553853dc0a3e0db185f944ee6cc0a188989c6a5"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"40e2e2f430aeac44d2a93a7c0727b08f9456de3601448b64c6ed445f4d291ae5"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb624663541597507000173')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb624663541597507000173')}, :u=>{"_id"=>BSON::ObjectId('5bb624663541597507000173'), "application_id"=>BSON::ObjectId('5bb624663541597507000170'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624663541597507000171'), "token"=>"e9ca5eb7941c83992e3a66fc2f154d6dd70497b8c9c4ac79248ef70821cfb2f0", "refresh_token"=>"84ae3bf25dd90257ad6bda06b553853dc0a3e0db185f944ee6cc0a188989c6a5", "expires_in"=>-100, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb624663541597507000173')}, {"_id"=>BSON::ObjectId('5bb624663541597507000173'), "application_id"=>BSON::ObjectId('5bb624663541597507000170'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624663541597507000171'), "token"=>"e9ca5eb7941c83992e3a66fc2f154d6dd70497b8c9c4ac79248ef70821cfb2f0", "refresh_token"=>"84ae3bf25dd90257ad6bda06b553853dc0a3e0db185f944ee6cc0a188989c6a5", "expires_in"=>-100, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624663541597507000170')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"96a448edf58fc309e7b3adec4ec9212b9dbe31729868c37aadd0a74a58573351", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000174')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"3ba9febf605dc546e7c649ee84bef4ed71b0c24a2bbf590bd8dca902585ffe98", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000174')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000174'), "application_id"=>BSON::ObjectId('5bb624663541597507000170'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624663541597507000171'), "token"=>"96a448edf58fc309e7b3adec4ec9212b9dbe31729868c37aadd0a74a58573351", "refresh_token"=>"3ba9febf605dc546e7c649ee84bef4ed71b0c24a2bbf590bd8dca902585ffe98", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000174'), "application_id"=>BSON::ObjectId('5bb624663541597507000170'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624663541597507000171'), "token"=>"96a448edf58fc309e7b3adec4ec9212b9dbe31729868c37aadd0a74a58573351", "refresh_token"=>"3ba9febf605dc546e7c649ee84bef4ed71b0c24a2bbf590bd8dca902585ffe98", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 9ms MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb624663541597507000170'), :resource_owner_id=>BSON::ObjectId('5bb624663541597507000171'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb624663541597507000173')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e431e59b9ef066806a85407b78c1d1e829c531f4b72218914da480e56c05ac96", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000175')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000175'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 185", "uid"=>"e431e59b9ef066806a85407b78c1d1e829c531f4b72218914da480e56c05ac96", "secret"=>"263a87990388428c2ae81ae531fd93a16fc1fea6f4fbb7bf29e9a15aa5bf11c4", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000175'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 185", "uid"=>"e431e59b9ef066806a85407b78c1d1e829c531f4b72218914da480e56c05ac96", "secret"=>"263a87990388428c2ae81ae531fd93a16fc1fea6f4fbb7bf29e9a15aa5bf11c4", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"44643e0ff0cf59bade639079dbdd2e864942b588f9d06b402e8a85f8e9bff22c", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000176')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"bc797bd96572261b6f7a82407f1de98b031ef6a47d5fa8c19ec0f7e123cfe857", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000176')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000176'), "application_id"=>BSON::ObjectId('5bb624663541597507000175'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>1, "token"=>"44643e0ff0cf59bade639079dbdd2e864942b588f9d06b402e8a85f8e9bff22c", "refresh_token"=>"bc797bd96572261b6f7a82407f1de98b031ef6a47d5fa8c19ec0f7e123cfe857", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000176'), "application_id"=>BSON::ObjectId('5bb624663541597507000175'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>1, "token"=>"44643e0ff0cf59bade639079dbdd2e864942b588f9d06b402e8a85f8e9bff22c", "refresh_token"=>"bc797bd96572261b6f7a82407f1de98b031ef6a47d5fa8c19ec0f7e123cfe857", "expires_in"=>7200}) Started POST "/oauth/token?refresh_token=[FILTERED]&client_id=e431e59b9ef066806a85407b78c1d1e829c531f4b72218914da480e56c05ac96&client_secret=[FILTERED]&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:32:06 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"refresh_token"=>"[FILTERED]", "client_id"=>"e431e59b9ef066806a85407b78c1d1e829c531f4b72218914da480e56c05ac96", "client_secret"=>"[FILTERED]", "grant_type"=>"refresh_token"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"invalid"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e431e59b9ef066806a85407b78c1d1e829c531f4b72218914da480e56c05ac96"}).limit(-1) Completed 401 Unauthorized in 2ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b4f1b2862b0ea7c587584098f6aebbbc9c39f59327f3e4a85271f3085a435628", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000177')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000177'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 186", "uid"=>"b4f1b2862b0ea7c587584098f6aebbbc9c39f59327f3e4a85271f3085a435628", "secret"=>"4e549153d984815c01fc7026f13c98e1fc81f42e86e8e56fc4892f087734d00a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000177'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 186", "uid"=>"b4f1b2862b0ea7c587584098f6aebbbc9c39f59327f3e4a85271f3085a435628", "secret"=>"4e549153d984815c01fc7026f13c98e1fc81f42e86e8e56fc4892f087734d00a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"60e36b96f6be22d6678b7b18b036105f35ec95052382e010fc1b407b4d70a0c7", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000178')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"d78d1d48527af5c06fc104e16e3c5beb81946086a5cb7de3a69afc7b7470b4a5", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000178')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000178'), "application_id"=>BSON::ObjectId('5bb624663541597507000177'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>1, "token"=>"60e36b96f6be22d6678b7b18b036105f35ec95052382e010fc1b407b4d70a0c7", "refresh_token"=>"d78d1d48527af5c06fc104e16e3c5beb81946086a5cb7de3a69afc7b7470b4a5", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000178'), "application_id"=>BSON::ObjectId('5bb624663541597507000177'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>1, "token"=>"60e36b96f6be22d6678b7b18b036105f35ec95052382e010fc1b407b4d70a0c7", "refresh_token"=>"d78d1d48527af5c06fc104e16e3c5beb81946086a5cb7de3a69afc7b7470b4a5", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb624663541597507000178')}, :u=>{"_id"=>BSON::ObjectId('5bb624663541597507000178'), "application_id"=>BSON::ObjectId('5bb624663541597507000177'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>1, "token"=>"60e36b96f6be22d6678b7b18b036105f35ec95052382e010fc1b407b4d70a0c7", "refresh_token"=>"d78d1d48527af5c06fc104e16e3c5beb81946086a5cb7de3a69afc7b7470b4a5", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb624663541597507000178')}, {"_id"=>BSON::ObjectId('5bb624663541597507000178'), "application_id"=>BSON::ObjectId('5bb624663541597507000177'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>1, "token"=>"60e36b96f6be22d6678b7b18b036105f35ec95052382e010fc1b407b4d70a0c7", "refresh_token"=>"d78d1d48527af5c06fc104e16e3c5beb81946086a5cb7de3a69afc7b7470b4a5", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) Started POST "/oauth/token?refresh_token=[FILTERED]&client_id=b4f1b2862b0ea7c587584098f6aebbbc9c39f59327f3e4a85271f3085a435628&client_secret=[FILTERED]&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:32:06 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"refresh_token"=>"[FILTERED]", "client_id"=>"b4f1b2862b0ea7c587584098f6aebbbc9c39f59327f3e4a85271f3085a435628", "client_secret"=>"[FILTERED]", "grant_type"=>"refresh_token"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"d78d1d48527af5c06fc104e16e3c5beb81946086a5cb7de3a69afc7b7470b4a5"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b4f1b2862b0ea7c587584098f6aebbbc9c39f59327f3e4a85271f3085a435628"}).limit(-1) Completed 401 Unauthorized in 2ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"aca02d482f5784c2bd05d004132c8894a662038033b359fa51a55b6251d49374", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000179')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000179'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 187", "uid"=>"aca02d482f5784c2bd05d004132c8894a662038033b359fa51a55b6251d49374", "secret"=>"2a4bed8111af50e9ff6dcbf9dc8d704fd60644c01ae7467799b2041715dd2bc5", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000179'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 187", "uid"=>"aca02d482f5784c2bd05d004132c8894a662038033b359fa51a55b6251d49374", "secret"=>"2a4bed8111af50e9ff6dcbf9dc8d704fd60644c01ae7467799b2041715dd2bc5", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"2b56d2e4c008ad4fd9275e366839b0f6912114ef8b506e56fa953769df485999", :_id=>{:$ne=>BSON::ObjectId('5bb62466354159750700017a')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"b3dff5e63fd7c01bee6f36f2c856ba58fffbafeeb3ae757bf994a5bcd17b4d21", :_id=>{:$ne=>BSON::ObjectId('5bb62466354159750700017a')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62466354159750700017a'), "application_id"=>BSON::ObjectId('5bb624663541597507000179'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>1, "token"=>"2b56d2e4c008ad4fd9275e366839b0f6912114ef8b506e56fa953769df485999", "refresh_token"=>"b3dff5e63fd7c01bee6f36f2c856ba58fffbafeeb3ae757bf994a5bcd17b4d21", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62466354159750700017a'), "application_id"=>BSON::ObjectId('5bb624663541597507000179'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>1, "token"=>"2b56d2e4c008ad4fd9275e366839b0f6912114ef8b506e56fa953769df485999", "refresh_token"=>"b3dff5e63fd7c01bee6f36f2c856ba58fffbafeeb3ae757bf994a5bcd17b4d21", "expires_in"=>7200}) Started POST "/oauth/token?refresh_token=[FILTERED]&client_id=aca02d482f5784c2bd05d004132c8894a662038033b359fa51a55b6251d49374&client_secret=[FILTERED]&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:32:06 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"refresh_token"=>"[FILTERED]", "client_id"=>"aca02d482f5784c2bd05d004132c8894a662038033b359fa51a55b6251d49374", "client_secret"=>"[FILTERED]", "grant_type"=>"refresh_token"} MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"b3dff5e63fd7c01bee6f36f2c856ba58fffbafeeb3ae757bf994a5bcd17b4d21"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"aca02d482f5784c2bd05d004132c8894a662038033b359fa51a55b6251d49374"}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb62466354159750700017a')}).limit(-1) Completed 401 Unauthorized in 4ms MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"527d7430b4a5fdf85842c6eaa559125ed580cbdc132c2bb32b3ef5d2fb733de7", :_id=>{:$ne=>BSON::ObjectId('5bb62466354159750700017b')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62466354159750700017b'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 188", "uid"=>"527d7430b4a5fdf85842c6eaa559125ed580cbdc132c2bb32b3ef5d2fb733de7", "secret"=>"53fc8184c539e1befb3c603b5a04c0153b4b4de4ef6ce367c42906c7c5a3e385", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62466354159750700017b'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 188", "uid"=>"527d7430b4a5fdf85842c6eaa559125ed580cbdc132c2bb32b3ef5d2fb733de7", "secret"=>"53fc8184c539e1befb3c603b5a04c0153b4b4de4ef6ce367c42906c7c5a3e385", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"7cf58ec74c1c7d245c0f71bc9c8bf79a07277c13355446fd1c049f55152dd8c3", :_id=>{:$ne=>BSON::ObjectId('5bb62466354159750700017c')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"c5919666f2fa650bc5c9e42ee8be3382c276d56c909cadeb678165f9a15ca363", :_id=>{:$ne=>BSON::ObjectId('5bb62466354159750700017c')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62466354159750700017c'), "application_id"=>BSON::ObjectId('5bb62466354159750700017b'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>1, "token"=>"7cf58ec74c1c7d245c0f71bc9c8bf79a07277c13355446fd1c049f55152dd8c3", "refresh_token"=>"c5919666f2fa650bc5c9e42ee8be3382c276d56c909cadeb678165f9a15ca363", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62466354159750700017c'), "application_id"=>BSON::ObjectId('5bb62466354159750700017b'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>1, "token"=>"7cf58ec74c1c7d245c0f71bc9c8bf79a07277c13355446fd1c049f55152dd8c3", "refresh_token"=>"c5919666f2fa650bc5c9e42ee8be3382c276d56c909cadeb678165f9a15ca363", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb62466354159750700017c')}, :u=>{"_id"=>BSON::ObjectId('5bb62466354159750700017c'), "application_id"=>BSON::ObjectId('5bb62466354159750700017b'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>1, "token"=>"7cf58ec74c1c7d245c0f71bc9c8bf79a07277c13355446fd1c049f55152dd8c3", "refresh_token"=>"c5919666f2fa650bc5c9e42ee8be3382c276d56c909cadeb678165f9a15ca363", "expires_in"=>-100}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb62466354159750700017c')}, {"_id"=>BSON::ObjectId('5bb62466354159750700017c'), "application_id"=>BSON::ObjectId('5bb62466354159750700017b'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>1, "token"=>"7cf58ec74c1c7d245c0f71bc9c8bf79a07277c13355446fd1c049f55152dd8c3", "refresh_token"=>"c5919666f2fa650bc5c9e42ee8be3382c276d56c909cadeb678165f9a15ca363", "expires_in"=>-100}) Started POST "/oauth/token?refresh_token=[FILTERED]&client_id=527d7430b4a5fdf85842c6eaa559125ed580cbdc132c2bb32b3ef5d2fb733de7&client_secret=[FILTERED]&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:32:06 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"refresh_token"=>"[FILTERED]", "client_id"=>"527d7430b4a5fdf85842c6eaa559125ed580cbdc132c2bb32b3ef5d2fb733de7", "client_secret"=>"[FILTERED]", "grant_type"=>"refresh_token"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"c5919666f2fa650bc5c9e42ee8be3382c276d56c909cadeb678165f9a15ca363"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"527d7430b4a5fdf85842c6eaa559125ed580cbdc132c2bb32b3ef5d2fb733de7"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb62466354159750700017c')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb62466354159750700017b')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"9a792f6e78bde9cc372096e211e659dc233e4f239a60fe94d329676fa74a5d03", :_id=>{:$ne=>BSON::ObjectId('5bb62466354159750700017d')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"624d32420e6cca6c9ba206ba8431dce8918f9c5824dc001e360dcde313cf5bfc", :_id=>{:$ne=>BSON::ObjectId('5bb62466354159750700017d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62466354159750700017d'), "application_id"=>BSON::ObjectId('5bb62466354159750700017b'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>1, "token"=>"9a792f6e78bde9cc372096e211e659dc233e4f239a60fe94d329676fa74a5d03", "refresh_token"=>"624d32420e6cca6c9ba206ba8431dce8918f9c5824dc001e360dcde313cf5bfc", "previous_refresh_token"=>"c5919666f2fa650bc5c9e42ee8be3382c276d56c909cadeb678165f9a15ca363", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62466354159750700017d'), "application_id"=>BSON::ObjectId('5bb62466354159750700017b'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>1, "token"=>"9a792f6e78bde9cc372096e211e659dc233e4f239a60fe94d329676fa74a5d03", "refresh_token"=>"624d32420e6cca6c9ba206ba8431dce8918f9c5824dc001e360dcde313cf5bfc", "previous_refresh_token"=>"c5919666f2fa650bc5c9e42ee8be3382c276d56c909cadeb678165f9a15ca363", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 6ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb62466354159750700017c')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f2d7e5637c3e7f5a22c7e1444486747bc4775c165904ca9fc1394a5ee344ab38", :_id=>{:$ne=>BSON::ObjectId('5bb62466354159750700017e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62466354159750700017e'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 189", "uid"=>"f2d7e5637c3e7f5a22c7e1444486747bc4775c165904ca9fc1394a5ee344ab38", "secret"=>"10ed86b0c441dc6898f529553fe97dce9fcddb2d4c40f81da7073cc569a460ef", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62466354159750700017e'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 189", "uid"=>"f2d7e5637c3e7f5a22c7e1444486747bc4775c165904ca9fc1394a5ee344ab38", "secret"=>"10ed86b0c441dc6898f529553fe97dce9fcddb2d4c40f81da7073cc569a460ef", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"a2c32335eab68e4c1174f186f610beb00c12c35da0f17c4851537e73bd97c91e", :_id=>{:$ne=>BSON::ObjectId('5bb62466354159750700017f')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"686944f198498ed409e0ea5d65e844b6e8c57c158f5b3cd379c036b22d637552", :_id=>{:$ne=>BSON::ObjectId('5bb62466354159750700017f')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62466354159750700017f'), "application_id"=>BSON::ObjectId('5bb62466354159750700017e'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>1, "token"=>"a2c32335eab68e4c1174f186f610beb00c12c35da0f17c4851537e73bd97c91e", "refresh_token"=>"686944f198498ed409e0ea5d65e844b6e8c57c158f5b3cd379c036b22d637552", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62466354159750700017f'), "application_id"=>BSON::ObjectId('5bb62466354159750700017e'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>1, "token"=>"a2c32335eab68e4c1174f186f610beb00c12c35da0f17c4851537e73bd97c91e", "refresh_token"=>"686944f198498ed409e0ea5d65e844b6e8c57c158f5b3cd379c036b22d637552", "expires_in"=>7200}) Started POST "/oauth/token?refresh_token=[FILTERED]&client_id=f2d7e5637c3e7f5a22c7e1444486747bc4775c165904ca9fc1394a5ee344ab38&client_secret=[FILTERED]&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:32:06 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"refresh_token"=>"[FILTERED]", "client_id"=>"f2d7e5637c3e7f5a22c7e1444486747bc4775c165904ca9fc1394a5ee344ab38", "client_secret"=>"[FILTERED]", "grant_type"=>"refresh_token"} MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"686944f198498ed409e0ea5d65e844b6e8c57c158f5b3cd379c036b22d637552"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f2d7e5637c3e7f5a22c7e1444486747bc4775c165904ca9fc1394a5ee344ab38"}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb62466354159750700017f')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb62466354159750700017e')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"0f4d9dccf078ee1b39ae28221554b8315ec341db0ea13fd8607c7946f4262eb2", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000180')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"91f8f2e172a0e6bdc6ad8967cebe00dbf5fa1b28506e7f47948a3ed7f340f04c", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000180')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000180'), "application_id"=>BSON::ObjectId('5bb62466354159750700017e'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>1, "token"=>"0f4d9dccf078ee1b39ae28221554b8315ec341db0ea13fd8607c7946f4262eb2", "refresh_token"=>"91f8f2e172a0e6bdc6ad8967cebe00dbf5fa1b28506e7f47948a3ed7f340f04c", "previous_refresh_token"=>"686944f198498ed409e0ea5d65e844b6e8c57c158f5b3cd379c036b22d637552", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000180'), "application_id"=>BSON::ObjectId('5bb62466354159750700017e'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>1, "token"=>"0f4d9dccf078ee1b39ae28221554b8315ec341db0ea13fd8607c7946f4262eb2", "refresh_token"=>"91f8f2e172a0e6bdc6ad8967cebe00dbf5fa1b28506e7f47948a3ed7f340f04c", "previous_refresh_token"=>"686944f198498ed409e0ea5d65e844b6e8c57c158f5b3cd379c036b22d637552", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 6ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb62466354159750700017f')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"82bdcf45a02d6859a9a5c44cf535d10bd2dc771af91e2379cd9f699b80c669d7", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000181')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000181'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 190", "uid"=>"82bdcf45a02d6859a9a5c44cf535d10bd2dc771af91e2379cd9f699b80c669d7", "secret"=>"729a3e2400e8fbda0cf2c163ede9f4aff5a967319c069a7105e686f4aaa1e345", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000181'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 190", "uid"=>"82bdcf45a02d6859a9a5c44cf535d10bd2dc771af91e2379cd9f699b80c669d7", "secret"=>"729a3e2400e8fbda0cf2c163ede9f4aff5a967319c069a7105e686f4aaa1e345", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"184a6c56adf88c3e3838120064e95f848ac5e34600a340b00bea1d8cbf645047", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000182')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"5ec05a5861015b0288b81faa98b1da5214882693c8f19d49177a6bd7f303497e", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000182')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000182'), "application_id"=>BSON::ObjectId('5bb624663541597507000181'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>1, "token"=>"184a6c56adf88c3e3838120064e95f848ac5e34600a340b00bea1d8cbf645047", "refresh_token"=>"5ec05a5861015b0288b81faa98b1da5214882693c8f19d49177a6bd7f303497e", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000182'), "application_id"=>BSON::ObjectId('5bb624663541597507000181'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>1, "token"=>"184a6c56adf88c3e3838120064e95f848ac5e34600a340b00bea1d8cbf645047", "refresh_token"=>"5ec05a5861015b0288b81faa98b1da5214882693c8f19d49177a6bd7f303497e", "expires_in"=>7200}) Started POST "/oauth/token?refresh_token=[FILTERED]&client_id=82bdcf45a02d6859a9a5c44cf535d10bd2dc771af91e2379cd9f699b80c669d7&client_secret=[FILTERED]&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:32:06 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"refresh_token"=>"[FILTERED]", "client_id"=>"82bdcf45a02d6859a9a5c44cf535d10bd2dc771af91e2379cd9f699b80c669d7", "client_secret"=>"[FILTERED]", "grant_type"=>"refresh_token"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"5ec05a5861015b0288b81faa98b1da5214882693c8f19d49177a6bd7f303497e"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"82bdcf45a02d6859a9a5c44cf535d10bd2dc771af91e2379cd9f699b80c669d7"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb624663541597507000182')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb624663541597507000182')}, :u=>{"_id"=>BSON::ObjectId('5bb624663541597507000182'), "application_id"=>BSON::ObjectId('5bb624663541597507000181'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>1, "token"=>"184a6c56adf88c3e3838120064e95f848ac5e34600a340b00bea1d8cbf645047", "refresh_token"=>"5ec05a5861015b0288b81faa98b1da5214882693c8f19d49177a6bd7f303497e", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb624663541597507000182')}, {"_id"=>BSON::ObjectId('5bb624663541597507000182'), "application_id"=>BSON::ObjectId('5bb624663541597507000181'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>1, "token"=>"184a6c56adf88c3e3838120064e95f848ac5e34600a340b00bea1d8cbf645047", "refresh_token"=>"5ec05a5861015b0288b81faa98b1da5214882693c8f19d49177a6bd7f303497e", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624663541597507000181')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"a3dfbff54f60b0ebbfee09a6fed92a02f40dcbfdebc1352821ce762e425d2f04", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000183')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"a84f2c263b186b28dfdd8086cc5a83da21a63178e9974910410dff1a8936deaf", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000183')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000183'), "application_id"=>BSON::ObjectId('5bb624663541597507000181'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>1, "token"=>"a3dfbff54f60b0ebbfee09a6fed92a02f40dcbfdebc1352821ce762e425d2f04", "refresh_token"=>"a84f2c263b186b28dfdd8086cc5a83da21a63178e9974910410dff1a8936deaf", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000183'), "application_id"=>BSON::ObjectId('5bb624663541597507000181'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>1, "token"=>"a3dfbff54f60b0ebbfee09a6fed92a02f40dcbfdebc1352821ce762e425d2f04", "refresh_token"=>"a84f2c263b186b28dfdd8086cc5a83da21a63178e9974910410dff1a8936deaf", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 9ms MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb624663541597507000182')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e6ec3de2287ce676e04becad5b55b9017eddd161ca4caac55c18d5379810324f", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000184')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000184'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 191", "uid"=>"e6ec3de2287ce676e04becad5b55b9017eddd161ca4caac55c18d5379810324f", "secret"=>"97b5df9e5b455e1a82b566889924bd5f50801f727123dc595d0230c082cd4af2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000184'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 191", "uid"=>"e6ec3de2287ce676e04becad5b55b9017eddd161ca4caac55c18d5379810324f", "secret"=>"97b5df9e5b455e1a82b566889924bd5f50801f727123dc595d0230c082cd4af2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"609f3e955d0e67481365503ee7a1841ca5f4746c3ba2724f0a8a8ecd3bb9b8ed", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000185')}}, {:_id=>1}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"a0a7242f9e6f1fc58a42855b4054c211964fba51469830b7287498a4415125a4", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000185')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000185'), "application_id"=>BSON::ObjectId('5bb624663541597507000184'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>1, "token"=>"609f3e955d0e67481365503ee7a1841ca5f4746c3ba2724f0a8a8ecd3bb9b8ed", "refresh_token"=>"a0a7242f9e6f1fc58a42855b4054c211964fba51469830b7287498a4415125a4", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000185'), "application_id"=>BSON::ObjectId('5bb624663541597507000184'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>1, "token"=>"609f3e955d0e67481365503ee7a1841ca5f4746c3ba2724f0a8a8ecd3bb9b8ed", "refresh_token"=>"a0a7242f9e6f1fc58a42855b4054c211964fba51469830b7287498a4415125a4", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb624663541597507000185')}, :u=>{"_id"=>BSON::ObjectId('5bb624663541597507000185'), "application_id"=>BSON::ObjectId('5bb624663541597507000184'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>1, "token"=>"609f3e955d0e67481365503ee7a1841ca5f4746c3ba2724f0a8a8ecd3bb9b8ed", "refresh_token"=>"a0a7242f9e6f1fc58a42855b4054c211964fba51469830b7287498a4415125a4", "expires_in"=>-100}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb624663541597507000185')}, {"_id"=>BSON::ObjectId('5bb624663541597507000185'), "application_id"=>BSON::ObjectId('5bb624663541597507000184'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>1, "token"=>"609f3e955d0e67481365503ee7a1841ca5f4746c3ba2724f0a8a8ecd3bb9b8ed", "refresh_token"=>"a0a7242f9e6f1fc58a42855b4054c211964fba51469830b7287498a4415125a4", "expires_in"=>-100}) Started POST "/oauth/token?refresh_token=[FILTERED]&client_id=e6ec3de2287ce676e04becad5b55b9017eddd161ca4caac55c18d5379810324f&client_secret=[FILTERED]&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:32:06 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"refresh_token"=>"[FILTERED]", "client_id"=>"e6ec3de2287ce676e04becad5b55b9017eddd161ca4caac55c18d5379810324f", "client_secret"=>"[FILTERED]", "grant_type"=>"refresh_token"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"a0a7242f9e6f1fc58a42855b4054c211964fba51469830b7287498a4415125a4"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e6ec3de2287ce676e04becad5b55b9017eddd161ca4caac55c18d5379810324f"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb624663541597507000185')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb624663541597507000185')}, :u=>{"_id"=>BSON::ObjectId('5bb624663541597507000185'), "application_id"=>BSON::ObjectId('5bb624663541597507000184'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>1, "token"=>"609f3e955d0e67481365503ee7a1841ca5f4746c3ba2724f0a8a8ecd3bb9b8ed", "refresh_token"=>"a0a7242f9e6f1fc58a42855b4054c211964fba51469830b7287498a4415125a4", "expires_in"=>-100, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb624663541597507000185')}, {"_id"=>BSON::ObjectId('5bb624663541597507000185'), "application_id"=>BSON::ObjectId('5bb624663541597507000184'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>1, "token"=>"609f3e955d0e67481365503ee7a1841ca5f4746c3ba2724f0a8a8ecd3bb9b8ed", "refresh_token"=>"a0a7242f9e6f1fc58a42855b4054c211964fba51469830b7287498a4415125a4", "expires_in"=>-100, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624663541597507000184')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"92c3f4b8743448907f80482c1777b6f79d27e93e1f66f206ede3b67578ca987b", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000186')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"3516e796e9db1e79618cb8ab46aa41390822dbf1d7a0b1241a45663385f454b3", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000186')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000186'), "application_id"=>BSON::ObjectId('5bb624663541597507000184'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>1, "token"=>"92c3f4b8743448907f80482c1777b6f79d27e93e1f66f206ede3b67578ca987b", "refresh_token"=>"3516e796e9db1e79618cb8ab46aa41390822dbf1d7a0b1241a45663385f454b3", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000186'), "application_id"=>BSON::ObjectId('5bb624663541597507000184'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>1, "token"=>"92c3f4b8743448907f80482c1777b6f79d27e93e1f66f206ede3b67578ca987b", "refresh_token"=>"3516e796e9db1e79618cb8ab46aa41390822dbf1d7a0b1241a45663385f454b3", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 7ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb624663541597507000185')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"862e6b3dd43251007f9630c50b16a1aaac68d8c9f70d41f3e137529f221a1371", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000187')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000187'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 192", "uid"=>"862e6b3dd43251007f9630c50b16a1aaac68d8c9f70d41f3e137529f221a1371", "secret"=>"364cbac421ebfcb87b6bae02fd0459823a5cb6742cea060c71f8a010147acbc2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000187'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 192", "uid"=>"862e6b3dd43251007f9630c50b16a1aaac68d8c9f70d41f3e137529f221a1371", "secret"=>"364cbac421ebfcb87b6bae02fd0459823a5cb6742cea060c71f8a010147acbc2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"bff5be3a53c91dd61364bcb5d064bb93006d39d0c396a95ac16d4d29fbbf8ddf", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000188')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000188'), "application_id"=>BSON::ObjectId('5bb624663541597507000187'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>9, "token"=>"bff5be3a53c91dd61364bcb5d064bb93006d39d0c396a95ac16d4d29fbbf8ddf", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000188'), "application_id"=>BSON::ObjectId('5bb624663541597507000187'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>9, "token"=>"bff5be3a53c91dd61364bcb5d064bb93006d39d0c396a95ac16d4d29fbbf8ddf", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token?code=[FILTERED]&client_id=862e6b3dd43251007f9630c50b16a1aaac68d8c9f70d41f3e137529f221a1371&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:32:06 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"862e6b3dd43251007f9630c50b16a1aaac68d8c9f70d41f3e137529f221a1371", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"bff5be3a53c91dd61364bcb5d064bb93006d39d0c396a95ac16d4d29fbbf8ddf"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"862e6b3dd43251007f9630c50b16a1aaac68d8c9f70d41f3e137529f221a1371"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb624663541597507000188')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb624663541597507000188')}, :u=>{"_id"=>BSON::ObjectId('5bb624663541597507000188'), "application_id"=>BSON::ObjectId('5bb624663541597507000187'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>9, "token"=>"bff5be3a53c91dd61364bcb5d064bb93006d39d0c396a95ac16d4d29fbbf8ddf", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb624663541597507000188')}, {"_id"=>BSON::ObjectId('5bb624663541597507000188'), "application_id"=>BSON::ObjectId('5bb624663541597507000187'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>9, "token"=>"bff5be3a53c91dd61364bcb5d064bb93006d39d0c396a95ac16d4d29fbbf8ddf", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624663541597507000187')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624663541597507000187')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"063007f0b8a5694b85af6c71291a778a00b8e5ee97267fa896472adc8da1fa7d", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000189')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"228b03e4f55c0422ea92aee63fdc8bdb8782d9416f041115c1b3b269708f8f2f", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000189')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000189'), "application_id"=>BSON::ObjectId('5bb624663541597507000187'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>9, "token"=>"063007f0b8a5694b85af6c71291a778a00b8e5ee97267fa896472adc8da1fa7d", "refresh_token"=>"228b03e4f55c0422ea92aee63fdc8bdb8782d9416f041115c1b3b269708f8f2f", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000189'), "application_id"=>BSON::ObjectId('5bb624663541597507000187'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>9, "token"=>"063007f0b8a5694b85af6c71291a778a00b8e5ee97267fa896472adc8da1fa7d", "refresh_token"=>"228b03e4f55c0422ea92aee63fdc8bdb8782d9416f041115c1b3b269708f8f2f", "expires_in"=>7200, "scopes"=>"public write"}) Completed 200 OK in 9ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb624663541597507000188')}).limit(-1) Started POST "/oauth/token?refresh_token=[FILTERED]&client_id=862e6b3dd43251007f9630c50b16a1aaac68d8c9f70d41f3e137529f221a1371&client_secret=[FILTERED]&grant_type=refresh_token" for 127.0.0.1 at 2018-10-04 17:32:06 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"refresh_token"=>"[FILTERED]", "client_id"=>"862e6b3dd43251007f9630c50b16a1aaac68d8c9f70d41f3e137529f221a1371", "client_secret"=>"[FILTERED]", "grant_type"=>"refresh_token"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"228b03e4f55c0422ea92aee63fdc8bdb8782d9416f041115c1b3b269708f8f2f"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"862e6b3dd43251007f9630c50b16a1aaac68d8c9f70d41f3e137529f221a1371"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb624663541597507000189')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624663541597507000187')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"57301335ff4e2c087d201e4026aa56f82f7313995496d865eea4ccfdbfc5dc36", :_id=>{:$ne=>BSON::ObjectId('5bb62466354159750700018a')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"0c0a3936f9b231798b65170bafad73782b9870210e8f5e44e25ea38404338d4d", :_id=>{:$ne=>BSON::ObjectId('5bb62466354159750700018a')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62466354159750700018a'), "application_id"=>BSON::ObjectId('5bb624663541597507000187'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>9, "token"=>"57301335ff4e2c087d201e4026aa56f82f7313995496d865eea4ccfdbfc5dc36", "refresh_token"=>"0c0a3936f9b231798b65170bafad73782b9870210e8f5e44e25ea38404338d4d", "previous_refresh_token"=>"228b03e4f55c0422ea92aee63fdc8bdb8782d9416f041115c1b3b269708f8f2f", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62466354159750700018a'), "application_id"=>BSON::ObjectId('5bb624663541597507000187'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>9, "token"=>"57301335ff4e2c087d201e4026aa56f82f7313995496d865eea4ccfdbfc5dc36", "refresh_token"=>"0c0a3936f9b231798b65170bafad73782b9870210e8f5e44e25ea38404338d4d", "previous_refresh_token"=>"228b03e4f55c0422ea92aee63fdc8bdb8782d9416f041115c1b3b269708f8f2f", "expires_in"=>7200, "scopes"=>"public write"}) Completed 200 OK in 6ms MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"bfd67a23d612c7bf80e7a0e747141b08739baf1f6b5c98dc889e728088814907", :_id=>{:$ne=>BSON::ObjectId('5bb62466354159750700018b')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62466354159750700018b'), "application_id"=>nil, "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>nil, "token"=>"bfd67a23d612c7bf80e7a0e747141b08739baf1f6b5c98dc889e728088814907", "expires_in"=>100, "scopes"=>"phone"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62466354159750700018b'), "application_id"=>nil, "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>nil, "token"=>"bfd67a23d612c7bf80e7a0e747141b08739baf1f6b5c98dc889e728088814907", "expires_in"=>100, "scopes"=>"phone"}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>"1"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"a5889a6594b67022717f0f772beeb5df2b598543829861f5382313aae4a83c51", :_id=>{:$ne=>BSON::ObjectId('5bb62466354159750700018c')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62466354159750700018c'), "application_id"=>"1", "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>"1", "token"=>"a5889a6594b67022717f0f772beeb5df2b598543829861f5382313aae4a83c51", "expires_in"=>100, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62466354159750700018c'), "application_id"=>"1", "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>"1", "token"=>"a5889a6594b67022717f0f772beeb5df2b598543829861f5382313aae4a83c51", "expires_in"=>100, "scopes"=>"public"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c0ac7bb69e1204f2c5d1a15d7712d70ab6270205ab778584f771a9ae57c7f133", :_id=>{:$ne=>BSON::ObjectId('5bb62466354159750700018d')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62466354159750700018d'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 193", "uid"=>"c0ac7bb69e1204f2c5d1a15d7712d70ab6270205ab778584f771a9ae57c7f133", "secret"=>"54a2c1e426091e316604b4e2a3d147449cf5e8c125ca1a3641630f63705a8a54", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62466354159750700018d'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 193", "uid"=>"c0ac7bb69e1204f2c5d1a15d7712d70ab6270205ab778584f771a9ae57c7f133", "secret"=>"54a2c1e426091e316604b4e2a3d147449cf5e8c125ca1a3641630f63705a8a54", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb62466354159750700018d')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"fc3a741a7bfa432c20e33b32b3ea7698a880f5c68959797aabb1ef917b5e04fd", :_id=>{:$ne=>BSON::ObjectId('5bb62466354159750700018e')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62466354159750700018e'), "application_id"=>BSON::ObjectId('5bb62466354159750700018d'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>nil, "token"=>"fc3a741a7bfa432c20e33b32b3ea7698a880f5c68959797aabb1ef917b5e04fd", "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62466354159750700018e'), "application_id"=>BSON::ObjectId('5bb62466354159750700018d'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>nil, "token"=>"fc3a741a7bfa432c20e33b32b3ea7698a880f5c68959797aabb1ef917b5e04fd", "scopes"=>"public"}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a70357b129add781237f341fdc31cdf4b220864629446c48b12f85efa4ee5ae9", :_id=>{:$ne=>BSON::ObjectId('5bb62466354159750700018f')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62466354159750700018f'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 194", "uid"=>"a70357b129add781237f341fdc31cdf4b220864629446c48b12f85efa4ee5ae9", "secret"=>"7cb0a850c208ba70b4b99da88fd000e7bd5f95d62a1cda93cfb752ede678845b", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62466354159750700018f'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 194", "uid"=>"a70357b129add781237f341fdc31cdf4b220864629446c48b12f85efa4ee5ae9", "secret"=>"7cb0a850c208ba70b4b99da88fd000e7bd5f95d62a1cda93cfb752ede678845b", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4d3dc05dd1375e5b9acf966f52ca4c615edb1b26dbf7002067cca9a1b7bb0525", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000190')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000190'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 195", "uid"=>"4d3dc05dd1375e5b9acf966f52ca4c615edb1b26dbf7002067cca9a1b7bb0525", "secret"=>"b50a5b36085dfefdecd7b577c36badf4ff5b7c4fc3d86bc7c61f4a771674b766", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000190'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 195", "uid"=>"4d3dc05dd1375e5b9acf966f52ca4c615edb1b26dbf7002067cca9a1b7bb0525", "secret"=>"b50a5b36085dfefdecd7b577c36badf4ff5b7c4fc3d86bc7c61f4a771674b766", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624663541597507000190')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"3bcbb7e8eeba40cab456a2c8bcb1c828658131aeda4e08c3c88899aece92a8c7", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000191')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000191'), "application_id"=>BSON::ObjectId('5bb624663541597507000190'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>nil, "token"=>"3bcbb7e8eeba40cab456a2c8bcb1c828658131aeda4e08c3c88899aece92a8c7", "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000191'), "application_id"=>BSON::ObjectId('5bb624663541597507000190'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>nil, "token"=>"3bcbb7e8eeba40cab456a2c8bcb1c828658131aeda4e08c3c88899aece92a8c7", "scopes"=>"public"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624663541597507000190')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"b878e9c749b9d76efc6b91690ba8c41a5853badaeb08cbd4e8c4be66257a022a", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000192')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000192'), "application_id"=>BSON::ObjectId('5bb624663541597507000190'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>nil, "token"=>"b878e9c749b9d76efc6b91690ba8c41a5853badaeb08cbd4e8c4be66257a022a", "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000192'), "application_id"=>BSON::ObjectId('5bb624663541597507000190'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>nil, "token"=>"b878e9c749b9d76efc6b91690ba8c41a5853badaeb08cbd4e8c4be66257a022a", "scopes"=>"public"}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"008c38bb9a947dd75872b21ad1bacc9a93d3733d29cc33fd4faadafc8c0887d8", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000193')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000193'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 196", "uid"=>"008c38bb9a947dd75872b21ad1bacc9a93d3733d29cc33fd4faadafc8c0887d8", "secret"=>"a8bacb9d39db1b75650e18fb67f7955237029f88a71ebaa29abb6e6f847ce96f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000193'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 196", "uid"=>"008c38bb9a947dd75872b21ad1bacc9a93d3733d29cc33fd4faadafc8c0887d8", "secret"=>"a8bacb9d39db1b75650e18fb67f7955237029f88a71ebaa29abb6e6f847ce96f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb624663541597507000193'), :resource_owner_id=>nil, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624663541597507000193')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"5e5202014473223b372bb4ce4c102928e6fa068aae65a8539ce091ae0f6e86b9", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000194')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000194'), "application_id"=>BSON::ObjectId('5bb624663541597507000193'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>nil, "token"=>"5e5202014473223b372bb4ce4c102928e6fa068aae65a8539ce091ae0f6e86b9", "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000194'), "application_id"=>BSON::ObjectId('5bb624663541597507000193'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>nil, "token"=>"5e5202014473223b372bb4ce4c102928e6fa068aae65a8539ce091ae0f6e86b9", "scopes"=>"public"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb624663541597507000193'), :resource_owner_id=>nil, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e81d196ee89d2d5cf5727ebb096dea0258aa5f022007c880d36a146edf0e0f25", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000195')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000195'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 197", "uid"=>"e81d196ee89d2d5cf5727ebb096dea0258aa5f022007c880d36a146edf0e0f25", "secret"=>"d20802df8ca12199524baa71ce039e564706cf27e7d422bb0596af93d6fe7f1b", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000195'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Application 197", "uid"=>"e81d196ee89d2d5cf5727ebb096dea0258aa5f022007c880d36a146edf0e0f25", "secret"=>"d20802df8ca12199524baa71ce039e564706cf27e7d422bb0596af93d6fe7f1b", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000196'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000196'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d426676c3aa7118976467112a3a2a49d99ac81245d222e1b071c938826160b88", :_id=>{:$ne=>BSON::ObjectId('5bb624663541597507000197')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624663541597507000197'), "application_id"=>BSON::ObjectId('5bb624663541597507000195'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624663541597507000196'), "token"=>"d426676c3aa7118976467112a3a2a49d99ac81245d222e1b071c938826160b88", "expires_in"=>7200, "scopes"=>"admin"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624663541597507000197'), "application_id"=>BSON::ObjectId('5bb624663541597507000195'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:06 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624663541597507000196'), "token"=>"d426676c3aa7118976467112a3a2a49d99ac81245d222e1b071c938826160b88", "expires_in"=>7200, "scopes"=>"admin"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d426676c3aa7118976467112a3a2a49d99ac81245d222e1b071c938826160b88"}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb624663541597507000197')}, :u=>{"_id"=>BSON::ObjectId('5bb624663541597507000197'), "application_id"=>BSON::ObjectId('5bb624663541597507000195'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624663541597507000196'), "token"=>"d426676c3aa7118976467112a3a2a49d99ac81245d222e1b071c938826160b88", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"admin"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb624663541597507000197')}, {"_id"=>BSON::ObjectId('5bb624663541597507000197'), "application_id"=>BSON::ObjectId('5bb624663541597507000195'), "created_at"=>2018-10-04 14:32:06 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624663541597507000196'), "token"=>"d426676c3aa7118976467112a3a2a49d99ac81245d222e1b071c938826160b88", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"admin"}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2797190d79e4f164305fbc836b28421a24d9ef6e01ffacb323b6fbc9e431a330", :_id=>{:$ne=>BSON::ObjectId('5bb624673541597507000198')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624673541597507000198'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 198", "uid"=>"2797190d79e4f164305fbc836b28421a24d9ef6e01ffacb323b6fbc9e431a330", "secret"=>"4ac4dacd836dfff741bf8a9b6d99b2c7a59b8d18c979104a85f78096503401ba", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624673541597507000198'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 198", "uid"=>"2797190d79e4f164305fbc836b28421a24d9ef6e01ffacb323b6fbc9e431a330", "secret"=>"4ac4dacd836dfff741bf8a9b6d99b2c7a59b8d18c979104a85f78096503401ba", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624673541597507000199'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624673541597507000199'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"091ee345102fd7dce87d63023cf1ae24ac85355932fc20910b7bebe91fc57d83", :_id=>{:$ne=>BSON::ObjectId('5bb62467354159750700019a')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62467354159750700019a'), "application_id"=>BSON::ObjectId('5bb624673541597507000198'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624673541597507000199'), "token"=>"091ee345102fd7dce87d63023cf1ae24ac85355932fc20910b7bebe91fc57d83", "expires_in"=>7200, "scopes"=>"admin"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62467354159750700019a'), "application_id"=>BSON::ObjectId('5bb624673541597507000198'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624673541597507000199'), "token"=>"091ee345102fd7dce87d63023cf1ae24ac85355932fc20910b7bebe91fc57d83", "expires_in"=>7200, "scopes"=>"admin"}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"091ee345102fd7dce87d63023cf1ae24ac85355932fc20910b7bebe91fc57d83"}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb62467354159750700019a')}, :u=>{"_id"=>BSON::ObjectId('5bb62467354159750700019a'), "application_id"=>BSON::ObjectId('5bb624673541597507000198'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624673541597507000199'), "token"=>"091ee345102fd7dce87d63023cf1ae24ac85355932fc20910b7bebe91fc57d83", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"admin"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb62467354159750700019a')}, {"_id"=>BSON::ObjectId('5bb62467354159750700019a'), "application_id"=>BSON::ObjectId('5bb624673541597507000198'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624673541597507000199'), "token"=>"091ee345102fd7dce87d63023cf1ae24ac85355932fc20910b7bebe91fc57d83", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"admin"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"18e7435f7bff85a9647ba22a82cb742e32a45667c4089da6107a05d8bb0db620", :_id=>{:$ne=>BSON::ObjectId('5bb62467354159750700019b')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62467354159750700019b'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 199", "uid"=>"18e7435f7bff85a9647ba22a82cb742e32a45667c4089da6107a05d8bb0db620", "secret"=>"74709575821695649fda627a0bc6c4fb9304ed5411e3781551237b09c4887dd8", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62467354159750700019b'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 199", "uid"=>"18e7435f7bff85a9647ba22a82cb742e32a45667c4089da6107a05d8bb0db620", "secret"=>"74709575821695649fda627a0bc6c4fb9304ed5411e3781551237b09c4887dd8", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb62467354159750700019c'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb62467354159750700019c'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"ef37dd9b21f39f363399abde45645cbeae3e232784b6aabaa03784e3d3246cf2", :_id=>{:$ne=>BSON::ObjectId('5bb62467354159750700019d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62467354159750700019d'), "application_id"=>BSON::ObjectId('5bb62467354159750700019b'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62467354159750700019c'), "token"=>"ef37dd9b21f39f363399abde45645cbeae3e232784b6aabaa03784e3d3246cf2", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62467354159750700019d'), "application_id"=>BSON::ObjectId('5bb62467354159750700019b'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62467354159750700019c'), "token"=>"ef37dd9b21f39f363399abde45645cbeae3e232784b6aabaa03784e3d3246cf2", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"ef37dd9b21f39f363399abde45645cbeae3e232784b6aabaa03784e3d3246cf2"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb62467354159750700019d')}, :u=>{"_id"=>BSON::ObjectId('5bb62467354159750700019d'), "application_id"=>BSON::ObjectId('5bb62467354159750700019b'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62467354159750700019c'), "token"=>"ef37dd9b21f39f363399abde45645cbeae3e232784b6aabaa03784e3d3246cf2", "previous_refresh_token"=>"", "expires_in"=>7200}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb62467354159750700019d')}, {"_id"=>BSON::ObjectId('5bb62467354159750700019d'), "application_id"=>BSON::ObjectId('5bb62467354159750700019b'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62467354159750700019c'), "token"=>"ef37dd9b21f39f363399abde45645cbeae3e232784b6aabaa03784e3d3246cf2", "previous_refresh_token"=>"", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"69066287265e533ccbf68d8bd83b2a7139bc96952abc048fab1b0aff6fcc8b1b", :_id=>{:$ne=>BSON::ObjectId('5bb62467354159750700019e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62467354159750700019e'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 200", "uid"=>"69066287265e533ccbf68d8bd83b2a7139bc96952abc048fab1b0aff6fcc8b1b", "secret"=>"5333ac301e4cfa3617ead178e423adbc5b9500566ed4493cda4a845bacdec264", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62467354159750700019e'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 200", "uid"=>"69066287265e533ccbf68d8bd83b2a7139bc96952abc048fab1b0aff6fcc8b1b", "secret"=>"5333ac301e4cfa3617ead178e423adbc5b9500566ed4493cda4a845bacdec264", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb62467354159750700019f'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb62467354159750700019f'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"93998880530d867445169455ee1e15c14a1e9b03cf0492dca614eb902652ae7b", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001a0')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001a0'), "application_id"=>BSON::ObjectId('5bb62467354159750700019e'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62467354159750700019f'), "token"=>"93998880530d867445169455ee1e15c14a1e9b03cf0492dca614eb902652ae7b", "expires_in"=>7200, "scopes"=>"read write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001a0'), "application_id"=>BSON::ObjectId('5bb62467354159750700019e'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62467354159750700019f'), "token"=>"93998880530d867445169455ee1e15c14a1e9b03cf0492dca614eb902652ae7b", "expires_in"=>7200, "scopes"=>"read write"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"93998880530d867445169455ee1e15c14a1e9b03cf0492dca614eb902652ae7b"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6246735415975070001a0')}, :u=>{"_id"=>BSON::ObjectId('5bb6246735415975070001a0'), "application_id"=>BSON::ObjectId('5bb62467354159750700019e'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62467354159750700019f'), "token"=>"93998880530d867445169455ee1e15c14a1e9b03cf0492dca614eb902652ae7b", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"read write"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6246735415975070001a0')}, {"_id"=>BSON::ObjectId('5bb6246735415975070001a0'), "application_id"=>BSON::ObjectId('5bb62467354159750700019e'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62467354159750700019f'), "token"=>"93998880530d867445169455ee1e15c14a1e9b03cf0492dca614eb902652ae7b", "previous_refresh_token"=>"", "expires_in"=>7200, "scopes"=>"read write"}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"390690e7ad4d9fcc91077557fce1cc278edabfd900999df7e8ddc0f2b6649eab", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001a1')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001a1'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 201", "uid"=>"390690e7ad4d9fcc91077557fce1cc278edabfd900999df7e8ddc0f2b6649eab", "secret"=>"17f4c9305071976acb6174beafc93989d9236772de54e079562101549b08ddeb", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001a1'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 201", "uid"=>"390690e7ad4d9fcc91077557fce1cc278edabfd900999df7e8ddc0f2b6649eab", "secret"=>"17f4c9305071976acb6174beafc93989d9236772de54e079562101549b08ddeb", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001a2'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001a2'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d677bcc22c0a0b795813588a560dc0a4e9731f212b07625bb89b697e942b7780", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001a3')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001a3'), "application_id"=>BSON::ObjectId('5bb6246735415975070001a1'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246735415975070001a2'), "token"=>"d677bcc22c0a0b795813588a560dc0a4e9731f212b07625bb89b697e942b7780", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001a3'), "application_id"=>BSON::ObjectId('5bb6246735415975070001a1'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246735415975070001a2'), "token"=>"d677bcc22c0a0b795813588a560dc0a4e9731f212b07625bb89b697e942b7780", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d677bcc22c0a0b795813588a560dc0a4e9731f212b07625bb89b697e942b7780"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6246735415975070001a3')}, :u=>{"_id"=>BSON::ObjectId('5bb6246735415975070001a3'), "application_id"=>BSON::ObjectId('5bb6246735415975070001a1'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246735415975070001a2'), "token"=>"d677bcc22c0a0b795813588a560dc0a4e9731f212b07625bb89b697e942b7780", "previous_refresh_token"=>"", "expires_in"=>7200}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb6246735415975070001a3')}, {"_id"=>BSON::ObjectId('5bb6246735415975070001a3'), "application_id"=>BSON::ObjectId('5bb6246735415975070001a1'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246735415975070001a2'), "token"=>"d677bcc22c0a0b795813588a560dc0a4e9731f212b07625bb89b697e942b7780", "previous_refresh_token"=>"", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a2f033ef29c8c2333646afb15ab3be55f048571f1872c8a4443cff82d38fb537", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001a4')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001a4'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"MyApp", "uid"=>"a2f033ef29c8c2333646afb15ab3be55f048571f1872c8a4443cff82d38fb537", "secret"=>"4bfbe4b16ee6a2ee9f566156b9fbe6a3d71777746c84e5e4c4b6d2e37edfa44e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001a4'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"MyApp", "uid"=>"a2f033ef29c8c2333646afb15ab3be55f048571f1872c8a4443cff82d38fb537", "secret"=>"4bfbe4b16ee6a2ee9f566156b9fbe6a3d71777746c84e5e4c4b6d2e37edfa44e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) Started GET "/oauth/authorize?client_id=a2f033ef29c8c2333646afb15ab3be55f048571f1872c8a4443cff82d38fb537&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:32:07 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"a2f033ef29c8c2333646afb15ab3be55f048571f1872c8a4443cff82d38fb537", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/sign_in Filter chain halted as :authenticate_resource_owner! rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:32:07 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:07 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"dcc82de85a6a50c0292f275774cf140a5a33d1a5409431e29661f7c0ac63fb34", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001a5')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001a5'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"MyApp", "uid"=>"dcc82de85a6a50c0292f275774cf140a5a33d1a5409431e29661f7c0ac63fb34", "secret"=>"2aa282f6f65e69fb0733789382881943388bc5e0e8a8ea7792f923c57d673e38", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001a5'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"MyApp", "uid"=>"dcc82de85a6a50c0292f275774cf140a5a33d1a5409431e29661f7c0ac63fb34", "secret"=>"2aa282f6f65e69fb0733789382881943388bc5e0e8a8ea7792f923c57d673e38", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001a6'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001a6'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:07 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:32:07 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:07 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize?client_id=dcc82de85a6a50c0292f275774cf140a5a33d1a5409431e29661f7c0ac63fb34&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:32:07 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"dcc82de85a6a50c0292f275774cf140a5a33d1a5409431e29661f7c0ac63fb34", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} Can't verify CSRF token authenticity Completed 422 Unprocessable Entity in 0ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3b0ca69aee30f3f463962db8a42734bea72b07e9965973638c1f6688c57b299c", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001a7')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001a7'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"MyApp", "uid"=>"3b0ca69aee30f3f463962db8a42734bea72b07e9965973638c1f6688c57b299c", "secret"=>"94a87e45c62a5eb37ae07154f980f80c518c61ef1ac06dc70e513e731f5c1f7a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001a7'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"MyApp", "uid"=>"3b0ca69aee30f3f463962db8a42734bea72b07e9965973638c1f6688c57b299c", "secret"=>"94a87e45c62a5eb37ae07154f980f80c518c61ef1ac06dc70e513e731f5c1f7a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001a8'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001a8'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:07 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:32:07 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:07 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=3b0ca69aee30f3f463962db8a42734bea72b07e9965973638c1f6688c57b299c&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public+write" for 127.0.0.1 at 2018-10-04 17:32:07 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"3b0ca69aee30f3f463962db8a42734bea72b07e9965973638c1f6688c57b299c", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public write"} MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3b0ca69aee30f3f463962db8a42734bea72b07e9965973638c1f6688c57b299c"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6246735415975070001a7'), :resource_owner_id=>BSON::ObjectId('5bb6246735415975070001a8'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.1ms) Completed 200 OK in 7ms (Views: 2.3ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e4dafcdb447fb7c2a25b1b79575fc562bb7f55f7f9c511f225942537d8cd8633", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001a9')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001a9'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"MyApp", "uid"=>"e4dafcdb447fb7c2a25b1b79575fc562bb7f55f7f9c511f225942537d8cd8633", "secret"=>"ddc8b59926f1448d2d76a0a6f679ba7d6f2c497dc420c089ba2433e4a909cf6f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001a9'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"MyApp", "uid"=>"e4dafcdb447fb7c2a25b1b79575fc562bb7f55f7f9c511f225942537d8cd8633", "secret"=>"ddc8b59926f1448d2d76a0a6f679ba7d6f2c497dc420c089ba2433e4a909cf6f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001aa'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001aa'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:07 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:32:07 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:07 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=e4dafcdb447fb7c2a25b1b79575fc562bb7f55f7f9c511f225942537d8cd8633&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:32:07 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"e4dafcdb447fb7c2a25b1b79575fc562bb7f55f7f9c511f225942537d8cd8633", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e4dafcdb447fb7c2a25b1b79575fc562bb7f55f7f9c511f225942537d8cd8633"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6246735415975070001a9'), :resource_owner_id=>BSON::ObjectId('5bb6246735415975070001aa'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.4ms) Completed 200 OK in 8ms (Views: 3.3ms | ActiveRecord: 0.0ms) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"fc3c75adba21cf9208f7c244a1b05a72ff689376b4b8f6cabbb45c8baea1dbc1", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001ab')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001ab'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"MyApp", "uid"=>"fc3c75adba21cf9208f7c244a1b05a72ff689376b4b8f6cabbb45c8baea1dbc1", "secret"=>"41d9a56835b29a7f971a57aea287c2cc6c5683faefe35f204756544b1665767f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001ab'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"MyApp", "uid"=>"fc3c75adba21cf9208f7c244a1b05a72ff689376b4b8f6cabbb45c8baea1dbc1", "secret"=>"41d9a56835b29a7f971a57aea287c2cc6c5683faefe35f204756544b1665767f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001ac'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001ac'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:07 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:32:07 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:07 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=fc3c75adba21cf9208f7c244a1b05a72ff689376b4b8f6cabbb45c8baea1dbc1&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:32:07 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"fc3c75adba21cf9208f7c244a1b05a72ff689376b4b8f6cabbb45c8baea1dbc1", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"fc3c75adba21cf9208f7c244a1b05a72ff689376b4b8f6cabbb45c8baea1dbc1"}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/error.html.erb within layouts/doorkeeper/application (0.2ms) Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"cdb8c74651975d2533c8512c160591873bb66ccb89a0b99adf0086339873bb7c", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001ad')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001ad'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"MyApp", "uid"=>"cdb8c74651975d2533c8512c160591873bb66ccb89a0b99adf0086339873bb7c", "secret"=>"da78c434d438edc76e48abcbbeac1a394c936a46d783f07e988f544a02296b82", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001ad'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"MyApp", "uid"=>"cdb8c74651975d2533c8512c160591873bb66ccb89a0b99adf0086339873bb7c", "secret"=>"da78c434d438edc76e48abcbbeac1a394c936a46d783f07e988f544a02296b82", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001ae'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001ae'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:07 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:32:07 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:07 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=cdb8c74651975d2533c8512c160591873bb66ccb89a0b99adf0086339873bb7c&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback" for 127.0.0.1 at 2018-10-04 17:32:07 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"cdb8c74651975d2533c8512c160591873bb66ccb89a0b99adf0086339873bb7c", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"cdb8c74651975d2533c8512c160591873bb66ccb89a0b99adf0086339873bb7c"}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/error.html.erb within layouts/doorkeeper/application (0.2ms) Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"04e3cf2c624b53a304c9e0655293fc1fe1da4803da9376991ea84d59935be6e8", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001af')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001af'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 202", "uid"=>"04e3cf2c624b53a304c9e0655293fc1fe1da4803da9376991ea84d59935be6e8", "secret"=>"fdfc2b4e4af09349288e4694c25c3d782506fb6679dd3b48d8eee0a8a5d9ef14", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001af'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 202", "uid"=>"04e3cf2c624b53a304c9e0655293fc1fe1da4803da9376991ea84d59935be6e8", "secret"=>"fdfc2b4e4af09349288e4694c25c3d782506fb6679dd3b48d8eee0a8a5d9ef14", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6246735415975070001af')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"c45f0a4ac95c6852cd7ee3c61a7a35c8e1bc0954efe931354f061e004bc4e192", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001b0')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001b0'), "application_id"=>BSON::ObjectId('5bb6246735415975070001af'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>nil, "token"=>"c45f0a4ac95c6852cd7ee3c61a7a35c8e1bc0954efe931354f061e004bc4e192", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001b0'), "application_id"=>BSON::ObjectId('5bb6246735415975070001af'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>nil, "token"=>"c45f0a4ac95c6852cd7ee3c61a7a35c8e1bc0954efe931354f061e004bc4e192", "expires_in"=>7200, "scopes"=>""}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"eacbd639def62065789da8a029f48cd1ac5fcb7c62eccf33505cb5f8c6a0a8a2", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001b1')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001b1'), "application_id"=>1, "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>1, "token"=>"eacbd639def62065789da8a029f48cd1ac5fcb7c62eccf33505cb5f8c6a0a8a2", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001b1'), "application_id"=>1, "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>1, "token"=>"eacbd639def62065789da8a029f48cd1ac5fcb7c62eccf33505cb5f8c6a0a8a2", "expires_in"=>7200, "scopes"=>"public"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0e587349010cfaf7d025b36a53aafd5a61ebed87ba75d2c4a0eda6ad1483e643", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001b2')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001b2'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 203", "uid"=>"0e587349010cfaf7d025b36a53aafd5a61ebed87ba75d2c4a0eda6ad1483e643", "secret"=>"ff5cf1a3b3d7adc2ae98d3ba79d74be110b5e7893a9d1e0f27606dfcac652379", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001b2'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 203", "uid"=>"0e587349010cfaf7d025b36a53aafd5a61ebed87ba75d2c4a0eda6ad1483e643", "secret"=>"ff5cf1a3b3d7adc2ae98d3ba79d74be110b5e7893a9d1e0f27606dfcac652379", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001b3'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001b3'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:07 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:32:07 +0300 Processing by HomeController#sign_in as HTML MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:07 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=0e587349010cfaf7d025b36a53aafd5a61ebed87ba75d2c4a0eda6ad1483e643&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=token" for 127.0.0.1 at 2018-10-04 17:32:07 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"0e587349010cfaf7d025b36a53aafd5a61ebed87ba75d2c4a0eda6ad1483e643", "redirect_uri"=>"https://app.com/callback", "response_type"=>"token"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0e587349010cfaf7d025b36a53aafd5a61ebed87ba75d2c4a0eda6ad1483e643"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6246735415975070001b2'), :resource_owner_id=>BSON::ObjectId('5bb6246735415975070001b3'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (0.9ms) Completed 200 OK in 13ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:32:07 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"0e587349010cfaf7d025b36a53aafd5a61ebed87ba75d2c4a0eda6ad1483e643", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"token", "scope"=>"", "commit"=>"Authorize"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0e587349010cfaf7d025b36a53aafd5a61ebed87ba75d2c4a0eda6ad1483e643"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6246735415975070001b2')}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"de7b336a585e7d4e5b73ce75e01e29b7737950b8302656db3187fd881f3e994b", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001b4')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001b4'), "application_id"=>BSON::ObjectId('5bb6246735415975070001b2'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246735415975070001b3'), "token"=>"de7b336a585e7d4e5b73ce75e01e29b7737950b8302656db3187fd881f3e994b", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001b4'), "application_id"=>BSON::ObjectId('5bb6246735415975070001b2'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246735415975070001b3'), "token"=>"de7b336a585e7d4e5b73ce75e01e29b7737950b8302656db3187fd881f3e994b", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=de7b336a585e7d4e5b73ce75e01e29b7737950b8302656db3187fd881f3e994b&token_type=Bearer&expires_in=7200 Completed 302 Found in 7ms (ActiveRecord: 0.0ms) Started GET "/callback" for 127.0.0.1 at 2018-10-04 17:32:07 +0300 Processing by HomeController#callback as HTML Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6246735415975070001b2')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b62930a4be8d39e9c0a5674ea7142a9b9e4acfc3325f51bf92fdc686008895fa", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001b6')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001b6'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 204", "uid"=>"b62930a4be8d39e9c0a5674ea7142a9b9e4acfc3325f51bf92fdc686008895fa", "secret"=>"3f4af2d1a905a5fda441d270957611b113673ebda85b750bcb66a1f892df6cd2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001b6'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 204", "uid"=>"b62930a4be8d39e9c0a5674ea7142a9b9e4acfc3325f51bf92fdc686008895fa", "secret"=>"3f4af2d1a905a5fda441d270957611b113673ebda85b750bcb66a1f892df6cd2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"fecf6cdc7c1a0471ab2639131491176d1daba2d2d23cd5f22192e761b2df493f", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001b5')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001b5'), "application_id"=>BSON::ObjectId('5bb6246735415975070001b6'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>10, "token"=>"fecf6cdc7c1a0471ab2639131491176d1daba2d2d23cd5f22192e761b2df493f", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001b5'), "application_id"=>BSON::ObjectId('5bb6246735415975070001b6'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>10, "token"=>"fecf6cdc7c1a0471ab2639131491176d1daba2d2d23cd5f22192e761b2df493f", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"35f00b7bc214fc210c08d7b3b59ea8f427c1b7021b2decc4751695618c9b7ecf", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001b8')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001b8'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 205", "uid"=>"35f00b7bc214fc210c08d7b3b59ea8f427c1b7021b2decc4751695618c9b7ecf", "secret"=>"8755c74db5eaea584307b76bd2739f7d5eb53055d700815e0522e56fa53ecd55", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001b8'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 205", "uid"=>"35f00b7bc214fc210c08d7b3b59ea8f427c1b7021b2decc4751695618c9b7ecf", "secret"=>"8755c74db5eaea584307b76bd2739f7d5eb53055d700815e0522e56fa53ecd55", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"d932cfe42b9f3bcc4fb86d62f313db096e177007af0cc36a131f990ca0776c23", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001b7')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001b7'), "application_id"=>BSON::ObjectId('5bb6246735415975070001b8'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>11, "token"=>"d932cfe42b9f3bcc4fb86d62f313db096e177007af0cc36a131f990ca0776c23", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001b7'), "application_id"=>BSON::ObjectId('5bb6246735415975070001b8'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>11, "token"=>"d932cfe42b9f3bcc4fb86d62f313db096e177007af0cc36a131f990ca0776c23", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6246735415975070001b8')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{:application_id=>BSON::ObjectId('5bb6246735415975070001b8')}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb6246735415975070001b7')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6246735415975070001b7')}, :u=>{"_id"=>BSON::ObjectId('5bb6246735415975070001b7'), "application_id"=>BSON::ObjectId('5bb6246735415975070001b8'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>11, "token"=>"d932cfe42b9f3bcc4fb86d62f313db096e177007af0cc36a131f990ca0776c23", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb6246735415975070001b7')}, {"_id"=>BSON::ObjectId('5bb6246735415975070001b7'), "application_id"=>BSON::ObjectId('5bb6246735415975070001b8'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>11, "token"=>"d932cfe42b9f3bcc4fb86d62f313db096e177007af0cc36a131f990ca0776c23", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6246735415975070001b8')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6246735415975070001b8')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f42a2a0445e3b96957db88db54f0766dc1f37217ef6afadfad95bb0486aaabb7", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001b9')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001b9'), "application_id"=>BSON::ObjectId('5bb6246735415975070001b8'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>11, "token"=>"f42a2a0445e3b96957db88db54f0766dc1f37217ef6afadfad95bb0486aaabb7", "expires_in"=>172800, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001b9'), "application_id"=>BSON::ObjectId('5bb6246735415975070001b8'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>11, "token"=>"f42a2a0445e3b96957db88db54f0766dc1f37217ef6afadfad95bb0486aaabb7", "expires_in"=>172800, "scopes"=>"public write"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6246735415975070001b8')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{:application_id=>BSON::ObjectId('5bb6246735415975070001b8')}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"dd50a6bce8704e5a12685b0159d141c9d73785cdb1eeaf6795f3109b32ad2db5", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001bb')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001bb'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 206", "uid"=>"dd50a6bce8704e5a12685b0159d141c9d73785cdb1eeaf6795f3109b32ad2db5", "secret"=>"5834c1ddbd7d7568ac14f9bdeeaa030c43c3386188d525cb4527f397d88f3960", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001bb'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 206", "uid"=>"dd50a6bce8704e5a12685b0159d141c9d73785cdb1eeaf6795f3109b32ad2db5", "secret"=>"5834c1ddbd7d7568ac14f9bdeeaa030c43c3386188d525cb4527f397d88f3960", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"4056bd5ee8bee7abcba73569b93a8508843b808c47f15595274291933f7b3d98", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001ba')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001ba'), "application_id"=>BSON::ObjectId('5bb6246735415975070001bb'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>12, "token"=>"4056bd5ee8bee7abcba73569b93a8508843b808c47f15595274291933f7b3d98", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001ba'), "application_id"=>BSON::ObjectId('5bb6246735415975070001bb'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>12, "token"=>"4056bd5ee8bee7abcba73569b93a8508843b808c47f15595274291933f7b3d98", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"111dc505799a38b96285b8eb310e00e0307c6c5a0f4878533d473d90b037dae7", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001bd')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001bd'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 207", "uid"=>"111dc505799a38b96285b8eb310e00e0307c6c5a0f4878533d473d90b037dae7", "secret"=>"3606e4dcab79d37fb4dc2def982f5a8f1427decf062631403fe68336e1d586ed", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001bd'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 207", "uid"=>"111dc505799a38b96285b8eb310e00e0307c6c5a0f4878533d473d90b037dae7", "secret"=>"3606e4dcab79d37fb4dc2def982f5a8f1427decf062631403fe68336e1d586ed", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"5968189314810576983cebc727a873bb362357801b0ad31991bea84286cbd545", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001bc')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001bc'), "application_id"=>BSON::ObjectId('5bb6246735415975070001bd'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>13, "token"=>"5968189314810576983cebc727a873bb362357801b0ad31991bea84286cbd545", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001bc'), "application_id"=>BSON::ObjectId('5bb6246735415975070001bd'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>13, "token"=>"5968189314810576983cebc727a873bb362357801b0ad31991bea84286cbd545", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"dcb75415d774d42ad1375713e5159f8730e5de487849e1fb7d001b4d9d354084", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001be')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001be'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 208", "uid"=>"dcb75415d774d42ad1375713e5159f8730e5de487849e1fb7d001b4d9d354084", "secret"=>"fd78263d47f0b0b1c95c85491d7f337f401e78bae4b1a29c9981bd49d989f378", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001be'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 208", "uid"=>"dcb75415d774d42ad1375713e5159f8730e5de487849e1fb7d001b4d9d354084", "secret"=>"fd78263d47f0b0b1c95c85491d7f337f401e78bae4b1a29c9981bd49d989f378", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"512a604b54c97c33b2e58bac038856dd22bc81326571e2ba22eabd6caf877df5", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001c0')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001c0'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 209", "uid"=>"512a604b54c97c33b2e58bac038856dd22bc81326571e2ba22eabd6caf877df5", "secret"=>"8f18b26730c9df60c0fdcd4558257a22722d041a096e4d9c22fcfdda3b7e8240", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001c0'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 209", "uid"=>"512a604b54c97c33b2e58bac038856dd22bc81326571e2ba22eabd6caf877df5", "secret"=>"8f18b26730c9df60c0fdcd4558257a22722d041a096e4d9c22fcfdda3b7e8240", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"6c76286dd7e7f6d177cba1a33dfa9632608e62a62de11e35987e98da4d9cd472", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001bf')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001bf'), "application_id"=>BSON::ObjectId('5bb6246735415975070001c0'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>14, "token"=>"6c76286dd7e7f6d177cba1a33dfa9632608e62a62de11e35987e98da4d9cd472", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001bf'), "application_id"=>BSON::ObjectId('5bb6246735415975070001c0'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>14, "token"=>"6c76286dd7e7f6d177cba1a33dfa9632608e62a62de11e35987e98da4d9cd472", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb6246735415975070001bf')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6246735415975070001bf')}, :u=>{"_id"=>BSON::ObjectId('5bb6246735415975070001bf'), "application_id"=>BSON::ObjectId('5bb6246735415975070001c0'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>14, "token"=>"6c76286dd7e7f6d177cba1a33dfa9632608e62a62de11e35987e98da4d9cd472", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb6246735415975070001bf')}, {"_id"=>BSON::ObjectId('5bb6246735415975070001bf'), "application_id"=>BSON::ObjectId('5bb6246735415975070001c0'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>14, "token"=>"6c76286dd7e7f6d177cba1a33dfa9632608e62a62de11e35987e98da4d9cd472", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6246735415975070001c0')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6246735415975070001c0')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"8bed541b90053d44658665aa64b9e9adfa9a5d3270bd3fb537675a8e24683a73", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001c1')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001c1'), "application_id"=>BSON::ObjectId('5bb6246735415975070001c0'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>14, "token"=>"8bed541b90053d44658665aa64b9e9adfa9a5d3270bd3fb537675a8e24683a73", "expires_in"=>172800, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001c1'), "application_id"=>BSON::ObjectId('5bb6246735415975070001c0'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>14, "token"=>"8bed541b90053d44658665aa64b9e9adfa9a5d3270bd3fb537675a8e24683a73", "expires_in"=>172800, "scopes"=>"public write"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"dda095e3f2fd7b8bc7d095cecfa166f1545a4541a13314903fd6846918d83503", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001c3')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001c3'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 210", "uid"=>"dda095e3f2fd7b8bc7d095cecfa166f1545a4541a13314903fd6846918d83503", "secret"=>"32aeb550562ffe64e24bc0c5bd396b9fb90c0e128f2cf79031c00ad7a41de854", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001c3'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 210", "uid"=>"dda095e3f2fd7b8bc7d095cecfa166f1545a4541a13314903fd6846918d83503", "secret"=>"32aeb550562ffe64e24bc0c5bd396b9fb90c0e128f2cf79031c00ad7a41de854", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"453ccb34c28310008c39fa362321a345f71575c8c5879ec08e0872a2e9fc672a", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001c2')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001c2'), "application_id"=>BSON::ObjectId('5bb6246735415975070001c3'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>15, "token"=>"453ccb34c28310008c39fa362321a345f71575c8c5879ec08e0872a2e9fc672a", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001c2'), "application_id"=>BSON::ObjectId('5bb6246735415975070001c3'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>15, "token"=>"453ccb34c28310008c39fa362321a345f71575c8c5879ec08e0872a2e9fc672a", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6246735415975070001c2')}, :u=>{"_id"=>BSON::ObjectId('5bb6246735415975070001c2'), "application_id"=>BSON::ObjectId('5bb6246735415975070001c3'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>15, "token"=>"453ccb34c28310008c39fa362321a345f71575c8c5879ec08e0872a2e9fc672a", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb6246735415975070001c2')}, {"_id"=>BSON::ObjectId('5bb6246735415975070001c2'), "application_id"=>BSON::ObjectId('5bb6246735415975070001c3'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>15, "token"=>"453ccb34c28310008c39fa362321a345f71575c8c5879ec08e0872a2e9fc672a", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"abd329066867527fc8788f369844ae7183fb68cb9600b22884588a99623d55b4", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001c5')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001c5'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 211", "uid"=>"abd329066867527fc8788f369844ae7183fb68cb9600b22884588a99623d55b4", "secret"=>"24d19d049207ef065018ac64d1c061793c0c4e9e0a7421fbaeb077720d993ef2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001c5'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 211", "uid"=>"abd329066867527fc8788f369844ae7183fb68cb9600b22884588a99623d55b4", "secret"=>"24d19d049207ef065018ac64d1c061793c0c4e9e0a7421fbaeb077720d993ef2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"cfddeaa09e2ecda211e462de92d93b915fba604d09105d24da441369356b0dae", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001c4')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001c4'), "application_id"=>BSON::ObjectId('5bb6246735415975070001c5'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>16, "token"=>"cfddeaa09e2ecda211e462de92d93b915fba604d09105d24da441369356b0dae", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001c4'), "application_id"=>BSON::ObjectId('5bb6246735415975070001c5'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>16, "token"=>"cfddeaa09e2ecda211e462de92d93b915fba604d09105d24da441369356b0dae", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6246735415975070001c5')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"ba32c0f164a482e627bd6174102d404d863cea7f2e6f7feb83df6d72efab8e29", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001c6')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001c6'), "application_id"=>BSON::ObjectId('5bb6246735415975070001c5'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>16, "token"=>"ba32c0f164a482e627bd6174102d404d863cea7f2e6f7feb83df6d72efab8e29", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001c6'), "application_id"=>BSON::ObjectId('5bb6246735415975070001c5'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>16, "token"=>"ba32c0f164a482e627bd6174102d404d863cea7f2e6f7feb83df6d72efab8e29", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb6246735415975070001c4')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6246735415975070001c4')}, :u=>{"_id"=>BSON::ObjectId('5bb6246735415975070001c4'), "application_id"=>BSON::ObjectId('5bb6246735415975070001c5'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>16, "token"=>"cfddeaa09e2ecda211e462de92d93b915fba604d09105d24da441369356b0dae", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb6246735415975070001c4')}, {"_id"=>BSON::ObjectId('5bb6246735415975070001c4'), "application_id"=>BSON::ObjectId('5bb6246735415975070001c5'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>16, "token"=>"cfddeaa09e2ecda211e462de92d93b915fba604d09105d24da441369356b0dae", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6246735415975070001c5')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6246735415975070001c5'), :resource_owner_id=>16, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"97e5458c061a9bab062c3e03ba45efc0a5fe658c26647d59b535442b5ebff562", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001c8')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001c8'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 212", "uid"=>"97e5458c061a9bab062c3e03ba45efc0a5fe658c26647d59b535442b5ebff562", "secret"=>"1692f801b604854a07dca79a6fb61a6b7fe5ab9217c29b0f59d1f5323a7b5059", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001c8'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 212", "uid"=>"97e5458c061a9bab062c3e03ba45efc0a5fe658c26647d59b535442b5ebff562", "secret"=>"1692f801b604854a07dca79a6fb61a6b7fe5ab9217c29b0f59d1f5323a7b5059", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"b68c7dfd006f7ca11c7924b4de8cf89aa8ec626064c470d7f18201fbac987330", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001c7')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001c7'), "application_id"=>BSON::ObjectId('5bb6246735415975070001c8'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>17, "token"=>"b68c7dfd006f7ca11c7924b4de8cf89aa8ec626064c470d7f18201fbac987330", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001c7'), "application_id"=>BSON::ObjectId('5bb6246735415975070001c8'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>17, "token"=>"b68c7dfd006f7ca11c7924b4de8cf89aa8ec626064c470d7f18201fbac987330", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1811c22f0c1fcfae69b51bff76d46b3aabbb7bce6e41db154c8950353ac9d24b", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001ca')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001ca'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 213", "uid"=>"1811c22f0c1fcfae69b51bff76d46b3aabbb7bce6e41db154c8950353ac9d24b", "secret"=>"f4cc6c15b3f897d9dbc19243af00eac5fc374fd246885df6945561c47c3199da", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001ca'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 213", "uid"=>"1811c22f0c1fcfae69b51bff76d46b3aabbb7bce6e41db154c8950353ac9d24b", "secret"=>"f4cc6c15b3f897d9dbc19243af00eac5fc374fd246885df6945561c47c3199da", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"ce047d80df0b2e9fbe1f7d9dadcb5ca914abd714415e28aa5932f1a4cf8b7cfa", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001c9')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001c9'), "application_id"=>BSON::ObjectId('5bb6246735415975070001ca'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>18, "token"=>"ce047d80df0b2e9fbe1f7d9dadcb5ca914abd714415e28aa5932f1a4cf8b7cfa", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001c9'), "application_id"=>BSON::ObjectId('5bb6246735415975070001ca'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>18, "token"=>"ce047d80df0b2e9fbe1f7d9dadcb5ca914abd714415e28aa5932f1a4cf8b7cfa", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c4345a7c8e9020858fcf2c51d8dc963766e606397e4247c93d32d4e4eedb8c0d", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001cc')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001cc'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 214", "uid"=>"c4345a7c8e9020858fcf2c51d8dc963766e606397e4247c93d32d4e4eedb8c0d", "secret"=>"1c0b470141e4209e35d88e6426f33d16870ec65c94df32844706a47061ef0000", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001cc'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 214", "uid"=>"c4345a7c8e9020858fcf2c51d8dc963766e606397e4247c93d32d4e4eedb8c0d", "secret"=>"1c0b470141e4209e35d88e6426f33d16870ec65c94df32844706a47061ef0000", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"ed537a35f812ee00ba5e65fbe1cf41807c184b0d879ed20831835231a11ec885", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001cb')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001cb'), "application_id"=>BSON::ObjectId('5bb6246735415975070001cc'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>19, "token"=>"ed537a35f812ee00ba5e65fbe1cf41807c184b0d879ed20831835231a11ec885", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001cb'), "application_id"=>BSON::ObjectId('5bb6246735415975070001cc'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>19, "token"=>"ed537a35f812ee00ba5e65fbe1cf41807c184b0d879ed20831835231a11ec885", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb6246735415975070001cb')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6246735415975070001cc')}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb6246735415975070001cb')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6246735415975070001cb')}, :u=>{"_id"=>BSON::ObjectId('5bb6246735415975070001cb'), "application_id"=>BSON::ObjectId('5bb6246735415975070001cc'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>19, "token"=>"ed537a35f812ee00ba5e65fbe1cf41807c184b0d879ed20831835231a11ec885", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb6246735415975070001cb')}, {"_id"=>BSON::ObjectId('5bb6246735415975070001cb'), "application_id"=>BSON::ObjectId('5bb6246735415975070001cc'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>19, "token"=>"ed537a35f812ee00ba5e65fbe1cf41807c184b0d879ed20831835231a11ec885", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6246735415975070001cc')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6246735415975070001cc')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"70f947cd404de6ecb1c91defdaf8baa04f941eb63f81c1d4cb2fbf2a0b450efa", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001cd')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001cd'), "application_id"=>BSON::ObjectId('5bb6246735415975070001cc'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>19, "token"=>"70f947cd404de6ecb1c91defdaf8baa04f941eb63f81c1d4cb2fbf2a0b450efa", "expires_in"=>172800, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001cd'), "application_id"=>BSON::ObjectId('5bb6246735415975070001cc'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>19, "token"=>"70f947cd404de6ecb1c91defdaf8baa04f941eb63f81c1d4cb2fbf2a0b450efa", "expires_in"=>172800, "scopes"=>"public write"}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb6246735415975070001cb')}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"07a1d47098e10b52d548401865a8a1b50af7407573efd865035254a6a748686d", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001cf')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001cf'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 215", "uid"=>"07a1d47098e10b52d548401865a8a1b50af7407573efd865035254a6a748686d", "secret"=>"26034ab01b2e43aefa2062b4f9942915808363d907647ee9b796e93ef03beaa0", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001cf'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 215", "uid"=>"07a1d47098e10b52d548401865a8a1b50af7407573efd865035254a6a748686d", "secret"=>"26034ab01b2e43aefa2062b4f9942915808363d907647ee9b796e93ef03beaa0", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"ba04699f80ffaf8ee81c00efa5eb8856e88ebd9d231d40d76fd7fcef471a2377", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001ce')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001ce'), "application_id"=>BSON::ObjectId('5bb6246735415975070001cf'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>20, "token"=>"ba04699f80ffaf8ee81c00efa5eb8856e88ebd9d231d40d76fd7fcef471a2377", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001ce'), "application_id"=>BSON::ObjectId('5bb6246735415975070001cf'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>20, "token"=>"ba04699f80ffaf8ee81c00efa5eb8856e88ebd9d231d40d76fd7fcef471a2377", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb6246735415975070001ce')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6246735415975070001ce')}, :u=>{"_id"=>BSON::ObjectId('5bb6246735415975070001ce'), "application_id"=>BSON::ObjectId('5bb6246735415975070001cf'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>20, "token"=>"ba04699f80ffaf8ee81c00efa5eb8856e88ebd9d231d40d76fd7fcef471a2377", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb6246735415975070001ce')}, {"_id"=>BSON::ObjectId('5bb6246735415975070001ce'), "application_id"=>BSON::ObjectId('5bb6246735415975070001cf'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>20, "token"=>"ba04699f80ffaf8ee81c00efa5eb8856e88ebd9d231d40d76fd7fcef471a2377", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6246735415975070001cf')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6246735415975070001cf')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f8da61dad3613efb4b41d94fe3ec62bfd38c221b18cc7ac14f57b297dd65b948", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001d0')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001d0'), "application_id"=>BSON::ObjectId('5bb6246735415975070001cf'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>20, "token"=>"f8da61dad3613efb4b41d94fe3ec62bfd38c221b18cc7ac14f57b297dd65b948", "expires_in"=>172800, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001d0'), "application_id"=>BSON::ObjectId('5bb6246735415975070001cf'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>20, "token"=>"f8da61dad3613efb4b41d94fe3ec62bfd38c221b18cc7ac14f57b297dd65b948", "expires_in"=>172800, "scopes"=>"public write"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"cc7b1843b13c189e74c531e1bb4a2c4ef45d104ae8a353c868c51a41f2e594f8", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001d2')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001d2'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 216", "uid"=>"cc7b1843b13c189e74c531e1bb4a2c4ef45d104ae8a353c868c51a41f2e594f8", "secret"=>"efae076a958a7dcd449cd4a081e906829c28df1530cb6d88cb22ab6390ce9f75", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001d2'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 216", "uid"=>"cc7b1843b13c189e74c531e1bb4a2c4ef45d104ae8a353c868c51a41f2e594f8", "secret"=>"efae076a958a7dcd449cd4a081e906829c28df1530cb6d88cb22ab6390ce9f75", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"34b565815fe996cb2c76879d23b5f2e5c3ed2d2324e20219173ec13447824268", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001d1')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001d1'), "application_id"=>BSON::ObjectId('5bb6246735415975070001d2'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>21, "token"=>"34b565815fe996cb2c76879d23b5f2e5c3ed2d2324e20219173ec13447824268", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001d1'), "application_id"=>BSON::ObjectId('5bb6246735415975070001d2'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>21, "token"=>"34b565815fe996cb2c76879d23b5f2e5c3ed2d2324e20219173ec13447824268", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ec5b960af80a0e95083e12c0403bc1e17dd3f9b124563a06e8c997f025c6d59f", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001d4')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001d4'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 217", "uid"=>"ec5b960af80a0e95083e12c0403bc1e17dd3f9b124563a06e8c997f025c6d59f", "secret"=>"5e4dc88b4a47c3687c3675115cb28d3a15aea914077f7e5197cbcb125a17fd87", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001d4'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 217", "uid"=>"ec5b960af80a0e95083e12c0403bc1e17dd3f9b124563a06e8c997f025c6d59f", "secret"=>"5e4dc88b4a47c3687c3675115cb28d3a15aea914077f7e5197cbcb125a17fd87", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"3b2fdb18233517eb2cc0d447ec474625f97e7a959441f1878830ae715693bd51", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001d3')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001d3'), "application_id"=>BSON::ObjectId('5bb6246735415975070001d4'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>22, "token"=>"3b2fdb18233517eb2cc0d447ec474625f97e7a959441f1878830ae715693bd51", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001d3'), "application_id"=>BSON::ObjectId('5bb6246735415975070001d4'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>22, "token"=>"3b2fdb18233517eb2cc0d447ec474625f97e7a959441f1878830ae715693bd51", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5bb06a200d81f84e86f765f4e9b2d8e0b04fba86f750383ed9111f65570fe099", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001d6')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001d6'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 218", "uid"=>"5bb06a200d81f84e86f765f4e9b2d8e0b04fba86f750383ed9111f65570fe099", "secret"=>"d983aecafea5231e794e598c7838232855367b8fa4f367666697b047eb8c304d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001d6'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 218", "uid"=>"5bb06a200d81f84e86f765f4e9b2d8e0b04fba86f750383ed9111f65570fe099", "secret"=>"d983aecafea5231e794e598c7838232855367b8fa4f367666697b047eb8c304d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"0b1a735b48be6f31110f1f0823e3bb13fb6d6a32df6e3108e86da9e7b12b1219", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001d5')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001d5'), "application_id"=>BSON::ObjectId('5bb6246735415975070001d6'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>23, "token"=>"0b1a735b48be6f31110f1f0823e3bb13fb6d6a32df6e3108e86da9e7b12b1219", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001d5'), "application_id"=>BSON::ObjectId('5bb6246735415975070001d6'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>23, "token"=>"0b1a735b48be6f31110f1f0823e3bb13fb6d6a32df6e3108e86da9e7b12b1219", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"30cf8755429b097a22b438544b9b864fd9e0ae34753fb9533847e706c405316c", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001d8')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001d8'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 219", "uid"=>"30cf8755429b097a22b438544b9b864fd9e0ae34753fb9533847e706c405316c", "secret"=>"701695c9dc435034d301c30c4fab8b1135ba28f8b5317208662a18af4857ac18", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001d8'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 219", "uid"=>"30cf8755429b097a22b438544b9b864fd9e0ae34753fb9533847e706c405316c", "secret"=>"701695c9dc435034d301c30c4fab8b1135ba28f8b5317208662a18af4857ac18", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"d929221039b2335a971fb56e947f865c00ff6498aa3d162e74bf4de3f726dfb7", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001d7')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001d7'), "application_id"=>BSON::ObjectId('5bb6246735415975070001d8'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>24, "token"=>"d929221039b2335a971fb56e947f865c00ff6498aa3d162e74bf4de3f726dfb7", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001d7'), "application_id"=>BSON::ObjectId('5bb6246735415975070001d8'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "resource_owner_id"=>24, "token"=>"d929221039b2335a971fb56e947f865c00ff6498aa3d162e74bf4de3f726dfb7", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8b4d68d1a8a654b96b3b0721285dd6fd3274a425a4c4d8d0593cb06d4e81d9e1", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001d9')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001d9'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 220", "uid"=>"8b4d68d1a8a654b96b3b0721285dd6fd3274a425a4c4d8d0593cb06d4e81d9e1", "secret"=>"531da9775b3116e73edb62e5af748c1fbda69bc4942219a6ebe61459eaee07d1", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001d9'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 220", "uid"=>"8b4d68d1a8a654b96b3b0721285dd6fd3274a425a4c4d8d0593cb06d4e81d9e1", "secret"=>"531da9775b3116e73edb62e5af748c1fbda69bc4942219a6ebe61459eaee07d1", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8b4d68d1a8a654b96b3b0721285dd6fd3274a425a4c4d8d0593cb06d4e81d9e1", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001d9')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ca55d1402fb3c107fd727e0c292d9b85a17e67412ceea150ec2b4194f7a2e22f", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001da')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001da'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 221", "uid"=>"ca55d1402fb3c107fd727e0c292d9b85a17e67412ceea150ec2b4194f7a2e22f", "secret"=>"a196d76f0ca04a2fb159ff6daf1e8bf7d1e321706fbad60d7ce5ff0563373e25", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001da'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 221", "uid"=>"ca55d1402fb3c107fd727e0c292d9b85a17e67412ceea150ec2b4194f7a2e22f", "secret"=>"a196d76f0ca04a2fb159ff6daf1e8bf7d1e321706fbad60d7ce5ff0563373e25", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ca55d1402fb3c107fd727e0c292d9b85a17e67412ceea150ec2b4194f7a2e22f", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001da')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"38efdaaf0affb14adb94d517d68543731dc2d65531b18c90c178efb5b13c73e7", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001db')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001db'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 222", "uid"=>"38efdaaf0affb14adb94d517d68543731dc2d65531b18c90c178efb5b13c73e7", "secret"=>"9e858554fde8448b8f843bee4481563741843f37e8a7817b26f011cbf6d6d6b0", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001db'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 222", "uid"=>"38efdaaf0affb14adb94d517d68543731dc2d65531b18c90c178efb5b13c73e7", "secret"=>"9e858554fde8448b8f843bee4481563741843f37e8a7817b26f011cbf6d6d6b0", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"38efdaaf0affb14adb94d517d68543731dc2d65531b18c90c178efb5b13c73e7", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001db')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"bda08b06427e5b701224f3ff56654ee087cbccf96b05cdc3bf383c05b6795e3f", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001dc')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001dc'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 223", "uid"=>"bda08b06427e5b701224f3ff56654ee087cbccf96b05cdc3bf383c05b6795e3f", "secret"=>"7013fa446293e5e205e7b3f65bceb8ef058e6617dc8c0c05cbc0221bc3fa1bd3", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001dc'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 223", "uid"=>"bda08b06427e5b701224f3ff56654ee087cbccf96b05cdc3bf383c05b6795e3f", "secret"=>"7013fa446293e5e205e7b3f65bceb8ef058e6617dc8c0c05cbc0221bc3fa1bd3", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"bda08b06427e5b701224f3ff56654ee087cbccf96b05cdc3bf383c05b6795e3f", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001dc')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c95747cb31ef5c9552ec06fd94b55c3e34ab1a7dc793ceafb55ed8f861302a0d", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001dd')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001dd'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 224", "uid"=>"c95747cb31ef5c9552ec06fd94b55c3e34ab1a7dc793ceafb55ed8f861302a0d", "secret"=>"a166eff5685941b4032cd589a4ed5e0ef0b4822d0013e63fc390b4490285d117", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001dd'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 224", "uid"=>"c95747cb31ef5c9552ec06fd94b55c3e34ab1a7dc793ceafb55ed8f861302a0d", "secret"=>"a166eff5685941b4032cd589a4ed5e0ef0b4822d0013e63fc390b4490285d117", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c95747cb31ef5c9552ec06fd94b55c3e34ab1a7dc793ceafb55ed8f861302a0d", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001dd')}}, {:_id=>1}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c39c49c66ceaf4ee0a866c3514ac1abf40f2fddf2c5355a37fdf959d81cbf8c2", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001de')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001de'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 225", "uid"=>"c39c49c66ceaf4ee0a866c3514ac1abf40f2fddf2c5355a37fdf959d81cbf8c2", "secret"=>"03b2f075bef1f37389560db1e5d0b07e75ff6c3302b42ebf65e2dc04b515163d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001de'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 225", "uid"=>"c39c49c66ceaf4ee0a866c3514ac1abf40f2fddf2c5355a37fdf959d81cbf8c2", "secret"=>"03b2f075bef1f37389560db1e5d0b07e75ff6c3302b42ebf65e2dc04b515163d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c39c49c66ceaf4ee0a866c3514ac1abf40f2fddf2c5355a37fdf959d81cbf8c2", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001de')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"01d39af59149894fe3b894c8c265c87f4758e60dfbc75faad6a6245e76e668d7", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001df')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001df'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 226", "uid"=>"01d39af59149894fe3b894c8c265c87f4758e60dfbc75faad6a6245e76e668d7", "secret"=>"2152dd5f25a9fc1a8a92cb1987a9fb1fa57cd4bc7f56206116ccfa6f394d10ac", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001df'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 226", "uid"=>"01d39af59149894fe3b894c8c265c87f4758e60dfbc75faad6a6245e76e668d7", "secret"=>"2152dd5f25a9fc1a8a92cb1987a9fb1fa57cd4bc7f56206116ccfa6f394d10ac", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"01d39af59149894fe3b894c8c265c87f4758e60dfbc75faad6a6245e76e668d7", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001df')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a80ceb57d2a94c416b545a5c497ba420df88e6a4294b26947dd55fa212dd7ef5", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001e0')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001e0'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 227", "uid"=>"a80ceb57d2a94c416b545a5c497ba420df88e6a4294b26947dd55fa212dd7ef5", "secret"=>"214d9f42125faa23db7422b0cb032831800b29f6631bcfcf6edc842f660f3893", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001e0'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 227", "uid"=>"a80ceb57d2a94c416b545a5c497ba420df88e6a4294b26947dd55fa212dd7ef5", "secret"=>"214d9f42125faa23db7422b0cb032831800b29f6631bcfcf6edc842f660f3893", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a80ceb57d2a94c416b545a5c497ba420df88e6a4294b26947dd55fa212dd7ef5", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001e0')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"27f082f4b6b8254a7adf2c26a42ad9b54770675576f6ac3f0ff8d42c84b3b7a9", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001e1')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001e1'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 228", "uid"=>"27f082f4b6b8254a7adf2c26a42ad9b54770675576f6ac3f0ff8d42c84b3b7a9", "secret"=>"cc17d323de4cdf704b934ae408447bbaeead21798024ae0811956c1d64bf2139", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001e1'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 228", "uid"=>"27f082f4b6b8254a7adf2c26a42ad9b54770675576f6ac3f0ff8d42c84b3b7a9", "secret"=>"cc17d323de4cdf704b934ae408447bbaeead21798024ae0811956c1d64bf2139", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"27f082f4b6b8254a7adf2c26a42ad9b54770675576f6ac3f0ff8d42c84b3b7a9", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001e1')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f9c9bbc8ed592e8cce15a037c6d35969b2cf7d9b191a4aaf9340f84e464242d6", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001e2')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001e2'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 229", "uid"=>"f9c9bbc8ed592e8cce15a037c6d35969b2cf7d9b191a4aaf9340f84e464242d6", "secret"=>"1e6627903be3443037ae29379ca32d9c08f1e093142b15548446f6d8cb74797f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001e2'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 229", "uid"=>"f9c9bbc8ed592e8cce15a037c6d35969b2cf7d9b191a4aaf9340f84e464242d6", "secret"=>"1e6627903be3443037ae29379ca32d9c08f1e093142b15548446f6d8cb74797f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f9c9bbc8ed592e8cce15a037c6d35969b2cf7d9b191a4aaf9340f84e464242d6", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001e2')}}, {:_id=>1}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"61c18a11a02ca16f51d273adcc8811a77a7cbb6d34b6fbcbb7948e32326d416e", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001e3')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c9579d9d10fa3a0af45247d9cdc8eb5702fca9f772d78cff25cd44effa36ddde", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001e4')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4b1f825459a0fd877da3279ceb7d594c481d807e7c8992e81ee256f137be7c8b", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001e5')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001e5'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 232", "uid"=>"4b1f825459a0fd877da3279ceb7d594c481d807e7c8992e81ee256f137be7c8b", "secret"=>"6bcb84025d842c8b38cebfa711608c1e7cb55367cc0ccb1354a57a171c1cf9ab", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001e5'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 232", "uid"=>"4b1f825459a0fd877da3279ceb7d594c481d807e7c8992e81ee256f137be7c8b", "secret"=>"6bcb84025d842c8b38cebfa711608c1e7cb55367cc0ccb1354a57a171c1cf9ab", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4b1f825459a0fd877da3279ceb7d594c481d807e7c8992e81ee256f137be7c8b", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001e5')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4b1f825459a0fd877da3279ceb7d594c481d807e7c8992e81ee256f137be7c8b", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001e5')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c4e9372e0ef44da62c582ca9ba6e89cfc5fa2d63fae3c442077834bdadbc5b33", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001e6')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001e6'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 233", "uid"=>"c4e9372e0ef44da62c582ca9ba6e89cfc5fa2d63fae3c442077834bdadbc5b33", "secret"=>"b5a0f23d36b184e14728d1e56366703ba9fbe7e9dc0da4c82beff595dd6c5360", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001e6'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 233", "uid"=>"c4e9372e0ef44da62c582ca9ba6e89cfc5fa2d63fae3c442077834bdadbc5b33", "secret"=>"b5a0f23d36b184e14728d1e56366703ba9fbe7e9dc0da4c82beff595dd6c5360", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c4e9372e0ef44da62c582ca9ba6e89cfc5fa2d63fae3c442077834bdadbc5b33", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001e6')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e6ac31311d8fcd60e6f8fa4f88270310b74d9a4111ae2f9f6a48e78030c65ff9", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001e7')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001e7'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 234", "uid"=>"e6ac31311d8fcd60e6f8fa4f88270310b74d9a4111ae2f9f6a48e78030c65ff9", "secret"=>"803ba60476c575cf4443bff7fb9fdec964b05bfcac04d119d3d6765998f4d2b8", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001e7'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 234", "uid"=>"e6ac31311d8fcd60e6f8fa4f88270310b74d9a4111ae2f9f6a48e78030c65ff9", "secret"=>"803ba60476c575cf4443bff7fb9fdec964b05bfcac04d119d3d6765998f4d2b8", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e6ac31311d8fcd60e6f8fa4f88270310b74d9a4111ae2f9f6a48e78030c65ff9", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001e7')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"59d581e604dea963175543ed890ecc989bef453c3e96ef51ccf840f97228839b", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001e8')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001e8'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 235", "uid"=>"59d581e604dea963175543ed890ecc989bef453c3e96ef51ccf840f97228839b", "secret"=>"221387c4cf9c09c7ad58ff2474a60462a9214a4a479fece227471df32ecc3dd4", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001e8'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 235", "uid"=>"59d581e604dea963175543ed890ecc989bef453c3e96ef51ccf840f97228839b", "secret"=>"221387c4cf9c09c7ad58ff2474a60462a9214a4a479fece227471df32ecc3dd4", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"59d581e604dea963175543ed890ecc989bef453c3e96ef51ccf840f97228839b", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001e8')}}, {:_id=>1}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"582b3a127464840c90878ef55a628b6fa6180047873c2a0654d6315a5614694c", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001e9')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246735415975070001e9'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 236", "uid"=>"582b3a127464840c90878ef55a628b6fa6180047873c2a0654d6315a5614694c", "secret"=>"b3534b7a9668aaa72fb71b04de668e787da74c0bc3181689b5f8c0fa12d45f05", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246735415975070001e9'), "created_at"=>2018-10-04 14:32:07 UTC, "updated_at"=>2018-10-04 14:32:07 UTC, "name"=>"Application 236", "uid"=>"582b3a127464840c90878ef55a628b6fa6180047873c2a0654d6315a5614694c", "secret"=>"b3534b7a9668aaa72fb71b04de668e787da74c0bc3181689b5f8c0fa12d45f05", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"582b3a127464840c90878ef55a628b6fa6180047873c2a0654d6315a5614694c", :_id=>{:$ne=>BSON::ObjectId('5bb6246735415975070001e9')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (7.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b3ffe17837eaf9177576f8f61b77428f2cb03c9661b0cedda95f07a9f33db6f3", :_id=>{:$ne=>BSON::ObjectId('5bb6246835415975070001ec')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246835415975070001ec'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 237", "uid"=>"b3ffe17837eaf9177576f8f61b77428f2cb03c9661b0cedda95f07a9f33db6f3", "secret"=>"59713efb63116f900ec70ae215f432c58d8faad66f7b1229886b8269d6ec03aa", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246835415975070001ec'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 237", "uid"=>"b3ffe17837eaf9177576f8f61b77428f2cb03c9661b0cedda95f07a9f33db6f3", "secret"=>"59713efb63116f900ec70ae215f432c58d8faad66f7b1229886b8269d6ec03aa", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6246835415975070001ed'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6246835415975070001ed'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"0a717a97a3e76fedc18846988f1f0b0131be4c534a402051b86c58dcd11e8115", :_id=>{:$ne=>BSON::ObjectId('5bb6246835415975070001ee')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246835415975070001ee'), "application_id"=>BSON::ObjectId('5bb6246835415975070001ec'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246835415975070001ed'), "token"=>"0a717a97a3e76fedc18846988f1f0b0131be4c534a402051b86c58dcd11e8115", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246835415975070001ee'), "application_id"=>BSON::ObjectId('5bb6246835415975070001ec'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246835415975070001ed'), "token"=>"0a717a97a3e76fedc18846988f1f0b0131be4c534a402051b86c58dcd11e8115", "expires_in"=>7200}) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"b3ffe17837eaf9177576f8f61b77428f2cb03c9661b0cedda95f07a9f33db6f3", "state"=>"", "redirect_uri"=>"https://app.com/callback", "response_type"=>"token", "commit"=>"Authorize"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b3ffe17837eaf9177576f8f61b77428f2cb03c9661b0cedda95f07a9f33db6f3"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6246835415975070001ec'), :resource_owner_id=>BSON::ObjectId('5bb6246835415975070001ed'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Redirected to https://app.com/callback#access_token=0a717a97a3e76fedc18846988f1f0b0131be4c534a402051b86c58dcd11e8115&token_type=Bearer&expires_in=7200 Completed 302 Found in 4ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"54fbaedffadd46f8dbf99e3d780311f9ee3e74aec733b52eb5cca894d2cd4c72", :_id=>{:$ne=>BSON::ObjectId('5bb6246835415975070001ef')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246835415975070001ef'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 238", "uid"=>"54fbaedffadd46f8dbf99e3d780311f9ee3e74aec733b52eb5cca894d2cd4c72", "secret"=>"7bae7159563b2ed655ff258662d1d9bb1eac4d1f35231214d0d55246a045de7a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246835415975070001ef'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 238", "uid"=>"54fbaedffadd46f8dbf99e3d780311f9ee3e74aec733b52eb5cca894d2cd4c72", "secret"=>"7bae7159563b2ed655ff258662d1d9bb1eac4d1f35231214d0d55246a045de7a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6246835415975070001f0'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6246835415975070001f0'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"883f8a35ab6681b090f055d8ebdfe921700b9b9af7300f322107adeb07076251", :_id=>{:$ne=>BSON::ObjectId('5bb6246835415975070001f1')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246835415975070001f1'), "application_id"=>BSON::ObjectId('5bb6246835415975070001ef'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246835415975070001f0'), "token"=>"883f8a35ab6681b090f055d8ebdfe921700b9b9af7300f322107adeb07076251", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246835415975070001f1'), "application_id"=>BSON::ObjectId('5bb6246835415975070001ef'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246835415975070001f0'), "token"=>"883f8a35ab6681b090f055d8ebdfe921700b9b9af7300f322107adeb07076251", "expires_in"=>7200}) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"54fbaedffadd46f8dbf99e3d780311f9ee3e74aec733b52eb5cca894d2cd4c72", "state"=>"", "redirect_uri"=>"https://app.com/callback", "response_type"=>"token", "commit"=>"Authorize"} MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"54fbaedffadd46f8dbf99e3d780311f9ee3e74aec733b52eb5cca894d2cd4c72"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6246835415975070001ef')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"18b2cbe46abfa1723b2b59e39b12d8b69cf40c51e7870e72c5f51ff33e659591", :_id=>{:$ne=>BSON::ObjectId('5bb6246835415975070001f2')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246835415975070001f2'), "application_id"=>BSON::ObjectId('5bb6246835415975070001ef'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246835415975070001f0'), "token"=>"18b2cbe46abfa1723b2b59e39b12d8b69cf40c51e7870e72c5f51ff33e659591", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246835415975070001f2'), "application_id"=>BSON::ObjectId('5bb6246835415975070001ef'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246835415975070001f0'), "token"=>"18b2cbe46abfa1723b2b59e39b12d8b69cf40c51e7870e72c5f51ff33e659591", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=18b2cbe46abfa1723b2b59e39b12d8b69cf40c51e7870e72c5f51ff33e659591&token_type=Bearer&expires_in=7200 Completed 302 Found in 7ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"149551e2a901dba041440d20ea804521a566e215e910ef4524040f9a57f772b3", :_id=>{:$ne=>BSON::ObjectId('5bb6246835415975070001f3')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246835415975070001f3'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 239", "uid"=>"149551e2a901dba041440d20ea804521a566e215e910ef4524040f9a57f772b3", "secret"=>"845a76a3f61f9b2f42e461148d9734f2138dcb6ccfdcf7f7ecdb83c6756870f2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246835415975070001f3'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 239", "uid"=>"149551e2a901dba041440d20ea804521a566e215e910ef4524040f9a57f772b3", "secret"=>"845a76a3f61f9b2f42e461148d9734f2138dcb6ccfdcf7f7ecdb83c6756870f2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"b662bc4795e4ffd355c6fe5d64d1923d2945d07c596f9d7fe8f4e220dbcded8c", :_id=>{:$ne=>BSON::ObjectId('5bb6246835415975070001f4')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6246835415975070001f4'), "application_id"=>BSON::ObjectId('5bb6246835415975070001f3'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "resource_owner_id"=>25, "token"=>"b662bc4795e4ffd355c6fe5d64d1923d2945d07c596f9d7fe8f4e220dbcded8c", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6246835415975070001f4'), "application_id"=>BSON::ObjectId('5bb6246835415975070001f3'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "resource_owner_id"=>25, "token"=>"b662bc4795e4ffd355c6fe5d64d1923d2945d07c596f9d7fe8f4e220dbcded8c", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) Started POST "/oauth/token?code=[FILTERED]&client_id=149551e2a901dba041440d20ea804521a566e215e910ef4524040f9a57f772b3&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"149551e2a901dba041440d20ea804521a566e215e910ef4524040f9a57f772b3", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"b662bc4795e4ffd355c6fe5d64d1923d2945d07c596f9d7fe8f4e220dbcded8c"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"149551e2a901dba041440d20ea804521a566e215e910ef4524040f9a57f772b3"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb6246835415975070001f4')}).limit(-1) Completed 401 Unauthorized in 3ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"75a2d9dcf049e65a74a5d8caec25b4bca1fd0e9feca661dcfa7b2ac02fffd787", :_id=>{:$ne=>BSON::ObjectId('5bb6246835415975070001f5')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246835415975070001f5'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 240", "uid"=>"75a2d9dcf049e65a74a5d8caec25b4bca1fd0e9feca661dcfa7b2ac02fffd787", "secret"=>"88bad7bc3ef5656fb640e7f4d3636108ffc4b3a6e592a057519860d06ef96149", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246835415975070001f5'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 240", "uid"=>"75a2d9dcf049e65a74a5d8caec25b4bca1fd0e9feca661dcfa7b2ac02fffd787", "secret"=>"88bad7bc3ef5656fb640e7f4d3636108ffc4b3a6e592a057519860d06ef96149", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6246835415975070001f6'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6246835415975070001f6'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=75a2d9dcf049e65a74a5d8caec25b4bca1fd0e9feca661dcfa7b2ac02fffd787&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"75a2d9dcf049e65a74a5d8caec25b4bca1fd0e9feca661dcfa7b2ac02fffd787", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"75a2d9dcf049e65a74a5d8caec25b4bca1fd0e9feca661dcfa7b2ac02fffd787"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6246835415975070001f5'), :resource_owner_id=>BSON::ObjectId('5bb6246835415975070001f6'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.0ms) Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.0ms) Started DELETE "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by Doorkeeper::AuthorizationsController#destroy as HTML Parameters: {"utf8"=>"✓", "client_id"=>"75a2d9dcf049e65a74a5d8caec25b4bca1fd0e9feca661dcfa7b2ac02fffd787", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"", "commit"=>"Deny"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"75a2d9dcf049e65a74a5d8caec25b4bca1fd0e9feca661dcfa7b2ac02fffd787"}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to https://app.com/callback?error=access_denied&error_description=The+resource+owner+or+authorization+server+denied+the+request. Completed 302 Found in 3ms (ActiveRecord: 0.0ms) Started GET "/callback?error=access_denied&error_description=The+resource+owner+or+authorization+server+denied+the+request." for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by HomeController#callback as HTML Parameters: {"error"=>"access_denied", "error_description"=>"The resource owner or authorization server denied the request."} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ca61078884801a206f91356fce77913eb89720073eaa30d1d5cb10ac6c31b7ec", :_id=>{:$ne=>BSON::ObjectId('5bb6246835415975070001f7')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246835415975070001f7'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 241", "uid"=>"ca61078884801a206f91356fce77913eb89720073eaa30d1d5cb10ac6c31b7ec", "secret"=>"6baa4e50e16a234d99beff90c9fdd74f7ce775f89a582ae68e302948b9ddab83", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246835415975070001f7'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 241", "uid"=>"ca61078884801a206f91356fce77913eb89720073eaa30d1d5cb10ac6c31b7ec", "secret"=>"6baa4e50e16a234d99beff90c9fdd74f7ce775f89a582ae68e302948b9ddab83", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6246835415975070001f8'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6246835415975070001f8'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=ca61078884801a206f91356fce77913eb89720073eaa30d1d5cb10ac6c31b7ec&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&state=return-this" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"ca61078884801a206f91356fce77913eb89720073eaa30d1d5cb10ac6c31b7ec", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "state"=>"return-this"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ca61078884801a206f91356fce77913eb89720073eaa30d1d5cb10ac6c31b7ec"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6246835415975070001f7'), :resource_owner_id=>BSON::ObjectId('5bb6246835415975070001f8'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (0.9ms) Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started DELETE "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by Doorkeeper::AuthorizationsController#destroy as HTML Parameters: {"utf8"=>"✓", "client_id"=>"ca61078884801a206f91356fce77913eb89720073eaa30d1d5cb10ac6c31b7ec", "redirect_uri"=>"https://app.com/callback", "state"=>"return-this", "response_type"=>"code", "scope"=>"", "commit"=>"Deny"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ca61078884801a206f91356fce77913eb89720073eaa30d1d5cb10ac6c31b7ec"}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to https://app.com/callback?error=access_denied&error_description=The+resource+owner+or+authorization+server+denied+the+request.&state=return-this Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/callback?error=access_denied&error_description=The+resource+owner+or+authorization+server+denied+the+request.&state=return-this" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by HomeController#callback as HTML Parameters: {"error"=>"access_denied", "error_description"=>"The resource owner or authorization server denied the request.", "state"=>"return-this"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ed3b4b8e454ff789afca99de637e803fe17d4b5285d2e11fb36fcc09f100bd28", :_id=>{:$ne=>BSON::ObjectId('5bb6246835415975070001f9')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246835415975070001f9'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"
XSS
", "uid"=>"ed3b4b8e454ff789afca99de637e803fe17d4b5285d2e11fb36fcc09f100bd28", "secret"=>"6c2cc7c9ef7c8dbe1b944f0a88c413955a8b09bb007e797a2ba81b5661e1c7eb", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246835415975070001f9'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"
XSS
", "uid"=>"ed3b4b8e454ff789afca99de637e803fe17d4b5285d2e11fb36fcc09f100bd28", "secret"=>"6c2cc7c9ef7c8dbe1b944f0a88c413955a8b09bb007e797a2ba81b5661e1c7eb", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6246835415975070001fa'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6246835415975070001fa'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=ed3b4b8e454ff789afca99de637e803fe17d4b5285d2e11fb36fcc09f100bd28&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"ed3b4b8e454ff789afca99de637e803fe17d4b5285d2e11fb36fcc09f100bd28", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ed3b4b8e454ff789afca99de637e803fe17d4b5285d2e11fb36fcc09f100bd28"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6246835415975070001f9'), :resource_owner_id=>BSON::ObjectId('5bb6246835415975070001fa'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (0.9ms) Completed 200 OK in 7ms (Views: 2.1ms | ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4466e05f2b5231b2171c9d222c7e1895cbd0524a2a7023ffa38564ea03e2822d", :_id=>{:$ne=>BSON::ObjectId('5bb6246835415975070001fb')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246835415975070001fb'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 242", "uid"=>"4466e05f2b5231b2171c9d222c7e1895cbd0524a2a7023ffa38564ea03e2822d", "secret"=>"6d224670b36db6353a7a2550e61eb6095b29eaacfb93b1b6478d3d160ba00a4c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246835415975070001fb'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 242", "uid"=>"4466e05f2b5231b2171c9d222c7e1895cbd0524a2a7023ffa38564ea03e2822d", "secret"=>"6d224670b36db6353a7a2550e61eb6095b29eaacfb93b1b6478d3d160ba00a4c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6246835415975070001fc'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6246835415975070001fc'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}) Started POST "/oauth/token?code&client_id=4466e05f2b5231b2171c9d222c7e1895cbd0524a2a7023ffa38564ea03e2822d&client_secret=[FILTERED]&username=Joe&password=sekret&scope=random&grant_type=password" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"4466e05f2b5231b2171c9d222c7e1895cbd0524a2a7023ffa38564ea03e2822d", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>"random", "grant_type"=>"password"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4466e05f2b5231b2171c9d222c7e1895cbd0524a2a7023ffa38564ea03e2822d"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) Completed 401 Unauthorized in 3ms MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"73303a88bb5f19927e256530bc34579430dc7bcb145e0ac71e9cfdd4565210ee", :_id=>{:$ne=>BSON::ObjectId('5bb6246835415975070001fd')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246835415975070001fd'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 243", "uid"=>"73303a88bb5f19927e256530bc34579430dc7bcb145e0ac71e9cfdd4565210ee", "secret"=>"bf68b90222d68ba2f3d5c0e93f01a4102e272a302a133028ed137e1e2d214841", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246835415975070001fd'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 243", "uid"=>"73303a88bb5f19927e256530bc34579430dc7bcb145e0ac71e9cfdd4565210ee", "secret"=>"bf68b90222d68ba2f3d5c0e93f01a4102e272a302a133028ed137e1e2d214841", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6246835415975070001fe'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6246835415975070001fe'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=73303a88bb5f19927e256530bc34579430dc7bcb145e0ac71e9cfdd4565210ee&client_secret=[FILTERED]&username=Joe&password=sekret&scope=random&grant_type=password" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"73303a88bb5f19927e256530bc34579430dc7bcb145e0ac71e9cfdd4565210ee", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>"random", "grant_type"=>"password"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"73303a88bb5f19927e256530bc34579430dc7bcb145e0ac71e9cfdd4565210ee"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) Completed 401 Unauthorized in 2ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3adc37cae92c677bfe376365abdcff539eef783c7e27296b9e864bf11827b013", :_id=>{:$ne=>BSON::ObjectId('5bb6246835415975070001ff')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246835415975070001ff'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 244", "uid"=>"3adc37cae92c677bfe376365abdcff539eef783c7e27296b9e864bf11827b013", "secret"=>"4f191b9db3cb752dc9b931c27808388ca69f0f211d4630600ec97a4ef2d9b1b2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246835415975070001ff'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 244", "uid"=>"3adc37cae92c677bfe376365abdcff539eef783c7e27296b9e864bf11827b013", "secret"=>"4f191b9db3cb752dc9b931c27808388ca69f0f211d4630600ec97a4ef2d9b1b2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624683541597507000200'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624683541597507000200'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"b80b9cabd977cd53f153c0919df5d7ee652090b57961783dc650731903690465", :_id=>{:$ne=>BSON::ObjectId('5bb624683541597507000201')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624683541597507000201'), "application_id"=>BSON::ObjectId('5bb6246835415975070001ff'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624683541597507000200'), "token"=>"b80b9cabd977cd53f153c0919df5d7ee652090b57961783dc650731903690465", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624683541597507000201'), "application_id"=>BSON::ObjectId('5bb6246835415975070001ff'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624683541597507000200'), "token"=>"b80b9cabd977cd53f153c0919df5d7ee652090b57961783dc650731903690465", "expires_in"=>7200}) Started POST "/oauth/token?code&client_id=3adc37cae92c677bfe376365abdcff539eef783c7e27296b9e864bf11827b013&client_secret=[FILTERED]&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"3adc37cae92c677bfe376365abdcff539eef783c7e27296b9e864bf11827b013", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3adc37cae92c677bfe376365abdcff539eef783c7e27296b9e864bf11827b013"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6246835415975070001ff'), :resource_owner_id=>BSON::ObjectId('5bb624683541597507000200'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Completed 200 OK in 4ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f7b2a12ac745fbc4a3550eb4aa74275dee626c00bd607df1aaebee257301d74b", :_id=>{:$ne=>BSON::ObjectId('5bb624683541597507000202')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624683541597507000202'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 245", "uid"=>"f7b2a12ac745fbc4a3550eb4aa74275dee626c00bd607df1aaebee257301d74b", "secret"=>"a09b1472a8f6ee6f9196939797bac7d9369adc7fc3dc30d23d3fc3a93f81ecc1", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624683541597507000202'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 245", "uid"=>"f7b2a12ac745fbc4a3550eb4aa74275dee626c00bd607df1aaebee257301d74b", "secret"=>"a09b1472a8f6ee6f9196939797bac7d9369adc7fc3dc30d23d3fc3a93f81ecc1", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624683541597507000203'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624683541597507000203'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}) Started POST "/oauth/token?code&client_id=f7b2a12ac745fbc4a3550eb4aa74275dee626c00bd607df1aaebee257301d74b&client_secret=[FILTERED]&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"f7b2a12ac745fbc4a3550eb4aa74275dee626c00bd607df1aaebee257301d74b", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f7b2a12ac745fbc4a3550eb4aa74275dee626c00bd607df1aaebee257301d74b"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624683541597507000202')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"9272508037333b72e27e93387e8ce205160e2eaeae33ce213bd7a1276daa3c30", :_id=>{:$ne=>BSON::ObjectId('5bb624683541597507000204')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"f1f1efff66beae9255a68bef1ac68a054f30314bb4189a1fac761c472f81ff82", :_id=>{:$ne=>BSON::ObjectId('5bb624683541597507000204')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624683541597507000204'), "application_id"=>BSON::ObjectId('5bb624683541597507000202'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624683541597507000203'), "token"=>"9272508037333b72e27e93387e8ce205160e2eaeae33ce213bd7a1276daa3c30", "refresh_token"=>"f1f1efff66beae9255a68bef1ac68a054f30314bb4189a1fac761c472f81ff82", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624683541597507000204'), "application_id"=>BSON::ObjectId('5bb624683541597507000202'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624683541597507000203'), "token"=>"9272508037333b72e27e93387e8ce205160e2eaeae33ce213bd7a1276daa3c30", "refresh_token"=>"f1f1efff66beae9255a68bef1ac68a054f30314bb4189a1fac761c472f81ff82", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 5ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"df605aa7fba0399f7f2985e7650d4f2d4789592d1d38457e659f28c063e75eb2", :_id=>{:$ne=>BSON::ObjectId('5bb624683541597507000205')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624683541597507000205'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 246", "uid"=>"df605aa7fba0399f7f2985e7650d4f2d4789592d1d38457e659f28c063e75eb2", "secret"=>"0db9ac93276663bb23bb8c5291c8080217859887fd3d9b2f28c1ae643030f4db", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624683541597507000205'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 246", "uid"=>"df605aa7fba0399f7f2985e7650d4f2d4789592d1d38457e659f28c063e75eb2", "secret"=>"0db9ac93276663bb23bb8c5291c8080217859887fd3d9b2f28c1ae643030f4db", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624683541597507000206'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624683541597507000206'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id&client_secret&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>nil, "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"7a533c4fa3c2087083a9a53c593e00d7293b8d32663701f0c39b623f3373ff4e", :_id=>{:$ne=>BSON::ObjectId('5bb624683541597507000207')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624683541597507000207'), "application_id"=>nil, "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624683541597507000206'), "token"=>"7a533c4fa3c2087083a9a53c593e00d7293b8d32663701f0c39b623f3373ff4e", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624683541597507000207'), "application_id"=>nil, "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624683541597507000206'), "token"=>"7a533c4fa3c2087083a9a53c593e00d7293b8d32663701f0c39b623f3373ff4e", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 5ms MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"23cb10d42b019c2d9ac9bedb471356848aa0c339506da0bdb0e55beab49e5979", :_id=>{:$ne=>BSON::ObjectId('5bb624683541597507000208')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624683541597507000208'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 247", "uid"=>"23cb10d42b019c2d9ac9bedb471356848aa0c339506da0bdb0e55beab49e5979", "secret"=>"b3482022c67b35a3d175bddcff1261890ec3aab5291f1841b56f32dfd749a202", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624683541597507000208'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 247", "uid"=>"23cb10d42b019c2d9ac9bedb471356848aa0c339506da0bdb0e55beab49e5979", "secret"=>"b3482022c67b35a3d175bddcff1261890ec3aab5291f1841b56f32dfd749a202", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624683541597507000209'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624683541597507000209'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=23cb10d42b019c2d9ac9bedb471356848aa0c339506da0bdb0e55beab49e5979&client_secret=[FILTERED]&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"23cb10d42b019c2d9ac9bedb471356848aa0c339506da0bdb0e55beab49e5979", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"23cb10d42b019c2d9ac9bedb471356848aa0c339506da0bdb0e55beab49e5979"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624683541597507000208')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"86dcda541280b5558afa710238151922a75c764fdb8fac315e27f9e230b01856", :_id=>{:$ne=>BSON::ObjectId('5bb62468354159750700020a')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62468354159750700020a'), "application_id"=>BSON::ObjectId('5bb624683541597507000208'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624683541597507000209'), "token"=>"86dcda541280b5558afa710238151922a75c764fdb8fac315e27f9e230b01856", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62468354159750700020a'), "application_id"=>BSON::ObjectId('5bb624683541597507000208'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624683541597507000209'), "token"=>"86dcda541280b5558afa710238151922a75c764fdb8fac315e27f9e230b01856", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 5ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"23e833d1e519546a43a26b95a79998653faece62e23d2459dcfca0211f03388b", :_id=>{:$ne=>BSON::ObjectId('5bb62468354159750700020b')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62468354159750700020b'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 248", "uid"=>"23e833d1e519546a43a26b95a79998653faece62e23d2459dcfca0211f03388b", "secret"=>"4b54c5d847efc7972f3d523145bd73b84d571e770bd090aae51769069916e552", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62468354159750700020b'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 248", "uid"=>"23e833d1e519546a43a26b95a79998653faece62e23d2459dcfca0211f03388b", "secret"=>"4b54c5d847efc7972f3d523145bd73b84d571e770bd090aae51769069916e552", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb62468354159750700020c'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb62468354159750700020c'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=23e833d1e519546a43a26b95a79998653faece62e23d2459dcfca0211f03388b&client_secret&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"23e833d1e519546a43a26b95a79998653faece62e23d2459dcfca0211f03388b", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"23e833d1e519546a43a26b95a79998653faece62e23d2459dcfca0211f03388b"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) Completed 401 Unauthorized in 3ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0f3444574800ed20938e3c0cef1d3b5d8aa017baaf3552b64c37f962e4ff5af2", :_id=>{:$ne=>BSON::ObjectId('5bb62468354159750700020d')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62468354159750700020d'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 249", "uid"=>"0f3444574800ed20938e3c0cef1d3b5d8aa017baaf3552b64c37f962e4ff5af2", "secret"=>"c0755c559563dcffc60734dde52be81dfe42b248987eeb04a1c69f57297b6e32", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62468354159750700020d'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 249", "uid"=>"0f3444574800ed20938e3c0cef1d3b5d8aa017baaf3552b64c37f962e4ff5af2", "secret"=>"c0755c559563dcffc60734dde52be81dfe42b248987eeb04a1c69f57297b6e32", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb62468354159750700020e'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb62468354159750700020e'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=0f3444574800ed20938e3c0cef1d3b5d8aa017baaf3552b64c37f962e4ff5af2&client_secret&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"0f3444574800ed20938e3c0cef1d3b5d8aa017baaf3552b64c37f962e4ff5af2", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0f3444574800ed20938e3c0cef1d3b5d8aa017baaf3552b64c37f962e4ff5af2"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb62468354159750700020d')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"55726bb06eebab6e5dd384e224a41f68d52314b3765e741e62e25f2e43462ac6", :_id=>{:$ne=>BSON::ObjectId('5bb62468354159750700020f')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62468354159750700020f'), "application_id"=>BSON::ObjectId('5bb62468354159750700020d'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62468354159750700020e'), "token"=>"55726bb06eebab6e5dd384e224a41f68d52314b3765e741e62e25f2e43462ac6", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62468354159750700020f'), "application_id"=>BSON::ObjectId('5bb62468354159750700020d'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62468354159750700020e'), "token"=>"55726bb06eebab6e5dd384e224a41f68d52314b3765e741e62e25f2e43462ac6", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 5ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b6e0f1fb3ef525d9b346f2d3415c3372ac3daba04006090d9d131d556806530b", :_id=>{:$ne=>BSON::ObjectId('5bb624683541597507000210')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624683541597507000210'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 250", "uid"=>"b6e0f1fb3ef525d9b346f2d3415c3372ac3daba04006090d9d131d556806530b", "secret"=>"fcfb44b738a06de32bec7ae9d6886f579d0757012cc621617bfb2fc110ce273f", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624683541597507000210'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 250", "uid"=>"b6e0f1fb3ef525d9b346f2d3415c3372ac3daba04006090d9d131d556806530b", "secret"=>"fcfb44b738a06de32bec7ae9d6886f579d0757012cc621617bfb2fc110ce273f", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624683541597507000211'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624683541597507000211'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=b6e0f1fb3ef525d9b346f2d3415c3372ac3daba04006090d9d131d556806530b&client_secret=[FILTERED]&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"b6e0f1fb3ef525d9b346f2d3415c3372ac3daba04006090d9d131d556806530b", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b6e0f1fb3ef525d9b346f2d3415c3372ac3daba04006090d9d131d556806530b"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624683541597507000210')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d661077200144b5f7076b45cf1331f852094ffb55d248066f08cc22928eac4f5", :_id=>{:$ne=>BSON::ObjectId('5bb624683541597507000212')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624683541597507000212'), "application_id"=>BSON::ObjectId('5bb624683541597507000210'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624683541597507000211'), "token"=>"d661077200144b5f7076b45cf1331f852094ffb55d248066f08cc22928eac4f5", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624683541597507000212'), "application_id"=>BSON::ObjectId('5bb624683541597507000210'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624683541597507000211'), "token"=>"d661077200144b5f7076b45cf1331f852094ffb55d248066f08cc22928eac4f5", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 5ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d1742502d7dc53ca133dc9b5c460c22af668f24883a9f3f851de939154bd2f42", :_id=>{:$ne=>BSON::ObjectId('5bb624683541597507000213')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624683541597507000213'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 251", "uid"=>"d1742502d7dc53ca133dc9b5c460c22af668f24883a9f3f851de939154bd2f42", "secret"=>"74a1c39380991b55bbbbba8ffa89c16a5fe5642e6208d093e3e3ebdc4ccd278d", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624683541597507000213'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 251", "uid"=>"d1742502d7dc53ca133dc9b5c460c22af668f24883a9f3f851de939154bd2f42", "secret"=>"74a1c39380991b55bbbbba8ffa89c16a5fe5642e6208d093e3e3ebdc4ccd278d", "redirect_uri"=>"https://app.com/callback", "confidential"=>false, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624683541597507000214'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624683541597507000214'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=d1742502d7dc53ca133dc9b5c460c22af668f24883a9f3f851de939154bd2f42&client_secret=[FILTERED]&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"d1742502d7dc53ca133dc9b5c460c22af668f24883a9f3f851de939154bd2f42", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d1742502d7dc53ca133dc9b5c460c22af668f24883a9f3f851de939154bd2f42"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) Completed 401 Unauthorized in 2ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b5d2692df9ab880af56bc1a22aae7335e13b29460f883f8437d3c67251ae833f", :_id=>{:$ne=>BSON::ObjectId('5bb624683541597507000215')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624683541597507000215'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 252", "uid"=>"b5d2692df9ab880af56bc1a22aae7335e13b29460f883f8437d3c67251ae833f", "secret"=>"291e4b380a5da939d0ae8e0c6c26c79b9487489ec26f82b6406602ff4820d4e7", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624683541597507000215'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 252", "uid"=>"b5d2692df9ab880af56bc1a22aae7335e13b29460f883f8437d3c67251ae833f", "secret"=>"291e4b380a5da939d0ae8e0c6c26c79b9487489ec26f82b6406602ff4820d4e7", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624683541597507000216'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624683541597507000216'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=b5d2692df9ab880af56bc1a22aae7335e13b29460f883f8437d3c67251ae833f&client_secret=[FILTERED]&username=Joe&password=sekret&scope=public&grant_type=password" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"b5d2692df9ab880af56bc1a22aae7335e13b29460f883f8437d3c67251ae833f", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>"public", "grant_type"=>"password"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b5d2692df9ab880af56bc1a22aae7335e13b29460f883f8437d3c67251ae833f"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624683541597507000215')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"0629acc03e30a8b205e57471e8237f9f7d06e5c3a538a803cb6e6d86936755b7", :_id=>{:$ne=>BSON::ObjectId('5bb624683541597507000217')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624683541597507000217'), "application_id"=>BSON::ObjectId('5bb624683541597507000215'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624683541597507000216'), "token"=>"0629acc03e30a8b205e57471e8237f9f7d06e5c3a538a803cb6e6d86936755b7", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624683541597507000217'), "application_id"=>BSON::ObjectId('5bb624683541597507000215'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624683541597507000216'), "token"=>"0629acc03e30a8b205e57471e8237f9f7d06e5c3a538a803cb6e6d86936755b7", "expires_in"=>7200, "scopes"=>"public"}) Completed 200 OK in 5ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c2f37f929755153c20818d921651369c1d5423035fcf96a36fa4748b9d95667f", :_id=>{:$ne=>BSON::ObjectId('5bb624683541597507000218')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624683541597507000218'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 253", "uid"=>"c2f37f929755153c20818d921651369c1d5423035fcf96a36fa4748b9d95667f", "secret"=>"c42714f063f69f43abd222db308c896917a0a7452eadff5bc3ddf2a90e6d66a2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624683541597507000218'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 253", "uid"=>"c2f37f929755153c20818d921651369c1d5423035fcf96a36fa4748b9d95667f", "secret"=>"c42714f063f69f43abd222db308c896917a0a7452eadff5bc3ddf2a90e6d66a2", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624683541597507000219'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624683541597507000219'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=c2f37f929755153c20818d921651369c1d5423035fcf96a36fa4748b9d95667f&client_secret=[FILTERED]&username&password&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"c2f37f929755153c20818d921651369c1d5423035fcf96a36fa4748b9d95667f", "client_secret"=>"[FILTERED]", "username"=>nil, "password"=>nil, "scope"=>nil, "grant_type"=>"password"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c2f37f929755153c20818d921651369c1d5423035fcf96a36fa4748b9d95667f"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>nil, :password=>nil}).limit(-1) Completed 401 Unauthorized in 3ms MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5ed8f1f53c83073a9eb0864ade4f7623231af9cb238ded4c3404e8d83cab3cdc", :_id=>{:$ne=>BSON::ObjectId('5bb62468354159750700021a')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62468354159750700021a'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 254", "uid"=>"5ed8f1f53c83073a9eb0864ade4f7623231af9cb238ded4c3404e8d83cab3cdc", "secret"=>"aa5d6ec3852ec363fc80746f8a32e5353dc5d8fcff61189a5bce73224f5106da", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62468354159750700021a'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 254", "uid"=>"5ed8f1f53c83073a9eb0864ade4f7623231af9cb238ded4c3404e8d83cab3cdc", "secret"=>"aa5d6ec3852ec363fc80746f8a32e5353dc5d8fcff61189a5bce73224f5106da", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb62468354159750700021b'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb62468354159750700021b'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=5ed8f1f53c83073a9eb0864ade4f7623231af9cb238ded4c3404e8d83cab3cdc&client_secret=[FILTERED]&username=Joe&password=wrongpassword&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"5ed8f1f53c83073a9eb0864ade4f7623231af9cb238ded4c3404e8d83cab3cdc", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"wrongpassword", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5ed8f1f53c83073a9eb0864ade4f7623231af9cb238ded4c3404e8d83cab3cdc"}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"wrongpassword"}).limit(-1) Completed 401 Unauthorized in 2ms MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"dc8d53ff605805662dd171ce1e7abf830ae19cd0397f389d1917fe696c67a5c8", :_id=>{:$ne=>BSON::ObjectId('5bb62468354159750700021c')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62468354159750700021c'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 255", "uid"=>"dc8d53ff605805662dd171ce1e7abf830ae19cd0397f389d1917fe696c67a5c8", "secret"=>"36f4958dcc90b3cc94ee865291cc3c394e788bfb50112c0f4726095fae514828", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62468354159750700021c'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 255", "uid"=>"dc8d53ff605805662dd171ce1e7abf830ae19cd0397f389d1917fe696c67a5c8", "secret"=>"36f4958dcc90b3cc94ee865291cc3c394e788bfb50112c0f4726095fae514828", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb62468354159750700021d'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb62468354159750700021d'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=dc8d53ff605805662dd171ce1e7abf830ae19cd0397f389d1917fe696c67a5c8&client_secret=[FILTERED]&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"dc8d53ff605805662dd171ce1e7abf830ae19cd0397f389d1917fe696c67a5c8", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"dc8d53ff605805662dd171ce1e7abf830ae19cd0397f389d1917fe696c67a5c8"}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) Completed 401 Unauthorized in 3ms MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"909157316c86eb5af7304d218fb352e932ec86f5b195a18422407be2d16c0745", :_id=>{:$ne=>BSON::ObjectId('5bb62468354159750700021e')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62468354159750700021e'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 256", "uid"=>"909157316c86eb5af7304d218fb352e932ec86f5b195a18422407be2d16c0745", "secret"=>"5656e5bb079c274668c4ee7ed7d700df2ae58c727d1ed807031dd79e80c1687e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62468354159750700021e'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 256", "uid"=>"909157316c86eb5af7304d218fb352e932ec86f5b195a18422407be2d16c0745", "secret"=>"5656e5bb079c274668c4ee7ed7d700df2ae58c727d1ed807031dd79e80c1687e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb62468354159750700021f'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb62468354159750700021f'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code&client_id=bad_id&client_secret&username=Joe&password=sekret&scope&grant_type=password" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"bad_id", "client_secret"=>"[FILTERED]", "username"=>"Joe", "password"=>"sekret", "scope"=>nil, "grant_type"=>"password"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"bad_id"}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['users'].find({:name=>"Joe", :password=>"sekret"}).limit(-1) Completed 401 Unauthorized in 2ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Started GET "/oauth/applications/new" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by Doorkeeper::ApplicationsController#new as HTML Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_form.html.erb (2.1ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/new.html.erb within layouts/doorkeeper/admin (2.8ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST "/oauth/applications" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by Doorkeeper::ApplicationsController#create as HTML Parameters: {"utf8"=>"✓", "doorkeeper_application"=>{"name"=>"", "redirect_uri"=>"", "confidential"=>"1", "scopes"=>""}, "commit"=>"Submit"} MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"821aa558787398a9859644bc4c0401b84f8ef7790f6e15eeae2cb52a251b309e", :_id=>{:$ne=>BSON::ObjectId('5bb624683541597507000221')}}, {:_id=>1}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_form.html.erb (2.6ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/new.html.erb within layouts/doorkeeper/admin (2.9ms) Completed 200 OK in 8ms (Views: 5.0ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Started GET "/oauth/applications/new" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by Doorkeeper::ApplicationsController#new as HTML Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_form.html.erb (2.0ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/new.html.erb within layouts/doorkeeper/admin (2.2ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms) Started POST "/oauth/applications" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by Doorkeeper::ApplicationsController#create as HTML Parameters: {"utf8"=>"✓", "doorkeeper_application"=>{"name"=>"My Application", "redirect_uri"=>"https://example.com", "confidential"=>"1", "scopes"=>""}, "commit"=>"Submit"} MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a046257392aed037e433479c0aba06e31862d47b426e7d751861ebfb0531e272", :_id=>{:$ne=>BSON::ObjectId('5bb624683541597507000223')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624683541597507000223'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"My Application", "uid"=>"a046257392aed037e433479c0aba06e31862d47b426e7d751861ebfb0531e272", "secret"=>"5a3523a48e7466ff3f3d4dfb8941b21e88a93c606f5a1c6c71e9f5b4d1551f18", "redirect_uri"=>"https://example.com", "confidential"=>true, "scopes"=>"", "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624683541597507000223'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"My Application", "uid"=>"a046257392aed037e433479c0aba06e31862d47b426e7d751861ebfb0531e272", "secret"=>"5a3523a48e7466ff3f3d4dfb8941b21e88a93c606f5a1c6c71e9f5b4d1551f18", "redirect_uri"=>"https://example.com", "confidential"=>true, "scopes"=>"", "owner_id"=>nil}) Redirected to http://www.example.com/oauth/applications/5bb624683541597507000223 Completed 302 Found in 3ms (ActiveRecord: 0.0ms) Started GET "/oauth/applications/5bb624683541597507000223" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by Doorkeeper::ApplicationsController#show as HTML Parameters: {"id"=>"5bb624683541597507000223"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624683541597507000223')}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (0.4ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/show.html.erb within layouts/doorkeeper/admin (1.4ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.0ms) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"dcbace8d967408909432211cd93598ec84b00772fb532f46e10c20b18b9b4aeb", :_id=>{:$ne=>BSON::ObjectId('5bb624683541597507000224')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624683541597507000224'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 257", "uid"=>"dcbace8d967408909432211cd93598ec84b00772fb532f46e10c20b18b9b4aeb", "secret"=>"7cf244573d7c6a226828cd138186edb398fdb91e2266d467a5e3bd2f80d67fe0", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624683541597507000224'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 257", "uid"=>"dcbace8d967408909432211cd93598ec84b00772fb532f46e10c20b18b9b4aeb", "secret"=>"7cf244573d7c6a226828cd138186edb398fdb91e2266d467a5e3bd2f80d67fe0", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624683541597507000225'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624683541597507000225'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=dcbace8d967408909432211cd93598ec84b00772fb532f46e10c20b18b9b4aeb&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"dcbace8d967408909432211cd93598ec84b00772fb532f46e10c20b18b9b4aeb", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"dcbace8d967408909432211cd93598ec84b00772fb532f46e10c20b18b9b4aeb"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb624683541597507000224'), :resource_owner_id=>BSON::ObjectId('5bb624683541597507000225'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.0ms) Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"dcbace8d967408909432211cd93598ec84b00772fb532f46e10c20b18b9b4aeb", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"", "commit"=>"Authorize"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"dcbace8d967408909432211cd93598ec84b00772fb532f46e10c20b18b9b4aeb"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"dce1c018e65711a5b2ce680c7a3509ebfdbac951cf60a3e735fb1c82bd8a068d", :_id=>{:$ne=>BSON::ObjectId('5bb624683541597507000226')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb624683541597507000226'), "application_id"=>BSON::ObjectId('5bb624683541597507000224'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624683541597507000225'), "token"=>"dce1c018e65711a5b2ce680c7a3509ebfdbac951cf60a3e735fb1c82bd8a068d", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb624683541597507000226'), "application_id"=>BSON::ObjectId('5bb624683541597507000224'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624683541597507000225'), "token"=>"dce1c018e65711a5b2ce680c7a3509ebfdbac951cf60a3e735fb1c82bd8a068d", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=dce1c018e65711a5b2ce680c7a3509ebfdbac951cf60a3e735fb1c82bd8a068d Completed 302 Found in 5ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624683541597507000224')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b143a01b15764f9ba48cf1520676740ed23ab099c3d80cb3fac53f1a4ea1e4b0", :_id=>{:$ne=>BSON::ObjectId('5bb624683541597507000227')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624683541597507000227'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 258", "uid"=>"b143a01b15764f9ba48cf1520676740ed23ab099c3d80cb3fac53f1a4ea1e4b0", "secret"=>"ff7807786d872d78a4c87c1456bf0049f48ef1ab587cfe81c388277d8db6ee20", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624683541597507000227'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 258", "uid"=>"b143a01b15764f9ba48cf1520676740ed23ab099c3d80cb3fac53f1a4ea1e4b0", "secret"=>"ff7807786d872d78a4c87c1456bf0049f48ef1ab587cfe81c388277d8db6ee20", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624683541597507000228'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624683541597507000228'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b143a01b15764f9ba48cf1520676740ed23ab099c3d80cb3fac53f1a4ea1e4b0", :_id=>{:$ne=>BSON::ObjectId('5bb624683541597507000227')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb624683541597507000227')}, :u=>{"_id"=>BSON::ObjectId('5bb624683541597507000227'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 258", "uid"=>"b143a01b15764f9ba48cf1520676740ed23ab099c3d80cb3fac53f1a4ea1e4b0", "secret"=>"ff7807786d872d78a4c87c1456bf0049f48ef1ab587cfe81c388277d8db6ee20", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "confidential"=>true, "owner_id"=>nil}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb624683541597507000227')}, {"_id"=>BSON::ObjectId('5bb624683541597507000227'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 258", "uid"=>"b143a01b15764f9ba48cf1520676740ed23ab099c3d80cb3fac53f1a4ea1e4b0", "secret"=>"ff7807786d872d78a4c87c1456bf0049f48ef1ab587cfe81c388277d8db6ee20", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "confidential"=>true, "owner_id"=>nil}) Started GET "/oauth/authorize?client_id=b143a01b15764f9ba48cf1520676740ed23ab099c3d80cb3fac53f1a4ea1e4b0&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&response_type=code" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"b143a01b15764f9ba48cf1520676740ed23ab099c3d80cb3fac53f1a4ea1e4b0", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "response_type"=>"code"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b143a01b15764f9ba48cf1520676740ed23ab099c3d80cb3fac53f1a4ea1e4b0"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb624683541597507000227'), :resource_owner_id=>BSON::ObjectId('5bb624683541597507000228'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.0ms) Completed 200 OK in 6ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"b143a01b15764f9ba48cf1520676740ed23ab099c3d80cb3fac53f1a4ea1e4b0", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "state"=>"", "response_type"=>"code", "scope"=>"", "commit"=>"Authorize"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b143a01b15764f9ba48cf1520676740ed23ab099c3d80cb3fac53f1a4ea1e4b0"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"099f1b9c0a0f25a1b9af1f067eb9dfc7e54c322d0d26693d64ca6a0756ddb932", :_id=>{:$ne=>BSON::ObjectId('5bb624683541597507000229')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb624683541597507000229'), "application_id"=>BSON::ObjectId('5bb624683541597507000227'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624683541597507000228'), "token"=>"099f1b9c0a0f25a1b9af1f067eb9dfc7e54c322d0d26693d64ca6a0756ddb932", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb624683541597507000229'), "application_id"=>BSON::ObjectId('5bb624683541597507000227'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624683541597507000228'), "token"=>"099f1b9c0a0f25a1b9af1f067eb9dfc7e54c322d0d26693d64ca6a0756ddb932", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}) Redirected to http://www.example.com/oauth/authorize/native?code=099f1b9c0a0f25a1b9af1f067eb9dfc7e54c322d0d26693d64ca6a0756ddb932 Completed 302 Found in 6ms (ActiveRecord: 0.0ms) Started GET "/oauth/authorize/native?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by Doorkeeper::AuthorizationsController#show as HTML Parameters: {"code"=>"[FILTERED]"} MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/show.html.erb within layouts/doorkeeper/application (1.1ms) Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624683541597507000227')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"59df258132fdde2545e2163285fcf55bb8753fca3ab74daac1828faae0c3c8de", :_id=>{:$ne=>BSON::ObjectId('5bb62468354159750700022a')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62468354159750700022a'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 259", "uid"=>"59df258132fdde2545e2163285fcf55bb8753fca3ab74daac1828faae0c3c8de", "secret"=>"fbb71fc0bf5ac80ebbfeeda6e0304e5c056db3b51234a04462f4bee80c301fcf", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62468354159750700022a'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 259", "uid"=>"59df258132fdde2545e2163285fcf55bb8753fca3ab74daac1828faae0c3c8de", "secret"=>"fbb71fc0bf5ac80ebbfeeda6e0304e5c056db3b51234a04462f4bee80c301fcf", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb62468354159750700022b'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb62468354159750700022b'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=59df258132fdde2545e2163285fcf55bb8753fca3ab74daac1828faae0c3c8de&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"59df258132fdde2545e2163285fcf55bb8753fca3ab74daac1828faae0c3c8de", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"59df258132fdde2545e2163285fcf55bb8753fca3ab74daac1828faae0c3c8de"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb62468354159750700022a'), :resource_owner_id=>BSON::ObjectId('5bb62468354159750700022b'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.3ms) Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"59df258132fdde2545e2163285fcf55bb8753fca3ab74daac1828faae0c3c8de", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"", "commit"=>"Authorize"} MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"59df258132fdde2545e2163285fcf55bb8753fca3ab74daac1828faae0c3c8de"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"dad7218382e36d08808c1da2b6e0752c1e88f0a233dba9d6bf678e7ffa87bef4", :_id=>{:$ne=>BSON::ObjectId('5bb62468354159750700022c')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb62468354159750700022c'), "application_id"=>BSON::ObjectId('5bb62468354159750700022a'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62468354159750700022b'), "token"=>"dad7218382e36d08808c1da2b6e0752c1e88f0a233dba9d6bf678e7ffa87bef4", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb62468354159750700022c'), "application_id"=>BSON::ObjectId('5bb62468354159750700022a'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62468354159750700022b'), "token"=>"dad7218382e36d08808c1da2b6e0752c1e88f0a233dba9d6bf678e7ffa87bef4", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=dad7218382e36d08808c1da2b6e0752c1e88f0a233dba9d6bf678e7ffa87bef4 Completed 302 Found in 6ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) Started POST "/oauth/token?code=[FILTERED]&client_id=59df258132fdde2545e2163285fcf55bb8753fca3ab74daac1828faae0c3c8de&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"59df258132fdde2545e2163285fcf55bb8753fca3ab74daac1828faae0c3c8de", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"dad7218382e36d08808c1da2b6e0752c1e88f0a233dba9d6bf678e7ffa87bef4"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"59df258132fdde2545e2163285fcf55bb8753fca3ab74daac1828faae0c3c8de"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb62468354159750700022c')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb62468354159750700022c')}, :u=>{"_id"=>BSON::ObjectId('5bb62468354159750700022c'), "application_id"=>BSON::ObjectId('5bb62468354159750700022a'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62468354159750700022b'), "token"=>"dad7218382e36d08808c1da2b6e0752c1e88f0a233dba9d6bf678e7ffa87bef4", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb62468354159750700022c')}, {"_id"=>BSON::ObjectId('5bb62468354159750700022c'), "application_id"=>BSON::ObjectId('5bb62468354159750700022a'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62468354159750700022b'), "token"=>"dad7218382e36d08808c1da2b6e0752c1e88f0a233dba9d6bf678e7ffa87bef4", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb62468354159750700022a')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb62468354159750700022a')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"66a32ac403c9196c827abd92f1f4ec86f23c4bacb48be2d60c3732eac678aa95", :_id=>{:$ne=>BSON::ObjectId('5bb62468354159750700022d')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62468354159750700022d'), "application_id"=>BSON::ObjectId('5bb62468354159750700022a'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62468354159750700022b'), "token"=>"66a32ac403c9196c827abd92f1f4ec86f23c4bacb48be2d60c3732eac678aa95", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62468354159750700022d'), "application_id"=>BSON::ObjectId('5bb62468354159750700022a'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62468354159750700022b'), "token"=>"66a32ac403c9196c827abd92f1f4ec86f23c4bacb48be2d60c3732eac678aa95", "expires_in"=>7200, "scopes"=>""}) Completed 200 OK in 7ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb62468354159750700022a')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a008afa26a8a00a04435c21858953edcba2e98036d10fd8c522eef6ecb4df351", :_id=>{:$ne=>BSON::ObjectId('5bb62468354159750700022e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62468354159750700022e'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 260", "uid"=>"a008afa26a8a00a04435c21858953edcba2e98036d10fd8c522eef6ecb4df351", "secret"=>"7c88b4048e543fb34fa6153d583df5e6a50e92544b43642a25bd1e0f5e293dcb", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62468354159750700022e'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 260", "uid"=>"a008afa26a8a00a04435c21858953edcba2e98036d10fd8c522eef6ecb4df351", "secret"=>"7c88b4048e543fb34fa6153d583df5e6a50e92544b43642a25bd1e0f5e293dcb", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb62468354159750700022f'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb62468354159750700022f'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=a008afa26a8a00a04435c21858953edcba2e98036d10fd8c522eef6ecb4df351&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&state=return-me" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"a008afa26a8a00a04435c21858953edcba2e98036d10fd8c522eef6ecb4df351", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "state"=>"return-me"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a008afa26a8a00a04435c21858953edcba2e98036d10fd8c522eef6ecb4df351"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb62468354159750700022e'), :resource_owner_id=>BSON::ObjectId('5bb62468354159750700022f'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (0.9ms) Completed 200 OK in 6ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"a008afa26a8a00a04435c21858953edcba2e98036d10fd8c522eef6ecb4df351", "redirect_uri"=>"https://app.com/callback", "state"=>"return-me", "response_type"=>"code", "scope"=>"", "commit"=>"Authorize"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a008afa26a8a00a04435c21858953edcba2e98036d10fd8c522eef6ecb4df351"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"bf39e9a6f2b6da738b34ef263d7a09ea13a2e2721b9787f0ca954c8cf8bee191", :_id=>{:$ne=>BSON::ObjectId('5bb624683541597507000230')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb624683541597507000230'), "application_id"=>BSON::ObjectId('5bb62468354159750700022e'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62468354159750700022f'), "token"=>"bf39e9a6f2b6da738b34ef263d7a09ea13a2e2721b9787f0ca954c8cf8bee191", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb624683541597507000230'), "application_id"=>BSON::ObjectId('5bb62468354159750700022e'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62468354159750700022f'), "token"=>"bf39e9a6f2b6da738b34ef263d7a09ea13a2e2721b9787f0ca954c8cf8bee191", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=bf39e9a6f2b6da738b34ef263d7a09ea13a2e2721b9787f0ca954c8cf8bee191&state=return-me Completed 302 Found in 4ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]&state=return-me" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]", "state"=>"return-me"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1c471c86bcb066275ed48384cc5fbcc8eadd66fbc56317d46115e3fb9a411851", :_id=>{:$ne=>BSON::ObjectId('5bb624683541597507000231')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624683541597507000231'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 261", "uid"=>"1c471c86bcb066275ed48384cc5fbcc8eadd66fbc56317d46115e3fb9a411851", "secret"=>"50b921ded44800e1346cabffc659f87bca20cfe6f05f6c0f8a39e02cd2189e8f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624683541597507000231'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 261", "uid"=>"1c471c86bcb066275ed48384cc5fbcc8eadd66fbc56317d46115e3fb9a411851", "secret"=>"50b921ded44800e1346cabffc659f87bca20cfe6f05f6c0f8a39e02cd2189e8f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624683541597507000232'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624683541597507000232'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=1c471c86bcb066275ed48384cc5fbcc8eadd66fbc56317d46115e3fb9a411851&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"1c471c86bcb066275ed48384cc5fbcc8eadd66fbc56317d46115e3fb9a411851", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1c471c86bcb066275ed48384cc5fbcc8eadd66fbc56317d46115e3fb9a411851"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb624683541597507000231'), :resource_owner_id=>BSON::ObjectId('5bb624683541597507000232'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.0ms) Completed 200 OK in 6ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"1c471c86bcb066275ed48384cc5fbcc8eadd66fbc56317d46115e3fb9a411851", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public", "commit"=>"Authorize"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1c471c86bcb066275ed48384cc5fbcc8eadd66fbc56317d46115e3fb9a411851"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"94e32367afd7b133bd45b98dc2941b462d41a2b19d4a44f575c2bbf8a6ec4e03", :_id=>{:$ne=>BSON::ObjectId('5bb624683541597507000233')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb624683541597507000233'), "application_id"=>BSON::ObjectId('5bb624683541597507000231'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624683541597507000232'), "token"=>"94e32367afd7b133bd45b98dc2941b462d41a2b19d4a44f575c2bbf8a6ec4e03", "scopes"=>"public", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb624683541597507000233'), "application_id"=>BSON::ObjectId('5bb624683541597507000231'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624683541597507000232'), "token"=>"94e32367afd7b133bd45b98dc2941b462d41a2b19d4a44f575c2bbf8a6ec4e03", "scopes"=>"public", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=94e32367afd7b133bd45b98dc2941b462d41a2b19d4a44f575c2bbf8a6ec4e03 Completed 302 Found in 5ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624683541597507000231')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"efd831971e8c69fa3124d163a202cd2b0b462cb86c5c61b5c32b1848b5a37e2f", :_id=>{:$ne=>BSON::ObjectId('5bb624683541597507000234')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624683541597507000234'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 262", "uid"=>"efd831971e8c69fa3124d163a202cd2b0b462cb86c5c61b5c32b1848b5a37e2f", "secret"=>"0fcb7f3de0c8754f1e05f4c2829b8191fc99ff59b2f1db427736a11e1752a141", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624683541597507000234'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 262", "uid"=>"efd831971e8c69fa3124d163a202cd2b0b462cb86c5c61b5c32b1848b5a37e2f", "secret"=>"0fcb7f3de0c8754f1e05f4c2829b8191fc99ff59b2f1db427736a11e1752a141", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624683541597507000235'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624683541597507000235'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=efd831971e8c69fa3124d163a202cd2b0b462cb86c5c61b5c32b1848b5a37e2f&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=write" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"efd831971e8c69fa3124d163a202cd2b0b462cb86c5c61b5c32b1848b5a37e2f", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"write"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"efd831971e8c69fa3124d163a202cd2b0b462cb86c5c61b5c32b1848b5a37e2f"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb624683541597507000234'), :resource_owner_id=>BSON::ObjectId('5bb624683541597507000235'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (0.9ms) Completed 200 OK in 6ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"efd831971e8c69fa3124d163a202cd2b0b462cb86c5c61b5c32b1848b5a37e2f", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"write", "commit"=>"Authorize"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"efd831971e8c69fa3124d163a202cd2b0b462cb86c5c61b5c32b1848b5a37e2f"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"39e85447a1d9149f7c94cbbed7b1acb37e6e6fbc1e3ca87df1051f1a05cd1bf3", :_id=>{:$ne=>BSON::ObjectId('5bb624683541597507000236')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb624683541597507000236'), "application_id"=>BSON::ObjectId('5bb624683541597507000234'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624683541597507000235'), "token"=>"39e85447a1d9149f7c94cbbed7b1acb37e6e6fbc1e3ca87df1051f1a05cd1bf3", "scopes"=>"write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb624683541597507000236'), "application_id"=>BSON::ObjectId('5bb624683541597507000234'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624683541597507000235'), "token"=>"39e85447a1d9149f7c94cbbed7b1acb37e6e6fbc1e3ca87df1051f1a05cd1bf3", "scopes"=>"write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=39e85447a1d9149f7c94cbbed7b1acb37e6e6fbc1e3ca87df1051f1a05cd1bf3 Completed 302 Found in 5ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ca2f180aef4db217184ac7d2c55b34517ddc94e8571f2258f10dd832fa19b960", :_id=>{:$ne=>BSON::ObjectId('5bb624683541597507000237')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624683541597507000237'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 263", "uid"=>"ca2f180aef4db217184ac7d2c55b34517ddc94e8571f2258f10dd832fa19b960", "secret"=>"68c3d3a86cee7ffde959469adecd916be997220941d7e9a6b597c2d42b1cbd74", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624683541597507000237'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Application 263", "uid"=>"ca2f180aef4db217184ac7d2c55b34517ddc94e8571f2258f10dd832fa19b960", "secret"=>"68c3d3a86cee7ffde959469adecd916be997220941d7e9a6b597c2d42b1cbd74", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624683541597507000238'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624683541597507000238'), "created_at"=>2018-10-04 14:32:08 UTC, "updated_at"=>2018-10-04 14:32:08 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:32:08 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:09 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=ca2f180aef4db217184ac7d2c55b34517ddc94e8571f2258f10dd832fa19b960&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public+write" for 127.0.0.1 at 2018-10-04 17:32:09 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"ca2f180aef4db217184ac7d2c55b34517ddc94e8571f2258f10dd832fa19b960", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public write"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ca2f180aef4db217184ac7d2c55b34517ddc94e8571f2258f10dd832fa19b960"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb624683541597507000237'), :resource_owner_id=>BSON::ObjectId('5bb624683541597507000238'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.0ms) Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:32:09 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"ca2f180aef4db217184ac7d2c55b34517ddc94e8571f2258f10dd832fa19b960", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public write", "commit"=>"Authorize"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ca2f180aef4db217184ac7d2c55b34517ddc94e8571f2258f10dd832fa19b960"}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"db96729754bc593c9137080040b66d1e3e73b379740521825b1a0d4218fcd673", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000239')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000239'), "application_id"=>BSON::ObjectId('5bb624683541597507000237'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624683541597507000238'), "token"=>"db96729754bc593c9137080040b66d1e3e73b379740521825b1a0d4218fcd673", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000239'), "application_id"=>BSON::ObjectId('5bb624683541597507000237'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624683541597507000238'), "token"=>"db96729754bc593c9137080040b66d1e3e73b379740521825b1a0d4218fcd673", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=db96729754bc593c9137080040b66d1e3e73b379740521825b1a0d4218fcd673 Completed 302 Found in 5ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:32:09 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) Started POST "/oauth/token?code=[FILTERED]&client_id=ca2f180aef4db217184ac7d2c55b34517ddc94e8571f2258f10dd832fa19b960&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:32:09 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"ca2f180aef4db217184ac7d2c55b34517ddc94e8571f2258f10dd832fa19b960", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"db96729754bc593c9137080040b66d1e3e73b379740521825b1a0d4218fcd673"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ca2f180aef4db217184ac7d2c55b34517ddc94e8571f2258f10dd832fa19b960"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb624693541597507000239')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb624693541597507000239')}, :u=>{"_id"=>BSON::ObjectId('5bb624693541597507000239'), "application_id"=>BSON::ObjectId('5bb624683541597507000237'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624683541597507000238'), "token"=>"db96729754bc593c9137080040b66d1e3e73b379740521825b1a0d4218fcd673", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb624693541597507000239')}, {"_id"=>BSON::ObjectId('5bb624693541597507000239'), "application_id"=>BSON::ObjectId('5bb624683541597507000237'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624683541597507000238'), "token"=>"db96729754bc593c9137080040b66d1e3e73b379740521825b1a0d4218fcd673", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624683541597507000237')}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624683541597507000237')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"af3beb8c4e025aa3769af10534ed7b852ea3d7fdc495bd0a293422fc8bba3412", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700023a')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62469354159750700023a'), "application_id"=>BSON::ObjectId('5bb624683541597507000237'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624683541597507000238'), "token"=>"af3beb8c4e025aa3769af10534ed7b852ea3d7fdc495bd0a293422fc8bba3412", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62469354159750700023a'), "application_id"=>BSON::ObjectId('5bb624683541597507000237'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624683541597507000238'), "token"=>"af3beb8c4e025aa3769af10534ed7b852ea3d7fdc495bd0a293422fc8bba3412", "expires_in"=>7200, "scopes"=>"public write"}) Completed 200 OK in 8ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624683541597507000237')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b5d779c3a916b86e799b9c8867e94ee483efdf0aa87d9710f275c876b06efa8b", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700023b')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62469354159750700023b'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 264", "uid"=>"b5d779c3a916b86e799b9c8867e94ee483efdf0aa87d9710f275c876b06efa8b", "secret"=>"3c15af86435038d75e1d0c4c432b329f101b6aa00ddb7cf5c33480826da71dde", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62469354159750700023b'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 264", "uid"=>"b5d779c3a916b86e799b9c8867e94ee483efdf0aa87d9710f275c876b06efa8b", "secret"=>"3c15af86435038d75e1d0c4c432b329f101b6aa00ddb7cf5c33480826da71dde", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb62469354159750700023c'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb62469354159750700023c'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:09 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:32:09 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:09 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"ca4b8a2f611f6a3cb3e982f79ebb50e29a310f2e97efe478f950734043b09f17", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700023d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62469354159750700023d'), "application_id"=>BSON::ObjectId('5bb62469354159750700023b'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62469354159750700023c'), "token"=>"ca4b8a2f611f6a3cb3e982f79ebb50e29a310f2e97efe478f950734043b09f17", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62469354159750700023d'), "application_id"=>BSON::ObjectId('5bb62469354159750700023b'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62469354159750700023c'), "token"=>"ca4b8a2f611f6a3cb3e982f79ebb50e29a310f2e97efe478f950734043b09f17", "expires_in"=>7200, "scopes"=>"public"}) Started GET "/oauth/authorize?client_id=b5d779c3a916b86e799b9c8867e94ee483efdf0aa87d9710f275c876b06efa8b&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public+write" for 127.0.0.1 at 2018-10-04 17:32:09 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"b5d779c3a916b86e799b9c8867e94ee483efdf0aa87d9710f275c876b06efa8b", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public write"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b5d779c3a916b86e799b9c8867e94ee483efdf0aa87d9710f275c876b06efa8b"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb62469354159750700023b'), :resource_owner_id=>BSON::ObjectId('5bb62469354159750700023c'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.5ms) Completed 200 OK in 8ms (Views: 3.0ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:32:09 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"b5d779c3a916b86e799b9c8867e94ee483efdf0aa87d9710f275c876b06efa8b", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public write", "commit"=>"Authorize"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b5d779c3a916b86e799b9c8867e94ee483efdf0aa87d9710f275c876b06efa8b"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"de3ff473c6a350b56c10947abc7b43ecc1676a4440cf9503e2b76e45a457b0a6", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700023e')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb62469354159750700023e'), "application_id"=>BSON::ObjectId('5bb62469354159750700023b'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62469354159750700023c'), "token"=>"de3ff473c6a350b56c10947abc7b43ecc1676a4440cf9503e2b76e45a457b0a6", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb62469354159750700023e'), "application_id"=>BSON::ObjectId('5bb62469354159750700023b'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62469354159750700023c'), "token"=>"de3ff473c6a350b56c10947abc7b43ecc1676a4440cf9503e2b76e45a457b0a6", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=de3ff473c6a350b56c10947abc7b43ecc1676a4440cf9503e2b76e45a457b0a6 Completed 302 Found in 4ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:32:09 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) Started POST "/oauth/token?code=[FILTERED]&client_id=b5d779c3a916b86e799b9c8867e94ee483efdf0aa87d9710f275c876b06efa8b&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:32:09 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"b5d779c3a916b86e799b9c8867e94ee483efdf0aa87d9710f275c876b06efa8b", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"de3ff473c6a350b56c10947abc7b43ecc1676a4440cf9503e2b76e45a457b0a6"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b5d779c3a916b86e799b9c8867e94ee483efdf0aa87d9710f275c876b06efa8b"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb62469354159750700023e')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb62469354159750700023e')}, :u=>{"_id"=>BSON::ObjectId('5bb62469354159750700023e'), "application_id"=>BSON::ObjectId('5bb62469354159750700023b'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62469354159750700023c'), "token"=>"de3ff473c6a350b56c10947abc7b43ecc1676a4440cf9503e2b76e45a457b0a6", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb62469354159750700023e')}, {"_id"=>BSON::ObjectId('5bb62469354159750700023e'), "application_id"=>BSON::ObjectId('5bb62469354159750700023b'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62469354159750700023c'), "token"=>"de3ff473c6a350b56c10947abc7b43ecc1676a4440cf9503e2b76e45a457b0a6", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb62469354159750700023b')}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb62469354159750700023b')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"31985b86ea937a81d40000982ad00d2df04fdb8ba5b0d1b9c5a7cd1b37041eba", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700023f')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62469354159750700023f'), "application_id"=>BSON::ObjectId('5bb62469354159750700023b'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62469354159750700023c'), "token"=>"31985b86ea937a81d40000982ad00d2df04fdb8ba5b0d1b9c5a7cd1b37041eba", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62469354159750700023f'), "application_id"=>BSON::ObjectId('5bb62469354159750700023b'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62469354159750700023c'), "token"=>"31985b86ea937a81d40000982ad00d2df04fdb8ba5b0d1b9c5a7cd1b37041eba", "expires_in"=>7200, "scopes"=>"public write"}) Completed 200 OK in 6ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6455ace119e45215772f66275de1d25f86b09d44d3cec41c85bbf171c884d6a0", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000240')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000240'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 265", "uid"=>"6455ace119e45215772f66275de1d25f86b09d44d3cec41c85bbf171c884d6a0", "secret"=>"58c1758f985076b4d0c7a41738ffb0799f789684ab01c665dcba69c6e4aed050", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000240'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 265", "uid"=>"6455ace119e45215772f66275de1d25f86b09d44d3cec41c85bbf171c884d6a0", "secret"=>"58c1758f985076b4d0c7a41738ffb0799f789684ab01c665dcba69c6e4aed050", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000241'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000241'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:09 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:32:09 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:09 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms) Started GET "/oauth/authorize?client_id=6455ace119e45215772f66275de1d25f86b09d44d3cec41c85bbf171c884d6a0&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public+write" for 127.0.0.1 at 2018-10-04 17:32:09 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"6455ace119e45215772f66275de1d25f86b09d44d3cec41c85bbf171c884d6a0", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public write"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6455ace119e45215772f66275de1d25f86b09d44d3cec41c85bbf171c884d6a0"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb624693541597507000240'), :resource_owner_id=>BSON::ObjectId('5bb624693541597507000241'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.0ms) Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:32:09 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"6455ace119e45215772f66275de1d25f86b09d44d3cec41c85bbf171c884d6a0", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public write", "commit"=>"Authorize"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"6455ace119e45215772f66275de1d25f86b09d44d3cec41c85bbf171c884d6a0"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"aca8233ce05356b759c0bc6887bf66e45f890115fdfbec89a3722e5c203f2a49", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000242')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000242'), "application_id"=>BSON::ObjectId('5bb624693541597507000240'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624693541597507000241'), "token"=>"aca8233ce05356b759c0bc6887bf66e45f890115fdfbec89a3722e5c203f2a49", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000242'), "application_id"=>BSON::ObjectId('5bb624693541597507000240'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624693541597507000241'), "token"=>"aca8233ce05356b759c0bc6887bf66e45f890115fdfbec89a3722e5c203f2a49", "scopes"=>"public write", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=aca8233ce05356b759c0bc6887bf66e45f890115fdfbec89a3722e5c203f2a49 Completed 302 Found in 5ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:32:09 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5fa23cac90988ef0e050cf0f92bdb46b025b325f70f51bd5e106410409919139", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000243')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000243'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 266", "uid"=>"5fa23cac90988ef0e050cf0f92bdb46b025b325f70f51bd5e106410409919139", "secret"=>"8d5ae9d42e074c532de31c2b0005e383dce9b1c36857be9f2d13cd99fa0b1ae9", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000243'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 266", "uid"=>"5fa23cac90988ef0e050cf0f92bdb46b025b325f70f51bd5e106410409919139", "secret"=>"8d5ae9d42e074c532de31c2b0005e383dce9b1c36857be9f2d13cd99fa0b1ae9", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000244'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000244'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:09 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2018-10-04 17:32:09 +0300 Processing by HomeController#sign_in as HTML MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) Redirected to http://www.example.com/ Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2018-10-04 17:32:09 +0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e7168b0c73357c80dafcdcb9fec9e1fc0405ab27d4a5dd498fe873e8e023babd", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000245')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000245'), "application_id"=>BSON::ObjectId('5bb624693541597507000243'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624693541597507000244'), "token"=>"e7168b0c73357c80dafcdcb9fec9e1fc0405ab27d4a5dd498fe873e8e023babd", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000245'), "application_id"=>BSON::ObjectId('5bb624693541597507000243'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624693541597507000244'), "token"=>"e7168b0c73357c80dafcdcb9fec9e1fc0405ab27d4a5dd498fe873e8e023babd", "expires_in"=>7200, "scopes"=>"public write"}) Started GET "/oauth/authorize?client_id=5fa23cac90988ef0e050cf0f92bdb46b025b325f70f51bd5e106410409919139&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&response_type=code&scope=public" for 127.0.0.1 at 2018-10-04 17:32:09 +0300 Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"5fa23cac90988ef0e050cf0f92bdb46b025b325f70f51bd5e106410409919139", "redirect_uri"=>"https://app.com/callback", "response_type"=>"code", "scope"=>"public"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5fa23cac90988ef0e050cf0f92bdb46b025b325f70f51bd5e106410409919139"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb624693541597507000243'), :resource_owner_id=>BSON::ObjectId('5bb624693541597507000244'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/new.html.erb within layouts/doorkeeper/application (1.0ms) Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started POST "/oauth/authorize" for 127.0.0.1 at 2018-10-04 17:32:09 +0300 Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"utf8"=>"✓", "client_id"=>"5fa23cac90988ef0e050cf0f92bdb46b025b325f70f51bd5e106410409919139", "redirect_uri"=>"https://app.com/callback", "state"=>"", "response_type"=>"code", "scope"=>"public", "commit"=>"Authorize"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5fa23cac90988ef0e050cf0f92bdb46b025b325f70f51bd5e106410409919139"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"4332f498d06ca9c96f53b1b30ce1f9b717b8ad7ece6bd14084ef9cab6f385d91", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000246')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000246'), "application_id"=>BSON::ObjectId('5bb624693541597507000243'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624693541597507000244'), "token"=>"4332f498d06ca9c96f53b1b30ce1f9b717b8ad7ece6bd14084ef9cab6f385d91", "scopes"=>"public", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000246'), "application_id"=>BSON::ObjectId('5bb624693541597507000243'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624693541597507000244'), "token"=>"4332f498d06ca9c96f53b1b30ce1f9b717b8ad7ece6bd14084ef9cab6f385d91", "scopes"=>"public", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback"}) Redirected to https://app.com/callback?code=4332f498d06ca9c96f53b1b30ce1f9b717b8ad7ece6bd14084ef9cab6f385d91 Completed 302 Found in 5ms (ActiveRecord: 0.0ms) Started GET "/callback?code=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:32:09 +0300 Processing by HomeController#callback as HTML Parameters: {"code"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) Started POST "/oauth/token?code=[FILTERED]&client_id=5fa23cac90988ef0e050cf0f92bdb46b025b325f70f51bd5e106410409919139&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:32:09 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"5fa23cac90988ef0e050cf0f92bdb46b025b325f70f51bd5e106410409919139", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"4332f498d06ca9c96f53b1b30ce1f9b717b8ad7ece6bd14084ef9cab6f385d91"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5fa23cac90988ef0e050cf0f92bdb46b025b325f70f51bd5e106410409919139"}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb624693541597507000246')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb624693541597507000246')}, :u=>{"_id"=>BSON::ObjectId('5bb624693541597507000246'), "application_id"=>BSON::ObjectId('5bb624693541597507000243'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624693541597507000244'), "token"=>"4332f498d06ca9c96f53b1b30ce1f9b717b8ad7ece6bd14084ef9cab6f385d91", "scopes"=>"public", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb624693541597507000246')}, {"_id"=>BSON::ObjectId('5bb624693541597507000246'), "application_id"=>BSON::ObjectId('5bb624693541597507000243'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624693541597507000244'), "token"=>"4332f498d06ca9c96f53b1b30ce1f9b717b8ad7ece6bd14084ef9cab6f385d91", "scopes"=>"public", "expires_in"=>600, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624693541597507000243')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624693541597507000243')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"b704ee3f11a70f4260f53b8eae482532d6af190a676e176e038f14463e793a06", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000247')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000247'), "application_id"=>BSON::ObjectId('5bb624693541597507000243'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624693541597507000244'), "token"=>"b704ee3f11a70f4260f53b8eae482532d6af190a676e176e038f14463e793a06", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000247'), "application_id"=>BSON::ObjectId('5bb624693541597507000243'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624693541597507000244'), "token"=>"b704ee3f11a70f4260f53b8eae482532d6af190a676e176e038f14463e793a06", "expires_in"=>7200, "scopes"=>"public"}) Completed 200 OK in 7ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"bdb79c0bb85dfc6bad3927955fa73b1208220d9c7eb915ba5b7bd4cd70542d12", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000249')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000249'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 267", "uid"=>"bdb79c0bb85dfc6bad3927955fa73b1208220d9c7eb915ba5b7bd4cd70542d12", "secret"=>"7fb095c188c96538b9923c39c3885c1e571c4c21b695c2ebf32f25dd0549044e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000249'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 267", "uid"=>"bdb79c0bb85dfc6bad3927955fa73b1208220d9c7eb915ba5b7bd4cd70542d12", "secret"=>"7fb095c188c96538b9923c39c3885c1e571c4c21b695c2ebf32f25dd0549044e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e6129b10bac95718fa0be0a1546af3b1d529e6e64746b7f1b76a10c43b898fd0", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000248')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"850c0bd7ba3fc3233cd5ad3cdc438730ef0743ebc7fea518614f7f17b64662b7", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000248')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000248'), "application_id"=>BSON::ObjectId('5bb624693541597507000249'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>53, "token"=>"e6129b10bac95718fa0be0a1546af3b1d529e6e64746b7f1b76a10c43b898fd0", "refresh_token"=>"850c0bd7ba3fc3233cd5ad3cdc438730ef0743ebc7fea518614f7f17b64662b7", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000248'), "application_id"=>BSON::ObjectId('5bb624693541597507000249'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>53, "token"=>"e6129b10bac95718fa0be0a1546af3b1d529e6e64746b7f1b76a10c43b898fd0", "refresh_token"=>"850c0bd7ba3fc3233cd5ad3cdc438730ef0743ebc7fea518614f7f17b64662b7", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"bdb79c0bb85dfc6bad3927955fa73b1208220d9c7eb915ba5b7bd4cd70542d12"}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb624693541597507000248')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb624693541597507000248')}, :u=>{"_id"=>BSON::ObjectId('5bb624693541597507000248'), "application_id"=>BSON::ObjectId('5bb624693541597507000249'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>53, "token"=>"e6129b10bac95718fa0be0a1546af3b1d529e6e64746b7f1b76a10c43b898fd0", "refresh_token"=>"850c0bd7ba3fc3233cd5ad3cdc438730ef0743ebc7fea518614f7f17b64662b7", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb624693541597507000248')}, {"_id"=>BSON::ObjectId('5bb624693541597507000248'), "application_id"=>BSON::ObjectId('5bb624693541597507000249'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>53, "token"=>"e6129b10bac95718fa0be0a1546af3b1d529e6e64746b7f1b76a10c43b898fd0", "refresh_token"=>"850c0bd7ba3fc3233cd5ad3cdc438730ef0743ebc7fea518614f7f17b64662b7", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624693541597507000249')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"ab74d7b5ca33a5d72b1b7a81ce2c114ae872563b7b4793ec65b8315a615854c8", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700024a')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"e619839cc4b054891ddc5cfe3e98e2745935bc90e060816bc4f17923761e1a2c", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700024a')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62469354159750700024a'), "application_id"=>BSON::ObjectId('5bb624693541597507000249'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>53, "token"=>"ab74d7b5ca33a5d72b1b7a81ce2c114ae872563b7b4793ec65b8315a615854c8", "refresh_token"=>"e619839cc4b054891ddc5cfe3e98e2745935bc90e060816bc4f17923761e1a2c", "expires_in"=>120, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62469354159750700024a'), "application_id"=>BSON::ObjectId('5bb624693541597507000249'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>53, "token"=>"ab74d7b5ca33a5d72b1b7a81ce2c114ae872563b7b4793ec65b8315a615854c8", "refresh_token"=>"e619839cc4b054891ddc5cfe3e98e2745935bc90e060816bc4f17923761e1a2c", "expires_in"=>120, "scopes"=>""}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e31c445072600adfe4c6e836e2a9a1997c54fc7a3b9e54e02352554c3f4e60c5", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700024c')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62469354159750700024c'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 268", "uid"=>"e31c445072600adfe4c6e836e2a9a1997c54fc7a3b9e54e02352554c3f4e60c5", "secret"=>"2b63fd1d699de5ddf4c90f2bb4d3772ff59580879ed5ae62850494f57ac034af", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62469354159750700024c'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 268", "uid"=>"e31c445072600adfe4c6e836e2a9a1997c54fc7a3b9e54e02352554c3f4e60c5", "secret"=>"2b63fd1d699de5ddf4c90f2bb4d3772ff59580879ed5ae62850494f57ac034af", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f4d9221f40148de5e09c114ffe40d77800c994c20ebf713ec11f91431e2695a7", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700024b')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"b0e1fe83a6f107fa129cbb3b1b6fd85faa40b311dc87fdb3db10133138783577", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700024b')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62469354159750700024b'), "application_id"=>BSON::ObjectId('5bb62469354159750700024c'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>54, "token"=>"f4d9221f40148de5e09c114ffe40d77800c994c20ebf713ec11f91431e2695a7", "refresh_token"=>"b0e1fe83a6f107fa129cbb3b1b6fd85faa40b311dc87fdb3db10133138783577", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62469354159750700024b'), "application_id"=>BSON::ObjectId('5bb62469354159750700024c'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>54, "token"=>"f4d9221f40148de5e09c114ffe40d77800c994c20ebf713ec11f91431e2695a7", "refresh_token"=>"b0e1fe83a6f107fa129cbb3b1b6fd85faa40b311dc87fdb3db10133138783577", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb62469354159750700024b')}, :u=>{"_id"=>BSON::ObjectId('5bb62469354159750700024b'), "application_id"=>BSON::ObjectId('5bb62469354159750700024c'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>54, "token"=>"f4d9221f40148de5e09c114ffe40d77800c994c20ebf713ec11f91431e2695a7", "refresh_token"=>"b0e1fe83a6f107fa129cbb3b1b6fd85faa40b311dc87fdb3db10133138783577", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb62469354159750700024b')}, {"_id"=>BSON::ObjectId('5bb62469354159750700024b'), "application_id"=>BSON::ObjectId('5bb62469354159750700024c'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>54, "token"=>"f4d9221f40148de5e09c114ffe40d77800c994c20ebf713ec11f91431e2695a7", "refresh_token"=>"b0e1fe83a6f107fa129cbb3b1b6fd85faa40b311dc87fdb3db10133138783577", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e31c445072600adfe4c6e836e2a9a1997c54fc7a3b9e54e02352554c3f4e60c5"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3cb50759294821b57185fa22913809d516e666758b17be01aa87690a66e47be8", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700024e')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62469354159750700024e'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 269", "uid"=>"3cb50759294821b57185fa22913809d516e666758b17be01aa87690a66e47be8", "secret"=>"60075a4a8a9634370e61fc28fce2ba7e52766d3173f45c18fb53cc8aeead48c1", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62469354159750700024e'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 269", "uid"=>"3cb50759294821b57185fa22913809d516e666758b17be01aa87690a66e47be8", "secret"=>"60075a4a8a9634370e61fc28fce2ba7e52766d3173f45c18fb53cc8aeead48c1", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"dc4b853fd02e35939d5ab9898274071df398ffdc0bdae194f445f9487ef8c663", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700024d')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"6847931c60d2a19ab2c29136078348bea50223af21fdd4d96745481004a2b799", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700024d')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62469354159750700024d'), "application_id"=>BSON::ObjectId('5bb62469354159750700024e'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>55, "token"=>"dc4b853fd02e35939d5ab9898274071df398ffdc0bdae194f445f9487ef8c663", "refresh_token"=>"6847931c60d2a19ab2c29136078348bea50223af21fdd4d96745481004a2b799", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62469354159750700024d'), "application_id"=>BSON::ObjectId('5bb62469354159750700024e'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>55, "token"=>"dc4b853fd02e35939d5ab9898274071df398ffdc0bdae194f445f9487ef8c663", "refresh_token"=>"6847931c60d2a19ab2c29136078348bea50223af21fdd4d96745481004a2b799", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3cb50759294821b57185fa22913809d516e666758b17be01aa87690a66e47be8"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d7be3c60496dbd390734297cbe52cd2c8a7fd4ef7c172ded7885b2705f8571d4", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000250')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000250'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 270", "uid"=>"d7be3c60496dbd390734297cbe52cd2c8a7fd4ef7c172ded7885b2705f8571d4", "secret"=>"0a0c78dbd61bbb1c335946a67e6f12952ab33d6758d98c86586c7a41679c063c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000250'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 270", "uid"=>"d7be3c60496dbd390734297cbe52cd2c8a7fd4ef7c172ded7885b2705f8571d4", "secret"=>"0a0c78dbd61bbb1c335946a67e6f12952ab33d6758d98c86586c7a41679c063c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f4fdcc8ea73b4d58e517a8dccac3f3e771fd58f1099be6a1d9168a7907d48132", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700024f')}}, {:_id=>1}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"2b0a4443475285aa3f987f5512f84182fb2052570c2aea95e4e87b42522f3988", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700024f')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62469354159750700024f'), "application_id"=>BSON::ObjectId('5bb624693541597507000250'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>56, "token"=>"f4fdcc8ea73b4d58e517a8dccac3f3e771fd58f1099be6a1d9168a7907d48132", "refresh_token"=>"2b0a4443475285aa3f987f5512f84182fb2052570c2aea95e4e87b42522f3988", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62469354159750700024f'), "application_id"=>BSON::ObjectId('5bb624693541597507000250'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>56, "token"=>"f4fdcc8ea73b4d58e517a8dccac3f3e771fd58f1099be6a1d9168a7907d48132", "refresh_token"=>"2b0a4443475285aa3f987f5512f84182fb2052570c2aea95e4e87b42522f3988", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f4fdcc8ea73b4d58e517a8dccac3f3e771fd58f1099be6a1d9168a7907d48132", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700024f')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"2b0a4443475285aa3f987f5512f84182fb2052570c2aea95e4e87b42522f3988", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700024f')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb62469354159750700024f')}, :u=>{"_id"=>BSON::ObjectId('5bb62469354159750700024f'), "application_id"=>BSON::ObjectId('5bb624693541597507000250'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>56, "token"=>"f4fdcc8ea73b4d58e517a8dccac3f3e771fd58f1099be6a1d9168a7907d48132", "refresh_token"=>"2b0a4443475285aa3f987f5512f84182fb2052570c2aea95e4e87b42522f3988", "expires_in"=>-1}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb62469354159750700024f')}, {"_id"=>BSON::ObjectId('5bb62469354159750700024f'), "application_id"=>BSON::ObjectId('5bb624693541597507000250'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>56, "token"=>"f4fdcc8ea73b4d58e517a8dccac3f3e771fd58f1099be6a1d9168a7907d48132", "refresh_token"=>"2b0a4443475285aa3f987f5512f84182fb2052570c2aea95e4e87b42522f3988", "expires_in"=>-1}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d7be3c60496dbd390734297cbe52cd2c8a7fd4ef7c172ded7885b2705f8571d4"}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8899952610ac62d84ad63f2855a7a00a27df12e1ecdd2c4a1eda2264f9234b8a", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000252')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000252'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 271", "uid"=>"8899952610ac62d84ad63f2855a7a00a27df12e1ecdd2c4a1eda2264f9234b8a", "secret"=>"003d29fabfcb9ff4a550e4f20e9ee6688fb1594593ff7ea8df80ef556cb73aed", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000252'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 271", "uid"=>"8899952610ac62d84ad63f2855a7a00a27df12e1ecdd2c4a1eda2264f9234b8a", "secret"=>"003d29fabfcb9ff4a550e4f20e9ee6688fb1594593ff7ea8df80ef556cb73aed", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"037cae2e63b8511bde856886f73579775ca4de41ac7ab5c34169c41ff6d0a3ef", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000251')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"8c39e0f43402e87a3d48943cb918fd9c28fc0d1609c2fb8de6edbf04eaccc38e", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000251')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000251'), "application_id"=>BSON::ObjectId('5bb624693541597507000252'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>57, "token"=>"037cae2e63b8511bde856886f73579775ca4de41ac7ab5c34169c41ff6d0a3ef", "refresh_token"=>"8c39e0f43402e87a3d48943cb918fd9c28fc0d1609c2fb8de6edbf04eaccc38e", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000251'), "application_id"=>BSON::ObjectId('5bb624693541597507000252'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>57, "token"=>"037cae2e63b8511bde856886f73579775ca4de41ac7ab5c34169c41ff6d0a3ef", "refresh_token"=>"8c39e0f43402e87a3d48943cb918fd9c28fc0d1609c2fb8de6edbf04eaccc38e", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8899952610ac62d84ad63f2855a7a00a27df12e1ecdd2c4a1eda2264f9234b8a"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb624693541597507000251')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb624693541597507000251')}, :u=>{"_id"=>BSON::ObjectId('5bb624693541597507000251'), "application_id"=>BSON::ObjectId('5bb624693541597507000252'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>57, "token"=>"037cae2e63b8511bde856886f73579775ca4de41ac7ab5c34169c41ff6d0a3ef", "refresh_token"=>"8c39e0f43402e87a3d48943cb918fd9c28fc0d1609c2fb8de6edbf04eaccc38e", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb624693541597507000251')}, {"_id"=>BSON::ObjectId('5bb624693541597507000251'), "application_id"=>BSON::ObjectId('5bb624693541597507000252'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>57, "token"=>"037cae2e63b8511bde856886f73579775ca4de41ac7ab5c34169c41ff6d0a3ef", "refresh_token"=>"8c39e0f43402e87a3d48943cb918fd9c28fc0d1609c2fb8de6edbf04eaccc38e", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624693541597507000252')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"7ad806911e7913c8ed3fe83e63a5ec4d2b9b1ca7177538017569f92d8c475977", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000253')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"01cead3aa713e9ea7953d0cd29a4f72891053494681696bea12eed4758ecf59e", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000253')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000253'), "application_id"=>BSON::ObjectId('5bb624693541597507000252'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>57, "token"=>"7ad806911e7913c8ed3fe83e63a5ec4d2b9b1ca7177538017569f92d8c475977", "refresh_token"=>"01cead3aa713e9ea7953d0cd29a4f72891053494681696bea12eed4758ecf59e", "expires_in"=>1234, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000253'), "application_id"=>BSON::ObjectId('5bb624693541597507000252'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>57, "token"=>"7ad806911e7913c8ed3fe83e63a5ec4d2b9b1ca7177538017569f92d8c475977", "refresh_token"=>"01cead3aa713e9ea7953d0cd29a4f72891053494681696bea12eed4758ecf59e", "expires_in"=>1234, "scopes"=>""}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624693541597507000252')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb624693541597507000252')}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"04c3e297545c55b994989e827aa0e47ccb61ac8f3694e1264bce58fc4b36d6c1", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000255')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000255'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 272", "uid"=>"04c3e297545c55b994989e827aa0e47ccb61ac8f3694e1264bce58fc4b36d6c1", "secret"=>"d2e7ef9d812e80b08174096e81935fbd12a5ee344884acfec9a9d12f93822e24", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000255'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 272", "uid"=>"04c3e297545c55b994989e827aa0e47ccb61ac8f3694e1264bce58fc4b36d6c1", "secret"=>"d2e7ef9d812e80b08174096e81935fbd12a5ee344884acfec9a9d12f93822e24", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"58375a516736756eb939f8fd351d96dc418fafff44d416170cf2084c927bbd75", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000254')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"2e3a1c7b6c79ba09acff2b60a22687f20749de7695df6f28b3008fc52dc48dd7", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000254')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000254'), "application_id"=>BSON::ObjectId('5bb624693541597507000255'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>58, "token"=>"58375a516736756eb939f8fd351d96dc418fafff44d416170cf2084c927bbd75", "refresh_token"=>"2e3a1c7b6c79ba09acff2b60a22687f20749de7695df6f28b3008fc52dc48dd7", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000254'), "application_id"=>BSON::ObjectId('5bb624693541597507000255'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>58, "token"=>"58375a516736756eb939f8fd351d96dc418fafff44d416170cf2084c927bbd75", "refresh_token"=>"2e3a1c7b6c79ba09acff2b60a22687f20749de7695df6f28b3008fc52dc48dd7", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"04c3e297545c55b994989e827aa0e47ccb61ac8f3694e1264bce58fc4b36d6c1"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"44df0843894f492a089c8b24451b3914013db6a7f912361722af8cb9bdff3960", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000257')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000257'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 273", "uid"=>"44df0843894f492a089c8b24451b3914013db6a7f912361722af8cb9bdff3960", "secret"=>"f06299668e0f4ef7ef0e45c02d164b1b5f16ab3e936aad8d5bd7e6490ef7a24f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000257'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 273", "uid"=>"44df0843894f492a089c8b24451b3914013db6a7f912361722af8cb9bdff3960", "secret"=>"f06299668e0f4ef7ef0e45c02d164b1b5f16ab3e936aad8d5bd7e6490ef7a24f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"54e5053f63ee3c839fb59258de1aa164dc3a916c1ced92a59ac9971565212fe2", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000256')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"d6c28f8fb825e1bd1c987b5c4b12601af577ac835257df4f07fab520ba4291ad", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000256')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000256'), "application_id"=>BSON::ObjectId('5bb624693541597507000257'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>59, "token"=>"54e5053f63ee3c839fb59258de1aa164dc3a916c1ced92a59ac9971565212fe2", "refresh_token"=>"d6c28f8fb825e1bd1c987b5c4b12601af577ac835257df4f07fab520ba4291ad", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000256'), "application_id"=>BSON::ObjectId('5bb624693541597507000257'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>59, "token"=>"54e5053f63ee3c839fb59258de1aa164dc3a916c1ced92a59ac9971565212fe2", "refresh_token"=>"d6c28f8fb825e1bd1c987b5c4b12601af577ac835257df4f07fab520ba4291ad", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"44df0843894f492a089c8b24451b3914013db6a7f912361722af8cb9bdff3960"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"ed3c7a7c6ca963300b0b16bf64e87193437bde3e83f3f4342474c514371384ac", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000258')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000258'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 274", "uid"=>"ed3c7a7c6ca963300b0b16bf64e87193437bde3e83f3f4342474c514371384ac", "secret"=>"1b8e3a35ec0567dedcc0a4ec0e32dd1997d549fd818a4f606b5fc82dcef0e3c9", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000258'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 274", "uid"=>"ed3c7a7c6ca963300b0b16bf64e87193437bde3e83f3f4342474c514371384ac", "secret"=>"1b8e3a35ec0567dedcc0a4ec0e32dd1997d549fd818a4f606b5fc82dcef0e3c9", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c02b72598e7ce2715baa62b17d7a09a6f34af87e3a7c0347669e3d5bbc3531be", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700025a')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62469354159750700025a'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 275", "uid"=>"c02b72598e7ce2715baa62b17d7a09a6f34af87e3a7c0347669e3d5bbc3531be", "secret"=>"0f27c5830abe68ab8834c8fca8f12fb5814afe494f4f5b8b51f159395012e8c3", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62469354159750700025a'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 275", "uid"=>"c02b72598e7ce2715baa62b17d7a09a6f34af87e3a7c0347669e3d5bbc3531be", "secret"=>"0f27c5830abe68ab8834c8fca8f12fb5814afe494f4f5b8b51f159395012e8c3", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"3a735c2dcfa9255d6fa6e11e3686f3ed052daeb8d827d9948359a24a3438b855", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000259')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"4df47ab48f2607c828bd6e43a9c289f8c2139ab8718687a5a96206d3a1461080", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000259')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000259'), "application_id"=>BSON::ObjectId('5bb62469354159750700025a'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>60, "token"=>"3a735c2dcfa9255d6fa6e11e3686f3ed052daeb8d827d9948359a24a3438b855", "refresh_token"=>"4df47ab48f2607c828bd6e43a9c289f8c2139ab8718687a5a96206d3a1461080", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000259'), "application_id"=>BSON::ObjectId('5bb62469354159750700025a'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>60, "token"=>"3a735c2dcfa9255d6fa6e11e3686f3ed052daeb8d827d9948359a24a3438b855", "refresh_token"=>"4df47ab48f2607c828bd6e43a9c289f8c2139ab8718687a5a96206d3a1461080", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c02b72598e7ce2715baa62b17d7a09a6f34af87e3a7c0347669e3d5bbc3531be"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb624693541597507000259')}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb624693541597507000259')}, :u=>{"_id"=>BSON::ObjectId('5bb624693541597507000259'), "application_id"=>BSON::ObjectId('5bb62469354159750700025a'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>60, "token"=>"3a735c2dcfa9255d6fa6e11e3686f3ed052daeb8d827d9948359a24a3438b855", "refresh_token"=>"4df47ab48f2607c828bd6e43a9c289f8c2139ab8718687a5a96206d3a1461080", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb624693541597507000259')}, {"_id"=>BSON::ObjectId('5bb624693541597507000259'), "application_id"=>BSON::ObjectId('5bb62469354159750700025a'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>60, "token"=>"3a735c2dcfa9255d6fa6e11e3686f3ed052daeb8d827d9948359a24a3438b855", "refresh_token"=>"4df47ab48f2607c828bd6e43a9c289f8c2139ab8718687a5a96206d3a1461080", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb62469354159750700025a')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"8f9b09b3a50adc713e5a9b77063727eb9bf5690bec54b5811f42b9406ecab04f", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700025b')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"e6db7330a66c0b37b62db84f3af4cf4cb536535109510ae706b0847fb45b02d6", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700025b')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62469354159750700025b'), "application_id"=>BSON::ObjectId('5bb62469354159750700025a'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>60, "token"=>"8f9b09b3a50adc713e5a9b77063727eb9bf5690bec54b5811f42b9406ecab04f", "refresh_token"=>"e6db7330a66c0b37b62db84f3af4cf4cb536535109510ae706b0847fb45b02d6", "expires_in"=>120, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62469354159750700025b'), "application_id"=>BSON::ObjectId('5bb62469354159750700025a'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>60, "token"=>"8f9b09b3a50adc713e5a9b77063727eb9bf5690bec54b5811f42b9406ecab04f", "refresh_token"=>"e6db7330a66c0b37b62db84f3af4cf4cb536535109510ae706b0847fb45b02d6", "expires_in"=>120, "scopes"=>""}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"937e23b4a118d248b75ca0a52a58772f3fb1c9827a3b48f83e1fdfa80c0a6d3e", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700025d')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62469354159750700025d'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 276", "uid"=>"937e23b4a118d248b75ca0a52a58772f3fb1c9827a3b48f83e1fdfa80c0a6d3e", "secret"=>"afe708fe74b81007800b766089e24367d0821001f8f07682f9eb17feb3e04fd6", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62469354159750700025d'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 276", "uid"=>"937e23b4a118d248b75ca0a52a58772f3fb1c9827a3b48f83e1fdfa80c0a6d3e", "secret"=>"afe708fe74b81007800b766089e24367d0821001f8f07682f9eb17feb3e04fd6", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"de6689a3812bdd9648ee7d5339a9b72cc9692826e0616d04e7db1d6994fc10de", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700025c')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"9f92e7eedce08b4d97da0d67755f6970a99f98e8d778679fa1c27d6fd416d010", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700025c')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62469354159750700025c'), "application_id"=>BSON::ObjectId('5bb62469354159750700025d'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>61, "token"=>"de6689a3812bdd9648ee7d5339a9b72cc9692826e0616d04e7db1d6994fc10de", "refresh_token"=>"9f92e7eedce08b4d97da0d67755f6970a99f98e8d778679fa1c27d6fd416d010", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62469354159750700025c'), "application_id"=>BSON::ObjectId('5bb62469354159750700025d'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>61, "token"=>"de6689a3812bdd9648ee7d5339a9b72cc9692826e0616d04e7db1d6994fc10de", "refresh_token"=>"9f92e7eedce08b4d97da0d67755f6970a99f98e8d778679fa1c27d6fd416d010", "expires_in"=>7200}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb62469354159750700025d')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{:application_id=>BSON::ObjectId('5bb62469354159750700025d')}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"937e23b4a118d248b75ca0a52a58772f3fb1c9827a3b48f83e1fdfa80c0a6d3e"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb62469354159750700025c')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb62469354159750700025c')}, :u=>{"_id"=>BSON::ObjectId('5bb62469354159750700025c'), "application_id"=>BSON::ObjectId('5bb62469354159750700025d'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>61, "token"=>"de6689a3812bdd9648ee7d5339a9b72cc9692826e0616d04e7db1d6994fc10de", "refresh_token"=>"9f92e7eedce08b4d97da0d67755f6970a99f98e8d778679fa1c27d6fd416d010", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb62469354159750700025c')}, {"_id"=>BSON::ObjectId('5bb62469354159750700025c'), "application_id"=>BSON::ObjectId('5bb62469354159750700025d'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>61, "token"=>"de6689a3812bdd9648ee7d5339a9b72cc9692826e0616d04e7db1d6994fc10de", "refresh_token"=>"9f92e7eedce08b4d97da0d67755f6970a99f98e8d778679fa1c27d6fd416d010", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb62469354159750700025d')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"128ebea2c1dc8fc4ff63682de4d91b3320d7c8928b9bcc659c361d6408efd9be", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700025e')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"33222bfbf296c03c741b0219e1b8357d2869823102af1ef1accb3657cc723256", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700025e')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62469354159750700025e'), "application_id"=>BSON::ObjectId('5bb62469354159750700025d'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>61, "token"=>"128ebea2c1dc8fc4ff63682de4d91b3320d7c8928b9bcc659c361d6408efd9be", "refresh_token"=>"33222bfbf296c03c741b0219e1b8357d2869823102af1ef1accb3657cc723256", "expires_in"=>120, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62469354159750700025e'), "application_id"=>BSON::ObjectId('5bb62469354159750700025d'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>61, "token"=>"128ebea2c1dc8fc4ff63682de4d91b3320d7c8928b9bcc659c361d6408efd9be", "refresh_token"=>"33222bfbf296c03c741b0219e1b8357d2869823102af1ef1accb3657cc723256", "expires_in"=>120, "scopes"=>""}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb62469354159750700025d')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{:application_id=>BSON::ObjectId('5bb62469354159750700025d')}, "fields"=>nil}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb62469354159750700025d')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb62469354159750700025d')}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c45b02b991b2bce6d4840befca60d7a7add17d227df8bf68c592e9acf880433b", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000260')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000260'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 277", "uid"=>"c45b02b991b2bce6d4840befca60d7a7add17d227df8bf68c592e9acf880433b", "secret"=>"e77275f5973a8e229c099d060c6eb74cd1add4aa9c83f8df49708a04186aadc4", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000260'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 277", "uid"=>"c45b02b991b2bce6d4840befca60d7a7add17d227df8bf68c592e9acf880433b", "secret"=>"e77275f5973a8e229c099d060c6eb74cd1add4aa9c83f8df49708a04186aadc4", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"10a0e5f728bb7af3a40cdb54abd774b16737f846bfd56b18be99d23cbc263b88", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700025f')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"e8dc2acde21906c1664b1cabaa386efe11cd513f952c03a56b9992b50737a778", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700025f')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62469354159750700025f'), "application_id"=>BSON::ObjectId('5bb624693541597507000260'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>62, "token"=>"10a0e5f728bb7af3a40cdb54abd774b16737f846bfd56b18be99d23cbc263b88", "refresh_token"=>"e8dc2acde21906c1664b1cabaa386efe11cd513f952c03a56b9992b50737a778", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62469354159750700025f'), "application_id"=>BSON::ObjectId('5bb624693541597507000260'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>62, "token"=>"10a0e5f728bb7af3a40cdb54abd774b16737f846bfd56b18be99d23cbc263b88", "refresh_token"=>"e8dc2acde21906c1664b1cabaa386efe11cd513f952c03a56b9992b50737a778", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c45b02b991b2bce6d4840befca60d7a7add17d227df8bf68c592e9acf880433b"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb62469354159750700025f')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624693541597507000260')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"38f0eb74e1fcf2f9ca0d38cd4df9e0497276bf7d4e616325f3417aab6fb016a0", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000261')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"d5af6089e42897e54b68d686e56fbaf8794bba4d959aee5e51bc10e32ebbb339", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000261')}}, {:_id=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000261'), "application_id"=>BSON::ObjectId('5bb624693541597507000260'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>62, "token"=>"38f0eb74e1fcf2f9ca0d38cd4df9e0497276bf7d4e616325f3417aab6fb016a0", "refresh_token"=>"d5af6089e42897e54b68d686e56fbaf8794bba4d959aee5e51bc10e32ebbb339", "previous_refresh_token"=>"e8dc2acde21906c1664b1cabaa386efe11cd513f952c03a56b9992b50737a778", "expires_in"=>1234, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000261'), "application_id"=>BSON::ObjectId('5bb624693541597507000260'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>62, "token"=>"38f0eb74e1fcf2f9ca0d38cd4df9e0497276bf7d4e616325f3417aab6fb016a0", "refresh_token"=>"d5af6089e42897e54b68d686e56fbaf8794bba4d959aee5e51bc10e32ebbb339", "previous_refresh_token"=>"e8dc2acde21906c1664b1cabaa386efe11cd513f952c03a56b9992b50737a778", "expires_in"=>1234, "scopes"=>""}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624693541597507000260')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb624693541597507000260')}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2db31cc6f913b4bb0221759b6c1cf17ea6d314f71a18ff3a28cf167a840d7368", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000263')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000263'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 278", "uid"=>"2db31cc6f913b4bb0221759b6c1cf17ea6d314f71a18ff3a28cf167a840d7368", "secret"=>"12bfb5a22cfef39132168528304b95abc4fa5316537e075e54ff6fd66cf4d865", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000263'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 278", "uid"=>"2db31cc6f913b4bb0221759b6c1cf17ea6d314f71a18ff3a28cf167a840d7368", "secret"=>"12bfb5a22cfef39132168528304b95abc4fa5316537e075e54ff6fd66cf4d865", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f1741eff9283c5b3945c78091d52ee629efc26918dffd8ae708b11dbcd92d9f8", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000262')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"ea3c72acff11ab00be0ad7e4be3f34a12f35bbd3d9bfe24ef7f36c453961d6c4", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000262')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000262'), "application_id"=>BSON::ObjectId('5bb624693541597507000263'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>63, "token"=>"f1741eff9283c5b3945c78091d52ee629efc26918dffd8ae708b11dbcd92d9f8", "refresh_token"=>"ea3c72acff11ab00be0ad7e4be3f34a12f35bbd3d9bfe24ef7f36c453961d6c4", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000262'), "application_id"=>BSON::ObjectId('5bb624693541597507000263'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>63, "token"=>"f1741eff9283c5b3945c78091d52ee629efc26918dffd8ae708b11dbcd92d9f8", "refresh_token"=>"ea3c72acff11ab00be0ad7e4be3f34a12f35bbd3d9bfe24ef7f36c453961d6c4", "expires_in"=>7200}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624693541597507000263')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{:application_id=>BSON::ObjectId('5bb624693541597507000263')}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2db31cc6f913b4bb0221759b6c1cf17ea6d314f71a18ff3a28cf167a840d7368"}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb624693541597507000262')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624693541597507000263')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"bf98ea3f4bfca8b5663287ea7ddd186326bcb4f46b346c2c5e149e120e13d10b", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000264')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"0da3116c59d67232c6aa1a8cd54ee7348f442afb6803776ffebc807a7c2da81c", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000264')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000264'), "application_id"=>BSON::ObjectId('5bb624693541597507000263'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>63, "token"=>"bf98ea3f4bfca8b5663287ea7ddd186326bcb4f46b346c2c5e149e120e13d10b", "refresh_token"=>"0da3116c59d67232c6aa1a8cd54ee7348f442afb6803776ffebc807a7c2da81c", "previous_refresh_token"=>"ea3c72acff11ab00be0ad7e4be3f34a12f35bbd3d9bfe24ef7f36c453961d6c4", "expires_in"=>1234, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000264'), "application_id"=>BSON::ObjectId('5bb624693541597507000263'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>63, "token"=>"bf98ea3f4bfca8b5663287ea7ddd186326bcb4f46b346c2c5e149e120e13d10b", "refresh_token"=>"0da3116c59d67232c6aa1a8cd54ee7348f442afb6803776ffebc807a7c2da81c", "previous_refresh_token"=>"ea3c72acff11ab00be0ad7e4be3f34a12f35bbd3d9bfe24ef7f36c453961d6c4", "expires_in"=>1234, "scopes"=>""}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624693541597507000263')}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{:application_id=>BSON::ObjectId('5bb624693541597507000263')}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b1851e95ad11551a40ca51a0ef097c96a73118edfc8cc8a0c6e1190b7902a776", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000266')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000266'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 279", "uid"=>"b1851e95ad11551a40ca51a0ef097c96a73118edfc8cc8a0c6e1190b7902a776", "secret"=>"b4385215227f3f117624c19b45837de0ba7aa4ea0be1dbaaa15e179cceeab436", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000266'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 279", "uid"=>"b1851e95ad11551a40ca51a0ef097c96a73118edfc8cc8a0c6e1190b7902a776", "secret"=>"b4385215227f3f117624c19b45837de0ba7aa4ea0be1dbaaa15e179cceeab436", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"113d48f3ce5a5140fa968bd00d3761df38f179300b13aeaee376ca13e2141a6d", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000265')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"4c8b2bc35be62ef82a5230bcdcd401c094c53f9eef2114c53ba49050bd0f194a", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000265')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000265'), "application_id"=>BSON::ObjectId('5bb624693541597507000266'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>64, "token"=>"113d48f3ce5a5140fa968bd00d3761df38f179300b13aeaee376ca13e2141a6d", "refresh_token"=>"4c8b2bc35be62ef82a5230bcdcd401c094c53f9eef2114c53ba49050bd0f194a", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000265'), "application_id"=>BSON::ObjectId('5bb624693541597507000266'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>64, "token"=>"113d48f3ce5a5140fa968bd00d3761df38f179300b13aeaee376ca13e2141a6d", "refresh_token"=>"4c8b2bc35be62ef82a5230bcdcd401c094c53f9eef2114c53ba49050bd0f194a", "expires_in"=>7200}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b1851e95ad11551a40ca51a0ef097c96a73118edfc8cc8a0c6e1190b7902a776"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb624693541597507000265')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624693541597507000266')}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"bbd0beec66deef91bab6966b47992d2d18a1b664b28763670bc7ab769905065f", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000267')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"86acaa13928e7f8ad93c9b18353b2949275ab52fa6e3ba3bd2bb94c576408ffc", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000267')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000267'), "application_id"=>BSON::ObjectId('5bb624693541597507000266'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>64, "token"=>"bbd0beec66deef91bab6966b47992d2d18a1b664b28763670bc7ab769905065f", "refresh_token"=>"86acaa13928e7f8ad93c9b18353b2949275ab52fa6e3ba3bd2bb94c576408ffc", "previous_refresh_token"=>"4c8b2bc35be62ef82a5230bcdcd401c094c53f9eef2114c53ba49050bd0f194a", "expires_in"=>1234, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000267'), "application_id"=>BSON::ObjectId('5bb624693541597507000266'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>64, "token"=>"bbd0beec66deef91bab6966b47992d2d18a1b664b28763670bc7ab769905065f", "refresh_token"=>"86acaa13928e7f8ad93c9b18353b2949275ab52fa6e3ba3bd2bb94c576408ffc", "previous_refresh_token"=>"4c8b2bc35be62ef82a5230bcdcd401c094c53f9eef2114c53ba49050bd0f194a", "expires_in"=>1234, "scopes"=>""}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"93ff55c573c5490ad8b51bad2848531572f6792120f39d6d65e9fa8255374180", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000269')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000269'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 280", "uid"=>"93ff55c573c5490ad8b51bad2848531572f6792120f39d6d65e9fa8255374180", "secret"=>"ae630cf774c9f0c140e01eab13da01d4438450add8c7ed2593cc75202fab08be", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000269'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 280", "uid"=>"93ff55c573c5490ad8b51bad2848531572f6792120f39d6d65e9fa8255374180", "secret"=>"ae630cf774c9f0c140e01eab13da01d4438450add8c7ed2593cc75202fab08be", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"049d817fee1d37e177bd804760616bd07885c9c763d20aedb35740164ae1e080", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000268')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"2646d2c73619db7415cb742c444eefc5f0ae3fcb9ff002c288bfc7321cebb5f4", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000268')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000268'), "application_id"=>BSON::ObjectId('5bb624693541597507000269'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>65, "token"=>"049d817fee1d37e177bd804760616bd07885c9c763d20aedb35740164ae1e080", "refresh_token"=>"2646d2c73619db7415cb742c444eefc5f0ae3fcb9ff002c288bfc7321cebb5f4", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000268'), "application_id"=>BSON::ObjectId('5bb624693541597507000269'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>65, "token"=>"049d817fee1d37e177bd804760616bd07885c9c763d20aedb35740164ae1e080", "refresh_token"=>"2646d2c73619db7415cb742c444eefc5f0ae3fcb9ff002c288bfc7321cebb5f4", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"93ff55c573c5490ad8b51bad2848531572f6792120f39d6d65e9fa8255374180"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb624693541597507000268')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb624693541597507000268')}, :u=>{"_id"=>BSON::ObjectId('5bb624693541597507000268'), "application_id"=>BSON::ObjectId('5bb624693541597507000269'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>65, "token"=>"049d817fee1d37e177bd804760616bd07885c9c763d20aedb35740164ae1e080", "refresh_token"=>"2646d2c73619db7415cb742c444eefc5f0ae3fcb9ff002c288bfc7321cebb5f4", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC, "scopes"=>"public write"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb624693541597507000268')}, {"_id"=>BSON::ObjectId('5bb624693541597507000268'), "application_id"=>BSON::ObjectId('5bb624693541597507000269'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>65, "token"=>"049d817fee1d37e177bd804760616bd07885c9c763d20aedb35740164ae1e080", "refresh_token"=>"2646d2c73619db7415cb742c444eefc5f0ae3fcb9ff002c288bfc7321cebb5f4", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC, "scopes"=>"public write"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624693541597507000269')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"5fff2fded5d2132ed67bb23dabb670e021587a65eaf3d00679dbea07009414d0", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700026a')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"81caec2010dad73e08559360e6c742652cf6ec2bda8d8cfe1f0df6e4e9db1e85", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700026a')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62469354159750700026a'), "application_id"=>BSON::ObjectId('5bb624693541597507000269'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>65, "token"=>"5fff2fded5d2132ed67bb23dabb670e021587a65eaf3d00679dbea07009414d0", "refresh_token"=>"81caec2010dad73e08559360e6c742652cf6ec2bda8d8cfe1f0df6e4e9db1e85", "expires_in"=>120, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62469354159750700026a'), "application_id"=>BSON::ObjectId('5bb624693541597507000269'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>65, "token"=>"5fff2fded5d2132ed67bb23dabb670e021587a65eaf3d00679dbea07009414d0", "refresh_token"=>"81caec2010dad73e08559360e6c742652cf6ec2bda8d8cfe1f0df6e4e9db1e85", "expires_in"=>120, "scopes"=>"public"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e62d0237bb28a7d6607a77d14bc785bf16ab21c82c90cacd0769a698c131b5b8", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700026c')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62469354159750700026c'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 281", "uid"=>"e62d0237bb28a7d6607a77d14bc785bf16ab21c82c90cacd0769a698c131b5b8", "secret"=>"c3c9af535a10019c4929c73dc7fea1077dc411c863e550f1a072f6e55da6ffad", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62469354159750700026c'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 281", "uid"=>"e62d0237bb28a7d6607a77d14bc785bf16ab21c82c90cacd0769a698c131b5b8", "secret"=>"c3c9af535a10019c4929c73dc7fea1077dc411c863e550f1a072f6e55da6ffad", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"aa7765db32769191ef5a33a98776999f3c9b6bfd4800dcb7824dc7bc0894e6b0", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700026b')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"c06289f14b07549fec7441a8ddc226d4d4b7cf56202f1b718e12ac33ce82fbd1", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700026b')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62469354159750700026b'), "application_id"=>BSON::ObjectId('5bb62469354159750700026c'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>66, "token"=>"aa7765db32769191ef5a33a98776999f3c9b6bfd4800dcb7824dc7bc0894e6b0", "refresh_token"=>"c06289f14b07549fec7441a8ddc226d4d4b7cf56202f1b718e12ac33ce82fbd1", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62469354159750700026b'), "application_id"=>BSON::ObjectId('5bb62469354159750700026c'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>66, "token"=>"aa7765db32769191ef5a33a98776999f3c9b6bfd4800dcb7824dc7bc0894e6b0", "refresh_token"=>"c06289f14b07549fec7441a8ddc226d4d4b7cf56202f1b718e12ac33ce82fbd1", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e62d0237bb28a7d6607a77d14bc785bf16ab21c82c90cacd0769a698c131b5b8"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb62469354159750700026b')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb62469354159750700026b')}, :u=>{"_id"=>BSON::ObjectId('5bb62469354159750700026b'), "application_id"=>BSON::ObjectId('5bb62469354159750700026c'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>66, "token"=>"aa7765db32769191ef5a33a98776999f3c9b6bfd4800dcb7824dc7bc0894e6b0", "refresh_token"=>"c06289f14b07549fec7441a8ddc226d4d4b7cf56202f1b718e12ac33ce82fbd1", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC, "scopes"=>"public write"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb62469354159750700026b')}, {"_id"=>BSON::ObjectId('5bb62469354159750700026b'), "application_id"=>BSON::ObjectId('5bb62469354159750700026c'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>66, "token"=>"aa7765db32769191ef5a33a98776999f3c9b6bfd4800dcb7824dc7bc0894e6b0", "refresh_token"=>"c06289f14b07549fec7441a8ddc226d4d4b7cf56202f1b718e12ac33ce82fbd1", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC, "scopes"=>"public write"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb62469354159750700026c')}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e9a63dacdbd7841b1743e27c1acfe81ccb038b5a1c4cc7e2011662d87b21ac0a", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700026d')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"39fa3d7c657229099b9386ef8e9b513798750cb4f7f8522d08d91e1085ae0452", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700026d')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62469354159750700026d'), "application_id"=>BSON::ObjectId('5bb62469354159750700026c'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>66, "token"=>"e9a63dacdbd7841b1743e27c1acfe81ccb038b5a1c4cc7e2011662d87b21ac0a", "refresh_token"=>"39fa3d7c657229099b9386ef8e9b513798750cb4f7f8522d08d91e1085ae0452", "expires_in"=>120, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62469354159750700026d'), "application_id"=>BSON::ObjectId('5bb62469354159750700026c'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>66, "token"=>"e9a63dacdbd7841b1743e27c1acfe81ccb038b5a1c4cc7e2011662d87b21ac0a", "refresh_token"=>"39fa3d7c657229099b9386ef8e9b513798750cb4f7f8522d08d91e1085ae0452", "expires_in"=>120, "scopes"=>"public write"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"50fea6aea7844acd672818fc4b1b944ea2518053bc59f1044d5c1e11fd480d5a", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700026f')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62469354159750700026f'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 282", "uid"=>"50fea6aea7844acd672818fc4b1b944ea2518053bc59f1044d5c1e11fd480d5a", "secret"=>"3aaa2ca82fa48d84b3ebbc1ee30063e88f90f199c4f8d6f44c2001f4a1a0c1e7", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62469354159750700026f'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 282", "uid"=>"50fea6aea7844acd672818fc4b1b944ea2518053bc59f1044d5c1e11fd480d5a", "secret"=>"3aaa2ca82fa48d84b3ebbc1ee30063e88f90f199c4f8d6f44c2001f4a1a0c1e7", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"232349e56c7e82f0be43579fffb6e74e0b68f84b5c2dbaa1a81c7b7f9768c287", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700026e')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"d7ffc27ce69787ec89f6d4a7bf610890fa315cc6b00c7d8373727f57484109d8", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700026e')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62469354159750700026e'), "application_id"=>BSON::ObjectId('5bb62469354159750700026f'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>67, "token"=>"232349e56c7e82f0be43579fffb6e74e0b68f84b5c2dbaa1a81c7b7f9768c287", "refresh_token"=>"d7ffc27ce69787ec89f6d4a7bf610890fa315cc6b00c7d8373727f57484109d8", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62469354159750700026e'), "application_id"=>BSON::ObjectId('5bb62469354159750700026f'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>67, "token"=>"232349e56c7e82f0be43579fffb6e74e0b68f84b5c2dbaa1a81c7b7f9768c287", "refresh_token"=>"d7ffc27ce69787ec89f6d4a7bf610890fa315cc6b00c7d8373727f57484109d8", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"50fea6aea7844acd672818fc4b1b944ea2518053bc59f1044d5c1e11fd480d5a"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb62469354159750700026e')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb62469354159750700026e')}, :u=>{"_id"=>BSON::ObjectId('5bb62469354159750700026e'), "application_id"=>BSON::ObjectId('5bb62469354159750700026f'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>67, "token"=>"232349e56c7e82f0be43579fffb6e74e0b68f84b5c2dbaa1a81c7b7f9768c287", "refresh_token"=>"d7ffc27ce69787ec89f6d4a7bf610890fa315cc6b00c7d8373727f57484109d8", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC, "scopes"=>"public write"}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb62469354159750700026e')}, {"_id"=>BSON::ObjectId('5bb62469354159750700026e'), "application_id"=>BSON::ObjectId('5bb62469354159750700026f'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>67, "token"=>"232349e56c7e82f0be43579fffb6e74e0b68f84b5c2dbaa1a81c7b7f9768c287", "refresh_token"=>"d7ffc27ce69787ec89f6d4a7bf610890fa315cc6b00c7d8373727f57484109d8", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC, "scopes"=>"public write"}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb62469354159750700026f')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"60ba828c66bd06e4a9f8524562dda3a6f914e565b8d135aabba97fd54ff9027f", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000270')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"df03faf4b4962c1b99843ae4c7b6a7d8e6c34f4033fc8c66d717874314965ba1", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000270')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000270'), "application_id"=>BSON::ObjectId('5bb62469354159750700026f'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>67, "token"=>"60ba828c66bd06e4a9f8524562dda3a6f914e565b8d135aabba97fd54ff9027f", "refresh_token"=>"df03faf4b4962c1b99843ae4c7b6a7d8e6c34f4033fc8c66d717874314965ba1", "expires_in"=>120, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000270'), "application_id"=>BSON::ObjectId('5bb62469354159750700026f'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>67, "token"=>"60ba828c66bd06e4a9f8524562dda3a6f914e565b8d135aabba97fd54ff9027f", "refresh_token"=>"df03faf4b4962c1b99843ae4c7b6a7d8e6c34f4033fc8c66d717874314965ba1", "expires_in"=>120, "scopes"=>"public"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1).sort([["created_at", -1]]) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"36fb362d577f281072a94768292743d768e0405f8c64e3d2050ea47e87afc350", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000272')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000272'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 283", "uid"=>"36fb362d577f281072a94768292743d768e0405f8c64e3d2050ea47e87afc350", "secret"=>"6fd2f743107e48a37bb874fec02686f596d134ed31b99aaa1addbc9b709b8981", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000272'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 283", "uid"=>"36fb362d577f281072a94768292743d768e0405f8c64e3d2050ea47e87afc350", "secret"=>"6fd2f743107e48a37bb874fec02686f596d134ed31b99aaa1addbc9b709b8981", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"40120848dda899853aadafd8d8853a92371480520679a83c1267496eb2484217", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000271')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"542a42b446d9d0dbb340245667f9365bd1a834a80f52ec8c618881e278b9bc7e", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000271')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000271'), "application_id"=>BSON::ObjectId('5bb624693541597507000272'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>68, "token"=>"40120848dda899853aadafd8d8853a92371480520679a83c1267496eb2484217", "refresh_token"=>"542a42b446d9d0dbb340245667f9365bd1a834a80f52ec8c618881e278b9bc7e", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000271'), "application_id"=>BSON::ObjectId('5bb624693541597507000272'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>68, "token"=>"40120848dda899853aadafd8d8853a92371480520679a83c1267496eb2484217", "refresh_token"=>"542a42b446d9d0dbb340245667f9365bd1a834a80f52ec8c618881e278b9bc7e", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"36fb362d577f281072a94768292743d768e0405f8c64e3d2050ea47e87afc350"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f4d127fbf4d33eea480212e8f222f93e21dc87de816f3f505113799c3eee6e8d", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000274')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000274'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 284", "uid"=>"f4d127fbf4d33eea480212e8f222f93e21dc87de816f3f505113799c3eee6e8d", "secret"=>"f37a3f317a27bde234e9be5e6fe39444b6b7d8855e1074c10a0ad0a4b448d2db", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000274'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 284", "uid"=>"f4d127fbf4d33eea480212e8f222f93e21dc87de816f3f505113799c3eee6e8d", "secret"=>"f37a3f317a27bde234e9be5e6fe39444b6b7d8855e1074c10a0ad0a4b448d2db", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"fa1d102b794adc3288c955ffd182cff1c79fe3fa37bdbd0a0e4918fcaf14c3e3", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000273')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"158f285f13e04de03466c9a4bea78916e4c9f88497579e5e408f6f6505755fde", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000273')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000273'), "application_id"=>BSON::ObjectId('5bb624693541597507000274'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>69, "token"=>"fa1d102b794adc3288c955ffd182cff1c79fe3fa37bdbd0a0e4918fcaf14c3e3", "refresh_token"=>"158f285f13e04de03466c9a4bea78916e4c9f88497579e5e408f6f6505755fde", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000273'), "application_id"=>BSON::ObjectId('5bb624693541597507000274'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>69, "token"=>"fa1d102b794adc3288c955ffd182cff1c79fe3fa37bdbd0a0e4918fcaf14c3e3", "refresh_token"=>"158f285f13e04de03466c9a4bea78916e4c9f88497579e5e408f6f6505755fde", "expires_in"=>7200, "scopes"=>"public write"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f4d127fbf4d33eea480212e8f222f93e21dc87de816f3f505113799c3eee6e8d"}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"7fb6c626149331f093a6250303db5b906e83bac34e87d54b7b5ce24929cf9fad", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000275')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"9c507900468b78f1905dd663c54af78005916f606b7ab02e02f1bb91fa535fc7", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000275')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000275'), "application_id"=>nil, "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>70, "token"=>"7fb6c626149331f093a6250303db5b906e83bac34e87d54b7b5ce24929cf9fad", "refresh_token"=>"9c507900468b78f1905dd663c54af78005916f606b7ab02e02f1bb91fa535fc7", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000275'), "application_id"=>nil, "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>70, "token"=>"7fb6c626149331f093a6250303db5b906e83bac34e87d54b7b5ce24929cf9fad", "refresh_token"=>"9c507900468b78f1905dd663c54af78005916f606b7ab02e02f1bb91fa535fc7", "expires_in"=>7200}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:_id=>BSON::ObjectId('5bb624693541597507000275')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb624693541597507000275')}, :u=>{"_id"=>BSON::ObjectId('5bb624693541597507000275'), "application_id"=>nil, "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>70, "token"=>"7fb6c626149331f093a6250303db5b906e83bac34e87d54b7b5ce24929cf9fad", "refresh_token"=>"9c507900468b78f1905dd663c54af78005916f606b7ab02e02f1bb91fa535fc7", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb624693541597507000275')}, {"_id"=>BSON::ObjectId('5bb624693541597507000275'), "application_id"=>nil, "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>70, "token"=>"7fb6c626149331f093a6250303db5b906e83bac34e87d54b7b5ce24929cf9fad", "refresh_token"=>"9c507900468b78f1905dd663c54af78005916f606b7ab02e02f1bb91fa535fc7", "expires_in"=>7200, "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"0716420f98b2ccdedc6d9a7d4a5ba43b579fd8aa141b83afe867c241069eff81", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000276')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>"1a7e61d645bdf35529fb82753a82367c09012e4323889c496c612846f54e60b0", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000276')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000276'), "application_id"=>nil, "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>70, "token"=>"0716420f98b2ccdedc6d9a7d4a5ba43b579fd8aa141b83afe867c241069eff81", "refresh_token"=>"1a7e61d645bdf35529fb82753a82367c09012e4323889c496c612846f54e60b0", "expires_in"=>120, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000276'), "application_id"=>nil, "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>70, "token"=>"0716420f98b2ccdedc6d9a7d4a5ba43b579fd8aa141b83afe867c241069eff81", "refresh_token"=>"1a7e61d645bdf35529fb82753a82367c09012e4323889c496c612846f54e60b0", "expires_in"=>120, "scopes"=>""}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4212071fec787d9a9f04af397e6cb81065e7d8cf99b9253abcf3a7afdd725fd2", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000277')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000277'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 285", "uid"=>"4212071fec787d9a9f04af397e6cb81065e7d8cf99b9253abcf3a7afdd725fd2", "secret"=>"ed1f3d9499befbe8e69b3cae2957ce5f21d4c77f93d26b455cf94fe30bb27b0e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000277'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 285", "uid"=>"4212071fec787d9a9f04af397e6cb81065e7d8cf99b9253abcf3a7afdd725fd2", "secret"=>"ed1f3d9499befbe8e69b3cae2957ce5f21d4c77f93d26b455cf94fe30bb27b0e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000278'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000278'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"9dbe28cc4da9edcc3cba9ea8cbe5139823b47d2b1ea4e9f5423b3eccb2fd7772", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000279')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000279'), "application_id"=>BSON::ObjectId('5bb624693541597507000277'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624693541597507000278'), "token"=>"9dbe28cc4da9edcc3cba9ea8cbe5139823b47d2b1ea4e9f5423b3eccb2fd7772", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000279'), "application_id"=>BSON::ObjectId('5bb624693541597507000277'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624693541597507000278'), "token"=>"9dbe28cc4da9edcc3cba9ea8cbe5139823b47d2b1ea4e9f5423b3eccb2fd7772", "expires_in"=>7200}) Started GET "/metal.json?access_token=[FILTERED]" for 127.0.0.1 at 2018-10-04 17:32:09 +0300 MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"9dbe28cc4da9edcc3cba9ea8cbe5139823b47d2b1ea4e9f5423b3eccb2fd7772"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:refresh_token=>""}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_tokens", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb624693541597507000279')}, :u=>{"_id"=>BSON::ObjectId('5bb624693541597507000279'), "application_id"=>BSON::ObjectId('5bb624693541597507000277'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624693541597507000278'), "token"=>"9dbe28cc4da9edcc3cba9ea8cbe5139823b47d2b1ea4e9f5423b3eccb2fd7772", "previous_refresh_token"=>"", "expires_in"=>7200}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].update({:_id=>BSON::ObjectId('5bb624693541597507000279')}, {"_id"=>BSON::ObjectId('5bb624693541597507000279'), "application_id"=>BSON::ObjectId('5bb624693541597507000277'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624693541597507000278'), "token"=>"9dbe28cc4da9edcc3cba9ea8cbe5139823b47d2b1ea4e9f5423b3eccb2fd7772", "previous_refresh_token"=>"", "expires_in"=>7200}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"93d3569534d3416279f311f2495477b7c67990c535470f69c338659886d14593", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700027a')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62469354159750700027a'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Oauth Dude", "uid"=>"93d3569534d3416279f311f2495477b7c67990c535470f69c338659886d14593", "secret"=>"d44a7514d5297c3e2fa1ba2cdfcfca274276cd220ad2a1cf897e7968dd5905b3", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62469354159750700027a'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Oauth Dude", "uid"=>"93d3569534d3416279f311f2495477b7c67990c535470f69c338659886d14593", "secret"=>"d44a7514d5297c3e2fa1ba2cdfcfca274276cd220ad2a1cf897e7968dd5905b3", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d02f607b28c4d4ffe7bafb5543e62d4d9d211ff8a0af7660cf7fb9a51523f919", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700027b')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62469354159750700027b'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Awesome App", "uid"=>"d02f607b28c4d4ffe7bafb5543e62d4d9d211ff8a0af7660cf7fb9a51523f919", "secret"=>"24293c09a23e16955c5738134dab99eb41516f3209419b99150c9d707db743e9", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62469354159750700027b'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Awesome App", "uid"=>"d02f607b28c4d4ffe7bafb5543e62d4d9d211ff8a0af7660cf7fb9a51523f919", "secret"=>"24293c09a23e16955c5738134dab99eb41516f3209419b99150c9d707db743e9", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) Started GET "/oauth/applications" for 127.0.0.1 at 2018-10-04 17:32:09 +0300 Processing by Doorkeeper::ApplicationsController#index as HTML MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({}).sort([["created_at", 1]]) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (0.3ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (0.2ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/index.html.erb within layouts/doorkeeper/admin (2.5ms) Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb62469354159750700027c'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb62469354159750700027c'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"842d8ae23078958a47991ba96c4bced33a3f7799b41a348c698c2b5febda5a59", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700027d')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62469354159750700027d'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 286", "uid"=>"842d8ae23078958a47991ba96c4bced33a3f7799b41a348c698c2b5febda5a59", "secret"=>"3c56f6285a123d28a60c0d64189e66ad1d236b1e98d945f35fb8a30c896afc86", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62469354159750700027d'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 286", "uid"=>"842d8ae23078958a47991ba96c4bced33a3f7799b41a348c698c2b5febda5a59", "secret"=>"3c56f6285a123d28a60c0d64189e66ad1d236b1e98d945f35fb8a30c896afc86", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"842d8ae23078958a47991ba96c4bced33a3f7799b41a348c698c2b5febda5a59", "response_type"=>"token", "scope"=>"invalid", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"842d8ae23078958a47991ba96c4bced33a3f7799b41a348c698c2b5febda5a59"}).limit(-1) Redirected to https://app.com/callback#error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed. Completed 302 Found in 2ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb62469354159750700027e'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb62469354159750700027e'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d8c03784b97fb11185c21e8e4e31978b10a798bf4595144f54d98c3d09144036", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700027f')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62469354159750700027f'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 287", "uid"=>"d8c03784b97fb11185c21e8e4e31978b10a798bf4595144f54d98c3d09144036", "secret"=>"010262cabb58d529c3992e7a35ce970047b24db82f2e16ff2c0f98e872008638", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62469354159750700027f'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 287", "uid"=>"d8c03784b97fb11185c21e8e4e31978b10a798bf4595144f54d98c3d09144036", "secret"=>"010262cabb58d529c3992e7a35ce970047b24db82f2e16ff2c0f98e872008638", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"d8c03784b97fb11185c21e8e4e31978b10a798bf4595144f54d98c3d09144036", "response_type"=>"token", "scope"=>"invalid", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"d8c03784b97fb11185c21e8e4e31978b10a798bf4595144f54d98c3d09144036"}).limit(-1) Redirected to https://app.com/callback#error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed. Completed 302 Found in 1ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000280'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000280'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"406e9b35d1bcd0420e0e3cec9487d5a09a3ccf26acd9e69293352b627ba9c85d", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000281')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000281'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 288", "uid"=>"406e9b35d1bcd0420e0e3cec9487d5a09a3ccf26acd9e69293352b627ba9c85d", "secret"=>"6962585dbeea91e791bed4846ec2b4c808119119954335ea26dc23cd3ef07da9", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000281'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 288", "uid"=>"406e9b35d1bcd0420e0e3cec9487d5a09a3ccf26acd9e69293352b627ba9c85d", "secret"=>"6962585dbeea91e791bed4846ec2b4c808119119954335ea26dc23cd3ef07da9", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"406e9b35d1bcd0420e0e3cec9487d5a09a3ccf26acd9e69293352b627ba9c85d", "response_type"=>"token", "scope"=>"invalid", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"406e9b35d1bcd0420e0e3cec9487d5a09a3ccf26acd9e69293352b627ba9c85d"}).limit(-1) Redirected to https://app.com/callback#error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed. Completed 302 Found in 2ms (ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000282'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000282'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"742fb99fb196de534cc21c9d8170b1a555f0e200c56116b5f8e3cabb47ac7bf4", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000283')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000283'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 289", "uid"=>"742fb99fb196de534cc21c9d8170b1a555f0e200c56116b5f8e3cabb47ac7bf4", "secret"=>"fc5e8647de8d038b1b59de8a4f6e4c437e958d2958c3864a342892b474624ce7", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000283'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 289", "uid"=>"742fb99fb196de534cc21c9d8170b1a555f0e200c56116b5f8e3cabb47ac7bf4", "secret"=>"fc5e8647de8d038b1b59de8a4f6e4c437e958d2958c3864a342892b474624ce7", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"742fb99fb196de534cc21c9d8170b1a555f0e200c56116b5f8e3cabb47ac7bf4", "response_type"=>"token", "scope"=>"invalid", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"742fb99fb196de534cc21c9d8170b1a555f0e200c56116b5f8e3cabb47ac7bf4"}).limit(-1) Redirected to https://app.com/callback#error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed. Completed 302 Found in 2ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000284'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000284'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"52c71dc485a010f39152b42691ec89951ed62d6f5deb8bede975cdbc805f072f", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000285')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000285'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 290", "uid"=>"52c71dc485a010f39152b42691ec89951ed62d6f5deb8bede975cdbc805f072f", "secret"=>"bd249cbeb76386e773942a4e856e73e28ea093cc6d6176133e3d14e359a94a93", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000285'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 290", "uid"=>"52c71dc485a010f39152b42691ec89951ed62d6f5deb8bede975cdbc805f072f", "secret"=>"bd249cbeb76386e773942a4e856e73e28ea093cc6d6176133e3d14e359a94a93", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"52c71dc485a010f39152b42691ec89951ed62d6f5deb8bede975cdbc805f072f", "response_type"=>"token", "scope"=>"invalid", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"52c71dc485a010f39152b42691ec89951ed62d6f5deb8bede975cdbc805f072f"}).limit(-1) Redirected to https://app.com/callback#error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed. Completed 302 Found in 2ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000286'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000286'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8fc88493562bec5b5f28fc20c7616772c957cc2f3a6c59b154f2257a08da42bf", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000287')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000287'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 291", "uid"=>"8fc88493562bec5b5f28fc20c7616772c957cc2f3a6c59b154f2257a08da42bf", "secret"=>"085ef27a01d45f4bd423280e3d005598f54c57323565d09760f7771529ce8555", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000287'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 291", "uid"=>"8fc88493562bec5b5f28fc20c7616772c957cc2f3a6c59b154f2257a08da42bf", "secret"=>"085ef27a01d45f4bd423280e3d005598f54c57323565d09760f7771529ce8555", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"8fc88493562bec5b5f28fc20c7616772c957cc2f3a6c59b154f2257a08da42bf", "response_type"=>"token", "scope"=>"invalid", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8fc88493562bec5b5f28fc20c7616772c957cc2f3a6c59b154f2257a08da42bf"}).limit(-1) Redirected to https://app.com/callback#error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed. Completed 302 Found in 2ms (ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000288'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000288'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"an_invalid"=>"request"} MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>""}).limit(-1) Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/error.html.erb within layouts/doorkeeper/application (0.3ms) Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000289'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000289'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"an_invalid"=>"request"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>""}).limit(-1) Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/authorizations/error.html.erb within layouts/doorkeeper/application (0.3ms) Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary. Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb62469354159750700028a'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb62469354159750700028a'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"67f5e83ce2fce648b180890abd9021a37e211d99e966346235876fac76ec2892", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700028b')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62469354159750700028b'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 292", "uid"=>"67f5e83ce2fce648b180890abd9021a37e211d99e966346235876fac76ec2892", "secret"=>"763bd3cfa6d8364193dd0ef551e53594e1876f4a92d8ab1e8a136de8df7509bb", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62469354159750700028b'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 292", "uid"=>"67f5e83ce2fce648b180890abd9021a37e211d99e966346235876fac76ec2892", "secret"=>"763bd3cfa6d8364193dd0ef551e53594e1876f4a92d8ab1e8a136de8df7509bb", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"67f5e83ce2fce648b180890abd9021a37e211d99e966346235876fac76ec2892", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"67f5e83ce2fce648b180890abd9021a37e211d99e966346235876fac76ec2892"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb62469354159750700028b')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"92c61325519f21682a54db753900552a5698631831061dc677d1291f4c11666b", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700028c')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62469354159750700028c'), "application_id"=>BSON::ObjectId('5bb62469354159750700028b'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62469354159750700028a'), "token"=>"92c61325519f21682a54db753900552a5698631831061dc677d1291f4c11666b", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62469354159750700028c'), "application_id"=>BSON::ObjectId('5bb62469354159750700028b'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62469354159750700028a'), "token"=>"92c61325519f21682a54db753900552a5698631831061dc677d1291f4c11666b", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=92c61325519f21682a54db753900552a5698631831061dc677d1291f4c11666b&token_type=Bearer&expires_in=7200 Completed 302 Found in 5ms (ActiveRecord: 0.0ms) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (9.1ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (9.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb62469354159750700028d'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb62469354159750700028d'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7397e528833711b46bc545e6af0f2451f2f01759d5a8145705c7e3a9885638f5", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700028e')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62469354159750700028e'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 293", "uid"=>"7397e528833711b46bc545e6af0f2451f2f01759d5a8145705c7e3a9885638f5", "secret"=>"36854eeb5d5fe27ae290f62a3297a0e66150e67744c5a91c402b6ac9c74c07a0", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62469354159750700028e'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 293", "uid"=>"7397e528833711b46bc545e6af0f2451f2f01759d5a8145705c7e3a9885638f5", "secret"=>"36854eeb5d5fe27ae290f62a3297a0e66150e67744c5a91c402b6ac9c74c07a0", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"7397e528833711b46bc545e6af0f2451f2f01759d5a8145705c7e3a9885638f5", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7397e528833711b46bc545e6af0f2451f2f01759d5a8145705c7e3a9885638f5"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb62469354159750700028e')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"68e7751678cd39d786be8835414f94d1de336746ef7492c808d2e4d3fc9ed5ac", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700028f')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62469354159750700028f'), "application_id"=>BSON::ObjectId('5bb62469354159750700028e'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62469354159750700028d'), "token"=>"68e7751678cd39d786be8835414f94d1de336746ef7492c808d2e4d3fc9ed5ac", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62469354159750700028f'), "application_id"=>BSON::ObjectId('5bb62469354159750700028e'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62469354159750700028d'), "token"=>"68e7751678cd39d786be8835414f94d1de336746ef7492c808d2e4d3fc9ed5ac", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=68e7751678cd39d786be8835414f94d1de336746ef7492c808d2e4d3fc9ed5ac&token_type=Bearer&expires_in=7200 Completed 302 Found in 4ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000290'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000290'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1a9907e5a1a5ec673c1e88326eed2acfb6be7ccdb9a5a98097724ea3fb1d694d", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000291')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000291'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 294", "uid"=>"1a9907e5a1a5ec673c1e88326eed2acfb6be7ccdb9a5a98097724ea3fb1d694d", "secret"=>"637129cd4dacff7169535c32f187a4c2aecdae71907e40c32f7dda1793cdb9f3", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000291'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 294", "uid"=>"1a9907e5a1a5ec673c1e88326eed2acfb6be7ccdb9a5a98097724ea3fb1d694d", "secret"=>"637129cd4dacff7169535c32f187a4c2aecdae71907e40c32f7dda1793cdb9f3", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"1a9907e5a1a5ec673c1e88326eed2acfb6be7ccdb9a5a98097724ea3fb1d694d", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1a9907e5a1a5ec673c1e88326eed2acfb6be7ccdb9a5a98097724ea3fb1d694d"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624693541597507000291')}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"23a8979bf0b02a0ba373c00ea2b918384c007f25c5eaa8417e21bd60d0dad5bf", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000292')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000292'), "application_id"=>BSON::ObjectId('5bb624693541597507000291'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624693541597507000290'), "token"=>"23a8979bf0b02a0ba373c00ea2b918384c007f25c5eaa8417e21bd60d0dad5bf", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000292'), "application_id"=>BSON::ObjectId('5bb624693541597507000291'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624693541597507000290'), "token"=>"23a8979bf0b02a0ba373c00ea2b918384c007f25c5eaa8417e21bd60d0dad5bf", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=23a8979bf0b02a0ba373c00ea2b918384c007f25c5eaa8417e21bd60d0dad5bf&token_type=Bearer&expires_in=7200 Completed 302 Found in 6ms (ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000293'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000293'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4d4b26417a0528dce8268393b64b03a43cd27df8b7210dc3dacf54abc0c60144", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000294')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000294'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 295", "uid"=>"4d4b26417a0528dce8268393b64b03a43cd27df8b7210dc3dacf54abc0c60144", "secret"=>"40758816baa90f1a45482b0de6066fc9fbb3ab9d5a3ce028a3efd297f7af6281", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000294'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 295", "uid"=>"4d4b26417a0528dce8268393b64b03a43cd27df8b7210dc3dacf54abc0c60144", "secret"=>"40758816baa90f1a45482b0de6066fc9fbb3ab9d5a3ce028a3efd297f7af6281", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"4d4b26417a0528dce8268393b64b03a43cd27df8b7210dc3dacf54abc0c60144", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"4d4b26417a0528dce8268393b64b03a43cd27df8b7210dc3dacf54abc0c60144"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624693541597507000294')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"26ae8565ef3aa055161f80d500eaca79c8ee6a57b953d76ac402ef78a1ce1b96", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000295')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000295'), "application_id"=>BSON::ObjectId('5bb624693541597507000294'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624693541597507000293'), "token"=>"26ae8565ef3aa055161f80d500eaca79c8ee6a57b953d76ac402ef78a1ce1b96", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000295'), "application_id"=>BSON::ObjectId('5bb624693541597507000294'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624693541597507000293'), "token"=>"26ae8565ef3aa055161f80d500eaca79c8ee6a57b953d76ac402ef78a1ce1b96", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=26ae8565ef3aa055161f80d500eaca79c8ee6a57b953d76ac402ef78a1ce1b96&token_type=Bearer&expires_in=7200 Completed 302 Found in 4ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000296'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000296'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7b86510dbd2b39a37c6dc856ee362ff2f92aba70148484d68dd265ae87a12e35", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000297')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000297'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 296", "uid"=>"7b86510dbd2b39a37c6dc856ee362ff2f92aba70148484d68dd265ae87a12e35", "secret"=>"8bc824c236e290c28362624456cdea35398b343b1dbda389c299868addd92125", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000297'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 296", "uid"=>"7b86510dbd2b39a37c6dc856ee362ff2f92aba70148484d68dd265ae87a12e35", "secret"=>"8bc824c236e290c28362624456cdea35398b343b1dbda389c299868addd92125", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"7b86510dbd2b39a37c6dc856ee362ff2f92aba70148484d68dd265ae87a12e35", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7b86510dbd2b39a37c6dc856ee362ff2f92aba70148484d68dd265ae87a12e35"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb624693541597507000297')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"c5f5fe24cd46a69b65f297db2fc67c97868f6c17a4202d4a7238901fce9033ca", :_id=>{:$ne=>BSON::ObjectId('5bb624693541597507000298')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000298'), "application_id"=>BSON::ObjectId('5bb624693541597507000297'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624693541597507000296'), "token"=>"c5f5fe24cd46a69b65f297db2fc67c97868f6c17a4202d4a7238901fce9033ca", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000298'), "application_id"=>BSON::ObjectId('5bb624693541597507000297'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624693541597507000296'), "token"=>"c5f5fe24cd46a69b65f297db2fc67c97868f6c17a4202d4a7238901fce9033ca", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=c5f5fe24cd46a69b65f297db2fc67c97868f6c17a4202d4a7238901fce9033ca&token_type=Bearer&expires_in=7200 Completed 302 Found in 4ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb624693541597507000299'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb624693541597507000299'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7fc4e6fd86b6c489901c0508262130e62af93fbd2c98735321087f46b0d31bcf", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700029a')}}, {:_id=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62469354159750700029a'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 297", "uid"=>"7fc4e6fd86b6c489901c0508262130e62af93fbd2c98735321087f46b0d31bcf", "secret"=>"e1cce3260d662f8955b41b8f81f7f6451ef197eae84407ad3ba70cf43e28d487", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62469354159750700029a'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 297", "uid"=>"7fc4e6fd86b6c489901c0508262130e62af93fbd2c98735321087f46b0d31bcf", "secret"=>"e1cce3260d662f8955b41b8f81f7f6451ef197eae84407ad3ba70cf43e28d487", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"7fc4e6fd86b6c489901c0508262130e62af93fbd2c98735321087f46b0d31bcf", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7fc4e6fd86b6c489901c0508262130e62af93fbd2c98735321087f46b0d31bcf"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb62469354159750700029a')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"d0c2b65926d160e00fc895ba3b82d665d128e7bf3a60ece8c3470e99ff40f079", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700029b')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62469354159750700029b'), "application_id"=>BSON::ObjectId('5bb62469354159750700029a'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624693541597507000299'), "token"=>"d0c2b65926d160e00fc895ba3b82d665d128e7bf3a60ece8c3470e99ff40f079", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62469354159750700029b'), "application_id"=>BSON::ObjectId('5bb62469354159750700029a'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb624693541597507000299'), "token"=>"d0c2b65926d160e00fc895ba3b82d665d128e7bf3a60ece8c3470e99ff40f079", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=d0c2b65926d160e00fc895ba3b82d665d128e7bf3a60ece8c3470e99ff40f079&token_type=Bearer&expires_in=7200 Completed 302 Found in 5ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb62469354159750700029c'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb62469354159750700029c'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2f342fdaf8281012a6e2e006deaa70c0fa67e96a3147bb4bbd233b907ef06e50", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700029d')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb62469354159750700029d'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 298", "uid"=>"2f342fdaf8281012a6e2e006deaa70c0fa67e96a3147bb4bbd233b907ef06e50", "secret"=>"2b70a3b5d24cea62d753d88c51b089de1e30ada69c0f6b34f32c0753c4266e4a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb62469354159750700029d'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 298", "uid"=>"2f342fdaf8281012a6e2e006deaa70c0fa67e96a3147bb4bbd233b907ef06e50", "secret"=>"2b70a3b5d24cea62d753d88c51b089de1e30ada69c0f6b34f32c0753c4266e4a", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb62469354159750700029d')}, :u=>{"_id"=>BSON::ObjectId('5bb62469354159750700029d'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 298", "uid"=>"2f342fdaf8281012a6e2e006deaa70c0fa67e96a3147bb4bbd233b907ef06e50", "secret"=>"2b70a3b5d24cea62d753d88c51b089de1e30ada69c0f6b34f32c0753c4266e4a", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "confidential"=>true, "owner_id"=>nil}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb62469354159750700029d')}, {"_id"=>BSON::ObjectId('5bb62469354159750700029d'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 298", "uid"=>"2f342fdaf8281012a6e2e006deaa70c0fa67e96a3147bb4bbd233b907ef06e50", "secret"=>"2b70a3b5d24cea62d753d88c51b089de1e30ada69c0f6b34f32c0753c4266e4a", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "confidential"=>true, "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"2f342fdaf8281012a6e2e006deaa70c0fa67e96a3147bb4bbd233b907ef06e50", "response_type"=>"token", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"2f342fdaf8281012a6e2e006deaa70c0fa67e96a3147bb4bbd233b907ef06e50"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb62469354159750700029d')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"7fc86490581ff1999a9263550e34cac6920d6cf3f3c9c37a37396d490d11484a", :_id=>{:$ne=>BSON::ObjectId('5bb62469354159750700029e')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb62469354159750700029e'), "application_id"=>BSON::ObjectId('5bb62469354159750700029d'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62469354159750700029c'), "token"=>"7fc86490581ff1999a9263550e34cac6920d6cf3f3c9c37a37396d490d11484a", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb62469354159750700029e'), "application_id"=>BSON::ObjectId('5bb62469354159750700029d'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62469354159750700029c'), "token"=>"7fc86490581ff1999a9263550e34cac6920d6cf3f3c9c37a37396d490d11484a", "expires_in"=>7200, "scopes"=>""}) Redirected to http://test.host/oauth/token/info?access_token=7fc86490581ff1999a9263550e34cac6920d6cf3f3c9c37a37396d490d11484a Completed 302 Found in 4ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb62469354159750700029f'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb62469354159750700029f'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"118fb342fcac95ccf0aa58c99130c104bf4e8f41bd72f8b3b73341ed5ea4236a", :_id=>{:$ne=>BSON::ObjectId('5bb6246935415975070002a0')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246935415975070002a0'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 299", "uid"=>"118fb342fcac95ccf0aa58c99130c104bf4e8f41bd72f8b3b73341ed5ea4236a", "secret"=>"ff5d000ca6f07f72be4b3621f7c47fef572d8d7b7d76958ecb4c0493e183729f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246935415975070002a0'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 299", "uid"=>"118fb342fcac95ccf0aa58c99130c104bf4e8f41bd72f8b3b73341ed5ea4236a", "secret"=>"ff5d000ca6f07f72be4b3621f7c47fef572d8d7b7d76958ecb4c0493e183729f", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6246935415975070002a0')}, :u=>{"_id"=>BSON::ObjectId('5bb6246935415975070002a0'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 299", "uid"=>"118fb342fcac95ccf0aa58c99130c104bf4e8f41bd72f8b3b73341ed5ea4236a", "secret"=>"ff5d000ca6f07f72be4b3621f7c47fef572d8d7b7d76958ecb4c0493e183729f", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "confidential"=>true, "owner_id"=>nil}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb6246935415975070002a0')}, {"_id"=>BSON::ObjectId('5bb6246935415975070002a0'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 299", "uid"=>"118fb342fcac95ccf0aa58c99130c104bf4e8f41bd72f8b3b73341ed5ea4236a", "secret"=>"ff5d000ca6f07f72be4b3621f7c47fef572d8d7b7d76958ecb4c0493e183729f", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "confidential"=>true, "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"118fb342fcac95ccf0aa58c99130c104bf4e8f41bd72f8b3b73341ed5ea4236a", "response_type"=>"token", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"} MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"118fb342fcac95ccf0aa58c99130c104bf4e8f41bd72f8b3b73341ed5ea4236a"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6246935415975070002a0')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"74b8a0f78982f36cc1d36014624ff6e6e61748c8123cfcc0d6a6bc83c28b5267", :_id=>{:$ne=>BSON::ObjectId('5bb6246935415975070002a1')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246935415975070002a1'), "application_id"=>BSON::ObjectId('5bb6246935415975070002a0'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62469354159750700029f'), "token"=>"74b8a0f78982f36cc1d36014624ff6e6e61748c8123cfcc0d6a6bc83c28b5267", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246935415975070002a1'), "application_id"=>BSON::ObjectId('5bb6246935415975070002a0'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb62469354159750700029f'), "token"=>"74b8a0f78982f36cc1d36014624ff6e6e61748c8123cfcc0d6a6bc83c28b5267", "expires_in"=>7200, "scopes"=>""}) Redirected to http://test.host/oauth/token/info?access_token=74b8a0f78982f36cc1d36014624ff6e6e61748c8123cfcc0d6a6bc83c28b5267 Completed 302 Found in 6ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6246935415975070002a2'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6246935415975070002a2'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"54e122be4f644b673f6f029229c42fb4f1f15c61b9d85fe01538c2beee80b735", :_id=>{:$ne=>BSON::ObjectId('5bb6246935415975070002a3')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246935415975070002a3'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 300", "uid"=>"54e122be4f644b673f6f029229c42fb4f1f15c61b9d85fe01538c2beee80b735", "secret"=>"2ba556520c04ca1bc69370161700e43748bce3799f3652d1840e31615165fcc4", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246935415975070002a3'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 300", "uid"=>"54e122be4f644b673f6f029229c42fb4f1f15c61b9d85fe01538c2beee80b735", "secret"=>"2ba556520c04ca1bc69370161700e43748bce3799f3652d1840e31615165fcc4", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6246935415975070002a3')}, :u=>{"_id"=>BSON::ObjectId('5bb6246935415975070002a3'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 300", "uid"=>"54e122be4f644b673f6f029229c42fb4f1f15c61b9d85fe01538c2beee80b735", "secret"=>"2ba556520c04ca1bc69370161700e43748bce3799f3652d1840e31615165fcc4", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "confidential"=>true, "owner_id"=>nil}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb6246935415975070002a3')}, {"_id"=>BSON::ObjectId('5bb6246935415975070002a3'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 300", "uid"=>"54e122be4f644b673f6f029229c42fb4f1f15c61b9d85fe01538c2beee80b735", "secret"=>"2ba556520c04ca1bc69370161700e43748bce3799f3652d1840e31615165fcc4", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "confidential"=>true, "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"54e122be4f644b673f6f029229c42fb4f1f15c61b9d85fe01538c2beee80b735", "response_type"=>"token", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"} MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"54e122be4f644b673f6f029229c42fb4f1f15c61b9d85fe01538c2beee80b735"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6246935415975070002a3')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"b7eb6ebbc0de6df5e35771c269d83da347636e8f4929f7ac50893d6d806f6738", :_id=>{:$ne=>BSON::ObjectId('5bb6246935415975070002a4')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246935415975070002a4'), "application_id"=>BSON::ObjectId('5bb6246935415975070002a3'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246935415975070002a2'), "token"=>"b7eb6ebbc0de6df5e35771c269d83da347636e8f4929f7ac50893d6d806f6738", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246935415975070002a4'), "application_id"=>BSON::ObjectId('5bb6246935415975070002a3'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246935415975070002a2'), "token"=>"b7eb6ebbc0de6df5e35771c269d83da347636e8f4929f7ac50893d6d806f6738", "expires_in"=>7200, "scopes"=>""}) Redirected to http://test.host/oauth/token/info?access_token=b7eb6ebbc0de6df5e35771c269d83da347636e8f4929f7ac50893d6d806f6738 Completed 302 Found in 4ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6246935415975070002a5'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6246935415975070002a5'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"49290b87568ee278c3fac11853665a39e3373e9123e1150c114d8149fadbf2e6", :_id=>{:$ne=>BSON::ObjectId('5bb6246935415975070002a6')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246935415975070002a6'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 301", "uid"=>"49290b87568ee278c3fac11853665a39e3373e9123e1150c114d8149fadbf2e6", "secret"=>"3c86844c167235f0a21561c084dfbaf3b71cacc66ec8f98fe44bfa48613a28b6", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246935415975070002a6'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 301", "uid"=>"49290b87568ee278c3fac11853665a39e3373e9123e1150c114d8149fadbf2e6", "secret"=>"3c86844c167235f0a21561c084dfbaf3b71cacc66ec8f98fe44bfa48613a28b6", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"49290b87568ee278c3fac11853665a39e3373e9123e1150c114d8149fadbf2e6", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"49290b87568ee278c3fac11853665a39e3373e9123e1150c114d8149fadbf2e6"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6246935415975070002a6')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"fb714c09705872033a27f7a8f8a6618e5268647d588c722728a416d6550ec6db", :_id=>{:$ne=>BSON::ObjectId('5bb6246935415975070002a7')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246935415975070002a7'), "application_id"=>BSON::ObjectId('5bb6246935415975070002a6'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246935415975070002a5'), "token"=>"fb714c09705872033a27f7a8f8a6618e5268647d588c722728a416d6550ec6db", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246935415975070002a7'), "application_id"=>BSON::ObjectId('5bb6246935415975070002a6'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246935415975070002a5'), "token"=>"fb714c09705872033a27f7a8f8a6618e5268647d588c722728a416d6550ec6db", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=fb714c09705872033a27f7a8f8a6618e5268647d588c722728a416d6550ec6db&token_type=Bearer&expires_in=7200 Completed 302 Found in 5ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6246935415975070002a8'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6246935415975070002a8'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e90ad28796638f7427d6b18c031137052865d8a291848f02b6c86816fdd846d2", :_id=>{:$ne=>BSON::ObjectId('5bb6246935415975070002a9')}}, {:_id=>1}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246935415975070002a9'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 302", "uid"=>"e90ad28796638f7427d6b18c031137052865d8a291848f02b6c86816fdd846d2", "secret"=>"0d3fb10e45997a97bf9b2d070c8c5d0409cc50ec162fb4c1c8433133718bc652", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246935415975070002a9'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 302", "uid"=>"e90ad28796638f7427d6b18c031137052865d8a291848f02b6c86816fdd846d2", "secret"=>"0d3fb10e45997a97bf9b2d070c8c5d0409cc50ec162fb4c1c8433133718bc652", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"e90ad28796638f7427d6b18c031137052865d8a291848f02b6c86816fdd846d2", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"e90ad28796638f7427d6b18c031137052865d8a291848f02b6c86816fdd846d2"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6246935415975070002a9')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"e5c0d76c7c0a993766f534f2b1a8f84df173cbf470392cb162db043fdf13c113", :_id=>{:$ne=>BSON::ObjectId('5bb6246935415975070002aa')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246935415975070002aa'), "application_id"=>BSON::ObjectId('5bb6246935415975070002a9'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246935415975070002a8'), "token"=>"e5c0d76c7c0a993766f534f2b1a8f84df173cbf470392cb162db043fdf13c113", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246935415975070002aa'), "application_id"=>BSON::ObjectId('5bb6246935415975070002a9'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246935415975070002a8'), "token"=>"e5c0d76c7c0a993766f534f2b1a8f84df173cbf470392cb162db043fdf13c113", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=e5c0d76c7c0a993766f534f2b1a8f84df173cbf470392cb162db043fdf13c113&token_type=Bearer&expires_in=7200 Completed 302 Found in 4ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6246935415975070002ab'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6246935415975070002ab'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"08f66f92793b1b047c84614ee81c886235017d8361167495f1b39e24f86f246f", :_id=>{:$ne=>BSON::ObjectId('5bb6246935415975070002ac')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246935415975070002ac'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 303", "uid"=>"08f66f92793b1b047c84614ee81c886235017d8361167495f1b39e24f86f246f", "secret"=>"ed90d7ab6dade8816f9f65eab49ed3af12f705a556d30d0b47c2a327ba2f0737", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246935415975070002ac'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 303", "uid"=>"08f66f92793b1b047c84614ee81c886235017d8361167495f1b39e24f86f246f", "secret"=>"ed90d7ab6dade8816f9f65eab49ed3af12f705a556d30d0b47c2a327ba2f0737", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"08f66f92793b1b047c84614ee81c886235017d8361167495f1b39e24f86f246f", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"08f66f92793b1b047c84614ee81c886235017d8361167495f1b39e24f86f246f"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6246935415975070002ac')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"468bce74c8d0a5a0b38be6247b2cabaeadc2790604dbc5cc761482304945a875", :_id=>{:$ne=>BSON::ObjectId('5bb6246935415975070002ad')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246935415975070002ad'), "application_id"=>BSON::ObjectId('5bb6246935415975070002ac'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246935415975070002ab'), "token"=>"468bce74c8d0a5a0b38be6247b2cabaeadc2790604dbc5cc761482304945a875", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246935415975070002ad'), "application_id"=>BSON::ObjectId('5bb6246935415975070002ac'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246935415975070002ab'), "token"=>"468bce74c8d0a5a0b38be6247b2cabaeadc2790604dbc5cc761482304945a875", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=468bce74c8d0a5a0b38be6247b2cabaeadc2790604dbc5cc761482304945a875&token_type=Bearer&expires_in=7200 Completed 302 Found in 4ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6246935415975070002ae'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6246935415975070002ae'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f4f943225c1a82a0892dc522057255caa7c93970211a568f7fba0b26705f2bdb", :_id=>{:$ne=>BSON::ObjectId('5bb6246935415975070002af')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246935415975070002af'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 304", "uid"=>"f4f943225c1a82a0892dc522057255caa7c93970211a568f7fba0b26705f2bdb", "secret"=>"62abb18d631f70413ef5852c4848967b76cbbca0245bd7f19888004921082d90", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246935415975070002af'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 304", "uid"=>"f4f943225c1a82a0892dc522057255caa7c93970211a568f7fba0b26705f2bdb", "secret"=>"62abb18d631f70413ef5852c4848967b76cbbca0245bd7f19888004921082d90", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"f4f943225c1a82a0892dc522057255caa7c93970211a568f7fba0b26705f2bdb", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"f4f943225c1a82a0892dc522057255caa7c93970211a568f7fba0b26705f2bdb"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6246935415975070002af')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"a46bba50f0ae3e078296b444a649760186571077df8f46e35f8e1e91b4747ac0", :_id=>{:$ne=>BSON::ObjectId('5bb6246935415975070002b0')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246935415975070002b0'), "application_id"=>BSON::ObjectId('5bb6246935415975070002af'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246935415975070002ae'), "token"=>"a46bba50f0ae3e078296b444a649760186571077df8f46e35f8e1e91b4747ac0", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246935415975070002b0'), "application_id"=>BSON::ObjectId('5bb6246935415975070002af'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246935415975070002ae'), "token"=>"a46bba50f0ae3e078296b444a649760186571077df8f46e35f8e1e91b4747ac0", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=a46bba50f0ae3e078296b444a649760186571077df8f46e35f8e1e91b4747ac0&token_type=Bearer&expires_in=7200 Completed 302 Found in 5ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6246935415975070002b1'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6246935415975070002b1'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"bd13e127e3e3924108443c1b6358780197d6ee289eb10bd52316e1c029116d4d", :_id=>{:$ne=>BSON::ObjectId('5bb6246935415975070002b2')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246935415975070002b2'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 305", "uid"=>"bd13e127e3e3924108443c1b6358780197d6ee289eb10bd52316e1c029116d4d", "secret"=>"598c527d1a90155d73feb69f10047963263cdbe4e9e83f41607fa91486b017a5", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246935415975070002b2'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 305", "uid"=>"bd13e127e3e3924108443c1b6358780197d6ee289eb10bd52316e1c029116d4d", "secret"=>"598c527d1a90155d73feb69f10047963263cdbe4e9e83f41607fa91486b017a5", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"bd13e127e3e3924108443c1b6358780197d6ee289eb10bd52316e1c029116d4d", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"bd13e127e3e3924108443c1b6358780197d6ee289eb10bd52316e1c029116d4d"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6246935415975070002b2')}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"aade9dbc75bbd981f968661f3b99470221fb87d1c3e2b18d90421e21862e74ee", :_id=>{:$ne=>BSON::ObjectId('5bb6246935415975070002b3')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246935415975070002b3'), "application_id"=>BSON::ObjectId('5bb6246935415975070002b2'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246935415975070002b1'), "token"=>"aade9dbc75bbd981f968661f3b99470221fb87d1c3e2b18d90421e21862e74ee", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246935415975070002b3'), "application_id"=>BSON::ObjectId('5bb6246935415975070002b2'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246935415975070002b1'), "token"=>"aade9dbc75bbd981f968661f3b99470221fb87d1c3e2b18d90421e21862e74ee", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=aade9dbc75bbd981f968661f3b99470221fb87d1c3e2b18d90421e21862e74ee&token_type=Bearer&expires_in=7200 Completed 302 Found in 4ms (ActiveRecord: 0.0ms) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6246935415975070002b4'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6246935415975070002b4'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"78fb76b3b98192609e0a6d730c9c6ce5af65f0b710a0c591e9222dead0059cce", :_id=>{:$ne=>BSON::ObjectId('5bb6246935415975070002b5')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246935415975070002b5'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 306", "uid"=>"78fb76b3b98192609e0a6d730c9c6ce5af65f0b710a0c591e9222dead0059cce", "secret"=>"16e4fa8114606c41111563e986f48d55cbbba0b572fc05f33fdab1603c1a7d42", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246935415975070002b5'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 306", "uid"=>"78fb76b3b98192609e0a6d730c9c6ce5af65f0b710a0c591e9222dead0059cce", "secret"=>"16e4fa8114606c41111563e986f48d55cbbba0b572fc05f33fdab1603c1a7d42", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"78fb76b3b98192609e0a6d730c9c6ce5af65f0b710a0c591e9222dead0059cce", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"78fb76b3b98192609e0a6d730c9c6ce5af65f0b710a0c591e9222dead0059cce"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6246935415975070002b5')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"64d1481afff36d70f92218d19506e278967cf952fc9136710487236c2f58dfc8", :_id=>{:$ne=>BSON::ObjectId('5bb6246935415975070002b6')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246935415975070002b6'), "application_id"=>BSON::ObjectId('5bb6246935415975070002b5'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246935415975070002b4'), "token"=>"64d1481afff36d70f92218d19506e278967cf952fc9136710487236c2f58dfc8", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246935415975070002b6'), "application_id"=>BSON::ObjectId('5bb6246935415975070002b5'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246935415975070002b4'), "token"=>"64d1481afff36d70f92218d19506e278967cf952fc9136710487236c2f58dfc8", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=64d1481afff36d70f92218d19506e278967cf952fc9136710487236c2f58dfc8&token_type=Bearer&expires_in=7200 Completed 302 Found in 5ms (ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6246935415975070002b7'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6246935415975070002b7'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"556d6dbbd71c9199800f291f18e874adc1ea7fd2006eaba239f9332e42afc7e1", :_id=>{:$ne=>BSON::ObjectId('5bb6246935415975070002b8')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246935415975070002b8'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 307", "uid"=>"556d6dbbd71c9199800f291f18e874adc1ea7fd2006eaba239f9332e42afc7e1", "secret"=>"1b846d9d9220773ac841d09b6c57a15c0643ee963202cd95ae53fb261fe7f429", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246935415975070002b8'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 307", "uid"=>"556d6dbbd71c9199800f291f18e874adc1ea7fd2006eaba239f9332e42afc7e1", "secret"=>"1b846d9d9220773ac841d09b6c57a15c0643ee963202cd95ae53fb261fe7f429", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"556d6dbbd71c9199800f291f18e874adc1ea7fd2006eaba239f9332e42afc7e1", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"556d6dbbd71c9199800f291f18e874adc1ea7fd2006eaba239f9332e42afc7e1"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6246935415975070002b8')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"a3e058b9a8d5a23d70d086871bf45e08e7bb4a6c9b522c00563137d1b74f9723", :_id=>{:$ne=>BSON::ObjectId('5bb6246935415975070002b9')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246935415975070002b9'), "application_id"=>BSON::ObjectId('5bb6246935415975070002b8'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246935415975070002b7'), "token"=>"a3e058b9a8d5a23d70d086871bf45e08e7bb4a6c9b522c00563137d1b74f9723", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246935415975070002b9'), "application_id"=>BSON::ObjectId('5bb6246935415975070002b8'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246935415975070002b7'), "token"=>"a3e058b9a8d5a23d70d086871bf45e08e7bb4a6c9b522c00563137d1b74f9723", "expires_in"=>7200, "scopes"=>""}) Redirected to https://app.com/callback#access_token=a3e058b9a8d5a23d70d086871bf45e08e7bb4a6c9b522c00563137d1b74f9723&token_type=Bearer&expires_in=7200 Completed 302 Found in 4ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6246935415975070002ba'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6246935415975070002ba'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5f0ca43bbc270a6cd4e6e12b8958f1550b81bab1617a4d38f379ad3dba3989b4", :_id=>{:$ne=>BSON::ObjectId('5bb6246935415975070002bb')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246935415975070002bb'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 308", "uid"=>"5f0ca43bbc270a6cd4e6e12b8958f1550b81bab1617a4d38f379ad3dba3989b4", "secret"=>"bea956fdf03455c8303d65cf519dd832ab372105aba9d7fa976541b134cfbccb", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246935415975070002bb'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 308", "uid"=>"5f0ca43bbc270a6cd4e6e12b8958f1550b81bab1617a4d38f379ad3dba3989b4", "secret"=>"bea956fdf03455c8303d65cf519dd832ab372105aba9d7fa976541b134cfbccb", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6246935415975070002bb')}, :u=>{"_id"=>BSON::ObjectId('5bb6246935415975070002bb'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 308", "uid"=>"5f0ca43bbc270a6cd4e6e12b8958f1550b81bab1617a4d38f379ad3dba3989b4", "secret"=>"bea956fdf03455c8303d65cf519dd832ab372105aba9d7fa976541b134cfbccb", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "confidential"=>true, "owner_id"=>nil}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb6246935415975070002bb')}, {"_id"=>BSON::ObjectId('5bb6246935415975070002bb'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 308", "uid"=>"5f0ca43bbc270a6cd4e6e12b8958f1550b81bab1617a4d38f379ad3dba3989b4", "secret"=>"bea956fdf03455c8303d65cf519dd832ab372105aba9d7fa976541b134cfbccb", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "confidential"=>true, "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"5f0ca43bbc270a6cd4e6e12b8958f1550b81bab1617a4d38f379ad3dba3989b4", "response_type"=>"code", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5f0ca43bbc270a6cd4e6e12b8958f1550b81bab1617a4d38f379ad3dba3989b4"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"0742e5e05e1ccda9d8688733e196194f41c72d21e2b73bf1584f1f0c0dc08621", :_id=>{:$ne=>BSON::ObjectId('5bb6246935415975070002bc')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6246935415975070002bc'), "application_id"=>BSON::ObjectId('5bb6246935415975070002bb'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246935415975070002ba'), "token"=>"0742e5e05e1ccda9d8688733e196194f41c72d21e2b73bf1584f1f0c0dc08621", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6246935415975070002bc'), "application_id"=>BSON::ObjectId('5bb6246935415975070002bb'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246935415975070002ba'), "token"=>"0742e5e05e1ccda9d8688733e196194f41c72d21e2b73bf1584f1f0c0dc08621", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}) Redirected to http://test.host/oauth/authorize/native?code=0742e5e05e1ccda9d8688733e196194f41c72d21e2b73bf1584f1f0c0dc08621 Completed 302 Found in 4ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6246935415975070002bd'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6246935415975070002bd'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1bbb935153debbf3b3a1958a5b5eb01806e625c1f4d99c647a5ca7fbf07dd3b0", :_id=>{:$ne=>BSON::ObjectId('5bb6246935415975070002be')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246935415975070002be'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 309", "uid"=>"1bbb935153debbf3b3a1958a5b5eb01806e625c1f4d99c647a5ca7fbf07dd3b0", "secret"=>"cd85a9c7cb1a0daf65650590097610c44a8e7ca8157422d0f1602a7abbc9ac2c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246935415975070002be'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 309", "uid"=>"1bbb935153debbf3b3a1958a5b5eb01806e625c1f4d99c647a5ca7fbf07dd3b0", "secret"=>"cd85a9c7cb1a0daf65650590097610c44a8e7ca8157422d0f1602a7abbc9ac2c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6246935415975070002be')}, :u=>{"_id"=>BSON::ObjectId('5bb6246935415975070002be'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 309", "uid"=>"1bbb935153debbf3b3a1958a5b5eb01806e625c1f4d99c647a5ca7fbf07dd3b0", "secret"=>"cd85a9c7cb1a0daf65650590097610c44a8e7ca8157422d0f1602a7abbc9ac2c", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "confidential"=>true, "owner_id"=>nil}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb6246935415975070002be')}, {"_id"=>BSON::ObjectId('5bb6246935415975070002be'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 309", "uid"=>"1bbb935153debbf3b3a1958a5b5eb01806e625c1f4d99c647a5ca7fbf07dd3b0", "secret"=>"cd85a9c7cb1a0daf65650590097610c44a8e7ca8157422d0f1602a7abbc9ac2c", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "confidential"=>true, "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"1bbb935153debbf3b3a1958a5b5eb01806e625c1f4d99c647a5ca7fbf07dd3b0", "response_type"=>"code", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"1bbb935153debbf3b3a1958a5b5eb01806e625c1f4d99c647a5ca7fbf07dd3b0"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"1149a5070cdcd741276101af0027cf5ab32e2326d371ec7f6655bb983fbd9e23", :_id=>{:$ne=>BSON::ObjectId('5bb6246935415975070002bf')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6246935415975070002bf'), "application_id"=>BSON::ObjectId('5bb6246935415975070002be'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246935415975070002bd'), "token"=>"1149a5070cdcd741276101af0027cf5ab32e2326d371ec7f6655bb983fbd9e23", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6246935415975070002bf'), "application_id"=>BSON::ObjectId('5bb6246935415975070002be'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246935415975070002bd'), "token"=>"1149a5070cdcd741276101af0027cf5ab32e2326d371ec7f6655bb983fbd9e23", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}) Redirected to http://test.host/oauth/authorize/native?code=1149a5070cdcd741276101af0027cf5ab32e2326d371ec7f6655bb983fbd9e23 Completed 302 Found in 4ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6246935415975070002c0'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6246935415975070002c0'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0d0c62a447936c70930a3f32bdca02381520c13b928a833bbb58203c2a81b281", :_id=>{:$ne=>BSON::ObjectId('5bb6246935415975070002c1')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246935415975070002c1'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 310", "uid"=>"0d0c62a447936c70930a3f32bdca02381520c13b928a833bbb58203c2a81b281", "secret"=>"51c67e39641067ea09fa5ee548b637afcef60946a5ffb55a64179f97d05689ed", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246935415975070002c1'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 310", "uid"=>"0d0c62a447936c70930a3f32bdca02381520c13b928a833bbb58203c2a81b281", "secret"=>"51c67e39641067ea09fa5ee548b637afcef60946a5ffb55a64179f97d05689ed", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6246935415975070002c1')}, :u=>{"_id"=>BSON::ObjectId('5bb6246935415975070002c1'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 310", "uid"=>"0d0c62a447936c70930a3f32bdca02381520c13b928a833bbb58203c2a81b281", "secret"=>"51c67e39641067ea09fa5ee548b637afcef60946a5ffb55a64179f97d05689ed", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "confidential"=>true, "owner_id"=>nil}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb6246935415975070002c1')}, {"_id"=>BSON::ObjectId('5bb6246935415975070002c1'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 310", "uid"=>"0d0c62a447936c70930a3f32bdca02381520c13b928a833bbb58203c2a81b281", "secret"=>"51c67e39641067ea09fa5ee548b637afcef60946a5ffb55a64179f97d05689ed", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "confidential"=>true, "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"0d0c62a447936c70930a3f32bdca02381520c13b928a833bbb58203c2a81b281", "response_type"=>"code", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"0d0c62a447936c70930a3f32bdca02381520c13b928a833bbb58203c2a81b281"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"c11d082cb05d960b217720fb113c5879b4572224c39d7b6b757d8f57d07ade09", :_id=>{:$ne=>BSON::ObjectId('5bb6246935415975070002c2')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6246935415975070002c2'), "application_id"=>BSON::ObjectId('5bb6246935415975070002c1'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246935415975070002c0'), "token"=>"c11d082cb05d960b217720fb113c5879b4572224c39d7b6b757d8f57d07ade09", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6246935415975070002c2'), "application_id"=>BSON::ObjectId('5bb6246935415975070002c1'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246935415975070002c0'), "token"=>"c11d082cb05d960b217720fb113c5879b4572224c39d7b6b757d8f57d07ade09", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}) Redirected to http://test.host/oauth/authorize/native?code=c11d082cb05d960b217720fb113c5879b4572224c39d7b6b757d8f57d07ade09 Completed 302 Found in 3ms (ActiveRecord: 0.0ms) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6246935415975070002c3'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6246935415975070002c3'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"90df5f595a75c39c539de01c650504b17afb2bacf3d3390637bacb434b39a881", :_id=>{:$ne=>BSON::ObjectId('5bb6246935415975070002c4')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246935415975070002c4'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 311", "uid"=>"90df5f595a75c39c539de01c650504b17afb2bacf3d3390637bacb434b39a881", "secret"=>"0de1b854e68c9b53cf94f2ffc353714dbe2bc08331cf791731a857679ea08376", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246935415975070002c4'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 311", "uid"=>"90df5f595a75c39c539de01c650504b17afb2bacf3d3390637bacb434b39a881", "secret"=>"0de1b854e68c9b53cf94f2ffc353714dbe2bc08331cf791731a857679ea08376", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6246935415975070002c4')}, :u=>{"_id"=>BSON::ObjectId('5bb6246935415975070002c4'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 311", "uid"=>"90df5f595a75c39c539de01c650504b17afb2bacf3d3390637bacb434b39a881", "secret"=>"0de1b854e68c9b53cf94f2ffc353714dbe2bc08331cf791731a857679ea08376", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "confidential"=>true, "owner_id"=>nil}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb6246935415975070002c4')}, {"_id"=>BSON::ObjectId('5bb6246935415975070002c4'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 311", "uid"=>"90df5f595a75c39c539de01c650504b17afb2bacf3d3390637bacb434b39a881", "secret"=>"0de1b854e68c9b53cf94f2ffc353714dbe2bc08331cf791731a857679ea08376", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "confidential"=>true, "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"90df5f595a75c39c539de01c650504b17afb2bacf3d3390637bacb434b39a881", "response_type"=>"code", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"90df5f595a75c39c539de01c650504b17afb2bacf3d3390637bacb434b39a881"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"0aae8cce4a099b4b8f94545e6384f576b0937a02a25ff0f24ad963e6abba71d2", :_id=>{:$ne=>BSON::ObjectId('5bb6246935415975070002c5')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6246935415975070002c5'), "application_id"=>BSON::ObjectId('5bb6246935415975070002c4'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246935415975070002c3'), "token"=>"0aae8cce4a099b4b8f94545e6384f576b0937a02a25ff0f24ad963e6abba71d2", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6246935415975070002c5'), "application_id"=>BSON::ObjectId('5bb6246935415975070002c4'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246935415975070002c3'), "token"=>"0aae8cce4a099b4b8f94545e6384f576b0937a02a25ff0f24ad963e6abba71d2", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}) Redirected to http://test.host/oauth/authorize/0aae8cce4a099b4b8f94545e6384f576b0937a02a25ff0f24ad963e6abba71d2 Completed 302 Found in 4ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6246935415975070002c6'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6246935415975070002c6'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"42288d97bb8b57b2bff2eee57e9b10af59219ec46559ba96eb5e452ef9768ef6", :_id=>{:$ne=>BSON::ObjectId('5bb6246935415975070002c7')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246935415975070002c7'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 312", "uid"=>"42288d97bb8b57b2bff2eee57e9b10af59219ec46559ba96eb5e452ef9768ef6", "secret"=>"0ce331cc39c77de1d9bd3ab5414324922ba16e980a359f4fbcd660c17ef0c409", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246935415975070002c7'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 312", "uid"=>"42288d97bb8b57b2bff2eee57e9b10af59219ec46559ba96eb5e452ef9768ef6", "secret"=>"0ce331cc39c77de1d9bd3ab5414324922ba16e980a359f4fbcd660c17ef0c409", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6246935415975070002c7')}, :u=>{"_id"=>BSON::ObjectId('5bb6246935415975070002c7'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 312", "uid"=>"42288d97bb8b57b2bff2eee57e9b10af59219ec46559ba96eb5e452ef9768ef6", "secret"=>"0ce331cc39c77de1d9bd3ab5414324922ba16e980a359f4fbcd660c17ef0c409", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "confidential"=>true, "owner_id"=>nil}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb6246935415975070002c7')}, {"_id"=>BSON::ObjectId('5bb6246935415975070002c7'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "name"=>"Application 312", "uid"=>"42288d97bb8b57b2bff2eee57e9b10af59219ec46559ba96eb5e452ef9768ef6", "secret"=>"0ce331cc39c77de1d9bd3ab5414324922ba16e980a359f4fbcd660c17ef0c409", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "confidential"=>true, "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"42288d97bb8b57b2bff2eee57e9b10af59219ec46559ba96eb5e452ef9768ef6", "response_type"=>"code", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"42288d97bb8b57b2bff2eee57e9b10af59219ec46559ba96eb5e452ef9768ef6"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"557c303446ce6e48dff43094660b56c5510ee9357a8c3882e6a336f3523cca8f", :_id=>{:$ne=>BSON::ObjectId('5bb6246935415975070002c8')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6246935415975070002c8'), "application_id"=>BSON::ObjectId('5bb6246935415975070002c7'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246935415975070002c6'), "token"=>"557c303446ce6e48dff43094660b56c5510ee9357a8c3882e6a336f3523cca8f", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6246935415975070002c8'), "application_id"=>BSON::ObjectId('5bb6246935415975070002c7'), "created_at"=>2018-10-04 14:32:09 UTC, "updated_at"=>2018-10-04 14:32:09 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246935415975070002c6'), "token"=>"557c303446ce6e48dff43094660b56c5510ee9357a8c3882e6a336f3523cca8f", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}) Redirected to http://test.host/oauth/authorize/557c303446ce6e48dff43094660b56c5510ee9357a8c3882e6a336f3523cca8f Completed 302 Found in 4ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002c9'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002c9'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a6faec2d8470162b669730232700bc3a4345a80973d2bdbd7e2db1be9ec03f70", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002ca')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002ca'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Application 313", "uid"=>"a6faec2d8470162b669730232700bc3a4345a80973d2bdbd7e2db1be9ec03f70", "secret"=>"c82c99bfe57fefabe45cf7b65246123b235f830a22497fbef6f15d29686d2afa", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002ca'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Application 313", "uid"=>"a6faec2d8470162b669730232700bc3a4345a80973d2bdbd7e2db1be9ec03f70", "secret"=>"c82c99bfe57fefabe45cf7b65246123b235f830a22497fbef6f15d29686d2afa", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_applications", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6246a35415975070002ca')}, :u=>{"_id"=>BSON::ObjectId('5bb6246a35415975070002ca'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Application 313", "uid"=>"a6faec2d8470162b669730232700bc3a4345a80973d2bdbd7e2db1be9ec03f70", "secret"=>"c82c99bfe57fefabe45cf7b65246123b235f830a22497fbef6f15d29686d2afa", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "confidential"=>true, "owner_id"=>nil}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].update({:_id=>BSON::ObjectId('5bb6246a35415975070002ca')}, {"_id"=>BSON::ObjectId('5bb6246a35415975070002ca'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Application 313", "uid"=>"a6faec2d8470162b669730232700bc3a4345a80973d2bdbd7e2db1be9ec03f70", "secret"=>"c82c99bfe57fefabe45cf7b65246123b235f830a22497fbef6f15d29686d2afa", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob", "confidential"=>true, "owner_id"=>nil}) Processing by Doorkeeper::AuthorizationsController#new as HTML Parameters: {"client_id"=>"a6faec2d8470162b669730232700bc3a4345a80973d2bdbd7e2db1be9ec03f70", "response_type"=>"code", "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a6faec2d8470162b669730232700bc3a4345a80973d2bdbd7e2db1be9ec03f70"}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"5fa03f978e80ad1519b441e8cbbd6c8a55c52427acb706c6b7bbdda8a886bb52", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002cb')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002cb'), "application_id"=>BSON::ObjectId('5bb6246a35415975070002ca'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246a35415975070002c9'), "token"=>"5fa03f978e80ad1519b441e8cbbd6c8a55c52427acb706c6b7bbdda8a886bb52", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002cb'), "application_id"=>BSON::ObjectId('5bb6246a35415975070002ca'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246a35415975070002c9'), "token"=>"5fa03f978e80ad1519b441e8cbbd6c8a55c52427acb706c6b7bbdda8a886bb52", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"urn:ietf:wg:oauth:2.0:oob"}) Redirected to http://test.host/oauth/authorize/5fa03f978e80ad1519b441e8cbbd6c8a55c52427acb706c6b7bbdda8a886bb52 Completed 302 Found in 6ms (ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002cc'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002cc'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b515b7e4e49f061486095342b62e4e689966ff116bc0da066d5cdf83f23119bf", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002cd')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002cd'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Application 314", "uid"=>"b515b7e4e49f061486095342b62e4e689966ff116bc0da066d5cdf83f23119bf", "secret"=>"5721cd18cdb1fa86c152675d4c871330353b3fafa13dbb2a65a3b3fd143bc841", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002cd'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Application 314", "uid"=>"b515b7e4e49f061486095342b62e4e689966ff116bc0da066d5cdf83f23119bf", "secret"=>"5721cd18cdb1fa86c152675d4c871330353b3fafa13dbb2a65a3b3fd143bc841", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6246a35415975070002cd')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"7ee2d54054c92bc53278ab0c84ce62c5d2f56c6f470eaffcf3710c815d29bda2", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002ce')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002ce'), "application_id"=>BSON::ObjectId('5bb6246a35415975070002cd'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246a35415975070002cc'), "token"=>"7ee2d54054c92bc53278ab0c84ce62c5d2f56c6f470eaffcf3710c815d29bda2", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002ce'), "application_id"=>BSON::ObjectId('5bb6246a35415975070002cd'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246a35415975070002cc'), "token"=>"7ee2d54054c92bc53278ab0c84ce62c5d2f56c6f470eaffcf3710c815d29bda2", "expires_in"=>7200}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"b515b7e4e49f061486095342b62e4e689966ff116bc0da066d5cdf83f23119bf", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b515b7e4e49f061486095342b62e4e689966ff116bc0da066d5cdf83f23119bf"}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6246a35415975070002cd'), :resource_owner_id=>BSON::ObjectId('5bb6246a35415975070002cc'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Redirected to https://app.com/callback#access_token=7ee2d54054c92bc53278ab0c84ce62c5d2f56c6f470eaffcf3710c815d29bda2&token_type=Bearer&expires_in=7200 Completed 302 Found in 3ms (ActiveRecord: 0.0ms) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"users", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002cf'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Joe", "password"=>"sekret"}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002cf'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Joe", "password"=>"sekret"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c2d623f3efcac22cf5236269e02f2f4e39fc62bc60e8ecde2130471bfa0e0b25", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002d0')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002d0'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Application 315", "uid"=>"c2d623f3efcac22cf5236269e02f2f4e39fc62bc60e8ecde2130471bfa0e0b25", "secret"=>"671e9b8f0231078151fc70ec67cfb08a06826c32acb9c2f7afe75b69a9ac3a49", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002d0'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Application 315", "uid"=>"c2d623f3efcac22cf5236269e02f2f4e39fc62bc60e8ecde2130471bfa0e0b25", "secret"=>"671e9b8f0231078151fc70ec67cfb08a06826c32acb9c2f7afe75b69a9ac3a49", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6246a35415975070002d0')}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"1e2abf7160a152512f2add155ff4d3eef410bab772f36d5d45854c61841203eb", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002d1')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002d1'), "application_id"=>BSON::ObjectId('5bb6246a35415975070002d0'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246a35415975070002cf'), "token"=>"1e2abf7160a152512f2add155ff4d3eef410bab772f36d5d45854c61841203eb", "expires_in"=>7200}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002d1'), "application_id"=>BSON::ObjectId('5bb6246a35415975070002d0'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>BSON::ObjectId('5bb6246a35415975070002cf'), "token"=>"1e2abf7160a152512f2add155ff4d3eef410bab772f36d5d45854c61841203eb", "expires_in"=>7200}) Processing by Doorkeeper::AuthorizationsController#create as HTML Parameters: {"client_id"=>"c2d623f3efcac22cf5236269e02f2f4e39fc62bc60e8ecde2130471bfa0e0b25", "response_type"=>"token", "redirect_uri"=>"https://app.com/callback"} MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"c2d623f3efcac22cf5236269e02f2f4e39fc62bc60e8ecde2130471bfa0e0b25"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>BSON::ObjectId('5bb6246a35415975070002d0'), :resource_owner_id=>BSON::ObjectId('5bb6246a35415975070002cf'), :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) Redirected to https://app.com/callback#access_token=1e2abf7160a152512f2add155ff4d3eef410bab772f36d5d45854c61841203eb&token_type=Bearer&expires_in=7200 Completed 302 Found in 3ms (ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (1.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>9990}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"f174912a0b086094c6bae01ddd3f33a0851922fbe5f478189566b8fd0ecb30d6", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002d2')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002d2'), "application_id"=>9990, "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>7866, "token"=>"f174912a0b086094c6bae01ddd3f33a0851922fbe5f478189566b8fd0ecb30d6", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002d2'), "application_id"=>9990, "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>7866, "token"=>"f174912a0b086094c6bae01ddd3f33a0851922fbe5f478189566b8fd0ecb30d6", "expires_in"=>7200, "scopes"=>"public"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>9990}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"4f3fc6d26f1ace76ee15bee6fff18d1c0d44bcc38f968ebf8d73e0133c46a40d", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002d3')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002d3'), "application_id"=>9990, "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>7866, "token"=>"4f3fc6d26f1ace76ee15bee6fff18d1c0d44bcc38f968ebf8d73e0133c46a40d", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002d3'), "application_id"=>9990, "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>7866, "token"=>"4f3fc6d26f1ace76ee15bee6fff18d1c0d44bcc38f968ebf8d73e0133c46a40d", "expires_in"=>7200, "scopes"=>"public"}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (6.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (7.0ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>9990}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"ba2cc9c525ead20fcf864d54b4c5e6bb4412323b07f889db7ab1829e7852d2f3", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002d4')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002d4'), "application_id"=>9990, "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>7866, "token"=>"ba2cc9c525ead20fcf864d54b4c5e6bb4412323b07f889db7ab1829e7852d2f3", "expires_in"=>7200, "scopes"=>""}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002d4'), "application_id"=>9990, "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>7866, "token"=>"ba2cc9c525ead20fcf864d54b4c5e6bb4412323b07f889db7ab1829e7852d2f3", "expires_in"=>7200, "scopes"=>""}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>9990, :resource_owner_id=>7866, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>9990}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"41c9680ad56a7fe56b8861ff664f961e220d4bb934c2bd99ca9b23addfa87cbf", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002d5')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002d5'), "application_id"=>9990, "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>7866, "token"=>"41c9680ad56a7fe56b8861ff664f961e220d4bb934c2bd99ca9b23addfa87cbf", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002d5'), "application_id"=>9990, "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>7866, "token"=>"41c9680ad56a7fe56b8861ff664f961e220d4bb934c2bd99ca9b23addfa87cbf", "expires_in"=>7200, "scopes"=>"public"}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>9990}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"39283ca4b657d6fff0476fc84fc0f58c36c8a25168ec6871cdef43ffb0fab4ec", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002d6')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002d6'), "application_id"=>9990, "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>7866, "token"=>"39283ca4b657d6fff0476fc84fc0f58c36c8a25168ec6871cdef43ffb0fab4ec", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002d6'), "application_id"=>9990, "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>7866, "token"=>"39283ca4b657d6fff0476fc84fc0f58c36c8a25168ec6871cdef43ffb0fab4ec", "expires_in"=>7200, "scopes"=>"public"}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>9990, :resource_owner_id=>7866, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:application_id=>9990, :resource_owner_id=>7866, :revoked_at=>nil}).limit(-1).sort([["created_at", -1]]) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>9990}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"5f9e9d9e3833efbf3f1676e1e039750b8f7bc3857131220e27001a5cde212b9f", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002d7')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002d7'), "application_id"=>9990, "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>7866, "token"=>"5f9e9d9e3833efbf3f1676e1e039750b8f7bc3857131220e27001a5cde212b9f", "expires_in"=>7200, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002d7'), "application_id"=>9990, "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>7866, "token"=>"5f9e9d9e3833efbf3f1676e1e039750b8f7bc3857131220e27001a5cde212b9f", "expires_in"=>7200, "scopes"=>"public"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>9990}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"dae60c8ea1cb364c9c7db627a13ea999fb54d1cd9912ddc9b082bba302692880", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002d8')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002d8'), "application_id"=>9990, "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>7866, "token"=>"dae60c8ea1cb364c9c7db627a13ea999fb54d1cd9912ddc9b082bba302692880", "expires_in"=>1234, "scopes"=>"public"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002d8'), "application_id"=>9990, "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>7866, "token"=>"dae60c8ea1cb364c9c7db627a13ea999fb54d1cd9912ddc9b082bba302692880", "expires_in"=>1234, "scopes"=>"public"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#show as HTML Parameters: {"access_token"=>"[FILTERED]", "id"=>"4"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#show as HTML Parameters: {"access_token"=>"[FILTERED]", "id"=>"4"} Filter chain halted as :doorkeeper_authorize! rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Filter chain halted as :doorkeeper_authorize! rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Rendered text template (0.1ms) Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms) Processing by AnonymousController#index as HTML Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"bearer_token"=>"1A2BC3"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Filter chain halted as :doorkeeper_authorize! rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Filter chain halted as # rendered or redirected Completed 403 Forbidden in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Rendered text template (0.0ms) Filter chain halted as # rendered or redirected Completed 403 Forbidden in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Filter chain halted as # rendered or redirected Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Rendered text template (0.0ms) Filter chain halted as # rendered or redirected Completed 404 Not Found in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Rendered text template (0.0ms) Filter chain halted as :doorkeeper_authorize! rendered or redirected Completed 401 Unauthorized in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Filter chain halted as :doorkeeper_authorize! rendered or redirected Completed 401 Unauthorized in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Filter chain halted as # rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) Processing by AnonymousController#index as HTML Parameters: {"access_token"=>"[FILTERED]"} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"face353e7b07d7dcd710533531793cc782a12b11b069c8ffa1b649674522d0b8", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002da')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002da'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Application 316", "uid"=>"face353e7b07d7dcd710533531793cc782a12b11b069c8ffa1b649674522d0b8", "secret"=>"bd75135de36e477300432a47d78bc8f28f67996522906a9409d77b88f9cbc616", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002da'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Application 316", "uid"=>"face353e7b07d7dcd710533531793cc782a12b11b069c8ffa1b649674522d0b8", "secret"=>"bd75135de36e477300432a47d78bc8f28f67996522906a9409d77b88f9cbc616", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"139eff3f61b547aff174ed47d64632bb4c0fb76bd60acdbe4ddc0b7a143c32c5", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002d9')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5b416f2661c94e637805c94881a5ae2b84cdfe252eaeafb6fd5a0c4779370c4c", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002dc')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002dc'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Application 317", "uid"=>"5b416f2661c94e637805c94881a5ae2b84cdfe252eaeafb6fd5a0c4779370c4c", "secret"=>"e972a82829a01d6123de7d629afb5d73113951905801ed91dc3d705147222d81", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002dc'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Application 317", "uid"=>"5b416f2661c94e637805c94881a5ae2b84cdfe252eaeafb6fd5a0c4779370c4c", "secret"=>"e972a82829a01d6123de7d629afb5d73113951905801ed91dc3d705147222d81", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"3af090bf56d1a3982280e7ea636b204e65753dea7a70afd2c6f967c999f95857", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002de')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002de'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Application 318", "uid"=>"3af090bf56d1a3982280e7ea636b204e65753dea7a70afd2c6f967c999f95857", "secret"=>"935187a25b25e7ea02ee83932b0498feb12186474508caedc6e1d0f38e229578", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002de'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Application 318", "uid"=>"3af090bf56d1a3982280e7ea636b204e65753dea7a70afd2c6f967c999f95857", "secret"=>"935187a25b25e7ea02ee83932b0498feb12186474508caedc6e1d0f38e229578", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.9ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"321843073c508941a206c6aba48e97e9e905ac8bebfb7dd544389895bbbcc21f", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002e0')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002e0'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Application 319", "uid"=>"321843073c508941a206c6aba48e97e9e905ac8bebfb7dd544389895bbbcc21f", "secret"=>"7f5e6f0ac4460e20839e656944b482bf3d30f66c970577dbcbb88af2112182bf", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002e0'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Application 319", "uid"=>"321843073c508941a206c6aba48e97e9e905ac8bebfb7dd544389895bbbcc21f", "secret"=>"7f5e6f0ac4460e20839e656944b482bf3d30f66c970577dbcbb88af2112182bf", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"a3c09897c460df80852f6d4cf715b1ddb710e36de892790aab92165a5373b48a", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002df')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002df'), "application_id"=>BSON::ObjectId('5bb6246a35415975070002e0'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>29, "token"=>"a3c09897c460df80852f6d4cf715b1ddb710e36de892790aab92165a5373b48a", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002df'), "application_id"=>BSON::ObjectId('5bb6246a35415975070002e0'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>29, "token"=>"a3c09897c460df80852f6d4cf715b1ddb710e36de892790aab92165a5373b48a", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6246a35415975070002df')}, :u=>{"_id"=>BSON::ObjectId('5bb6246a35415975070002df'), "application_id"=>BSON::ObjectId('5bb6246a35415975070002e0'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>29, "token"=>"a3c09897c460df80852f6d4cf715b1ddb710e36de892790aab92165a5373b48a", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb6246a35415975070002df')}, {"_id"=>BSON::ObjectId('5bb6246a35415975070002df'), "application_id"=>BSON::ObjectId('5bb6246a35415975070002e0'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>29, "token"=>"a3c09897c460df80852f6d4cf715b1ddb710e36de892790aab92165a5373b48a", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b1d45989f45b6c54b4cd6531f43948171104d302241708fea662ac0502806249", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002e2')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002e2'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Application 320", "uid"=>"b1d45989f45b6c54b4cd6531f43948171104d302241708fea662ac0502806249", "secret"=>"a6a6fcaf66193e9ea799a1f316c0b468a8634d16d243a7159054fe0935d2aef5", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002e2'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Application 320", "uid"=>"b1d45989f45b6c54b4cd6531f43948171104d302241708fea662ac0502806249", "secret"=>"a6a6fcaf66193e9ea799a1f316c0b468a8634d16d243a7159054fe0935d2aef5", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"2e0aa12a0e92e112e292f6062c5012a00ceee41bad0fdd05170ab85f847fe802", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002e1')}}, {:_id=>1}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002e1'), "application_id"=>BSON::ObjectId('5bb6246a35415975070002e2'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>30, "token"=>"2e0aa12a0e92e112e292f6062c5012a00ceee41bad0fdd05170ab85f847fe802", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002e1'), "application_id"=>BSON::ObjectId('5bb6246a35415975070002e2'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>30, "token"=>"2e0aa12a0e92e112e292f6062c5012a00ceee41bad0fdd05170ab85f847fe802", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"208593505ae5fe54f8c728abd6d1167afb051c3e36ee897865176285fe5cb7c4", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002e4')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002e4'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Application 321", "uid"=>"208593505ae5fe54f8c728abd6d1167afb051c3e36ee897865176285fe5cb7c4", "secret"=>"1a2947dff5d4ad40e78ab10646a237040bb992a65f77e0351f449b830b6d360e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002e4'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Application 321", "uid"=>"208593505ae5fe54f8c728abd6d1167afb051c3e36ee897865176285fe5cb7c4", "secret"=>"1a2947dff5d4ad40e78ab10646a237040bb992a65f77e0351f449b830b6d360e", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"4097cd24e4cf848501da94ebb99e33b52dd52f86afd3441e14a70ca8d0a0ca16", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002e3')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a3330756534e3dfc999bcbcff10214cc12410e2ffb20c43fab884e0d9a03374d", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002e6')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002e6'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Application 322", "uid"=>"a3330756534e3dfc999bcbcff10214cc12410e2ffb20c43fab884e0d9a03374d", "secret"=>"3bc1a4efe654f8cad42d2f435d5900bd01bf4f84fb2d0a05820cdd411e3e0798", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002e6'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Application 322", "uid"=>"a3330756534e3dfc999bcbcff10214cc12410e2ffb20c43fab884e0d9a03374d", "secret"=>"3bc1a4efe654f8cad42d2f435d5900bd01bf4f84fb2d0a05820cdd411e3e0798", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"d4952c14d62dc245b63f1bd1e9af3c9f60a7e99d526196c27b8aa948deae8bf3", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002e5')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002e5'), "application_id"=>BSON::ObjectId('5bb6246a35415975070002e6'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>32, "token"=>"d4952c14d62dc245b63f1bd1e9af3c9f60a7e99d526196c27b8aa948deae8bf3", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002e5'), "application_id"=>BSON::ObjectId('5bb6246a35415975070002e6'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>32, "token"=>"d4952c14d62dc245b63f1bd1e9af3c9f60a7e99d526196c27b8aa948deae8bf3", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"b274923874fda2a689e15421606d7c668751b02eda013199a4c7b49f18f3e931", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002e8')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002e8'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Application 323", "uid"=>"b274923874fda2a689e15421606d7c668751b02eda013199a4c7b49f18f3e931", "secret"=>"29a4d26d9e8a889d068da9095fab399237f1e69df8827766f53acb32b5b2af61", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002e8'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Application 323", "uid"=>"b274923874fda2a689e15421606d7c668751b02eda013199a4c7b49f18f3e931", "secret"=>"29a4d26d9e8a889d068da9095fab399237f1e69df8827766f53acb32b5b2af61", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"e500945360b2430eff4923ddafb192d71ed3b74990842e609cddc74edea1b496", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002e7')}}, {:_id=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002e7'), "application_id"=>BSON::ObjectId('5bb6246a35415975070002e8'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>33, "token"=>"e500945360b2430eff4923ddafb192d71ed3b74990842e609cddc74edea1b496", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002e7'), "application_id"=>BSON::ObjectId('5bb6246a35415975070002e8'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>33, "token"=>"e500945360b2430eff4923ddafb192d71ed3b74990842e609cddc74edea1b496", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"d4952c14d62dc245b63f1bd1e9af3c9f60a7e99d526196c27b8aa948deae8bf3", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002e7')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"14e98b807cf155cb215403302fbb7472df5d47d2de4ac2d38de5864e89873598", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002ea')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002ea'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Application 324", "uid"=>"14e98b807cf155cb215403302fbb7472df5d47d2de4ac2d38de5864e89873598", "secret"=>"2b23f34df098f6173ec4119ea94da52ab41e01dce40f8d1d3c0ab33a86c228d3", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002ea'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Application 324", "uid"=>"14e98b807cf155cb215403302fbb7472df5d47d2de4ac2d38de5864e89873598", "secret"=>"2b23f34df098f6173ec4119ea94da52ab41e01dce40f8d1d3c0ab33a86c228d3", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"81efaf56bcea2b935c0f5d6f1f16bc9eaa051a9d8f4092ec7f91704446082186", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002e9')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002e9'), "application_id"=>BSON::ObjectId('5bb6246a35415975070002ea'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>34, "token"=>"81efaf56bcea2b935c0f5d6f1f16bc9eaa051a9d8f4092ec7f91704446082186", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002e9'), "application_id"=>BSON::ObjectId('5bb6246a35415975070002ea'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>34, "token"=>"81efaf56bcea2b935c0f5d6f1f16bc9eaa051a9d8f4092ec7f91704446082186", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"a2e5121e6109f228385a8d17b85f5170047e5f6b57079d09cd0b4d7536f05f03", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002ec')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002ec'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Application 325", "uid"=>"a2e5121e6109f228385a8d17b85f5170047e5f6b57079d09cd0b4d7536f05f03", "secret"=>"f1bbb5bcc0f8c58408f61b7775edae22f81a7a9c845d44a7ae40196c165595f3", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002ec'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Application 325", "uid"=>"a2e5121e6109f228385a8d17b85f5170047e5f6b57079d09cd0b4d7536f05f03", "secret"=>"f1bbb5bcc0f8c58408f61b7775edae22f81a7a9c845d44a7ae40196c165595f3", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"433dc108acc2554ee3af248c48cd765e8e9fa52d84e7695fa5cacff3b66ae53c", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002eb')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002eb'), "application_id"=>BSON::ObjectId('5bb6246a35415975070002ec'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>35, "token"=>"433dc108acc2554ee3af248c48cd765e8e9fa52d84e7695fa5cacff3b66ae53c", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002eb'), "application_id"=>BSON::ObjectId('5bb6246a35415975070002ec'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>35, "token"=>"433dc108acc2554ee3af248c48cd765e8e9fa52d84e7695fa5cacff3b66ae53c", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"81efaf56bcea2b935c0f5d6f1f16bc9eaa051a9d8f4092ec7f91704446082186", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002eb')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"7fec6f37b65a72046d4cc497ab63d25ef1e36597293d37015ad09091e3ad7214", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002ee')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002ee'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Application 326", "uid"=>"7fec6f37b65a72046d4cc497ab63d25ef1e36597293d37015ad09091e3ad7214", "secret"=>"71204939ae17a549690f8cdfe54c3a49a24c7a7bded251af8ea4f0ebd908aeff", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002ee'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Application 326", "uid"=>"7fec6f37b65a72046d4cc497ab63d25ef1e36597293d37015ad09091e3ad7214", "secret"=>"71204939ae17a549690f8cdfe54c3a49a24c7a7bded251af8ea4f0ebd908aeff", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"1dbfaf57a7ee4fbcd952dde99d1b65bfb8b954d11aee3e8b05719427275ac259", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002ed')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"321b0a7500d8377c5a5e53e1cd168404077b7adbb06818b62f8a290362f93709", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002f0')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002f0'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Application 327", "uid"=>"321b0a7500d8377c5a5e53e1cd168404077b7adbb06818b62f8a290362f93709", "secret"=>"ae4ddad44f29baa17b24b7a5407e0954b641fab3cd4f4edaa994e850ef59c87d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002f0'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Application 327", "uid"=>"321b0a7500d8377c5a5e53e1cd168404077b7adbb06818b62f8a290362f93709", "secret"=>"ae4ddad44f29baa17b24b7a5407e0954b641fab3cd4f4edaa994e850ef59c87d", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"7bce094d7fe2aa1931e3c0b4365fb74959a8959718928e6f209e49fb8a3d674d", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002ef')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002ef'), "application_id"=>BSON::ObjectId('5bb6246a35415975070002f0'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>37, "token"=>"7bce094d7fe2aa1931e3c0b4365fb74959a8959718928e6f209e49fb8a3d674d", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002ef'), "application_id"=>BSON::ObjectId('5bb6246a35415975070002f0'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>37, "token"=>"7bce094d7fe2aa1931e3c0b4365fb74959a8959718928e6f209e49fb8a3d674d", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>nil, :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002ef')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"df5096ba6af87b037ce545d1b62053a4812fee1e855792cfc6e57a4530affbf6", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002f2')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002f2'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Application 328", "uid"=>"df5096ba6af87b037ce545d1b62053a4812fee1e855792cfc6e57a4530affbf6", "secret"=>"76053d7c962686b5959787d3fb2f138bc83d56460c6a9d3129cd0e66cd8a6fbb", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (7.1ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002f2'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Application 328", "uid"=>"df5096ba6af87b037ce545d1b62053a4812fee1e855792cfc6e57a4530affbf6", "secret"=>"76053d7c962686b5959787d3fb2f138bc83d56460c6a9d3129cd0e66cd8a6fbb", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"a2d45b7348fe93d7291995f3d1cca856a162baf073c62b1475cda5d662733cc2", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002f1')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"25f390c0a94e58775012a08ec2c25bee5744dbd9083199e9e9eb8e62d256193b", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002f4')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002f4'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Application 329", "uid"=>"25f390c0a94e58775012a08ec2c25bee5744dbd9083199e9e9eb8e62d256193b", "secret"=>"b8a1c3ef8f434517bd67acf0e220c6208f382d941bf03d94896fdbb2d245cb6c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002f4'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Application 329", "uid"=>"25f390c0a94e58775012a08ec2c25bee5744dbd9083199e9e9eb8e62d256193b", "secret"=>"b8a1c3ef8f434517bd67acf0e220c6208f382d941bf03d94896fdbb2d245cb6c", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"a00b5b34312953a5b66adee83d28dfb0715f254315747f7911672160c46314f4", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002f3')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"8f072945b6a8e88e53d82a08162d59bc424e862baf25996aaf10bcdcdc23977d", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002f5')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002f5'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Just another oauth app", "uid"=>"8f072945b6a8e88e53d82a08162d59bc424e862baf25996aaf10bcdcdc23977d", "secret"=>"4db40e016ce2af27ec36e4583c491b01665e3143d8ac23bf4cd38985a973b24b", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002f5'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Just another oauth app", "uid"=>"8f072945b6a8e88e53d82a08162d59bc424e862baf25996aaf10bcdcdc23977d", "secret"=>"4db40e016ce2af27ec36e4583c491b01665e3143d8ac23bf4cd38985a973b24b", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) Started GET "/oauth/applications/5bb6246a35415975070002f5" for 127.0.0.1 at 2018-10-04 17:32:10 +0300 Processing by Doorkeeper::ApplicationsController#show as HTML Parameters: {"id"=>"5bb6246a35415975070002f5"} MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6246a35415975070002f5')}).limit(-1) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/_delete_form.html.erb (0.2ms) Rendered /home/bulaj/projects/gems/doorkeeper-mongodb/doorkeeper/app/views/doorkeeper/applications/show.html.erb within layouts/doorkeeper/admin (1.2ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5a14d618cdde1d0ff48c786b165d8bbec6252d96c31bf6ea6bd0d764ce620e19", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002f6')}}, {:_id=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002f6'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Application 330", "uid"=>"5a14d618cdde1d0ff48c786b165d8bbec6252d96c31bf6ea6bd0d764ce620e19", "secret"=>"18cf2b025834575d6a52c478a3658e9e9c7ea271554a334fd6881d69e383def4", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002f6'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Application 330", "uid"=>"5a14d618cdde1d0ff48c786b165d8bbec6252d96c31bf6ea6bd0d764ce620e19", "secret"=>"18cf2b025834575d6a52c478a3658e9e9c7ea271554a334fd6881d69e383def4", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (1.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"eb1657d212bbd86bde02e4b63f2b1fc437dfc353f578f5ee8b9c147c482d881c", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002f7')}}, {:_id=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002f7'), "application_id"=>BSON::ObjectId('5bb6246a35415975070002f6'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>40, "token"=>"eb1657d212bbd86bde02e4b63f2b1fc437dfc353f578f5ee8b9c147c482d881c", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002f7'), "application_id"=>BSON::ObjectId('5bb6246a35415975070002f6'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>40, "token"=>"eb1657d212bbd86bde02e4b63f2b1fc437dfc353f578f5ee8b9c147c482d881c", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token?code=[FILTERED]&client_id=5a14d618cdde1d0ff48c786b165d8bbec6252d96c31bf6ea6bd0d764ce620e19&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:32:10 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"5a14d618cdde1d0ff48c786b165d8bbec6252d96c31bf6ea6bd0d764ce620e19", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"invalid"}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"5a14d618cdde1d0ff48c786b165d8bbec6252d96c31bf6ea6bd0d764ce620e19"}).limit(-1) Completed 401 Unauthorized in 4ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"125aae48d04c51792cc1d45ddcc6d9246f1a6cabb5e7ac692ca2f6a77e920613", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002f8')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_applications", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002f8'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Application 331", "uid"=>"125aae48d04c51792cc1d45ddcc6d9246f1a6cabb5e7ac692ca2f6a77e920613", "secret"=>"da73e9dab22500c0b4875f266a82b2569eb5d6be54b01e6a5fc47b1fce29accb", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002f8'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "name"=>"Application 331", "uid"=>"125aae48d04c51792cc1d45ddcc6d9246f1a6cabb5e7ac692ca2f6a77e920613", "secret"=>"da73e9dab22500c0b4875f266a82b2569eb5d6be54b01e6a5fc47b1fce29accb", "redirect_uri"=>"https://app.com/callback", "confidential"=>true, "owner_id"=>nil}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"d9541db081701ef5d21705a66ae1dba5faa1386a6d778c066058f2cc4b2c1183", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002f9')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002f9'), "application_id"=>BSON::ObjectId('5bb6246a35415975070002f8'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>41, "token"=>"d9541db081701ef5d21705a66ae1dba5faa1386a6d778c066058f2cc4b2c1183", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002f9'), "application_id"=>BSON::ObjectId('5bb6246a35415975070002f8'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>41, "token"=>"d9541db081701ef5d21705a66ae1dba5faa1386a6d778c066058f2cc4b2c1183", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback"}) Started POST "/oauth/token?code=[FILTERED]&client_id=125aae48d04c51792cc1d45ddcc6d9246f1a6cabb5e7ac692ca2f6a77e920613&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:32:10 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"125aae48d04c51792cc1d45ddcc6d9246f1a6cabb5e7ac692ca2f6a77e920613", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"d9541db081701ef5d21705a66ae1dba5faa1386a6d778c066058f2cc4b2c1183"}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"125aae48d04c51792cc1d45ddcc6d9246f1a6cabb5e7ac692ca2f6a77e920613"}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:_id=>BSON::ObjectId('5bb6246a35415975070002f9')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:update=>"oauth_access_grants", :updates=>[{:q=>{:_id=>BSON::ObjectId('5bb6246a35415975070002f9')}, :u=>{"_id"=>BSON::ObjectId('5bb6246a35415975070002f9'), "application_id"=>BSON::ObjectId('5bb6246a35415975070002f8'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>41, "token"=>"d9541db081701ef5d21705a66ae1dba5faa1386a6d778c066058f2cc4b2c1183", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}, :multi=>false, :upsert=>true}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1, :upsert=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].update({:_id=>BSON::ObjectId('5bb6246a35415975070002f9')}, {"_id"=>BSON::ObjectId('5bb6246a35415975070002f9'), "application_id"=>BSON::ObjectId('5bb6246a35415975070002f8'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>41, "token"=>"d9541db081701ef5d21705a66ae1dba5faa1386a6d778c066058f2cc4b2c1183", "scopes"=>"public write", "expires_in"=>100, "redirect_uri"=>"https://app.com/callback", "revoked_at"=>2018-10-04 00:00:00 UTC}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6246a35415975070002f8')}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:_id=>BSON::ObjectId('5bb6246a35415975070002f8')}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].find({:token=>"9bc298e9467f7aad02e72ac7dac277b3bd63045309bf2db24ea0012a1ef522f3", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002fa')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_tokens", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002fa'), "application_id"=>BSON::ObjectId('5bb6246a35415975070002f8'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>41, "token"=>"9bc298e9467f7aad02e72ac7dac277b3bd63045309bf2db24ea0012a1ef522f3", "expires_in"=>7200, "scopes"=>"public write"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002fa'), "application_id"=>BSON::ObjectId('5bb6246a35415975070002f8'), "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>41, "token"=>"9bc298e9467f7aad02e72ac7dac277b3bd63045309bf2db24ea0012a1ef522f3", "expires_in"=>7200, "scopes"=>"public write"}) Completed 200 OK in 7ms MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) Started POST "/oauth/token?code=[FILTERED]&client_id=125aae48d04c51792cc1d45ddcc6d9246f1a6cabb5e7ac692ca2f6a77e920613&client_secret=[FILTERED]&redirect_uri=https%3A%2F%2Fapp.com%2Fcallback&grant_type=authorization_code" for 127.0.0.1 at 2018-10-04 17:32:10 +0300 Processing by Doorkeeper::TokensController#create as HTML Parameters: {"code"=>"[FILTERED]", "client_id"=>"125aae48d04c51792cc1d45ddcc6d9246f1a6cabb5e7ac692ca2f6a77e920613", "client_secret"=>"[FILTERED]", "redirect_uri"=>"https://app.com/callback", "grant_type"=>"authorization_code"} MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"d9541db081701ef5d21705a66ae1dba5faa1386a6d778c066058f2cc4b2c1183"}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].find({:uid=>"125aae48d04c51792cc1d45ddcc6d9246f1a6cabb5e7ac692ca2f6a77e920613"}).limit(-1) Completed 401 Unauthorized in 3ms MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_tokens", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.7ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.6ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"9d380eb512a62e94560595ad823852d2a83678302e10e229db18917c47ba8cc3", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002fb')}}, {:_id=>1}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002fb'), "application_id"=>9990, "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>8900, "token"=>"9d380eb512a62e94560595ad823852d2a83678302e10e229db18917c47ba8cc3", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"http://tst.com/cb"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002fb'), "application_id"=>9990, "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>8900, "token"=>"9d380eb512a62e94560595ad823852d2a83678302e10e229db18917c47ba8cc3", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"http://tst.com/cb"}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].find({:token=>"24614db2b7d5714d48294b638a00e8065b83743df4b8db97d8fb501cdd48c530", :_id=>{:$ne=>BSON::ObjectId('5bb6246a35415975070002fc')}}, {:_id=>1}).limit(-1) MONGODB (0.8ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:insert=>"oauth_access_grants", :documents=>[{"_id"=>BSON::ObjectId('5bb6246a35415975070002fc'), "application_id"=>9990, "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>8900, "token"=>"24614db2b7d5714d48294b638a00e8065b83743df4b8db97d8fb501cdd48c530", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"http://tst.com/cb"}], :writeConcern=>{:w=>1}, :ordered=>true, :w=>1}).limit(-1) MONGODB (1.0ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].insert({"_id"=>BSON::ObjectId('5bb6246a35415975070002fc'), "application_id"=>9990, "created_at"=>2018-10-04 14:32:10 UTC, "updated_at"=>2018-10-04 14:32:10 UTC, "resource_owner_id"=>8900, "token"=>"24614db2b7d5714d48294b638a00e8065b83743df4b8db97d8fb501cdd48c530", "scopes"=>"", "expires_in"=>600, "redirect_uri"=>"http://tst.com/cb"}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({"count"=>"oauth_access_grants", "query"=>{}, "fields"=>nil}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:listCollections=>1, :cursor=>{}}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_tokens", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_access_tokens'].delete({}) MONGODB (0.2ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"users", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['users'].delete({}) MONGODB (0.3ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_applications", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['oauth_applications'].delete({}) MONGODB (0.4ms) doorkeeper-mongomapper-test-suite['$cmd'].find({:delete=>"oauth_access_grants", :deletes=>[{:q=>{}, :limit=>0}], :writeConcern=>{:w=>1}, :ordered=>true}).limit(-1) MONGODB (0.5ms) doorkeeper-mongomapper-test-suite['oauth_access_grants'].delete({})