Skip to content

Allowing multiple aud values in jwt-aud configuration #2099

@robertsosinski

Description

@robertsosinski

Environment

  • PostgreSQL version: 13.1
  • PostgREST version: v9.0.0 docker postgrest/postgrest:v9.0.0
  • Operating system: Windows 10, Running PostgREST/PostgreSQL via Docker

Description of issue

I'm using a managed service to generate JWTs for my PostgREST app, and they may come with 2 different "aud" values. Looking into the source, jwt-aud only accepts a single StringOrURI. If jwt-aud could have similar behavior to db-extra-search-path, which accepts a comma separated list, that would be great.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementa feature, ready for implementationideaNeeds of discussion to become an enhancement, not ready for implementation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions