From 513cea69c688fc4e37f26dba8880f2b683a9eae3 Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Tue, 8 Dec 2015 12:16:42 +0100 Subject: [PATCH] [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 --- addons/auth_oauth/controllers/main.py | 1 - 1 file changed, 1 deletion(-) 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,