sanic-auth
sanic-auth copied to clipboard
Persist auth tokens after server restart?
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!
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