ezralazuardy / heimdall

Painless OAuth 2.0 Server for CodeIgniter 4 🔥
https://heimdall.lazuardy.tech
MIT License
41 stars 10 forks source link

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

Closed ergec closed 3 years ago

ergec commented 3 years ago

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 commented 3 years ago

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