invalid_grant error in refresh token endpoint leading to memory leak
When an OAuth authorization server returns the invalid_grant error for a refresh token request, some implementations retain request‑specific objects in memory because the error path does not invoke the same cleanup routines used for successful token responses. This can produce a gradual memory increase under repeated invalid refresh attempts. At the same tim