-
|
There is a missing option to authenticate the proxy with credentials. What I am trying to do?
To be able to access external website such as https://microsoft.com or the api endpoints to generate access token requires proxy authentication with credentials which is being fulfilled by requests module in Python by auth=("proxyusername", "myproxypassword"), such similar option is being expected to authenticate proxy to reach microsoft cloud authentication endpoints to generate access toke. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Thanks for your patience. MSAL Python provided some parameters and relay them to the underlying If you just want to customize the proxy behavior, you may just rely on |
Beta Was this translation helpful? Give feedback.
Thanks for your patience.
MSAL Python provided some parameters and relay them to the underlying
requests, but that approach is not scalable. So, nowadays, MSAL Python allows app developer to provide a customizedhttp_clientthat can have all the behavior you choose to have.If you just want to customize the proxy behavior, you may just rely on
requests's environmental variable behavior.