React native – Retrieve raw accessToken and idToken in aws-amplify js v6
I am using aws-amplify v6 inside my react-native app. Authentication functionality is working correctly however I could not access raw access/id tokens after login. Trying to retrieve the tokens like: import { fetchAuthSession } from "aws-amplify/auth"; ... async getCurrentSession() {…