use itself for cas proxy instead of relying on the pat