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.
$ npm install react-implicit-auth
$ yarn add react-implicit-auth
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
See the documentation for more information about using react-implicit-auth package.
After running yarn start browser complains that "your connection is not secure"?
Ignore it and add an exception for this page.
The page should have https
to make because most of the providers require it.
Google login doesn't work in incognito mode?
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.
If you want to contribute to react-implicit-auth please see the contributing guideline.