10 Best React Authentication Libraries

Curated by the Openbase team and community.Learn more

Curated by the Openbase team and community. Learn more

@auth0/auth0-react

Auth0 SDK for React Single Page Applications (SPA)

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
4
Top Feedback
2Great Documentation
2Easy to Use
2Performant
GitHub Stars
420
Weekly Downloads
264K
Last Commit
12d ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable

@azure/msal-react

Microsoft Authentication Library (MSAL) for JS

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
2K
Weekly Downloads
55K
Last Commit
1d ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable

@asgardeo/auth-js

OIDC JavaScript SDK for Asgardio

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
17
Weekly Downloads
741
Last Commit
11d ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable

@oktadev/schematics

Schematics for adding Okta Auth to your projects

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
54
Weekly Downloads
1K
Last Commit
2d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

supertokens-auth-react

ReactJS authentication module for SuperTokens

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
44
Weekly Downloads
206
Last Commit
4d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
raw

redux-auth-wrapper

A React Higher Order Component (HOC) for handling Authentication and Authorization with Routing and Redux

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
2K
Weekly Downloads
26K
Last Commit
7mos ago
Bundle Size (min+gzip)
0.13KB
Not Tree-Shakeable

@8base-react/auth

🧰 8base JavaScript SDK implements client-side libraries used by apps using 8base.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
18
Weekly Downloads
589
Last Commit
9d ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable

@axa-fr/react-oidc-context

A set of react components and HOC to make Oidc (Open ID Connect) client easy. It aim to simplify OAuth authentication between multiples providers.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
252
Weekly Downloads
6K
Last Commit
4mos ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable

@onaio/gatekeeper

Ona shared JavaScript components and utilities

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
10
Weekly Downloads
51
Last Commit
2mos ago
Bundle Size (min+gzip)
45.8KB
Not Tree-Shakeable
ro

redux-oidc

A package for managing OpenID Connect authentication in ReactJS / Redux apps

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
1Poor Documentation
GitHub Stars
393
Weekly Downloads
14K
Last Commit
2yrs ago
Bundle Size (min+gzip)
2.93KB
Not Tree-Shakeable

react-aad-msal

A React wrapper for Azure AD using the Microsoft Authentication Library (MSAL). The easiest way to integrate AzureAD with your React for authentication.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
346
Weekly Downloads
13K
Last Commit
5mos ago
Bundle Size (min+gzip)
5.39KB
Not Tree-Shakeable
rrs

redux-react-session

🔑 Simple Session API storage for Redux and React

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
144
Weekly Downloads
4K
Last Commit
2yrs ago
Bundle Size (min+gzip)
11.1KB
Not Tree-Shakeable
aut

@react-firebase/auth

🔥Declarative React bindings for Firebase Auth & Realtime Database.

License Icon
License: GPL-3.0-only
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
196
Weekly Downloads
3K
Last Commit
2yrs ago
Bundle Size (min+gzip)
1.13KB
Tree-Shakeable
rfa

react-facebook-auth

React support for facebook authentication

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
22
Weekly Downloads
1K
Last Commit
4yrs ago
Bundle Size (min+gzip)
1.88KB
Tree-Shakeable
rra

react-router-auth

A utility library for React Router v4 for managing authentication based routing

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
39
Weekly Downloads
860
Last Commit
4yrs ago
Bundle Size (min+gzip)
0.57KB
Tree-Shakeable
raa

react-azure-adb2c

Looking for a maintainer - if interested please get in touch in issue #13

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
42
Weekly Downloads
631
Last Commit
3yrs ago
Bundle Size (min+gzip)
16.4KB
Not Tree-Shakeable

react-azure-b2c

React friendly wrapper over the Microsoft MSAL library for Azure B2C

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
9
Weekly Downloads
371
Last Commit
2yrs ago
Bundle Size (min+gzip)
23.8KB
Not Tree-Shakeable
uah

use-auth0-hooks

An easy way to sign in with Auth0 in your React application (client-side) using React Hooks

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
77
Weekly Downloads
346
Last Commit
1yr ago
Bundle Size (min+gzip)
41.4KB
Not Tree-Shakeable
rrr

react-router-role-authorization

Role-based authorization components for React and React-Router

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
145
Weekly Downloads
221
Last Commit
4yrs ago
Bundle Size (min+gzip)
34.2KB
Not Tree-Shakeable

react-check-auth

Add auth protection anywhere in your react/react-native app

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
518
Weekly Downloads
105
Last Commit
3yrs ago
Bundle Size (min+gzip)
1.79KB
Not Tree-Shakeable
ra

redux-auth

Complete token authentication system for react + redux that supports isomorphic rendering.

License Icon
License: WTFPL
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
2K
Weekly Downloads
96
Last Commit
5yrs ago
Bundle Size (min+gzip)
29.4KB
Not Tree-Shakeable
rap

react-auth-provider

Providers to allow wrapping components with authentication.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
1
Weekly Downloads
56
Last Commit
3yrs ago
Bundle Size (min+gzip)
4.61KB
Not Tree-Shakeable
rg

react-googleyolo

A React Provider and connector for Google's sign-in library.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
10
Weekly Downloads
23
Last Commit
4yrs ago
Bundle Size (min+gzip)
2.03KB
Not Tree-Shakeable

apollo-passport-react

React UI for apollo-passport, like Meteor Accounts loginButtons

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
9
Weekly Downloads
17
Last Commit
5yrs ago
Bundle Size (min+gzip)
4.00KB
Not Tree-Shakeable
ra

redux-authentication

authentication component for redux

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
39
Weekly Downloads
10
Last Commit
5yrs ago
Bundle Size (min+gzip)
0.90KB
Not Tree-Shakeable
acc

aws-cognito-core-ui

AWS Cognito Core UI is a library package that allows designers to customize the UX to work with AWS Cognito.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
3
Weekly Downloads
7
Last Commit
1yr ago
Bundle Size (min+gzip)
2.98KB
Tree-Shakeable
pu

provide-user

Provides basic user creation and authentication.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
5
Last Commit
N/A
Bundle Size (min+gzip)
2.38KB
Not Tree-Shakeable
ra

react-authentication

Email based token authentication wrapped with a react component.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
2
Last Commit
N/A
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable