Created attachment 583393 [details] [diff] [review] patch with repoze.who helpers for mozsvc.user This patch adds a "mozsvc.user.whoauth" module with some conveniences for authenticating via repoze.who. The idea is that you just do this in your config: config.include("mozsvc.user.whoauth") And you get auth based on repoze.who with sensible defaults. The logic and defaults are identical to the repoze.who support in server-code from Bug 692709. (Sorry the patch is a bit of mess, it moves mozsvc/user.py => mozsvc/user/__init__.py, but it doesn't change any of the content of the file. Let me know if there's some way to make it cleaner)
Attachment #583393 - Flags: review?(telliott)
Attachment #583393 - Flags: review?(telliott) → review+
Committed in https://github.com/mozilla-services/mozservices/commit/6f7798d398fc81650744f01c111879b848df91c5
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.