=> #[ ... ]
>> user.roles.create(:role => "moderator", :granter_id => user.id)
=> #[ ... ]
->> user.save!
-=> true
>> quit
```
* Go to "[OAuth 2 applications](http://localhost:3000/oauth2/applications)" on the My settings page.
* Click on "Register new application".
- * Unless you have set up alternatives, use Name: "Local iD" and Main Application URL: "http://localhost:3000"
+ * Unless you have set up alternatives, use Name: "Local iD" and Redirect URIs: "http://localhost:3000"
* Check boxes for the following Permissions
* 'Read user preferences'
* 'Modify user preferences'