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 would like for some of my handlers to be behind an authorization middleware, and other to be accessible to the general public (e.g account creation, splash page, etc). From what I gather, there is no idiomatic way to accomplish with with Opium. I don't mind brewing my own solution, I'll have to do the work sooner or later anyway. But am I missing something?
The text was updated successfully, but these errors were encountered:
@chrismamo1 At the moment, I am doing this by wrapping individual handlers with Rock.Middleware.apply. I defined it as @@@, so my handlers that need special middleware look like:
I would like for some of my handlers to be behind an authorization middleware, and other to be accessible to the general public (e.g account creation, splash page, etc). From what I gather, there is no idiomatic way to accomplish with with Opium. I don't mind brewing my own solution, I'll have to do the work sooner or later anyway. But am I missing something?
The text was updated successfully, but these errors were encountered: