Skip to content

TS build error for versions of JWT #98

@tinatinatina2

Description

@tinatinatina2

"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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions