microsoft / vscode-ms-entra

Kickstart identity integration for customer-facing apps, without leaving your development environment.
https://learn.microsoft.com/entra/external-id/customers/visual-studio-code-extension
MIT License
5 stars 2 forks source link

VSCode Extension - Getting started - Download Sample App bug #9

Closed bolt-io closed 5 months ago

bolt-io commented 6 months ago

I have three External ID for Customer tenants and when using the quick start download a sample app it asks to select a tenant but then proceeds to create 3 app registrations and 3 auth flows inside that selected tenant.

image

wainaina commented 6 months ago

Hello. The tree view only displays the existing resources. The sample download process does not involve application or authentication flow creation.

Had you created these resources earlier?

Also, please share the version of the extension you are currently using. Thanks.

bolt-io commented 6 months ago

It has to involve app and auth flow creation as I did not create these and the sample came preloaded with the correct client ID and a generated secret - which I also did not create 👀

The secret description does allude to it being from quick start! App reg 1 image

App reg 2 image

App reg 3 image

v0.1.6

wainaina commented 6 months ago

Thanks for the prompt response on this. A ticket has been raised to track it.

mpminayo commented 5 months ago

Hello there. I tested this on version 0.1.6 and other subsequent releases. I was unable to reproduce this issue. However, I suspect that the issue may have arisen during the setup of sign-in and branding. Had you made any updates to an already configured company branding through the 'Set up sign in' step on the walkthrough or via the 'Configure sign-in experience' in the explorer view? These actions may inadvertently result in creation of multiple authentication flows and applications.

Also, client secret is automatically generated in the background as it is required by samples such as Python and .NET Core. The displayName in passwordCredentials is simply a string used internally during the secret creation process.