I get the above error each time I getAccessTokenSilently using @auth0/react. I’ve checked my rules and everything else I can think of to try to determine where this is coming from and have come up empty. I even created a new tenant and getting the same error there. This is the code I’m using to retrieve the token:
useEffect(() => {
const getAccessToken = async () => {
try {
const accessToken = await getAccessTokenSilently({
audience: `${config.audience}`,
scope: 'read:users',
})
setToken(accessToken)
} catch (e) {
console.log('Token acquisition error: ', e.message)
}
}
getAccessToken()
}, [getAccessTokenSilently])