diff --git a/src/core/zowe/core_for_zowe_sdk/session.py b/src/core/zowe/core_for_zowe_sdk/session.py index fa2861bc..83efab4a 100644 --- a/src/core/zowe/core_for_zowe_sdk/session.py +++ b/src/core/zowe/core_for_zowe_sdk/session.py @@ -65,8 +65,9 @@ def __init__(self, props: dict) -> None: self.session.tokenValue = props.get("tokenValue") self.session.type = session_constants.AUTH_TYPE_BEARER else: - self.__logger.error("Authentication method not supplied") - raise Exception("An authentication method must be supplied") + self.session.type = session_constants.AUTH_TYPE_NONE + self.__logger.info("Authentication method not supplied") + # raise Exception("An authentication method must be supplied") # set additional parameters self.session.basePath = props.get("basePath")