Check whether the app id and secret are set