You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I added clerk authentication to my redwoodjs application and sometimes when trying to get data from the graphql endpoint I get the following error message:
api | 19:19:40 🚨 graphql-server Error building context. Error: Exception in getAuthenticationContext: JWT cannot be used prior to not before date claim (nbf). Not before date: Fri, 03 Jan 2025 02:20:02 GMT; Current date: Fri, 03 Jan 2025 02:19:40 GMT;
api | 19:19:40 🚨 Exception in getAuthenticationContext: JWT cannot be used prior to not before date claim (nbf). Not before date: Fri, 03 Jan 2025 02:20:02 GMT; Current date: Fri, 03 Jan 2025 02:19:40 GMT;
api |
api | 🚨 Error Info
api |
api | {}
api |
api | 🥞 Error Stack
api |
api | Error: Exception in getAuthenticationContext: JWT cannot be used prior to not before date claim (nbf). Not before date: Fri, 03 Jan 2025 02:20:02 GMT; Current date: Fri, 03 Jan 2025 02:19:40 GMT;
api | at onContextBuilding (/Users/steveschierholz/repos/budget-tracker-rw/node_modules/@redwoodjs/graphql-server/dist/plugins/useRedwoodAuthContext.js:37:15)
api | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
api | at async Object.contextFactory (/Users/steveschierholz/repos/budget-tracker-rw/node_modules/@envelop/core/cjs/orchestrator.js:206:45)
api | at async processRequest (/Users/steveschierholz/repos/budget-tracker-rw/node_modules/graphql-yoga/cjs/process-request.js:48:26)
api | at async YogaServer.getResultForParams (/Users/steveschierholz/repos/budget-tracker-rw/node_modules/graphql-yoga/cjs/server.js:286:26)
api | at async handle (/Users/steveschierholz/repos/budget-tracker-rw/node_modules/graphql-yoga/cjs/server.js:365:25)
api | at async graphQLYogaHandler (/Users/steveschierholz/repos/budget-tracker-rw/node_modules/@redwoodjs/api-server/dist/bin.js:465:24)
How do we reproduce the bug?
Unsure because sometimes it will work sometimes and return the data and sometimes it returns this error and a 500 error.
What's not working?
I added clerk authentication to my redwoodjs application and sometimes when trying to get data from the graphql endpoint I get the following error message:
How do we reproduce the bug?
Unsure because sometimes it will work sometimes and return the data and sometimes it returns this error and a 500 error.
What's your environment? (If it applies)
Are you interested in working on this?
The text was updated successfully, but these errors were encountered: