Hi there,
I am struggling for a long time trying to configure this provider. While it seems simple, I don't get a very detailed message, thus I don't where to look at.
This is how I configured it:
- Deploy KC using the latest 15 Docker version
- Create a new Microsoft IDP broker using the official doc: https://www.keycloak.org/docs/latest/server_admin/index.html#microsoft
- Configure my app for SSO with your KC docker
- Try to connect to my application using KC
- Get redirected to KC login page, click on Microsoft button
- Get redirected to MS login page
- Enter a proper email address, you got redirected to KC directly
- KC display the following error message:
Unexpected error when authenticating with identity provider
KC logs show the following error:
[org.keycloak.broker.oidc.AbstractOAuth2IdentityProvider] (default task-272) invalid_request for broker login microsoft
If anyone was able to configure Azure with keycloak as an IDP provider, I would more than happy to know how he did that!
Thanks in advance, any help is welcomed!