I work on a Rest API
with symphony
and everything worked for me great in local, but after I deployed my project I can't login anymore and "Bad credentials" error keep showing up.
After comparing the behavior of the local and the deployed app I noticed that the problem is in AuthentificationProviderManager
which can't solve: $result = $provider->authenticate($token);
and catch an AuthenticationException.
So if anyone has an idea about how to fix this error or just know what the real problem is, please let me know and thanks in advance.