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
I had to implement authentication for my service, but I don't think I can make it work with Rho as it is now.
In a multi-tenant application, I need contextual information around the user and the organization they belong to.
Currently Action's act field has the signature (Request, T) => Task[Response] which means I can't pass on the auth context for the user other than stuffing it inside Request's attributes, which I'm not a fan of due to lack of type safety.
In the context of Rho, is it possible to extend it in such a way that we can plug in an arbitrary Request type?
The text was updated successfully, but these errors were encountered:
As @zarthross noted, its something I've been interested in but not found the time/need to do. I'm definitely interested in authentication/authorization in rho and it would be a really awesome addition to the generated swagger docs.
All that said, I haven't invested any time into it. Ideas and PR's welcome. 😄
Closing as a duplicate of #14. Further discussion should continue there.
I had to implement authentication for my service, but I don't think I can make it work with Rho as it is now.
In a multi-tenant application, I need contextual information around the user and the organization they belong to.
Currently
Action
'sact
field has the signature(Request, T) => Task[Response]
which means I can't pass on the auth context for the user other than stuffing it insideRequest
'sattributes
, which I'm not a fan of due to lack of type safety.In the context of Rho, is it possible to extend it in such a way that we can plug in an arbitrary
Request
type?The text was updated successfully, but these errors were encountered: