Quantcast
Channel: Active questions tagged javascript - Stack Overflow
Viewing all articles
Browse latest Browse all 140734

How to redirect user outside of react but on the same domain?

$
0
0

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.


Viewing all articles
Browse latest Browse all 140734

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>