MicrosoftDocs / microsoft-authentication-library-for-python

Creative Commons Attribution 4.0 International
0 stars 10 forks source link

Is it supported to use ROPC flow in confidential app when using MSAL Python #50

Open JimmyLS opened 8 months ago

JimmyLS commented 8 months ago

This article mentioned ROPC flow is only supported for public client app.

image

However when using MSAL Pythong library, we can use function "acquire_token_by_username_password" function under confidential client app and it works.

app = ConfidentialClientApplication(client_id, client_credential, authority) result = app.acquire_token_by_username_password(username, password, scope)

Could you please confirm if this is supported (while we know it's not recommended)?


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

obrocki commented 2 months ago

Bump.