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

APIで"Replicating claims as headers is deprecated and will removed from v4.0."が発生した場合 #855

Closed
hirossyi73 opened this issue Nov 26, 2020 · 2 comments
Labels
important Important task - 重要・要望が多い

Comments

@hirossyi73
Copy link
Contributor

APIの認証や実行時に、稀に以下のエラーが発生するご報告を受けております。

Replicating claims as headers is deprecated and will removed from v4.0. Please manually set the header if you need it replicated. 

こちらは、関連ライブラリ”lcobucci/jwt”が、11/25にてv3.4.0へのアップデートが行われ、そのライブラリで不具合が発生している模様です。
lcobucci/jwt#550

早い段階でマイナーバージョンアップが入るとは思いますが、万が一このエラーが発生する場合、Exmentのルートフォルダで、以下のコマンドを実行してください。

composer require lcobucci/jwt=3.3.*
@hirossyi73 hirossyi73 added the important Important task - 重要・要望が多い label Nov 26, 2020
@lcobucci
Copy link

Hello @hirossyi73, I'm sorry you're receiving error reports based on deprecation messages.

Laravel Passport has been patched to solve the incompatibilities. However, laravel/framework#35381 should help Laravel users not to be disrupted by them.

I'll be more than happy to help you folks too 👍

@hirossyi73 hirossyi73 pinned this issue Jan 5, 2021
@hirossyi73
Copy link
Contributor Author

v4.0.0より、lcobucci/jwt=3.3.をrequireするようにしたので、クローズします。

@hirossyi73 hirossyi73 unpinned this issue Jan 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
important Important task - 重要・要望が多い
Projects
None yet
Development

No branches or pull requests

2 participants