From: Eugen Rochko Date: Fri, 30 Sep 2016 20:40:31 +0000 (+0200) Subject: Allow non-https redirect URIs for OAuth apps (AndStatus seems to require this) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=492224b93fc11f1c0bc127ede8376bf243925caa;p=mastodon.git Allow non-https redirect URIs for OAuth apps (AndStatus seems to require this) --- diff --git a/config/initializers/doorkeeper.rb b/config/initializers/doorkeeper.rb index 2c02d2b54..646b12e46 100644 --- a/config/initializers/doorkeeper.rb +++ b/config/initializers/doorkeeper.rb @@ -76,7 +76,7 @@ Doorkeeper.configure do # by default in non-development environments). OAuth2 delegates security in # communication to the HTTPS protocol so it is wise to keep this enabled. # - # force_ssl_in_redirect_uri !Rails.env.development? + force_ssl_in_redirect_uri false # Specify what grant flows are enabled in array of Strings. The valid # strings and the flows they enable are: