Skip to content

User Deprecated: The parameter "$clock" will become mandatory in 4.0.0 #1280

@mforbak

Description

@mforbak

In the logs, I’ve observed multiple deprecation warnings similar to the following:

User Deprecated: Since web-token/jwt-library 3.3.0: The parameter "$clock" will become mandatory in 4.0.0. Please set a valid PSR Clock implementation instead of "null". 

This is caused by the missing third argument in the service definition which is now required by the IssuedAtChecker/ExpirationTimeChecker/NotBeforeChecker...

A possible solution might be to merge the existing pull request? #1231

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