fixed oauth2 code授权方式登录default_scopes

This commit is contained in:
xiaoxiaoqiong 2022-07-05 16:30:11 +08:00
parent 14dd7a3b60
commit 1bc7c48876
1 changed files with 2 additions and 2 deletions

View File

@ -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.