react-implicit-auth
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published
react-implicit-auth

React Implicit Authorization

npm bundlephobia Contributions License examples

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.

docs build netlify

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

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.

Contributing

If you want to contribute to react-implicit-auth please see the contributing guideline.

Package Sidebar

Install

npm i react-implicit-auth

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

8.88 kB

Total Files

4

Last publish

Collaborators

  • wwwebman