Skip to content

v13: JWT and JWK key ids must match #4048

@pebosi

Description

@pebosi

Environment

  • PostgreSQL version: 13.3
  • PostgREST version: latest / devel
  • Operating system: Docker

Description of issue

Currently using latest images with this JWT Secret Config:

{
  "alg":"RS256",
  "e":"AQAB",
  "key_ops":["verify"],
  "kty":"RSA",
  "n":"ryPOQAv29sSO9jbDWkte3exY...."
}

is working with latest version, but fails with this error on devel:

No suitable key or wrong key type

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsOnly related to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions