entropic-dev / entropic-dev/boltzmann
TS build error for versions of JWT
- Dominant language
- TypeScript
- Stars
- 8
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
"typescript build error since there's a postinstall instruction in api/package.json to build the api package and it looks like some version got upgraded for JWTs that is causing an error in boltzmann.ts at templates/boltzmann/middleware/oauth.ts
if you correct the line to
if (!([] as string[]).concat(decoded.aud || []).includes(clientId)) {
then it will build properly during the install"
Contributor guide
No contributing guide indexed for this repository
Research direction
Open templates/boltzmann/middleware/oauth.ts and inspect the JWT audience check mentioned in the issue. Apply the specified TypeScript-compatible correction, then run the API package install or build triggered by the postinstall instruction in api/package.json; done means the TypeScript build completes successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- authentication, backend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 65/100