Skip to content

Commit 110cf29

Browse files
author
Santiago Loureiro
committed
Agregar prompt consent a la url de Oauth
1 parent 98d25e6 commit 110cf29

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def read(fname):
77

88

99
setup(name='zohocrm-python',
10-
version='0.1.4',
10+
version='0.1.5',
1111
description='API wrapper for ZohoCRM written in Python',
1212
long_description=read('README.md'),
1313
url='https://github.com/GearPlug/zohocrm-python',

zohocrm/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def get_authorization_url(self):
3636
:return:
3737
"""
3838
params = {'scope': ','.join(self.scope), 'client_id': self.client_id, 'access_type': 'offline',
39-
'redirect_uri': self.redirect_uri, 'response_type': 'code'}
39+
'redirect_uri': self.redirect_uri, 'response_type': 'code', 'prompt':'consent'}
4040
url = ZOHOCRM_AUTHORIZE_URL + '?' + urlencode(params)
4141
return url
4242

0 commit comments

Comments
 (0)