Well, basically that: I’ve got apps A and B and I want 2 things:
1) Login form embedded in A’s layout
2) Redirect to B’s default route on successful login
Thanks in advance.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In your app.yml, you can set the sfGuard login default route for a successful login:
One way would be to set the success_signin_url to point to an action whose only purpose is to re-direct the user to your other app, for example:
There may be a way to make the routing rules of two apps talk to each, but not sure, perhaps by setting project-level routing rules in a new routing.yml.