JWT: 'Expiration time' claim ('exp') is too far in the future
See original GitHub issueBug Report
Current Behavior This error began when I upgraded to v9 from v7
When running probot run index.js
I get the following error:
ERROR probot: 'Expiration time' claim ('exp') is too far in the future
I am not creating any tokens manually, this just occurs when the bot tries to authenticate in order to make the first request.
Expected behavior/code
Authentication with the GitHub API on probot@^9
should create valid API tokens
Environment
- Probot version(s): 9.2.13
- Node/npm version: Node v10.16.0
- OS: OSX 10.14.5
Possible Solution
Issue Analytics
- State:
- Created 4 years ago
- Comments:24 (11 by maintainers)
Top Results From Across the Web
Expiration time' claim ('exp') is too far in the future · Issue #1426
As I understand the code I've seen so far, the authentication library tries to get a token with a validity of exactly 10...
Read more >GitHub API returns 401 while trying to generate access token
I'm trying to generate an access token for my GitHub App via GitHub API. I'm getting a 401 unauthorized response error: expiration time'...
Read more >Managing JWT token expiration - Medium
The “exp” (expiration time) claim identifies the expiration time on or after which the JWT MUST NOT be accepted for processing.
Read more >Expiration Time (exp) claim error in the ID token
The issue here was specific to user's local machine time. It was not synced with the world clock & hence it was 1...
Read more >The client_assertion token has an expiration too far into the ...
I assume you are using our SDK to create the JWT token used in the client assertion? If so are you specifying either...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hmm sounds like a game of spot the difference is in order then @gr2m
It’s not quite the same though
Previous
Current
So previous one just added on 60 seconds from current issued time and the current one adds on 10 minutes from current time.
Issue-Label Bot is automatically applying the label
bug 🐞
to this issue, with a confidence of 0.91. Please mark this comment with 👍 or 👎 to give our bot feedback!Links: app homepage, dashboard and code for this bot.