summaryrefslogtreecommitdiff
path: root/addons/auth_oauth
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2015-12-08 12:16:42 +0100
committerChristophe Simonis <chs@odoo.com>2015-12-08 12:16:42 +0100
commit513cea69c688fc4e37f26dba8880f2b683a9eae3 (patch)
treef14b789a969f4126208b38773b945fc353857070 /addons/auth_oauth
parent47b2f7ea9ed082d2bd8ce4e1a9fb331d864b0f5a (diff)
[FIX] auth_oauth: do not transfer `debug` flag to OAuth provider
This parameter is not part of the spec [1] and may not be supported by all OAuth providers. [1] http://tools.ietf.org/html/rfc6749#section-4.2.1
Diffstat (limited to 'addons/auth_oauth')
-rw-r--r--addons/auth_oauth/controllers/main.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/auth_oauth/controllers/main.py b/addons/auth_oauth/controllers/main.py
index fe3c8bef905..b66c33f57d9 100644
--- a/addons/auth_oauth/controllers/main.py
+++ b/addons/auth_oauth/controllers/main.py
@@ -56,7 +56,6 @@ class OAuthLogin(openerp.addons.web.controllers.main.Home):
return_url = request.httprequest.url_root + 'auth_oauth/signin'
state = self.get_state(provider)
params = dict(
- debug=request.debug,
response_type='token',
client_id=provider['client_id'],
redirect_uri=return_url,