[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:
parent
47b2f7ea9e
commit
513cea69c6
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue