0

When the user logs out I call

const auth = useAuth();
...

auth.clearStaleState();
auth.revokeTokens();
auth.removeUser();

However when the user attempts to reach a protected route they show as still authenticated and their tokens are still set.

dcp3450
  • 10,959
  • 23
  • 58
  • 110

0 Answers0