spec/dummy/config/initializers/doorkeeper.rb in wine_bouncer-0.5.0 vs spec/dummy/config/initializers/doorkeeper.rb in wine_bouncer-0.5.1
- old
+ new
@@ -39,10 +39,10 @@
# enable_application_owner :confirmation => false
# Define access token scopes for your provider
# For more information go to
# https://github.com/doorkeeper-gem/doorkeeper/wiki/Using-Scopes
- default_scopes :public, :default
+ default_scopes :public, :default
optional_scopes :write, :update
# Change the way client credentials are retrieved from the request object.
# By default it retrieves first from the `HTTP_AUTHORIZATION` header, then
# falls back to the `:client_id` and `:client_secret` params from the `params` object.