Gathering detailed insights and metrics for react-hooks-firebase-auth
Gathering detailed insights and metrics for react-hooks-firebase-auth
Gathering detailed insights and metrics for react-hooks-firebase-auth
Gathering detailed insights and metrics for react-hooks-firebase-auth
@react-query-firebase/auth
React Query hooks for Firebase Authentication
mock-react-hooks-firebase-auth
A template for easy creation of new NPM packages
@jameslnewell/react-firebase
🎣 React hooks for working with firebase.
react-firebase-auth-hooks
React Hooks for Firebase
Library for easy handling of Firebase Authentication, complete with provider token related events
npm install react-hooks-firebase-auth
Typescript
Module System
Node Version
NPM Version
TypeScript (97.07%)
JavaScript (2.93%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
1 Stars
37 Commits
2 Watchers
36 Branches
1 Contributors
Updated on Dec 31, 2023
Latest Version
0.2.2
Package Id
react-hooks-firebase-auth@0.2.2
Unpacked Size
24.44 kB
Size
6.58 kB
File Count
25
NPM Version
6.14.5
Node Version
12.18.1
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
22
Library for easy handling of Firebase Authentication, complete with provider token related events
1const CompleteFirebaseAuthProvider = ({ children }): ReactElement => { 2 return ( 3 <FirebaseAuthProvider 4 appName="app" 5 firebase={firebase} 6 loginComponent={<Login />} 7 loadingComponent={ 8 <Loading 9 progress={30} 10 variant="warning" 11 message="Logging you in..." 12 /> 13 } 14 errorComponent={<p>Error</p>} 15 onNewLoginSuccess={onNewLoginSuccess} 16 onLogout={onLogout} 17 onOldLoginRetrieval={onOldLoginRetrieval} 18 > 19 {children} 20 </FirebaseAuthProvider> 21 ); 22};
And then for your main app file...
1<CompleteFirebaseAuthProvider> 2 <App /> 3</CompleteFirebaseAuthProvider>
1import { useContainer } from 'unstated-next'; 2import { FirebaseAuthContainer } from 'react-hooks-firebase-auth'; 3 4const Component = () => { 5 const { user, token } = useContainer(FirebaseAuthContainer); 6};
1import { EnforceFirebaseAuth } from 'react-hooks-firebase-auth'; 2 3const Component = () => { 4 return ( 5 <EnforceFirebaseAuth> 6 <AnotherComponent /> 7 </EnforceFirebaseAuth> 8 ); 9};
OR
1import { withFirebaseAuth } from 'react-hooks-firebase-auth'; 2 3const Component = () => { 4 return <AnotherComponent />; 5}; 6 7export default withFirebaseAuth(Component);
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 13/14 approved changesets -- score normalized to 9
Reason
dependency not pinned by hash detected -- score normalized to 1
Details
Reason
project is archived
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
48 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More