Use nhost.auth.getHasuraClaims to get the Hasura claims of the user.
nhost.auth.getHasuraClaims
const hasuraClaims = nhost.auth.getHasuraClaims()