Relative Content

Tag Archive for azurerestoauth-2.0entra

Device Authorization Grant Flow returns error requiring client_secret after user authenticates

I am currently trying out Microsoft Entra Device Authorization Grant Flow according to this page: Microsoft identity platform and the OAuth 2.0 device authorization grant flow. I was able to follow the instructions up to polling while user has not authenticated yet. I was given the correct error (authorization_pending) since user has not authenticated yet. However once user authenticates (via pc or mobile), requesting again will return me this error: