The SNEK project is an attempt to create a transparent, open-source non-profit platform that allows engineers to categorize and compare. It should enable engineers from adjacent fields to visualize each other's skills through visualization and project identification.
Reactjs-OAuth serves as the component provider for all kind of OAuth authentications and is easily extandable for all kind of OAuth providers.
Report bug
·
Request feature
·
Documentation
- Installation
- Features
- Usage
- Contributing
- Bugs and feature requests
- Versioning
- Creators
- Thanks
- Copyright and license
The system can be installed using the npm install
command:
npm install reactjs-oauth
- GitHub OAuth2 Authentication
import GitHubOAuth from "reactjs-oauth";
// Handle a successful oauth request
oauthGitHubSuccess = (response) => {
console.log(response);
};
// Handle a failed oauth request
oauthGitHubFailure = (response) => {
console.log(response);
};
<GitHubOAuth
authorizationUrl={YourAuthUrl}
clientId={YourClienId}
clientSecret={YourClientSecret}
redirectUri={YourRedirectUri}
onSuccess={this.oauthGitHubSuccess}
onFailure={this.oauthGitHubFailure}
/>
Please read through our contributing guidelines. Included are directions for opening issues, coding standards, and notes on development.
All code should conform to the Code Guide, maintained by SNEK.
Do you have a bug or a feature request? Please first search for existing and closed issues. If your problem or idea has not been addressed yet, please open a new issue.
For reasons of transparency concering our release cycle and in striving to maintain backward compatibility, this repository is maintained under the Semantic Versioning guidelines. Some minor screw ups aside, we try to adhere to those rules whenever possible.
David Pinterics | Nico Schett |
We do not have any external contributors yet, but if you want your name to be here, feel free to contribute to our project.
SPDX-License-Identifier: (EUPL-1.2) Copyright © 2019-2020 Simon Prast