Hi All,
I have two publisher and a third party application.
Whenever user login in the third party application , there is a page presented to user which contains links for pages hosted on aem.
The pages are restricted , so only login user can access them.Now when first request comes from the user in third party application, the user if not present in aem is created and then the user can access the page. Till this point things are wokring fine
We have set up a way to sync user between the publisher so both the user are present in both publisher.
while login from third party application a token is generated , which is stored in browsers as cookie
cookie name:login-token
So the token is generated for the publish which get the first hit,all request to that publisher return 200 response and the pages are accessbile,
The issue is the other publisher which has this user but the token is not there so all request return 403 forbidden error.
What should be the best way to deal with such issues ?
Any recommendations