implement authConfig