Browse Source

fixed oauth2 code授权方式登录default_scopes

pull/313/head
xiaoxiaoqiong 4 years ago
parent
commit
1bc7c48876
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      config/initializers/doorkeeper.rb

+ 2
- 2
config/initializers/doorkeeper.rb 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.


Loading…
Cancel
Save