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.
@crowdin/react-crowdin-login
Advanced tools
Readme
React component for a simple OAuth login with Crowdin.
Follow these steps to start using React Crowdin Login:
# with npm
npm i @crowdin/react-crowdin-login
# with yarn
yarn add @crowdin/react-crowdin-login
import React from "react";
import CrowdinLogin from "@crowdin/react-crowdin-login";
export default props => {
const authHandler = (err, data) => {
console.log(err, data);
};
return (
<CrowdinLogin
authCallback={authHandler}
clientId={CLIENT_ID}
clientSecret={CLIENT_SECRET}
redirectUri={REDIRECT_URI}
scope={SCOPE}
/>
);
};
Property | Type | Default | Description |
---|---|---|---|
authCallback | function | required | Callback function which takes two arguments (error, authData) |
clientId | string | required | Client ID of your OAuth App |
clientSecret | string | required | Client Secret of your OAuth App |
redirectUri | string | required | Authorization callback URL of your OAuth App |
scope | string | required | Scope that will be requested. Understanding Scopes for OAuth Apps |
buttonTheme | enum: "light" , "light_short" , "dark" , "dark_short" | "light" | Button style theme, that based on Login Branding Guidelines |
className | string | "" | Custom class name |
We are happy to accept contributions to the React Crowdin Login. To contribute please do the following:
If you find any problems or would like to suggest a feature, please feel free to file an issue on Github at Issues Page.
Need help working with React Crowdin Login or have any questions? Contact Customer Success Service.
Copyright © 2020 Crowdin The React Crowdin Login is licensed under the MIT License. See the LICENSE file distributed with this work for additional information regarding copyright ownership. Except as contained in the LICENSE file, the name(s) of the above copyright holders shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization.
FAQs
React component for simple OAuth with Crowdin
The npm package @crowdin/react-crowdin-login receives a total of 2 weekly downloads. As such, @crowdin/react-crowdin-login popularity was classified as not popular.
We found that @crowdin/react-crowdin-login demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
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.