Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support jwt? #36

Open
alexanderkjeldaas opened this issue Sep 21, 2017 · 2 comments
Open

Support jwt? #36

alexanderkjeldaas opened this issue Sep 21, 2017 · 2 comments

Comments

@alexanderkjeldaas
Copy link

The cookie protocol in "A Secure Cookie Protocol" by Alex Liu et al. seems to be a precursor to jwt.

Why not support jwt which is both standard and more flexible?

@zohl
Copy link
Owner

zohl commented Sep 22, 2017

Hello,

the library was developed with an assumption, that a client is not allowed to read cookies. Because of this, a server just serializes/deserializes a record in the most simple and fastest way :)
I guess, you intend to read cookies on the client side. I'll start working on this issue right after #35. I expect to finish it on the next week, however implementing JWT support might take more time. Stay tuned!

@michalrus
Copy link

@zohl, thank you for #35! ♥

@alexanderkjeldaas, have you investigated https://github.com/plow-technologies/servant-auth? It has three auths: basic, JWT and cookie, but I’ve not tried it. WDYT?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants