I need some help regarding the member session, Let me tell you the scenario: I want to use Main Site on Ghost and other sub-site on whichever platform, Once any member logged in on the Ghost website, They should be able to logged into access another subsite, Otherwise, the user can’t access the subsite if they are not logged into Ghost main site.
You’re mixing up 2 separate concepts - the content API and the members “API”.
The members API provides information about a single member, based on their cookie. It’s not possible for the content API to determine member information, because it’s for… content.
Moreover, you’re appending users/me/ to the URL, which makes it invalid.
Supporting member auth on a non-ghost-based domain isn’t straightforward, so you’ll have to figure that out. Afterwards, you’ll probably need to create proxy routes for things like member info.