Caching oauth errors like invalid redirect uri or invalid client id