From b80b89e81dfa8c833908edda0f0a48bc8fd167b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cxxq250=E2=80=9D?= <“xxq250@qq.com”> Date: Fri, 21 Oct 2022 14:48:33 +0800 Subject: [PATCH] =?UTF-8?q?fixed=20=E6=94=AF=E6=8C=81refresh=5Ftoken?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/initializers/doorkeeper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/doorkeeper.rb b/config/initializers/doorkeeper.rb index b11b32dea..2a2355c6d 100644 --- a/config/initializers/doorkeeper.rb +++ b/config/initializers/doorkeeper.rb @@ -361,7 +361,7 @@ Doorkeeper.configure do # https://datatracker.ietf.org/doc/html/rfc6819#section-4.4.3 # # - grant_flows %w[authorization_code client_credentials password] + grant_flows %w[authorization_code client_credentials password refresh_token] # Allows to customize OAuth grant flows that +each+ application support. # You can configure a custom block (or use a class respond to `#call`) that must