
Research
Malicious NuGet Packages Typosquat Nethereum to Exfiltrate Wallet Keys
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.
@frontegg/react-auth
Advanced tools
Pre-built Authentication components to easily integrate Auth Components into your React App.
Frontegg-React-Auth is available as an npm package.
// using npm
npm install @frontegg/react-auth
// using yarn
yarn add @frontegg/react-auth
// NOTE: to get the latest stable use @latest.
All you need is to add pass AuthPlugin to the FronteggProvider
:
/* imports */
import { FronteggProvider } from '@frontegg/react-core';
import { AuthPlugin } from '@frontegg/react-auth';
ReactDOM.render(
<BrowserRouter>
<FronteggProvider
context={/* context options */}
plugins={[
AuthPlugin()
]}>
<App />
</FronteggProvider>
</BrowserRouter>, document.querySelector('#app'));
Frontegg-React-Auth provide the ability to fully customize your components to align it with your App UI design.
header
<ReactNode>
backgroundImage
<string>
backgroundColor
<CSSColor>
loaderComponent
<ReactNode>
routes
<string[]>
Advanced Customizations
header <ReactNode>
(optional) React Component used to customize your authentication page header
const plugins = [
AuthPlugin({
header: <MyAuthPageHeader/>,
//...rest options
})
];
backgroundImage <string>
(optional) CSS Color used to for authentication page background color
const plugins = [
AuthPlugin({
backgroundImage: 'https://image_url' | 'data:image/png;base64,...',
//...rest options
})
];
backgroundColor <CSSColor>
(optional) CSS Color used to for authentication page background color
const plugins = [
AuthPlugin({
backgroundColor: '#FAFAFA' | 'red' | 'rgb(200,200,200)',
//...rest options
})
];
loaderComponent <ReactNode>
(optional) React Component displayed in first load while resolving the verifying the authenticated user, refreshing the token, and to check if the user should be redirected to login page.
const plugins = [
AuthPlugin({
loaderComponent: <MyLoaderComponent>,
//...rest options
})
];
routes <string[]>
(optional) Path routes for Authentication Components, these pathes used to redirect the user to a specific route depends on authentication state.
const plugins = [
AuthPlugin({
routes: {
/**
* the page whither need to redirect in the case when a user is authenticated
*/
authenticatedUrl: '/',
/**
* the page whither need to redirect in the case when a user is not authenticated
*/
loginUrl: '/account/login',
/**
* navigating to this url, AuthProvider will logout and remove coockies
*/
logoutUrl: '/account/logout',
/**
* the page whither need to redirect in the case when a user want to activate his account
*/
activateUrl: '/account/activate',
/**
* the page in the case a user forgot his account password
*/
forgetPasswordUrl: '/account/forgot/password',
/**
* the page whither need to redirect in the case when a user redirected from reset password url
*/
resetPasswordUrl: '/account/reset/password',
},
//...rest options
})
];
Implementation of custom and dedicated UI on top of the Frontegg stateful
API is available by following our docs on the React API section.
In case you want to implement your states on top of our stateless API follow our docs on the REST API section.
The main purpose of this repository is to continue developing Frontegg React to making it faster and easier to use. Read our contributing guide to learn about our development process.
Notice that contributions go far beyond pull requests and commits.
This project is licensed under the terms of the MIT license.
FAQs
<h1 align="cent
We found that @frontegg/react-auth demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.
Product
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.
Product
Socket is launching experimental protection for the Hugging Face ecosystem, scanning for malware and malicious payload injections inside model files to prevent silent AI supply chain attacks.