please I have 2 react web apps, example.com and portal.example.com. I want to know how I can successfully share authentication between the apps using cookies. I tried looking up on google, but I'm a bit more confused
Asked
Active
Viewed 654 times
0
-
Does this answer your question? [Cross-Domain Cookies](https://stackoverflow.com/questions/3342140/cross-domain-cookies) – Emanuele Scarabattoli Feb 11 '21 at 13:45
-
@EmanueleScarabattoli this php how do i implement with javascript – Chayyccee Feb 12 '21 at 19:58
-
First of all hello and welcome! Well, cookies are part of the HTTP protocol, they not depends on a specific language. I shared that link because of that. Note also that the authentication process is something, maybe with some exception, related to both back-end and front-end, so looks strange to me that you can handle your problem only front-end side. Please improve your question with more details. – Emanuele Scarabattoli Feb 12 '21 at 20:28