[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
This commit is contained in:
Christophe Simonis 2015-12-08 12:16:42 +01:00
parent 47b2f7ea9e
commit 513cea69c6
1 changed files with 0 additions and 1 deletions

View File

@ -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,