Edge-authentication