vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Unable to log in with VSCODE_CLIENT_ID VSCODE_TENANT scope

Open rzhao271 opened this issue 1 year ago • 1 comments

Testing #226539

Using the latest VS Code Insiders on Ubuntu with the Fugio extension and my personal Microsoft account.

I tried putting in the scope VSCODE_CLIENT_ID:a4fd7674-4ebd-4dbc-831c-338314dd459e VSCODE_TENANT:common profile and got the error "invalid_request: The provided value for the input parameter 'redirect_uri' is not valid. The expected value is a URI which matches a redirect URI registered for this client application."

I then tried putting in the scope VSCODE_CLIENT_ID:a4fd7674-4ebd-4dbc-831c-338314dd459e, VSCODE_TENANT:common, profile and got the error "Specified tenant identifier 'common,' is neither a valid DNS name, nor a valid external domain." which seems to imply that the values should not be comma-separated, either.

rzhao271 avatar Aug 27 '24 18:08 rzhao271

Got the same error

Screenshot 2024-08-28 at 10 11 51

aiday-mar avatar Aug 28 '24 08:08 aiday-mar

This should be working now. I forgot to add a redirect uri to the client id configuration

TylerLeonhardt avatar Sep 20 '24 23:09 TylerLeonhardt

Steps:

  • Install Fugio
  • Run Fugio: Mint Token
  • microsoft
  • VSCODE_CLIENT_ID:a4fd7674-4ebd-4dbc-831c-338314dd459e VSCODE_TENANT:common profile

It should take you through the flow to mint a token

TylerLeonhardt avatar Sep 23 '24 19:09 TylerLeonhardt