I’m running into the exact same issue as this thread: Accessing the Users Token requires consent after login:
When running in Localhost, I get a “Consent Required” error in my React app when calling the getAccessTokenSilently
function. However, this only happens for “Username-Password-Authentication” users (created in the Auth0 Users dashboard); not for Google SSO users. When authorizing with “Username-Password-Authentication” users (created in the Auth0 Users dashboard), I do not skip the consent agreement.
Additionally, the /etc/hosts
workaround didn’t work for me.
The major problem for me is that “Username-Password-Authentication” users are much better for testing my app than Google SSO users, or really any user that requires a real Email address.