Builder /Token Problem #889
Unanswered
pierremartel
asked this question in
Q&A
Replies: 1 comment 2 replies
-
You are missing a service definition that leads to a |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I try to implement a Real time Chat in my app on Symfony with Mercure but i have some problem with the builder . They give me this error:
Here my code :
![back jpg](https://user-images.githubusercontent.com/98807527/186933665-fda370bb-9352-4404-be1b-ba67162700f8.png)
![](https://user-images.githubusercontent.com/98807527/186933897-c79e1ae4-8dd2-4fb7-83af-7631e2181c25.png)
So i try to change my code with the configuration instance because i think it's about my version of Lcobucci (v.4) and look at the documentation .
And now i have this error :
Cannot autowire service "App\Controller\IndexController": argument "$config" of method "__construct()" references class "Lcobucci\JWT\Configuration" but no such service exists.
What is wrong with my code ?
Beta Was this translation helpful? Give feedback.
All reactions