Select Idp to authenticate from a React application

Hello everyone

I currently have an identity provider and identity broker configuration with keycloack 23.0.6. I want to access a url of the react client application such as https://domain.com.co/app?idp=crcc, in which the idp parameter allows me to implement a logic that sends me to a default idp, since currently any url in the application redirects me to the identity broker login. Is this possible?

Thanks, waiting for answers.

https://www.keycloak.org/docs/latest/server_admin/index.html#default_identity_provider
https://www.keycloak.org/docs/latest/server_admin/index.html#_client_suggested_idp