SSO silent authentication PHP

Hi folks,

I am using Auth0 with SSO and it works fine for my SPAs. Recently I needed to add PHP application to have common SSO with other apps so I used and it works well,

however if I authenticate in PHP app, my other apps pick up that login silently via SSO, but it does not work in another direction (if I login in my other apps, PHP still see this user as not logged in).

I believe this is because PHP demo app does not check remote session.

Could you please advise how I can add SSO login for PHP demo app?


PS I am complete noob in PHP, please provide copy-paste code if possible. I also think it would be great to amend auth0 php demo to cover SSO login scenario.

@konrad.sopala could you help?