Two separate Flask applications, running on two different subdomains, however the login sessions are not persisting between the subdomains.
For example; logging into a.example.co.uk will result in the user being logged in. However, visiting b.example.co.uk - the user will not be logged in.
Running Apache, Flask (with Flask-Login), Ubuntu 18, Python 3.
App secret is the same on both applications. Tried playing with SERVER_NAME configuration setting.
Cookies are correctly being set to .example.co.uk
Cookies are configured to be used on any subdomain.
SESSION_COOKIE_NAME="example",
SESSION_COOKIE_DOMAIN=".example.co.uk",
REMEMBER_COOKIE_DOMAIN=".example.co.uk",
Logging into either subdomain should mean the user is logged into the other.