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

Suggestion to include notice for those who want to use "openid" scope in documentation. #13

Open
Dhavalc2012 opened this issue May 19, 2021 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@Dhavalc2012
Copy link

Issue:

When you try to add the scope of 'openid' scope as shown on the following link (https://heimdall.ezralazuardy.com/documentation/oidc). It throws a message (error) while using token API. (http://localhost:8080/rest/token)

"Using integers for registered date claims is deprecated, please use DateTimeImmutable objects instead."

This seems to be caused by the dependency of league/oauth2-server. It uses newer package lcobucci/jwt where there have been major breaking changes. Similiar issue has been noted in laravel passport package. (laravel/passport#1381)

Solution :
This can be resolved by downgrading the package " lcobucci/jwt" to 3.3.3 for the dependency "league/oauth2-server" and then run command composer require lcobucci/jwt:3.3.3

@ezralazuardy ezralazuardy added the documentation Improvements or additions to documentation label May 21, 2021
@ezralazuardy ezralazuardy self-assigned this May 21, 2021
@ezralazuardy
Copy link
Owner

thanks for the report. ill recheck this issue as soon as possible

@ergec
Copy link

ergec commented May 31, 2021

#8

This is the same issue I reported a while ago which said to be fixed in v0.0.4 but unfortunately it's not :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants