New Blitz apps have authentication and authorization already set up for by default with user sign-up, log-in, and log-out. Your
db/schema.prismafile has a
Sessionmodel and the auth code is in the
Blitz has built-in session management that works with email/password auth and with any third-party providers.
Blitz session management follows the same approach as the state of the artSuperTokens library. The CTO of SuperTokens, Rishabh Poddar, designed and oversaw our implementation. We're extremely grateful for Rishabh's help! 🙏