Authentication methods for admin and public site

I'm hoping someone can confirm what I'm reading.  The links below talk about authentication with external providers.  The first link says only one external provider can be used. It is safe to assume this means only one external provider for the Admin interface? I'm 99.9% confident this is the case because you register the provider as such

`builder.Services.AddAdminExternalAuthenticationProvider()`

So to me this means it's only for the Admin interface and I can register another (or multiple) for the public facing site.

https://docs.kentico.com/documentation/developers-and-admins/configuration/users/administration-registration-and-authentication/administration-external-authentication

https://docs.kentico.com/documentation/developers-and-admins/development/registration-and-authentication/external-authentication


Environment

  • Xperience by Kentico version: 31.4.0

  • .NET version: 10

  • Execution environment: Kentico SaaS

Tags:
Membership SaaS Xperience Administration v31.4.0

Answers

Hi Brenden,

I can’t speak in depth to supporting multiple authentication providers for the admin application specifically, as most of our clients typically require a single provider. In some cases, we supplement this with the default forms authentication if needed.

For the public-facing site, there is more flexibility. You can register multiple external providers under different schemes and have them all return to the same external authentication callback. From there, you can use the external login information to determine the appropriate handling logic, for example creating, updating, or signing in a member as required.

To response this discussion, you have to login first.