Skip to content

Consider JWT expires_in as seconds#11

Closed
rajaramsrn wants to merge 5 commits into
docusign:masterfrom
rajaramsrn:master
Closed

Consider JWT expires_in as seconds#11
rajaramsrn wants to merge 5 commits into
docusign:masterfrom
rajaramsrn:master

Conversation

@rajaramsrn
Copy link
Copy Markdown

math.floor(time()) returns current time in seconds. To compute "later" we do not need to multiply expires_in by 1000.

Rajaram Soundararajan added 5 commits March 22, 2018 11:11
@mmallis87
Copy link
Copy Markdown
Contributor

@rajaramsrn changing the configure_jwt_authorization_flow interface will introduce backward incompatibility. I think you should multiply the expires_in value by *1000 WHEN you pass it to configure_jwt_authorization_flow function.

@mmallis87 mmallis87 closed this Mar 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants