deitch/cansecurity

Example app

jasiedu opened this issue · 3 comments

In the docs you mention "cansecurity stateless sessions can keep a user logged in automatically across multiple nodejs instances, essentially creating free single-sign-on". Do you have example apps that demonstrate this functionality?

Hi @jasiedu. Yes, several, but I am surprised I never put them in here. I will add some of them.

I have wanted to replace the whole token system with JSON Web Token for the last while. I finished it with https://github.com/deitch/activator a few weeks ago, so ripe to do it. We can add examples then.

Finally got it switched to JWT, cleaned up, much much better.

Will try to get some samples out next week or week after.

See the ./example/ dir