lexik_jwt_authentication:
    secret_key: '%env(resolve:JWT_SECRET_KEY)%'
    public_key: '%env(resolve:JWT_PUBLIC_KEY)%'
    pass_phrase: '%env(JWT_PASSPHRASE)%'

    # Short-lived access token (see AccessTokenIssuer::TTL, which issues the tokens): the refresh token renews it.
    token_ttl: 900

    # Tolerance (seconds) on the dates of a token, both ways. Without it a clock put back by one second
    # (time synchronisation, a virtual machine under load) makes a token issued a moment ago look like it comes
    # from the future: 401 "Invalid JWT Token" on a perfectly good session. Ten seconds is nothing next to the
    # 15 minutes of the token, and a revoked session is refused by ActiveSessionListener whatever the dates.
    clock_skew: 10

    # The user is identified by its UUID, carried by the standard "sub" claim.
    user_id_claim: sub
