-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Identity] DeviceCodeCredential: Add a timeout optional parameter. #11670
Comments
Here's what I know so far, DeviceCodeCredential (DCC) uses PublicClientApplication, from @azure/msal-node. PublicClientApplication extends ClientApplication, which has at least two distinct notions of a timeout:
I think that configuration makes sense to work with, but I might not have enough context. |
I had a conversation with @jonathandturner about this feature and how Python approaches it (here) and, since this issue relates to MSAL and to the work he's already doing, we decided on assigning this back to him! Thank you, Jonathan! |
Request on MSAL for reference: AzureAD/microsoft-authentication-library-for-js#2494 |
hide StorageAccountCredentials put (Azure#11670) * hide StorageAccountCredentials put * hide StorageAccounts put
Turns out this is an inconsistency in Python. In JS it can be resolved with the abort signal. I'll close this for now. |
Python currently offers a way to timeout the authentication request. We should investigate if we can add the same feature.
The text was updated successfully, but these errors were encountered: