react-implicit-auth
v1.0.0
Published
react-implicit-auth is a React Provider component that simplifies the implicit grant flow authorization and authentication process using the following social API providers.
Downloads
23
Maintainers
Readme
React Implicit Authorization is a React Provider component that simplifies the implicit grant flow authorization and authentication process using the following social API providers:
Technically it's a wrapper on top of the SDK interface delivered by social providers.
Read docs for more details.
Install
$ npm install react-implicit-auth
$ yarn add react-implicit-auth
Motivation
The main idea is to unify the social provides API interface and solve the following problems:
- A different methods naming, API usage, responses. The component tries to solve issue unifying stuff
- A complex documentation. Using the component you save time for testing and reading docs
- A lack of auto initialization. The component allows you to append SDK scripts and initialize them based on the configuration you provide
Docs
See the documentation for more information about using react-implicit-auth package.
Troubleshooting
Ignore it and add an exception for this page.
The page should have https
to make because most of the providers require it.
This is one of the limitations of the implicit grant flow. Google login might not work in incognito mode or when third-party cookies are blocked: issue.
Contributing
If you want to contribute to react-implicit-auth please see the contributing guideline.