I have front end - x.sameDomain.io. and a back-end y.sameDomain.io. It basically I use for signup/signin and some other basic queries and this backens sends a http only cookie to the front-end.
Recently I have created another bakc-end z.sameDomain.io in aws lambda. Now the problem is whenever a user sends a request to y.sameDomain.io the cookie authenticates the user. But since there is a new backend z.sameDomain.io, now I am confused how I may authenticate users in z.sameDomain.io.
Is there a way I can login using y.sameDomain.io but both the back-end will recognize me? I am new to this multi back-end system and not sure how resolve this issue?