express-stormpath icon indicating copy to clipboard operation
express-stormpath copied to clipboard

Document need for req.user in examples

Open robertjd opened this issue 8 years ago • 1 comments

Some of our examples show references to req.user, but it's not clear that you have to use the getUser middleware in order for this value to be available. Here is one example:

https://docs.stormpath.com/nodejs/express/latest/authentication.html#cookie-authentication

We should find other places where this is an issue and fix the documentation to make this more clear.

robertjd avatar Aug 29 '16 17:08 robertjd

https://github.com/stormpath/express-stormpath/pull/547

mdeggies avatar Nov 20 '16 05:11 mdeggies