Request token from Keycloak with client (client_id and client_secret) configured only in Azure AD

Hello all,

I have a specific request to proxy authentication with Client_Id and Client_Secret that is not configured in Keycloak to Azure AD.

So the requirement is that a client that is configured only in Azure AD can request a token to Keycloak (that has the Identity Provider to Azure already setup) that will not know who this client is, and will request that information from Azure AD.

We have it setup this way for users already, but we now need an application user with Client_Id and Client_Secret that behaves the same way.

The necessity arises due to the fact that that connections and integrations are already set in place and we only want to remove the client we have created in Keycloak and delegate this responsibility to Azure.

Thank you all in advance,
Best regards.