这是indexloc提供的服务,不要输入任何密码
Skip to content

support arrays in custom JWT claims #1902

@litchfield

Description

@litchfield

Support for custom claims is great! But it chokes when we try to use an array --

code: “jwt-invalid-claims”
path: “$”
message: “x-hasura-* claims: expected Text, encountered Array”

Use case here is user "groups" (multiple). Not essential but including in the JWT would simplify our permission rules and save us some joins.

Metadata

Metadata

Assignees

Labels

a/authnIssues related to "authentication" and capturing session claims from an API callc/serverRelated to serverc/v3-engineV3 Metadata and Enginek/enhancementNew feature or improve an existing featurep/highcandidate for being included in the upcoming sprints/triagedThis has been reviewed by Hasurat/gql-servicesv3

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions