auth with static gateway