Get logged in user info from another website

Sure, I use server components in such case. Thanks for your suggestion.