Office365-REST-Python-Client
Office365-REST-Python-Client copied to clipboard
Timeout when authenticating in AWS Lambda
I get a timeout error when authenticating in AWS Lambda handler. I am unsure what to do or if I should try another group. I am able to use Office365-REST-Python-Client and execute my code successfully at the command line, however when I upload it to AWS Lambda it times out after the following code: ctxAuth = AuthenticationContext(url=settings['url'])
The timeout happens here: if ctxAuth.acquire_token_for_user(username=settings['user_credentials']['username'], password=settings['user_credentials']['password']):
Solved this guys. It was an AWS Lambda NAT Gateway issue