microsoft-authentication-library-for-python icon indicating copy to clipboard operation
microsoft-authentication-library-for-python copied to clipboard

feat: add integrated windows authentication support under public clients

Open shajia-deshaw opened this issue 1 year ago • 13 comments

Overview

Adds support for Integrated Windows Authentication similar to the Java/.NET clients.

Fixes: #31

shajia-deshaw avatar Jan 22 '24 09:01 shajia-deshaw

Thanks, @shajia-deshaw . Is there any way to test this? Can they be written into test cases? Anyway, I'll leave this to @ashok672 for reviewing.

rayluo avatar Jan 22 '24 10:01 rayluo

Sure @rayluo - I can add the test cases shortly (I had this tested with a driver script internally)

from msal import PublicClientApplication
app = PublicClientApplication(
    "<client_id>",
    authority="https://login.microsoftonline.com/<tenant_id>")
token = app.acquire_token_integrated_windows_auth("<upn>")
print(token)

shajia-deshaw avatar Jan 22 '24 10:01 shajia-deshaw

Hello folks, just an update - I'm working with my employer to sign the CLA soon.

shajia-deshaw avatar Feb 08 '24 06:02 shajia-deshaw

@microsoft-github-policy-service agree company="D. E. Shaw & Co., L.P."

shajia-deshaw avatar Feb 21 '24 14:02 shajia-deshaw

Hello @ashok672 - Checking if you had a chance to review the PR? Thanks.

shajia-deshaw avatar Mar 06 '24 05:03 shajia-deshaw

Hello @ashok672 - Checking if you had a chance to review the PR? Thanks.

Hi @ashok672 , please let us know if there is anything else we can help on this with. Thanks.

velulev avatar Mar 13 '24 15:03 velulev