How to configuar JWT auth for zoho desk ASAP in android ?
I am want to setup zoho desk sdk in my android application But problem occurred in JWT authentication part in sdk
The code from above link
if(!isUserLoggedIn) {
MyApplication.deskInstance.setUserToken("userToken", new DeskCallback.DeskSetUserCallback() {
@Override
public void onUserSetSuccess() {
}
@Override
public void onException(DeskException exception) {
}
});
} else{
//User already signed into SDK
}
I am familiar with jwt but in above code you not mentioned where i am get
"userToken" in android.
In zoho desk android samples from github you take
"userToken" from edit text. But you not mentioned
where i get jwt token? Is i take it from endpoint previously setups nodejs end point ? how to complete this task provide your solution asap