JWT token expiration leeway + minor error logging adjustments
Roberto Dominguez
Branch: comalatech/atlassian-connect-express:master
Branch: atlassian/atlassian-connect-express:master
Declined
Declined pull request
Declined - we don't want to enable JWT leeway in our main lib. Thanks anyway :)
Closed by: Seb Ruiz·2016-03-10
@Seb,
Just created this PR, FYI, in case you want to incorporate the changes I've made in our fork:
The ability to set al leeway for the JWT token expiration. It can be set on a per authentication middleware instance basis, i.e. you can set it only on a given path.
Minor adjustments on the logging on error (i.e. the issuer/clientId, when known, is not set as part of the error message, but as separate parameter)