Hello to @bytesbay
_We are using web3-token all the way since our team trying to do authenticate user on block chain in our project ,witch is a grate job!!,we'v tried nodejs backend excmaple code await Web3Token.verify(token); witch is useful, very convenient to do verify in nodejs backend environment, but in these days we wish to do something like "Web3Token.verify(token)" in JAVA .
it's becuse when we'r using await Web3Token.sign(msg => web3.eth.personal.sign(msg, address), '1d'); token from here could verify with await Web3Token.verify(token); witch is nodejs backend, but doesn't work with WEB3J in JAVA,we tried using token from web3.eth.personal.sign(msg, address) here & send this token to JAVA backend with WEB3J, it's works fine in many wallet excepet "imtoken" wallet, but if i'm using await Web3Token.sign(msg => web3.eth.personal.sign(msg, address), '1d'); to await Web3Token.verify(token); in nodejs backend with "imtoken" wallet, it will going very well, Considering my colleagues are using Java to buildding backend verify serve,is there any similar way to do verify in JAVA like await Web3Token.verify(token); in nodejs environment?
if you got any idea please tell us below ,it's fire bunning_
=====================================
ok it's solved it's a funny issue, ImToken make all charactors in wallet address string are UPPERCASE... so ... you know... this is how it happend
Hello to @bytesbay _We are using web3-token all the way since our team trying to do authenticate user on block chain in our project ,witch is a grate job!!,we'v tried nodejs backend excmaple code
await Web3Token.verify(token);
witch is useful, very convenient to do verify in nodejs backend environment, but in these days we wish to do something like "Web3Token.verify(token)" in JAVA .it's becuse when we'r using
await Web3Token.sign(msg => web3.eth.personal.sign(msg, address), '1d');
token from here could verify withawait Web3Token.verify(token);
witch is nodejs backend, but doesn't work with WEB3J in JAVA,we tried using token fromweb3.eth.personal.sign(msg, address)
here & send this token to JAVA backend with WEB3J, it's works fine in many wallet excepet "imtoken" wallet, but if i'm usingawait Web3Token.sign(msg => web3.eth.personal.sign(msg, address), '1d');
toawait Web3Token.verify(token);
in nodejs backend with "imtoken" wallet, it will going very well, Considering my colleagues are using Java to buildding backend verify serve,is there any similar way to do verify in JAVA likeawait Web3Token.verify(token);
in nodejs environment?if you got any idea please tell us below ,it's fire bunning_
===================================== ok it's solved it's a funny issue, ImToken make all charactors in wallet address string are UPPERCASE... so ... you know... this is how it happend