sanic-auth icon indicating copy to clipboard operation
sanic-auth copied to clipboard

Persist auth tokens after server restart?

Open mflaxman opened this issue 6 years ago • 1 comments

Is this easy to do with sanic-auth? The only examples I'm seeing are in-memory dictionaries that get blasted on server restart.

Thanks!

mflaxman avatar Feb 22 '19 22:02 mflaxman

https://github.com/pyx/sanic-auth/issues/14#issuecomment-1018896087

Had similar doubts and found the answer.

in short, it's by design, no session-manager binding inside.

other extensions may helpful:

  • https://github.com/pyx/sanic-cookiesession
  • https://github.com/xen/sanic_session

yurenchen000 avatar Jan 26 '22 07:01 yurenchen000