Use nhost.auth.getDecodedAccessToken to get the decoded access token of the user.
nhost.auth.getDecodedAccessToken
const decodedAccessToken = nhost.auth.getDecodedAccessToken()