☰
Login
Signup
Home
›
Java client
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
14.1K
All Categories
0
Incidents
157
Node JS client
41
Go client
795
.Net API client
385
Kite Publisher
537
.Net / VBA / Excel (3rd party)
463
Algorithms and Strategies
1K
Java client
1.1K
API clients
407
PHP client
4.1K
Python client
349
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.4K
General
In this Discussion
February 2018
sujith
How do we get Refresh Token while getting Access-Token from kite(V3)?
ZG1370
February 2018
in
Java client
we get UserModel response when we make a request for access token.
public class UserModel {
@SerializedName("member_id")
public String memberId;
public String[] product;
@SerializedName("password_reset")
public boolean passwordReset;
@SerializedName("user_name")
public String userName;
@SerializedName("broker")
public String broker;
@SerializedName("access_token")
public String accessToken;
@SerializedName("public_token")
public String publicToken;
@SerializedName("user_type")
public String userType;
@SerializedName("user_id")
public String userId;
@SerializedName("login_time")
public String loginTime;
public String[] exchange;
public String[] orderType;
@SerializedName("email")
public String email;
}
There is no field for refresh token. Can you help me out from this?
Tagged:
Refresh Token
sujith
February 2018
Hi,
The refresh token is only provided for exchange approved platforms and not for individual users.
PS: You seem to be using old Kite Connect which is going to be deprecated, you need to use Kite Connect 3 which is available in kite3 branch.
Sign In
or
Register
to comment.
The refresh token is only provided for exchange approved platforms and not for individual users.
PS: You seem to be using old Kite Connect which is going to be deprecated, you need to use Kite Connect 3 which is available in kite3 branch.