Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@krisphat/react-github-login
Advanced tools
Readme
React component for GitHub login.
import React from 'react';
import ReactDOM from 'react-dom';
import GitHubLogin from 'react-github-login';
const onSuccess = response => console.log(response);
const onFailure = response => console.error(response);
ReactDOM.render(
<GitHubLogin clientId="ac56fad434a3a3c1561e"
onSuccess={onSuccess}
onFailure={onFailure}/>,
document.getElementById('example')
);
clientId
{string}
required
Client ID for GitHub OAuth application.
redirectUri
{string}
Registered redirect URI for GitHub OAuth application.
scope
{string}
Scope for GitHub OAuth application. Defaults to user:email
.
className
{string}
CSS class for the login button.
buttonText
{string}
Text content for the login button.
onRequest
{function}
Callback for every request.
onSuccess
{function}
Callback for successful login. An object will be passed as an argument to the callback, e.g. { "code": "..." }
.
onFailure
{function}
Callback for errors raised during login.
$ npm start
Webpack development server starts at http://localhost:8080, loading example/index.html.
FAQs
A React Component for GitHub Login
The npm package @krisphat/react-github-login receives a total of 0 weekly downloads. As such, @krisphat/react-github-login popularity was classified as not popular.
We found that @krisphat/react-github-login 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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.