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:
Thanks for the quick reply. I have disabled both rules and still get the same error. The rules are very basic and don’t have any reference to an ‘updated_at’ field anyway. I also tried deleting my user and recreating - same result.
Hi @baronyoung could you send me two HAR files via email. One for the failing silent auth call and another with the successful silent auth. This can help me to compare the working and non-working calls. After capturing the HAR file, please keep the tenant configuration unchanged so that I can try to investigate the configuration at the same time. You may find how to capture the HAR file here.
Saltuk resolved my problem. I had some sample code that shouldn’t be there which passed a scope (read: users) via getAccessTokenSilently. I didn’t have permissions set up so this returned an error.