It might be a bit out of scope for JWT concept but how can i ensure the confidentiality of input parameters in order to generate token?
I have three parameters. Client IP Address, username and password. IP addresses could be spoofed. Usernames and passwords might be stolen. Due to all these reasons I doubt of the security of input parameters.
To ensure higher level security i might be considering asymetric encyrption. So, do you think that it would be a good aproach to accept only encrypted username and password with private key?