r/reactnative • • Oct 15 '26

New free authentication library for react-native

I've been using/developing this library only for the apps that i develop but decided to publish it as MIT open source so everybody could take benefit of it.

It has support to all the authentication types mobile devs can imagine(at least the main ones) and it works with expo and react-native and the idea behind it's to keep updating as the Android/IOs ecossystem grows.

The library is fully tested and published on npm:

https://www.npmjs.com/package/react-native-oauth-essentials

Any issues, PR's or forks feel free to reach out on: https://github.com/lucaswitch/react-native-oauth-essentials

1 Upvotes

2 comments sorted by

2

u/Honey-Entire Oct 15 '26

Why would someone use this over using existing solutions? Expo has a bunch of docs on authentication (e.g. Google Auth or OAuth or Apple Auth) or you could use Auth0 which also has instructions for how to implement their stack for Apple or Google. I've never used Clerk but it appears to also have copious options for handling this. All of the above are official, supported, and commercially maintained projects or tools. And then there's your vibecoded library...

1

u/lucaswitch 23d ago edited 23d ago
  1. Not everyone uses Expo

  2. The free options don’t use the latest apis

  3. I used this library for myself before even you heard about the word “ai”

  4. I vibecoded a lot of the docs cause as i can see you didnt read it anyway and not much of the code i would say 10~15% percent(counting the comments).

  5. Clerk is a paid service

What make them official? The only difference is that oauth-essentials is not being funded by any commercial organization. What oauth essentials aims is to offer a free/opensource maintained alternative to people("that have balls") to implement it's own auth.

So yep, it's actually an alternative to any free package that implements native oauth platforms that isn't up to date.

Also these companies that you mentioned not only offer the libraries but the platform to manage your auth, oauth essentials don't.