Closed OliverTrupp closed 5 months ago
Thanks for raising the issue. please confirm that https://github.com/cubewise-code/tm1py/pull/1089 solves the issue.
pip uninstall tm1py
https://github.com/cubewise-code/tm1py/archive/refs/heads/1074-fix-auth-mode-for-wia.zip
Thanks for the solution Marius. I can confirm that #1089 solves the issue.
Bug found in "_determine_auth_mode" (TM1py.version 2.0.2). Currently the return of "_determine_auth_mode" for v11 is always "BASIC" if namespace and gateway None (See here). However, "WIA" does not require namespace and gateway either. This currently forces the user to pass namespace with a meaningless string for SSO.
Using the code with TM1py version 2.0.2, on a V11 TM1-Server will throw the error "TM1pyRestException: Text: '' - Status Code: 401 - Reason: 'Unauthorized'. With prior version there was no error, and the connection was established.