Skip to content
This repository has been archived by the owner on Oct 31, 2019. It is now read-only.

DeviceCode authentication doesn't work #123

Open
joshdavari opened this issue Feb 19, 2019 · 2 comments
Open

DeviceCode authentication doesn't work #123

joshdavari opened this issue Feb 19, 2019 · 2 comments

Comments

@joshdavari
Copy link

joshdavari commented Feb 19, 2019

In createAzureContext(), authType is passed to azureAuthenticate() as part of the azureActiveContext parameter. azureAuthenticate() also has an authType parameter that defaults to "ClientCredential", which is passed to azureAuthenticateOnAuthType(). azureAuthenticateOnAuthType() then ignores whatever value was passed to createAzureContext and will always use "ClientCredential".

@francescoPizzolon
Copy link

we have the same issue! has anyone fixed it yet?

@hongooi73
Copy link
Contributor

Consider using the AzureR family instead of AzureSMR; this includes packages for interacting with storage, containers, VMs, and more. In particular, authentication is handled by AzureAuth which supports device code as well as several other methods.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants