Closed InternalServerError closed 5 years ago
Hi @InternalServerError!
Can you explain more? I'm not sure what you mean by this:
Unfortunately, both sent on same homepage : / When I have "form_login" tag set in security.yaml, SSO "works" but do not want to redirect me on homepage, I see I am authenticated but always redirected on login page...
What do you mean by "sent on same homepage"? And also what do you mean by "but do not want to redirect me on homepage" and "I see I am authenticated but always redirected on login page". These issues are very complex, and I know it can be difficult to explain - but I'll need to fully understand if I can help. A repository where I can see the behavior is the best.
Cheers!
maybe its the same problem as here. Answer helps. Just can you comment if this is correct solution? And then add to the code example in readme.
Hey @darius-v!
The answer on that post is NOT the correct solution. That's a hack around a problem with the user being deserialized. Fix that, don't implement the fix. I'll comment on that SO :).
Hi !
WOrking with Symfony4.1.x, FOSUser and Doctrine-ODM.
I have an issue with an hybrid auth. Indeed, I have two different authentication methods : Google SSO and standard login form. Unfortunately, both sent on same homepage : / When I have "form_login" tag set in security.yaml, SSO "works" but do not want to redirect me on homepage, I see I am authenticated but always redirected on login page...
This is my security.yaml :
GoogleAuthenticator :
LoginFormAuthenticator :
knpu_oauth2_client.yaml :
GoogleController.php :
Do you have any idea to fix it ? It drives me crazy. Implementing Google SSO might be really easy.
Thanks by advance,
Regards,