Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shopify-app-remix get authenticated user details #1301

Closed
boxedcode opened this issue Oct 21, 2023 · 1 comment
Closed

shopify-app-remix get authenticated user details #1301

boxedcode opened this issue Oct 21, 2023 · 1 comment

Comments

@boxedcode
Copy link

Hi.

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.

How would I obtain Joe's name?

Thank you.

@boxedcode
Copy link
Author

I realised I opened the issue against the wrong repo, I've moved it here instead: Shopify/shopify-app-js#472

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant