Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
oidc-react
Advanced tools
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier) [![code style: airbnb](https://img.shields.io/badge/eslint-airbnb-ff5a5f.svg?style=flat-square)](https://github.
React component (AuthProvider) to provide OpenID Connect and OAuth2 protocol support. Has hooks 🎉
Based on oidc-client-js.
Install packages by running:
$ npm install oidc-react
...
import { AuthProvider } from 'oidc-react';
const oidcConfig = {
onSignIn: () => {
// Redirect?
},
authority: 'https://oidc.io/oauth',
clientId: 'this-is-a-client-id',
redirectUri: 'https://my-app.com/'
};
const Routes = () => (
<AuthProvider {...oidcConfig}>
<Switch>
<Route exact path="/">
<Dashboard />
</Route>
...
</Switch>
</AuthProvider>
);
Apart from this README, you can find details and examples of using the SDK in the following places:
We love to get help 🙏 Read more about how to get started in CONTRIBUTING 🌳
1.0.0 (2020-08-20)
FAQs
OpenID Connect Authentication for React. Supports Hooks 🚀
The npm package oidc-react receives a total of 11,356 weekly downloads. As such, oidc-react popularity was classified as popular.
We found that oidc-react demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 open source maintainers 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.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.