{"id":15481529,"url":"https://github.com/wwwebman/react-implicit-auth","last_synced_at":"2025-04-22T15:24:59.148Z","repository":{"id":39092569,"uuid":"328618632","full_name":"wwwebman/react-implicit-auth","owner":"wwwebman","description":"React Provider handles authorization and authentication using the implicit grant flow of social providers (Google, Facebook).","archived":false,"fork":false,"pushed_at":"2021-02-24T22:14:19.000Z","size":922,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T18:18:01.619Z","etag":null,"topics":["authentication","authorization","facebook-api","google-api","grant-flow","implicit-flow","react","react-context","reactjs"],"latest_commit_sha":null,"homepage":"https://react-implicit-auth.webman.pro/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wwwebman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-11T09:54:40.000Z","updated_at":"2024-12-27T09:25:31.000Z","dependencies_parsed_at":"2022-08-26T08:31:16.548Z","dependency_job_id":null,"html_url":"https://github.com/wwwebman/react-implicit-auth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwwebman%2Freact-implicit-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwwebman%2Freact-implicit-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwwebman%2Freact-implicit-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwwebman%2Freact-implicit-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wwwebman","download_url":"https://codeload.github.com/wwwebman/react-implicit-auth/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250065520,"owners_count":21369095,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authentication","authorization","facebook-api","google-api","grant-flow","implicit-flow","react","react-context","reactjs"],"created_at":"2024-10-02T05:04:46.643Z","updated_at":"2025-04-22T15:24:59.094Z","avatar_url":"https://github.com/wwwebman.png","language":"TypeScript","readme":"\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://webman.pro\"\u003e\n    \u003cimg alt=\"react-implicit-auth\" src=\"/logo.svg\" width=\"100px\"  /\u003e\n  \u003c/a\u003e\n  \u003ch1 align=\"center\"\u003eReact Implicit Authorization\u003c/h1\u003e\n  \u003ca href=\"https://www.npmjs.org/package/react-implicit-auth\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/v/react-implicit-auth.svg\" alt=\"npm\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://bundlephobia.com/result?p=react-implicit-auth\"\u003e\n    \u003cimg src=\"https://img.shields.io/bundlephobia/min/react-implicit-auth?color=green\" alt=\"bundlephobia\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/wwwebman/react-implicit-auth/blob/master/CONTRIBUTING.md\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/contributions-welcome-brightgreen?color=green\" alt=\"Contributions\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/wwwebman/react-implicit-auth/blob/master/LICENSE\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/license/mashape/apistatus\" alt=\"License\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://react-implicit-auth.webman.pro/#examples\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/examples-🚀-9cf\" alt=\"examples\" /\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\u003cbr /\u003e\n\nReact Implicit Authorization is a React Provider component that simplifies the [implicit grant flow](https://oauth.net/2/grant-types/implicit/#:~:text=The%20Implicit%20flow%20was%20a,extra%20authorization%20code%20exchange%20step.)\nauthorization and authentication process using the following social API providers:\n\n- [facebook](https://developers.facebook.com/docs/javascript)\n- [google](https://github.com/google/google-api-javascript-client)\n\nTechnically it's a wrapper on top of the SDK interface delivered by social providers.\n\nRead [docs](https://react-implicit-auth.webman.pro/) for more details.\n\n[![docs build netlify](https://api.netlify.com/api/v1/badges/5ab989fd-4735-4f4c-a1be-7616fb1dc7ff/deploy-status)](https://app.netlify.com/sites/react-implicit-auth/deploys)\n\n## Install\n\n```bash\n$ npm install react-implicit-auth\n```\n\n```bash\n$ yarn add react-implicit-auth\n```\n\n## Motivation\n\nThe main idea is to unify the social provides API interface and solve the following problems:\n\n- A different methods naming, API usage, responses.\n  The component tries to solve issue unifying stuff\n- A complex documentation.\n  Using the component you save time for testing and reading docs\n- A lack of auto initialization.\n  The component allows you to append SDK scripts and initialize them based on the configuration you provide\n\n## Docs\n\nSee the documentation for more information about using react-implicit-auth package.\n\n- [ImplicitAuthProvider](https://react-implicit-auth.webman.pro/#implicitauthprovider)\n- [Context Methods](https://react-implicit-auth.webman.pro/#methods)\n- [useImplicitAuth()](https://react-implicit-auth.webman.pro/#useimplicitauth)\n\n## Troubleshooting\n\n\u003cdetails\u003e\n\u003csummary\u003eAfter running yarn start browser complains that \"your connection is not secure\"?\u003c/summary\u003e\n\nIgnore it and add an exception for this page.\nThe page should have `https` to make because most of the providers require it.\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eGoogle login doesn't work in incognito mode?\u003c/summary\u003e\n\nThis is one of the limitations of the implicit grant flow.\nGoogle login might not work in incognito mode or when third-party cookies are blocked: [issue](https://developers.google.com/identity/sign-in/web/troubleshooting).\n\n\u003c/details\u003e\n\n## Contributing\n\nIf you want to contribute to react-implicit-auth please see the contributing [guideline](https://github.com/wwwebman/react-implicit-auth/blob/master/CONTRIBUTING.md).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwwwebman%2Freact-implicit-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwwwebman%2Freact-implicit-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwwwebman%2Freact-implicit-auth/lists"}