blitz-js / legacy-framework

MIT License
3 stars 2 forks source link

Make Auth middleware Blitz-agnostic #363

Closed brillout closed 2 years ago

brillout commented 2 years ago

What do you want and why?

I want to use Blitz's auth middleware independently of Blitz.

Additional context

I agree that the ecosystem has (un-)bundling phases, but I think it would benefit everyone if we collaborate more on foundational tools such as authentication.

Follow up of https://twitter.com/flybayer/status/1471130369177042944.

flybayer commented 2 years ago

@brillout do you like blitz auth better than next-auth? If so, why?

brillout commented 2 years ago

Both have their merits, but regardless of how both compare, the more agnostic middlewares we have the better for the ecosystem.

flybayer commented 2 years ago

Likely will happen. See https://github.com/blitz-js/blitz/discussions/3075