Reading appid and appsecret from configuration