Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPError: JWT not active yet, now 1691734526, nbf 1691734597 #647

Open
chandanray876 opened this issue Aug 11, 2023 · 3 comments
Open

RPError: JWT not active yet, now 1691734526, nbf 1691734597 #647

chandanray876 opened this issue Aug 11, 2023 · 3 comments
Assignees

Comments

@chandanray876
Copy link

image

const xero = new XeroClient({
clientId: xeroConfig.clientId,
clientSecret: xeroConfig.clientSecret,
redirectUris: [xeroConfig.redirectUris],
scopes: xeroConfig.scopes.split(' '),
// clockTolerance: 10
});

const tokenSet = await xero.apiCallback(req.url);

@github-actions
Copy link

PETOSS-331

@github-actions
Copy link

Thanks for raising an issue, a ticket has been created to track your request

@sangeet-joy-tw
Copy link
Contributor

sangeet-joy-tw commented Feb 8, 2024

hey @chandanray876,

this can be happening to you due to your system might be setting a nbf (not before) timestamp while making the network call.

Please try running our sample app - https://github.com/XeroAPI/xero-node-oauth2-app with the latest xero-node veriosn v5.0.1

please go through this issue card once - #327 - this has some solution which had worked. it can be due to some time settings on your system.

if you are still facing issue please let us know with some more details.

@sangeet-joy-tw sangeet-joy-tw self-assigned this Feb 8, 2024
@sangeet-joy-tw sangeet-joy-tw added Status: In Discussion Tag individuals in the comments you wish to discuss issue with and removed Status: In Discussion Tag individuals in the comments you wish to discuss issue with labels Feb 8, 2024
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

No branches or pull requests

2 participants