about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-09-30 22:40:31 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-09-30 22:40:31 +0200
commit492224b93fc11f1c0bc127ede8376bf243925caa (patch)
tree6de74a723c60e6ec16136128e564d464cfdd60d4 /config
parent96ad9b0db140d392ffcab0840d49897ed3f0af7a (diff)
Allow non-https redirect URIs for OAuth apps (AndStatus seems to require this)
Diffstat (limited to 'config')
-rw-r--r--config/initializers/doorkeeper.rb2
1 files changed, 1 insertions, 1 deletions
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: