lost session after login with ionic and symfony 3.4

I am doing a login on symfony 3.4 with a Ionic and angular app. When symfony get the request, it is login nice and redirecting to login_success but in login_success controller, the session is lost and i can’t get user logged data’s.

If i try to do that with Postman, everything works good and i can get user logged data’s in login_success.

I has been read logs of both request (ionic and postman) and both logs are same, symfony log in correctly but with ionic is losing session in the redirect to login_success.

Thank you.

Source: Symfony Questions

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *