Hmm... yeah, the whole thing about adding another level to the callback chain is a good point. I didn't think about that; that would be sort of annoying. I do like having it nice and simple right in the routes as a middleware function.

Yeah, maybe passing in an object literal like `{ poetIdField: 'id' }` would make it sufficiently clear what's going on. It's cool that there's a precedent for doing something like that with Passport. What do you think?