I have a Python project that uses publicdata project of Open Industrial Data. I am trying to refactor the authentication step to use Python-SDK with OAuth since the API keys are (being) deprecated.
To do so, I need the parameters token_url, client_id, client_secret, scopes.
I am setting the parameters as such:
cognite_tenant_id = "48d5043c-cf70-4c49-881c-c638f5796997"
client_secret=<client secret generated from Open Industrial Data https://hub.cognite.com/open-industrial-data-211>
I would like to know if we can use the already defined Cognite tenant in AAD with Tenant Id “48d5043c-cf70-4c49-881c-c638f5796997” ? Are you providing the client id for that then? Similar to the ones publicly provided for Postman and JS-SDK? Please also note that I cannot use interactive login since it is not a one-off script.
Moreover, I cannot register an app in AAD as the documentation says, since I don’t have an active Azure subscription, or a Microsoft product/service that entitles me to use free/paid AAD.
Best answer by majofoalView original