Closed zbodi74 closed 4 years ago
Thanks for reporting this, @bodiz ! I believe you mean this section. I fixed it just now.
By the way, if you are just starting a new project, you better try our latest authentication library, MSAL for Python, instead of ADAL Python.
Thanks @rayluo for pointing us to the new authentication library - we are starting a new project, so this is very helpful.
One the ADAL-basics Wiki page, a space is missing from the sample code - preventing authentication in its current form.
The 'Bearer' string and the actual token should be separated by a space:
SESSION.headers.update({'Authorization': "Bearer " + token_response['accessToken']})