Why would you pre-select a Meshery provider?

I understand that Meshery supports local and remote providers, which extend any given Meshery deployment’s functionality, notably by way of offering identity and user accounts. By default Meshery installations allow users to choose which provider they want to use.

I know that you can also pre-select which provider you want to be used with your Meshery deployment, but it seems like feature to have choice of different providers. So, I’m not sure why you would want to “pre-select” a provider.

2 Likes

@Sangram.Rath, you might understand this better than I do.

From my understanding,
You pre-select a provider mainly to control how users authenticate and interact with Meshery services
Pre-selecting a provider
ensures users log in through the correct authentication system (for example GitHub or another identity provider) without being prompted to choose each time.

Thank you for sharing and having this study hall, @Kavitha_Karunakaran. :smiling_face_with_three_hearts: https://x.com/miacycle/status/2029949480720589100?s=20

2 Likes

Hello @mia,

I couldn’t get to your question sooner.
An important reason that comes to my mind (given my background) is that enterprises would usually want to lock down the provider that users use. This is for security reasons, SSO, auditing, and more importantly to maintain state (Layer5 cloud provides state). You also achieve portability of settings, private designs (this part I am not sure), performance profiles etc no matter which Meshery server you use as long as the provider is the same.
It also helps with seamless GitOps. It can be used to enable/disable certain features and capabilities given that Meshery is extensible.

It would be a bad UX if someone was prompted for selecting a provider every time they accessed Meshery UI. We can of source sign-out and go to the /provider URL to select a different one from the list (if there are many of them).