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
Hey, i'm having a probleme with the 2fa. I want to do a 2fa login in Vuejs and Symfony.
I want to implement a 2fa with email.
When logging in, i get a mail with the code inside but when comes the moment where i want to validate the code with the route /auth/2fa_check, i get this error : Unable to find the controller for path "/auth/2fa_check". The route is wrongly configured.
I did exactly the same as the documentation provided.
Additional Context
Here is my configurations:
Security.yml
What's the security token that you see on that POST request? (You should see that in the profiler, make sure to pick the right request). If it's not a TwoFactorToken, then that's the problem. Then you've likely "lost" the session.
Bundle version: 7.6
Symfony version: 6.4.11
PHP version: 8.3
Description
Hey, i'm having a probleme with the 2fa. I want to do a 2fa login in Vuejs and Symfony.
I want to implement a 2fa with email.
When logging in, i get a mail with the code inside but when comes the moment where i want to validate the code with the route
/auth/2fa_check
, i get this error :Unable to find the controller for path "/auth/2fa_check". The route is wrongly configured.
I did exactly the same as the documentation provided.
Additional Context
Here is my configurations:
Security.yml
config/packages/scheb_2fa.yml
config/routes/scheb_2fa.yml
Here is what I send from vue
Thanks for your answers.
The text was updated successfully, but these errors were encountered: