I have some problem with SSO.When i want login in my application via SSO i redirect on incorrect url

Helloy, I have some problem with SSO.When i want login in my application via SSO i redirect on incorrect url.
Step 1: I send request to my application
Step2: Then they redirect me to the Keycloak login page
Step3: I type my password and login.
Step4: I redirect to url like this:
vacation.artezio.com/error?state=…&session_state=…&code=…
I.e in my riderectUrl i have extra parameters like:state=…&session_state=…&code=…
and i don’t understand why i redirect on /error
But what is interesting is if I delete / error and extra parameters and update my page everything works
I attached picture with incorrect url.

Maybe someone came across with this problem

Hi,

Make sure to check the check the keycloak.json for your app: the app mentioned there must be configured in keycloak with the correct redirect url (client configuration screen). You might have a typo in that redirect url path or it is not properly using a wildcard.