I want to check login status from another domain.
All 4 Wensites are on the same hosting. Each have another domainnsme. There are 3 WordPress Websites and 1 CodeIgniter 4 Website. In CodeIgniter i have n Authentication with Shield.
In the Frontend of each WordPress Site i want to check if the user is loggedin in CodeIgniter or not. I dont want a login in WordPress.
I tried with wp_remote_get but i always get a new session. And always get status not logged in although i logged in when access directly.
I tried with Shield and JWT but i dont know how to pass a token from CodeIgniter to all 3 WordPress Pages and then how the system knows which user is which token.