Currently, when authenticating a Shopify Remix app with authenticate.admin(request) with useOnlineTokens set to true, the session only contains the authenticated users id. I've had a look at the Admin API reference for graphql and rest and there doesn't appear to be a request to fetch the users details.
For some context, I have an app where I want to display a timeline of events for actions performed within the app, e.g.
Settings last updated by Joe on Oct 13, 2023 at 14:23
where Joe is a user who authenticated with my app.
Hi.
Currently, when authenticating a Shopify Remix app with
authenticate.admin(request)
withuseOnlineTokens
set totrue
, the session only contains the authenticated users id. I've had a look at the Admin API reference forgraphql
andrest
and there doesn't appear to be a request to fetch the users details.For some context, I have an app where I want to display a timeline of events for actions performed within the app, e.g.
Settings last updated by Joe on Oct 13, 2023 at 14:23
where Joe is a user who authenticated with my app.
How would I obtain Joe's name?
Thank you.