import pyotp
totp = pyotp.TOTP('secret')
otp = totp.now()
How can I use otp generated above as a request parameter in the below API call to retrieve the OAuth2 token?
https://login.microsoftonline.com/{tenant-ID}/oauth2/v2.0/token
import pyotp
totp = pyotp.TOTP('secret')
otp = totp.now()
How can I use otp generated above as a request parameter in the below API call to retrieve the OAuth2 token?
https://login.microsoftonline.com/{tenant-ID}/oauth2/v2.0/token