/AzOAuth2ADB

Python code to get OAuth token to access Oracle database.

Primary LanguageJava

AzOAuth2ADB

Python code to get OAuth token to access Oracle database. This code has been tested from windows. To install the latest version of python and pip, check out this youtube.https://www.youtube.com/watch?v=nkw0URyvbOU

install the microsoft package to integrate with Azure. pip install msal

Save the provided Python code snippet as gettokens.py on your local machine. Replace the tenant id, app client id, and the scope and run the program

python gettoken.py