You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JWT is very popular and used a lot in backend services (and much more). So rama should natively support this. This should be added in rama-crypto either as a dependency that has been carefully choosen or by implement the RFC directly.
@GlenDC you mentioned JWT support in the past, any opinions here?
no opinions, but yes we should support it indeed nicely and compeltely, from a client, server and proxy POV, as alwys.
Also might be good to read upon recent developments, but also opinion pieces and articles such as https://news.ycombinator.com/item?id=48558147. Not to say the value they have, but would be silly to not read that kind of stuff either.
@GlenDC I personally almost never use JWT's for exactly that reason. They really have their place but for a generic backend service they are almost always the wrong tool indeed
Yeah so let's make sure in our jwt module that we clearly document that, rama is also supposed to be educational. ALso more in depth explanation in a rama book chapter.
Sounds good, once we go more down that road we should probably also add services/layers for session support. Or rely on our tower bridge to be able to use crates such as tower_sessions to do that for us
yes for sure, in general I want to provide more in depth support for authentication in rama, e.g. also oauth2, webauthn etc.... as alwys from client, server and proxy POV, but that is ofc not within scope of this issue, but it's for sure on my mind
and yes that is the right approach. You want to support it on several layers. Building blocks + nice end-user experience (e.g. layers). The both indeed
Activity
GlenDC commentedon Jun 26, 2026
no opinions, but yes we should support it indeed nicely and compeltely, from a client, server and proxy POV, as alwys.
Also might be good to read upon recent developments, but also opinion pieces and articles such as https://news.ycombinator.com/item?id=48558147. Not to say the value they have, but would be silly to not read that kind of stuff either.
soundofspace commentedon Jun 26, 2026
@GlenDC I personally almost never use JWT's for exactly that reason. They really have their place but for a generic backend service they are almost always the wrong tool indeed
GlenDC commentedon Jun 26, 2026
Yeah so let's make sure in our jwt module that we clearly document that, rama is also supposed to be educational. ALso more in depth explanation in a rama book chapter.
soundofspace commentedon Jun 26, 2026
Sounds good, once we go more down that road we should probably also add services/layers for session support. Or rely on our tower bridge to be able to use crates such as tower_sessions to do that for us
GlenDC commentedon Jun 26, 2026
yes for sure, in general I want to provide more in depth support for authentication in rama, e.g. also oauth2, webauthn etc.... as alwys from client, server and proxy POV, but that is ofc not within scope of this issue, but it's for sure on my mind
and yes that is the right approach. You want to support it on several layers. Building blocks + nice end-user experience (e.g. layers). The both indeed