Having issues getting SAML auth to redirect to page

We are migrating our entire system from our own authentication to Keycloak.
Our system supported SAML authentication and we are trying to migrate users settings to work with Keycloak as the identity broker.

The way I understood it is:
I set up an identity provider, with the IDPs SSO url settings and so on
Now I can see the button for that provider on the login page, and clicking it navigates to the IDP’s login page, where I can login

But then I get redirected to a URL like /auth/realms/development/broker/mysamlprovider/endpoint

where Keycloak says “We are Sorry, Page not found”

I cant figure out where to configure this - can someone help

Thanks in Advance

check you client id in idp set up. it should entityid of the broker meta data

I dont see any field that says clientid on the IDP config page?

you will see it while configuring client on idp.

I see only these
Redirect URI

  • Alias
    Display Name
    Enabled
    Store Tokens
    Stored Tokens Readable
    Trust Email
    Account Linking Only
    Hide on Login Page
    GUI order
    First Login Flow
    Post Login Flow
    Sync Mode

And in the SAML part…

  • Service Provider Entity ID
  • Single Sign-On Service URL
    Single Logout Service URL
    Backchannel Logout