DEV Community

Cover image for You don’t need to worry about global auth state anymore.
Kenneth Nnabuife
Kenneth Nnabuife

Posted on

You don’t need to worry about global auth state anymore.

Last month, I shared a global state authentication library I’ve been building.
Since then, it’s crossed 700+ downloads, and that made one thing very clear to me.

The problem isn’t that auth is hard.
It’s that auth sometimes slows development down.

Most times, you just want to:
Start building your app’s app main features immediately.
Test your backend without setting up auth infrastructure first
Avoid creating store files, reducers, persistence, and edge cases before anything works.

That’s exactly what this library is built for.
With it, you can:
• Add global auth state in seconds. No stores. No reducers. No manual persistence.
• Refresh the page and stay authenticated automatically.
• Jump straight into building internal features first.
• Test your backend immediately without building auth from scratch.

It also comes with prebuilt Login, Signup, and Password Reset screens, so you don’t need to write forms or auth UI at all unless you want to.

I’m still refining it, but the early feedback confirms something important:
People want auth they can understand and reason about, not another layer of complexity.

If you’re building with React/Next and want auth that gets out of your way, this will help.

To use: npm install @kendevelops/auth-flow-kit

Open sourced: https://github.com/kennethnnabuife/auth-flow-kit

Feedback and contributions are welcome.

Top comments (0)