You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actual behavior deviceCode.Result.VerificationURI == ""
Possible solution
This is pretty clearly a JSON marshaling issue, as if I run the same method via cURL, the field is set (see below)
Additional context / logs / screenshots
$ curl -s https://login.microsoftonline.com/udtonline.com/oauth2/v2.0/devicecode -F client_id=XXX -F scope="user.read offline_access"| jq
{
"user_code": "XXX",
"device_code": "XXX",
"verification_uri": "https://microsoft.com/devicelogin",
"expires_in": 900,
"interval": 5,
"message": "To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code XXX to authenticate."
}
The text was updated successfully, but these errors were encountered:
Which version of MSAL Go are you using?
Note that to get help, you need to run the latest version.
Microsoft Authentication Library for Go 1.2.2
Where is the issue?
Is this a new or an existing app?
This is a new app
What version of Go are you using (
go version
)?What operating system and processor architecture are you using (
go env
)?go env
OutputRepro
Expected behavior
deviceCode.Result.VerificationURI != ""
Actual behavior
deviceCode.Result.VerificationURI == ""
Possible solution
This is pretty clearly a JSON marshaling issue, as if I run the same method via cURL, the field is set (see below)
Additional context / logs / screenshots
The text was updated successfully, but these errors were encountered: