Skip to content

Commit 8368dba

Browse files
committed
fixing jwt issue)
1 parent 76ae34c commit 8368dba

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

app/docusign/ds_client.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ def _jwt_auth(cls):
104104
user_id=DS_JWT["ds_impersonated_user_id"],
105105
oauth_host_name=DS_JWT["authorization_server"],
106106
private_key_bytes=private_key,
107-
expires_in=3600,
107+
expires_in=4000,
108108
scopes=use_scopes
109-
)
109+
)
110110
return redirect(url_for("ds.ds_callback"))
111111

112112
except ApiException as err:
@@ -122,6 +122,9 @@ def _jwt_auth(cls):
122122
else:
123123
process_error(err)
124124

125+
return redirect(url_for("ds.ds_callback"))
126+
127+
125128

126129
@classmethod
127130
def destroy(cls):

0 commit comments

Comments
 (0)