react-admin-amplify icon indicating copy to clipboard operation
react-admin-amplify copied to clipboard

Getting access to Amplify / Cognito Auth.currentAuthenticatedUser()?

Open weisisheng opened this issue 2 years ago • 0 comments

AuthProvider is an awesome wrapper. Yet, I am unsure how to get the details of the current logged -in user for further manipulation (triggering in-app messages, emails, etc)?

I noted the graphql query for 'demo' in the '17 patterns example', but that already has a 'demo user' to reference.

Would appreciate any advice.

weisisheng avatar Sep 17 '22 02:09 weisisheng