I added like that ti’s not working. it’s always return expire_in : 3600
I wana more than. How can I do that Please someone help me.
Best answer by Islam.Hassanein
Hi @david009,
You’re absolutely right that a limitation of using the JSON Web Token (JWT) Grant flow is that the access token it provides expires after one hour (expires_in: 3600), and no refresh token is issued. This behavior is by design, as the JWT Grant flow prioritizes security by requiring a new JWT to be generated and exchanged for a new access token each time the previous one expires.
Unfortunately, it's not possible to extend the expires_in value beyond 3600 seconds with this flow. If you’re looking for a solution that offers a longer-lived token or a refresh token, you might consider using another authentication method, like the Authorization Code Grant flow.
You’re absolutely right that a limitation of using the JSON Web Token (JWT) Grant flow is that the access token it provides expires after one hour (expires_in: 3600), and no refresh token is issued. This behavior is by design, as the JWT Grant flow prioritizes security by requiring a new JWT to be generated and exchanged for a new access token each time the previous one expires.
Unfortunately, it's not possible to extend the expires_in value beyond 3600 seconds with this flow. If you’re looking for a solution that offers a longer-lived token or a refresh token, you might consider using another authentication method, like the Authorization Code Grant flow.
You can login or register as either a Docusign customer or developer. If you don’t already have a Docusign customer or developer account, you can create one for free when registering.
You can login or register as either a Docusign customer or developer. If you don’t already have a Docusign customer or developer account, you can create one for free when registering.