react-admin-amplify
react-admin-amplify copied to clipboard
Getting access to Amplify / Cognito Auth.currentAuthenticatedUser()?
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.