You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently upgraded both the bundle and sf to 6.4, in the process I had to get rid of the guard system and switch to the new authentication system which works fine.
However, my webtestcases no longer work and throw errors of "ErrorException: No route found for "GET https://login.microsoftonline.com/tenantID/oauth2/authorize" (from "http://localhost/login") in /app/vendor/symfony/http-kernel/EventListener/RouterListener.php:127"
I have switched over to the new ->login() method for logging in a user in a webtestcase, but still throws this error. Not really sure if this is a config error, a bug or an issue with my test code.
I ASSUME the issue is the user is not being logged with $this->client->loginUser($user); and that is triggering oauth in the test but I am not certain. I couldnt find any docs on how to test with this bundle, does anyone have any examples they can share?
The text was updated successfully, but these errors were encountered:
I recently upgraded both the bundle and sf to 6.4, in the process I had to get rid of the guard system and switch to the new authentication system which works fine.
However, my webtestcases no longer work and throw errors of
"ErrorException: No route found for "GET https://login.microsoftonline.com/tenantID/oauth2/authorize" (from "http://localhost/login") in /app/vendor/symfony/http-kernel/EventListener/RouterListener.php:127"
I have switched over to the new ->login() method for logging in a user in a webtestcase, but still throws this error. Not really sure if this is a config error, a bug or an issue with my test code.
I ASSUME the issue is the user is not being logged with
$this->client->loginUser($user);
and that is triggering oauth in the test but I am not certain. I couldnt find any docs on how to test with this bundle, does anyone have any examples they can share?The text was updated successfully, but these errors were encountered: