workerman icon indicating copy to clipboard operation
workerman copied to clipboard

JWT & Paseto support in Workerman?

Open raghuveer opened this issue 2 years ago • 2 comments

Hi

Did you integrate any library to offer JSON Web TOkens (JWT), Paseto (https://paseto.io/) with workerman?

please share your thoughts

Thank you

raghuveer avatar Dec 17 '21 16:12 raghuveer

I haven't integrated any such libraries with workman

walkor avatar Dec 18 '21 12:12 walkor

I had used JWT custom implementation based on RFC and in sync with mysql db table that I am thinking to convert into OOP library, have to see how much that works, as I cared identification of tokens that we intend to drop specific authorizations/permissions etc...

Paseto is a simple one that is created by paragonie's Scott, who had advocated to include libsodium into php core from php v7.2, Paseto is being proposed to be alternative of JWT in to future.

I had asked to know if such efforts are made, no issue, those can be taken care of in generic frameworks like ours and the only reason I asked about is since we choose to make our frameworks async compatible the better way possible in the process, through utilization of revoltphp kind of event loop and workerman kind of libraries that take the baseline to the next level.

raghuveer avatar Dec 18 '21 15:12 raghuveer