I have implemented json web service in java(server) and client is in pure javascript. It is possible to authenticate web service call from javascript? I know that is standard to use private key on both sides, but javascript is public, so this is not very secure :)
I already checked this: Authorization and Authentication to REST API from JavaScript Client and read lot of information on internet, but it seems to be impossible to authenticate from javascript (code is visible)
Thanks a lot!