2 Cells running in GDK with different domains do not share login
Problem seen
When you setup two Cells in local development, following the dev setup instructions and log into the first cell, you should be logged into the second.
But if you had configured the first to use gdk.test but leave the second at the default http://localhost:3001 the two do not share log in (the second will show the log in page rather than the homepage).
Setting the second up to use http://gdk.test:3001 and both share log in as expected
Reproduction steps
- Setup initial GDK with the http://gdk.test:3000 URL
- Follow the instructions to setup a second Cell
- Launch both Cells
- Log into the first Cell http://gdk.test:3000
- Visit second Cell http://localhost:3001, you are not logged in
- Configure second cell for gdk.test
cd <gdk2 directory> gdk config set hostname gdk.test gdk reconfigure gdk restart
- verify that when you visit http://gdk.test:3001, you are logged in.
Resolution
Scope for now is a single domain (sub domains should work fine), so we do not need to support cross-domain Cells.
Edited by Andy Hohenner