Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] Using integers for registered date claims is deprecated, please use DateTimeImmutable objects instead #8

Closed
ergec opened this issue Mar 22, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@ergec
Copy link

ergec commented Mar 22, 2021

Authorization code grant type throws Using integers for registered date claims is deprecated, please use DateTimeImmutable objects instead during token generation because of the changes in lcobucci/jwt:3.4

league/oauth2-server:8.1.1 and lcobucci/jwt:3.3.3 works fine.

Steps to reproduce the behavior:
composer require ezralazuardy/heimdall //which installs latest versions of league/oauth2-server version 8.2.4 which uses lcobucci/jwt:3.4.5
Use authorization code grant
Token generation step gives error

Expected behavior
Generated tokens

Screenshots
image

@ezralazuardy ezralazuardy self-assigned this Apr 4, 2021
@ezralazuardy ezralazuardy added the bug Something isn't working label Apr 4, 2021
@ezralazuardy
Copy link
Owner

Heimdall v0.0.4 is now released to fix this issue. thanks for your contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants