title: Keycloak Integration with Spring boot, using custom login page (Signing in without keycloak's default login page)
body: <blockquote>
    <p>What I am trying to achieve:
    User can sign in with our project's sign in page (within project) without redirection to keycloak's default login page. I have configured spring security with Keycloak it is working fine <strong>But user logs in through keycloak's default login page</strong></p>
    
    <p>My questions: how can i achieve this feature where I will get token from Keycloak using REST API like</p>
  </blockquote>
  
  <pre><code>   curl \
    -d "client_id=id-client" \
    -d "username=username" \
    -d "password=psw" \
    -d "grant_type=password" \
    -d "client_secret=secret" \
    "http://localhost:8080/auth/realms/myRealmName/protocol/openid-connect/token"
  </code></pre>
  
  <blockquote>
    <p>and give access to my Spring Project (Spring security whatever)</p>
  </blockquote>
  
  <p><strong>As far as i understand I can log in using jquery in my front end and obtain token, eventually pass to spring security or whatever</strong></p>
  
  <p><strong>Any help would be appreciated</strong></p>