Keycloak integrate Azure Active Directory logout

Hi,

We would like to whenever keycloak logout then azure active directory logout automatically also.

I checked that there is field Logout URL in keycloak. Then I understand whenever keycloak logout then it will trigger to call this logout endpoint.
image

And I have checked the Endpoints in azure however I do not find out Endpoint to logout

Any suggestion or guideline to resolve this point would be very much appreciated!
Thanks!

Seems that you have configured your idp manually, not by using the discovery URL, which whould have inserted all URLs/endpoints automatically.

Now, open the “OpenID Connect metatdata document” in a browser, look for end_session_endpoint and enter this URL into the “Logout URL” field.

Once you are here, also enter the issuer and the userinfo_endpoint from the document in your Keycloak idp config and enable “Validate Signatures”.
This might also solve your other issue.

1 Like

Thank you, logout works successfully.

I also enter issuer and the userinfo_endpoint then it resolves the issue.

Thanks!

@dasniko Logout works successfully. However it redirects to logout page to request which account to logout. Is it possible to bypass this form and go direct to login form instead? Thanks