sorcery icon indicating copy to clipboard operation
sorcery copied to clipboard

JWT authentication

Open alexeyramazanov opened this issue 5 years ago • 3 comments

As it's written - JWT support for sorcery.

Partially based on #70 and #167.

alexeyramazanov avatar May 11 '20 17:05 alexeyramazanov

@sqlninja I'm about to look into this for Sorcery v1, one thing that I would like to know is if the community would prefer this to be a part of sorcery-core, or keep this as a plugin you can add sorcery-jwt. I'm leaning towards the latter, seeing as most applications don't need JWT.

To @alexeyramazanov, @hayfever, @wilddima, @ebihara99999: would any of you be willing to assist me in implementing this in Sorcery v1? Being pointed at the right documentation for JWT, as well as having the perspective of someone who already uses it would both be incredibly helpful for me. Whatever we design, I want to ensure it is interoperable with other plugins (e.g. sorcery-oauth).

joshbuker avatar Apr 05 '21 17:04 joshbuker

I would agree that a plugin seems to make the most sense - I enjoy the modularity of sorcery even if a lot of the plugins end up getting used as "defaults".

I would definitely be willing to help where needed - I will say that I haven't been using my extension for quite a while as I had written it solely to authenticate a mobile app in a previous project I was working on. The project I'm now working on (unfortunately) uses devise so I've been out of the sorcery world for a little while, too.

hayfever avatar Apr 05 '21 17:04 hayfever

I created a new issue on the rework repo for discussing the JWT implementation, anyone who wants to help is welcome to comment there: Sorcery/sorcery-rework#9

joshbuker avatar Apr 05 '21 22:04 joshbuker