You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As described here, #29 (comment), it could be helpful to provide multiple authenticator keys to implement login from different services.
Let's get an exemple:
I need to secure a part of my app behind a firewall named bunker. To access this part, I provide the users 2 different ways to login (let's say Keycloak and MS EntraID).
As we already support multiple clients, your best bet to get started quickly is to extend the OidcFactory and override the getKey method. Register it similar as done in DrensoOidcBundle within your own application and you should be done.
As described here, #29 (comment), it could be helpful to provide multiple authenticator keys to implement login from different services.
Let's get an exemple:
I need to secure a part of my app behind a firewall named
bunker
. To access this part, I provide the users 2 different ways to login (let's say Keycloak and MS EntraID).The problem here, is I have 2 firewalls, and Symfony can not decide which one to use, so it uses the first one by default.
The solution could be something like in https://github.com/hwi/HWIOAuthBundle/blob/master/docs/3-configuring_the_security_layer.md#b-configure-the-oauth-firewall
Let me know if this is something you want to add in the bundle or not. I would be happy to help to contribute.
The text was updated successfully, but these errors were encountered: