Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Next Auth | 15,364 | 21 | 73 | a day ago | 567 | August 01, 2022 | 214 | isc | TypeScript | |
Authentication for the Web. | ||||||||||
React Native Firebase | 10,704 | 43 | 79 | a day ago | 184 | September 17, 2022 | 46 | other | JavaScript | |
🔥 A well-tested feature-rich modular Firebase implementation for React Native. Supports both iOS & Android platforms for all Firebase services. | ||||||||||
Nhost | 6,437 | 9 | 20 hours ago | 91 | September 20, 2022 | 161 | mit | TypeScript | ||
The Open Source Firebase Alternative with GraphQL. | ||||||||||
Casdoor | 5,612 | 20 hours ago | 432 | September 25, 2022 | 113 | apache-2.0 | Go | |||
An open-source Identity and Access Management (IAM) / Single-Sign-On (SSO) platform with web UI supporting OAuth 2.0, OIDC, SAML and CAS | ||||||||||
Material Kit React | 4,432 | 15 days ago | 2 | mit | JavaScript | |||||
React Dashboard made with Material UI’s components. Our pro template contains features like TypeScript version, authentication system with Firebase and Auth0 plus many other | ||||||||||
Useauth | 2,582 | 1 | 1 | 3 months ago | 85 | January 26, 2021 | 141 | mit | TypeScript | |
The simplest way to add authentication to your React app. Supports various providers. | ||||||||||
React Redux Firebase | 2,543 | 795 | 26 | 2 months ago | 165 | November 23, 2021 | 173 | mit | JavaScript | |
Redux bindings for Firebase. Includes React Hooks and Higher Order Components. | ||||||||||
Nango | 2,383 | 3 | 3 days ago | 10 | August 19, 2022 | 25 | other | TypeScript | ||
Get OAuth tokens for APIs - fast & secure. | ||||||||||
React Most Wanted | 2,340 | 4 | 23 days ago | 97 | August 31, 2022 | 12 | mit | JavaScript | ||
React starter kit with "Most Wanted" application features | ||||||||||
Redux Auth Wrapper | 2,177 | 778 | 44 | 8 months ago | 26 | March 21, 2021 | 25 | mit | JavaScript | |
A React Higher Order Component (HOC) for handling Authentication and Authorization with Routing and Redux |
Minimal working example, showcasing 3rd party authentication through Facebook, between a next.js frontend and a Sanity backend.
Run npm install
in all three subfolders: /api
, /auth
and /www
.
Then make sure to add necessary info in /api/.env
, /auth/.env
and /www/.env
.
To run the project:
cd api/
npm run dev
cd ../www/
npm run dev
cd ../auth/
npm run dev
Then you need to set permissions for the documents. In the /api
folder,
run node permissions/index.js
.
This is my first time working with oath, cookies and implementing an authentication flow. So if you see errors, security issues etc. I would love to get some feedback so this can be corrected. Mail/issues/pull requests/whatever.
There is also no error handling in this sample code (wanted to have the example as concise as possible), so this should also be added if you are using this.