Open eramosr16 opened 3 months ago
You can override Authentication Scheme name by providing an argument: https://nikiforovall.github.io/keycloak-authorization-services-dotnet-docs/api-reference/Keycloak.AuthServices.Authentication.KeycloakWebApiServiceCollectionExtensions.html?q=AddKeycloakWebApiAuthentication#Keycloak_AuthServices_Authentication_KeycloakWebApiServiceCollectionExtensions_AddKeycloakWebApiAuthentication_Microsoft_Extensions_DependencyInjection_IServiceCollection_Microsoft_Extensions_Configuration_IConfiguration_System_String_System_String_
Thank you can write a selector for auth scheme, ref: https://code-maze.com/dotnet-multiple-authentication-schemes/
On Thu, Aug 15, 2024 at 6:11 AM Ernesto Ramos Rio @.***> wrote:
Let say I had two realms and I wanna be able to authenticate users from both realms. Is it possible to achieve this with this library, can you point me to an example or doc where can I find this?
— Reply to this email directly, view it on GitHub https://github.com/NikiforovAll/keycloak-authorization-services-dotnet/issues/132, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB5KIP6GF6MQAMS446FDOETZRQL7TAVCNFSM6AAAAABMRPBPUCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ3DOMRYGQ2DANQ . You are receiving this because you are subscribed to this thread.Message ID: @.*** .com>
Let say I had two realms and I wanna be able to authenticate users from both realms. Is it possible to achieve this with this library, can you point me to an example or doc where can I find this?