So I'm wrestling still with how I want to handle auth for my system, and
wondered if anyone would care to weigh in on whether they think doing it in
middleware or in registered components is a better solution. The context
again is that I want a shared auth system with it's own DB to handle auth
that is used for multiple micro-apps who will get auth tokens from the WSGI
env. I could

- make middleware that intercepts all auth related views and tags the WSGI
env with tokens

or

- make some auth related views in a shared lib, have all apps use that lib,
and have a custom request factory that fires before anything else in the
app to handle reading/writing tokens.

Thougts appreciated!

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to