-
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: Implement Interactive Authentication Support for Node.js applications #4774
Comments
Tagging for review to see if this is something that could be in the common libraries for the SDKs. |
In my opinion that should be implemented as soon as possible. Your team says that Interactive authentication is the only one method, which you can authenticate AAD user with 2FA configured. |
Hi Kacper, let me clarify what I was telling the PR author in Azure/ms-rest-nodeauth#75 (comment): we aren't deprecating Regardless of what I said there, we are taking steps to ensure that Let me know if I can provide any further clarification! |
That's clear now. Thank you @daviwil. I wanted that information to know, how should I have to plan my work. I'm working on a project which needs Interactive Authentication support and now I know what is going on. I'm waiting for any updates 👀 |
@funkydev - We've added a few additional ways to authenticate to the Identity library. One possible fit for what you're looking for is device code credential, which let's you interactively get a code on your device that you can use to log in with. Is this similar to what you're looking for, by chance? |
@jonathandturner Right, Device Code Credentials are what I've looked for. It solves the issue, thank you! ✋ |
We are still planning to implement |
Closing as this is now available as part of https://www.npmjs.com/package/@azure/identity/v/1.2.0-beta.1. You can use the InteractiveBrowserCredential in node, and doing so will pop up the user's default web browser, start a web server, and redirect the token from the browser back to your application. Please let us know how this works for you. |
Gets the token through an interactive process that prompts the user for credentials through a browser like in
@azure/ms-rest-nodeauth
library.It is necessary for authenticating user/password with configured 2FA in the Azure portal.
Notice that node.js doesn't support opening browser window, so library needs to return the url where user can pass the credentials (like in
@azure/ms-rest-nodeauth
).The text was updated successfully, but these errors were encountered: