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
A) set stateless: false under your firewall if none of your authenticators use the session
B) If you have a stateless firewall, then all UserInterface objects must have a user provider (even if your UserProvider just throws a UsernameNotFoundException in refreshUser() because it basically doesn't support session-based stuff.
Overall, my examples show an entity user provider, but if you don't use that - or have some other crazy situation, you will need a user provider, if only because it's required by Symfony.
The text was updated successfully, but these errors were encountered:
This might be a documentation issue:
A) set
stateless: false
under your firewall if none of your authenticators use the sessionB) If you have a stateless firewall, then all UserInterface objects must have a user provider (even if your UserProvider just throws a
UsernameNotFoundException
inrefreshUser()
because it basically doesn't support session-based stuff.Overall, my examples show an entity user provider, but if you don't use that - or have some other crazy situation, you will need a user provider, if only because it's required by Symfony.
The text was updated successfully, but these errors were encountered: