support for authId and authSecret