How to get api login access automatically using java

How to get api login access token for zerodha kite programmatically using java.

did you get the answer for this or still looking?