4 ms·
Try farming out the auth to a middleware. That's what I do and it works really well.
by diminoten 9y ago
Try farming out the auth to a middleware. That's what I do and it works really well.
- tudelo 9y agoLike openam? or what do you suggest.
- mixmastamyk 9y agoDoes it interface with sqlalchemy, onboarding, email, etc?
- diminoten 9y agoYour auth middleware can attach a user object to environ that your downstream apps could reference. Whatever else you do (email, onboarding, sqlalchemy) you can do downstream, or directly in the (or a different ) middleware if you want.