Skip to content

DI container cannot be built without valid JWT key #95

@alex-dev

Description

@alex-dev

lcobucci/jwt@^4|^5 validate keys. Building DI container should be doable without any env var setup.

mercure:
  hubs:
    default:
      url: '%env(MERCURE_URL)%'
      public_url: '%env(MERCURE_PUBLIC_URL)%'
      jwt:
        secret: '%env(MERCURE_JWT_KEY)%'
        publish: ["*"]
        subscribe: ["*"]

Run php bin/console cache:warmup without providing MERCURE_JWT_KEY

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