Comments (3)
At the first quick glance, your code snippet contains an extra pair of parenthesis. Could that be the reason?
context = adal.AuthenticationContext( ( authentication_endpoint + tenant_id, api_version=None ) )
from azure-activedirectory-library-for-python.
@gbowerman , Have you checked the adal lib version you are using?
from azure-activedirectory-library-for-python.
@Walk4Muscle thanks, I'll close this. I was using the latest adal library and it was resolved when I changed my code to:
context = adal.AuthenticationContext(authentication_endpoint + tenant_id, api_version = None)
from azure-activedirectory-library-for-python.
Related Issues (20)
- AuthenticationContext is not pickleable HOT 1
- oauth token does not have necessary scopes to complete the request HOT 3
- Additional authority servers HOT 2
- question with key auth HOT 6
- Cache driver should update refresh token entries based on user id and authority HOT 3
- linux not working with adal get token HOT 2
- ADAL-basics Wiki page - typo in code HOT 2
- Replace "login.windows.net" with "login.microsoftonline.com" in the authority host list HOT 6
- Subject Name/Issuer Authentication? HOT 2
- How to get latest AAD access token using user id HOT 2
- Pass Resource parameter as a String in AuthenticationContext.acquire_token_with_authorization_code HOT 3
- Somehow update ADAL's docs in docs.microsoft.com to mention MSAL HOT 2
- Can't create token on local with credentials that are already working in production
- Problem generating bearer token using APIs HOT 1
- ProxyError in python with API HOT 12
- `UnicodeEncodeError` when calling `acquire_token_with_username_password` with wstrust HOT 3
- Removing adal increases webapp latency by 3+ seconds HOT 3
- The result token's `resource` doesn't match `resource` sent to `acquire_token_with_device_code` HOT 2
- Facing erros related to "cryptography" library when execute in CentOS 7 Python 3.6.12 HOT 2
- Continuous OSS-Fuzz integration HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-activedirectory-library-for-python.