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'm actualy working on a project using your bundle with Symfony 2.4. I configured my project as shown in exemple.md. Sadly, it works only with users defined in security.yml (in memory provider).
If i use an entity provider (users defined in database), or if the user doesn't exist, it creates an inifnite loop :
login -> cas login -> login_check -> login -> cas login -> ...
Am I doing something wrong ?
config.yml
# Sso Bundle
be_simple_sso_auth:
admin_sso:
protocol:
id: cas
version: 2
server:
id: cas
login_url: https://auth.XXX.fr/cas/login
logout_url: https://auth.XXXfr/cas/logout
validation_url: https://auth.XXX.fr/cas/serviceValidate
PS: I put some var_dump() in SsoAuthenticationProvider, the SsoToken is built properly, the user is provided (a MyApp\G2CBundle\Entity\HarpUtilisateur object).
Thank you in advance for any help you can provide me !
The text was updated successfully, but these errors were encountered:
Did you ever figure out what was going on here? I seem to be encountering similar issues. Updated documentation would be help this bundle a great deal.
Yeah ... in my case it was due to serialization of data on the class implementing UserInterface (in the serialization method, i forgot to specify data to serialize/unserialize). So after serialization, informations about the user were deleted. Does it help you?
Hi everyone.
I'm actualy working on a project using your bundle with Symfony 2.4. I configured my project as shown in exemple.md. Sadly, it works only with users defined in security.yml (in memory provider).
If i use an entity provider (users defined in database), or if the user doesn't exist, it creates an inifnite loop :
login -> cas login -> login_check -> login -> cas login -> ...
Am I doing something wrong ?
config.yml
security.yml
Thank you in advance for any help you can provide me !
The text was updated successfully, but these errors were encountered: