Cookies when using separate Dyno for react frontend and Django backend Cookies when using separate Dyno for react frontend and Django backend heroku heroku

Cookies when using separate Dyno for react frontend and Django backend


I ran into the exact same problem while using herokuapp.com.I even posted a question on SO here.

According to Heroku documentation:

In other words, in browsers that support the functionality, applications in the herokuapp.com domain are prevented from setting cookies for *.herokuapp.com

Heroku blocks cookies from frontend.herokuapp.com and backend.herokuapp.comYou need to add a custom domain to frontend.herokuapp.com and backend.herokuapp.com

The entire answer https://stackoverflow.com/a/54513216/1501643