Skip to content

verifyJWTClaims fails while comparing local time to claims #486

@bozhinov

Description

@bozhinov

Hello,

I got an exception trying to setup my app
Unable to verify JWT claims in C:\Apache24\htdocs\Jumbojett\OpenIDConnectClient.php:372

The code that fails me:
$claims->exp >= time() - $this->leeway

I have ~9 hours diff in local time to claims->exp time

Could this be a time zone issue ?

Momchil

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions