-
Notifications
You must be signed in to change notification settings - Fork 94
'NoneType' object has no attribute 'token_type' #29
Comments
@Walk4Muscle, your account is federated. It is more recommended to use interactively login, check out the sample. Let me know whether this works for you. |
So which type of account I can use in the |
For non-federated accounts |
Also, if you have accounts with 2 factor authentication enforced, |
Dear yugangw, I have the same problem. Login per credential (username/passord) - without user interaction - is required if a service do the data exchange. I can provide you a test account. Thanks. BR MIT |
@MIT02 I should submit a fix on early next week. |
@MIT02 , @Walk4Muscle, it will take some more days to get the package published out, but you can try out by installing the package from git |
fixed in 0.4 |
Hello, i am having the same issue as above to acquire token using acquire_token_with_username_password(python 2.7), i am using the same code. |
Hello ???,
It was a bug. They fixed it. Update to the newest version.
BR,
Stefan
From: vogranovic [mailto:notifications@github.com]
Sent: Donnerstag, 26. Jänner 2017 08:51
To: AzureAD/azure-activedirectory-library-for-python <azure-activedirectory-library-for-python@noreply.github.com>
Cc: MIT02 <stefan.mitterdorfer@outlook.com>; Mention mention@noreply.github.com<mailto:mention@noreply.github.com>
Subject: Re: [AzureAD/azure-activedirectory-library-for-python] 'NoneType' object has no attribute 'token_type' (#29)
Hello,
i am having the same issue as above to acquire token using acquire_token_with_username_password(python 2.7), i am using the same code.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#29 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AMdFZMyg8nXaos7SZXXcrSVSqMikq83Wks5rWFBbgaJpZM4I5mK7>.
|
I am using the latest version, not working. |
@vogranovic, are you getting the same stack trace? |
I am trying to get access token via
acquire_token_with_username_password
in python 2.7, but I get the following issue:And my code snippet is like:
I cannot figure out why. Could you help me to fix it.
The text was updated successfully, but these errors were encountered: