My app is built with react and Symfony 4.
I use Symfony 4 for all the backend as well as all the public parts of the site for SEO purposes (blog/landing page/legals and so on).
Now I would like to redirect my user from my react app to my webapp (after he/she logs out).
For example, I would like my-app.com/logout
to be on a Symfony webpage and NOT on my react app. So from my-app.com/dashboard
, if I click logout (or landing page or blog) I go to my-app.com/logout
(or landingpage or blog).
How would I do that? A friend told me I should create a sub domaine. Is there any other way?
Thanks a lot.