Integrating Keycloak to external consent screens

Hi,
I am new to keycloak. I am planning to use Key cloak as Open ID connect server. Please let me know how I can achieve the below requirement

When the client access the authorization end point of kycloak, I want to implement my own login and consent flows before redirecting the client with the authorization code and id token (hybrid flow)

  1. How to customize the default login screen to implement my own screen with the logic?
  2. How can I integrate the my external consent registration application with the keycloak?

Thanks,
Karthik

Hi Karthik,
did you have any solution to your problem?
because I have a similar situation…
Thanks,

S. Tanaka