{"id":27430113,"url":"https://github.com/gravitytwog/react-jwt-auth","last_synced_at":"2026-04-11T21:38:37.246Z","repository":{"id":246359830,"uuid":"818888617","full_name":"GravityTwoG/react-jwt-auth","owner":"GravityTwoG","description":"Example of authorization with access + refresh token pair. It actually doesn't depend on used framework (React, vue etc). Tokens handled in data access layer (api)","archived":false,"fork":false,"pushed_at":"2024-11-09T14:55:15.000Z","size":204,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T14:58:51.202Z","etag":null,"topics":["access-control","access-token","auth","jwt","react","refresh-token"],"latest_commit_sha":null,"homepage":"https://jwt-auth.abazbekov.ru","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GravityTwoG.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-06-23T06:53:45.000Z","updated_at":"2024-11-09T14:55:19.000Z","dependencies_parsed_at":"2024-06-27T14:54:09.315Z","dependency_job_id":"5288759f-df86-4931-ab0d-2c3b99c1fbc0","html_url":"https://github.com/GravityTwoG/react-jwt-auth","commit_stats":null,"previous_names":["gravitytwog/react-jwt-auth"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GravityTwoG/react-jwt-auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GravityTwoG%2Freact-jwt-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GravityTwoG%2Freact-jwt-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GravityTwoG%2Freact-jwt-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GravityTwoG%2Freact-jwt-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GravityTwoG","download_url":"https://codeload.github.com/GravityTwoG/react-jwt-auth/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GravityTwoG%2Freact-jwt-auth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272156263,"owners_count":24883209,"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","status":"online","status_checked_at":"2025-08-25T02:00:12.092Z","response_time":1107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["access-control","access-token","auth","jwt","react","refresh-token"],"created_at":"2025-04-14T14:31:26.160Z","updated_at":"2026-04-11T21:38:32.213Z","avatar_url":"https://github.com/GravityTwoG.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JWT auhthorizatin example\n\nExample of authorization with access + refresh token pair. It actually doesn't depend on used framework (React, vue etc). Tokens handled in data access layer (api)\n\n## Backend\n\n- https://github.com/GravityTwoG/go-jwt-auth\n\n## React + TypeScript + Vite\n\nThis template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.\n\nCurrently, two official plugins are available:\n\n- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh\n- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh\n\n## Expanding the ESLint configuration\n\nIf you are developing a production application, we recommend updating the configuration to enable type aware lint rules:\n\n- Configure the top-level `parserOptions` property like this:\n\n```js\nexport default {\n  // other rules...\n  parserOptions: {\n    ecmaVersion: 'latest',\n    sourceType: 'module',\n    project: ['./tsconfig.json', './tsconfig.node.json'],\n    tsconfigRootDir: __dirname,\n  },\n};\n```\n\n- Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked`\n- Optionally add `plugin:@typescript-eslint/stylistic-type-checked`\n- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` \u0026 `plugin:react/jsx-runtime` to the `extends` list\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgravitytwog%2Freact-jwt-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgravitytwog%2Freact-jwt-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgravitytwog%2Freact-jwt-auth/lists"}