]> cat aescling's git repositories - mastodon.git/commitdiff
Allow non-https redirect URIs for OAuth apps (AndStatus seems to require this)
authorEugen Rochko <eugen@zeonfederated.com>
Fri, 30 Sep 2016 20:40:31 +0000 (22:40 +0200)
committerEugen Rochko <eugen@zeonfederated.com>
Fri, 30 Sep 2016 20:40:31 +0000 (22:40 +0200)
config/initializers/doorkeeper.rb

index 2c02d2b54e5cbd5932bac2260df52c18871c98d7..646b12e4673e4a3c3cd4236f129b182e7c64c4a5 100644 (file)
@@ -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: