Access Granta MI using OpenID Connect
In MI Scripting Toolkit 2.2 or later, OIDC authentication is exposed through the Session class in the same way as other authentication options. For interactive use, this is as simple as settingoidc=True in the constructor.
Unattended use
For unattended use, OIDC tokens can be stored securely in the OS credential manager. For Windows this is the Windows Credential Locker, for linux this may be Freedesktop Secret Service or the dbus KWallet. Tokens can be persisted with theSession.persist_oidc_token() method.