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
The user is not redirected to the login_path configured in the firewall in security.yaml
Things i've already discovered while debugging
Security/Http/EntryPoint/OAuthEntryPoint.php are not instantiated anymore for each separate resource owner with their respective login_path parameter.
I can see that happening because when debugging DependencyInjection/Security/Factory/OAuthFactory.php::createEntryPoint is not being called anymore
And when i end up in Security/Http/EntryPoint/OAuthEntryPoint.php::start method, i can see the loginPath property is always /login
Expected Behavior
What is the behavior you expect?
I would expect my application to redirect the user towards the configured login_path value that's configured in my security.yaml file.
Hey, thanks for the report and for using this bundle, but unfortunately version 1.4 is not supported, and it never had proper support for the new authentication system.
Please upgrade to version 2.2 and feel free to report any issue you encounter on that release.
Okay so I've upgraded to 2.2 and the problem persists let's say..
It seems as if, when I use a custom entry point, it doesn't use the authenticator anymore. When i remove that part of the configuration in security.yaml, it's redirecting to the right spot...
axelvnk
changed the title
All resource owners have the same login_path when using 1.4.5 combined with new sf security approach
All custom resource owners have the same login_path when setting enable_authenticator_manager to true
Apr 4, 2024
Actual Behavior
The user is not redirected to the login_path configured in the firewall in security.yaml
Things i've already discovered while debugging
Security/Http/EntryPoint/OAuthEntryPoint.php are not instantiated anymore for each separate resource owner with their respective login_path parameter.
I can see that happening because when debugging DependencyInjection/Security/Factory/OAuthFactory.php::createEntryPoint is not being called anymore
And when i end up in Security/Http/EntryPoint/OAuthEntryPoint.php::start method, i can see the loginPath property is always /login
Expected Behavior
What is the behavior you expect?
I would expect my application to redirect the user towards the configured login_path value that's configured in my security.yaml file.
Steps to Reproduce
security.yaml
To be clear, that hwi oauth implementation was basically left unchanged. We just turned on this config in security.yaml
The text was updated successfully, but these errors were encountered: