How do we get Refresh Token while getting Access-Token from kite(V3)?

ZG1370
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:
  • sujith
    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.