fixed oauth2 code授权方式登录default_scopes
This commit is contained in:
parent
14dd7a3b60
commit
1bc7c48876
|
@ -242,8 +242,8 @@ Doorkeeper.configure do
|
|||
# For more information go to
|
||||
# https://doorkeeper.gitbook.io/guides/ruby-on-rails/scopes
|
||||
#
|
||||
# default_scopes :public
|
||||
# optional_scopes :write, :update
|
||||
default_scopes :public
|
||||
optional_scopes :write, :update
|
||||
|
||||
# Allows to restrict only certain scopes for grant_type.
|
||||
# By default, all the scopes will be available for all the grant types.
|
||||
|
|
Loading…
Reference in New Issue